From 449b90c9dab6d8371611cb497b92a862b9fd61be Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 18 Feb 2022 20:07:13 +0000 Subject: [PATCH] Release v1.1.0 --- .gitignore | 2 +- dist/index.js | 119478 ++++++++++++++++++++++++++++++++++ dist/index.js.map | 1 + dist/licenses.txt | 1153 + dist/sourcemap-register.js | 1 + 5 files changed, 120634 insertions(+), 1 deletion(-) create mode 100644 dist/index.js create mode 100644 dist/index.js.map create mode 100644 dist/licenses.txt create mode 100644 dist/sourcemap-register.js diff --git a/.gitignore b/.gitignore index 682ebc1c..ecc01059 100644 --- a/.gitignore +++ b/.gitignore @@ -98,4 +98,4 @@ Thumbs.db lib/ # Only release tag contains dist directory -/dist + diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..5e3754bc --- /dev/null +++ b/dist/index.js @@ -0,0 +1,119478 @@ +require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 9536: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const core = __importStar(__nccwpck_require__(42186)); +const github = __importStar(__nccwpck_require__(95438)); +const run_1 = __nccwpck_require__(33995); +const main = async () => { + await (0, run_1.run)(github.context, { + githubToken: core.getInput('github-token', { required: true }), + githubTokenForRateLimitMetrics: core.getInput('github-token-rate-limit-metrics', { required: true }), + datadogApiKey: core.getInput('datadog-api-key') || undefined, + datadogSite: core.getInput('datadog-site') || undefined, + collectJobMetrics: core.getBooleanInput('collect-job-metrics'), + }); +}; +main().catch((e) => core.setFailed(e instanceof Error ? e.message : String(e))); + + +/***/ }), + +/***/ 81643: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.expandSeriesByLabels = void 0; +const expandSeriesByLabels = (series, labels) => { + if (labels.length === 0) { + return series; + } + return series.flatMap((s) => labels.map((label) => ({ + ...s, + tags: [...(s.tags ?? []), `label:${label.name}`], + }))); +}; +exports.expandSeriesByLabels = expandSeriesByLabels; + + +/***/ }), + +/***/ 43166: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.computePullRequestClosedMetrics = exports.computePullRequestOpenedMetrics = void 0; +const expand_1 = __nccwpck_require__(81643); +const computeCommonTags = (e) => { + const tags = [ + `repository_owner:${e.repository.owner.login}`, + `repository_name:${e.repository.name}`, + `sender:${e.sender.login}`, + `sender_type:${e.sender.type}`, + `user:${e.pull_request.user.login}`, + `pull_request_number:${e.number}`, + `draft:${String(e.pull_request.draft)}`, + `base_ref:${e.pull_request.base.ref}`, + `head_ref:${e.pull_request.head.ref}`, + ]; + return tags; +}; +const computePullRequestOpenedMetrics = (e) => { + const tags = computeCommonTags(e); + const t = unixTime(e.pull_request.created_at); + return [ + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_opened.total', + type: 'count', + points: [[t, 1]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_opened.commits', + type: 'count', + points: [[t, e.pull_request.commits]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_opened.changed_files', + type: 'count', + points: [[t, e.pull_request.changed_files]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_opened.additions', + type: 'count', + points: [[t, e.pull_request.additions]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_opened.deletions', + type: 'count', + points: [[t, e.pull_request.deletions]], + }, + ]; +}; +exports.computePullRequestOpenedMetrics = computePullRequestOpenedMetrics; +const computePullRequestClosedMetrics = (e, pr) => { + const tags = computeCommonTags(e); + tags.push(`merged:${String(e.pull_request.merged)}`); + const t = unixTime(e.pull_request.closed_at); + const series = [ + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.total', + type: 'count', + points: [[t, 1]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.since_opened_seconds', + type: 'gauge', + points: [[t, t - unixTime(e.pull_request.created_at)]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.commits', + type: 'count', + points: [[t, e.pull_request.commits]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.changed_files', + type: 'count', + points: [[t, e.pull_request.changed_files]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.additions', + type: 'count', + points: [[t, e.pull_request.additions]], + }, + { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.deletions', + type: 'count', + points: [[t, e.pull_request.deletions]], + }, + ]; + if (pr !== undefined) { + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.since_first_authored_seconds', + type: 'gauge', + points: [[t, t - unixTime(pr.firstCommit.authoredDate)]], + }, { + host: 'github.com', + tags, + metric: 'github.actions.pull_request_closed.since_first_committed_seconds', + type: 'gauge', + points: [[t, t - unixTime(pr.firstCommit.committedDate)]], + }); + } + // Datadog treats a tag as combination of values. + // For example, if we send a metric with tags `label:foo` and `label:bar`, Datadog will show `label:foo,bar`. + return (0, expand_1.expandSeriesByLabels)(series, e.pull_request.labels); +}; +exports.computePullRequestClosedMetrics = computePullRequestClosedMetrics; +const unixTime = (s) => Date.parse(s) / 1000; + + +/***/ }), + +/***/ 42983: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.computePushMetrics = void 0; +const computePushMetrics = (e, now) => { + const tags = [ + `repository_owner:${e.repository.owner.login}`, + `repository_name:${e.repository.name}`, + `sender:${e.sender.login}`, + `sender_type:${e.sender.type}`, + `ref:${e.ref}`, + `created:${String(e.created)}`, + `deleted:${String(e.deleted)}`, + `forced:${String(e.forced)}`, + `default_branch:${(e.ref === `refs/heads/${e.repository.default_branch}`).toString()}`, + ]; + const t = now.getTime() / 1000; + return [ + { + host: 'github.com', + tags, + metric: 'github.actions.push.total', + type: 'count', + points: [[t, 1]], + }, + ]; +}; +exports.computePushMetrics = computePushMetrics; + + +/***/ }), + +/***/ 43205: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.queryClosedPullRequest = void 0; +const query = /* GraphQL */ ` + query closedPullRequest($owner: String!, $name: String!, $number: Int!) { + repository(owner: $owner, name: $name) { + pullRequest(number: $number) { + commits(first: 1) { + nodes { + commit { + authoredDate + committedDate + } + } + } + } + } + } +`; +const queryClosedPullRequest = async (o, v) => { + const r = await o.graphql(query, v); + if (!r.repository?.pullRequest?.commits.nodes?.length) { + throw new Error(`pull request contains no commit: ${JSON.stringify(r)}`); + } + if (r.repository.pullRequest.commits.nodes[0] == null) { + throw new Error(`commit is null: ${JSON.stringify(r)}`); + } + const firstCommit = r.repository.pullRequest.commits.nodes[0].commit; + return { + firstCommit, + }; +}; +exports.queryClosedPullRequest = queryClosedPullRequest; + + +/***/ }), + +/***/ 69913: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.queryCompletedCheckSuite = void 0; +const query = /* GraphQL */ ` + query completedCheckSuite($node_id: ID!, $workflow_path: String!) { + node(id: $node_id) { + __typename + ... on CheckSuite { + checkRuns(first: 100, filterBy: { checkType: LATEST }) { + nodes { + databaseId + name + startedAt + completedAt + conclusion + status + steps(first: 50) { + nodes { + number + name + conclusion + status + startedAt + completedAt + } + } + } + } + commit { + file(path: $workflow_path) { + object { + __typename + ... on Blob { + text + } + } + } + } + } + } + } +`; +const queryCompletedCheckSuite = async (o, v) => { + const r = await o.graphql(query, v); + return { + node: { + __typename: 'CheckSuite', + checkRuns: extractCheckRuns(r), + commit: extractCommit(r), + }, + }; +}; +exports.queryCompletedCheckSuite = queryCompletedCheckSuite; +const extractCheckRuns = (r) => { + if (r.node?.__typename !== 'CheckSuite') { + throw new Error(`invalid __typename ${String(r.node?.__typename)} !== CheckSuite`); + } + const checkRuns = []; + for (const checkRun of r.node.checkRuns?.nodes ?? []) { + if (checkRun == null) { + continue; + } + const steps = []; + for (const step of checkRun.steps?.nodes ?? []) { + if (step == null) { + continue; + } + const { startedAt, completedAt, conclusion } = step; + if (startedAt == null || completedAt == null || conclusion == null) { + continue; + } + steps.push({ + ...step, + startedAt, + completedAt, + conclusion, + }); + } + const { startedAt, completedAt, conclusion } = checkRun; + if (startedAt == null || completedAt == null || conclusion == null) { + continue; + } + checkRuns.push({ + ...checkRun, + startedAt, + completedAt, + conclusion, + steps: { nodes: steps }, + }); + } + return { nodes: checkRuns }; +}; +const extractCommit = (r) => { + if (r.node?.__typename !== 'CheckSuite') { + throw new Error(`invalid __typename ${String(r.node?.__typename)} !== CheckSuite`); + } + if (r.node.commit.file?.object?.__typename !== 'Blob') { + throw new Error(`invalid __typename ${String(r.node.commit.file?.object?.__typename)} !== Blob`); + } + const { text } = r.node.commit.file.object; + if (text == null) { + throw new Error(`invalid text ${String(text)}`); + } + return { + file: { + object: { + text, + }, + }, + }; +}; + + +/***/ }), + +/***/ 19190: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.computeRateLimitMetrics = void 0; +const computeRateLimitMetrics = (e, r) => { + const t = unixTime(r.headers.date) ?? Math.floor(Date.now() / 1000); + const tags = [`repository_owner:${e.repo.owner}`, `repository_name:${e.repo.repo}`]; + const series = [ + { + host: 'github.com', + tags: [...tags, 'resource:core'], + metric: 'github.actions.api_rate_limit.remaining', + type: 'gauge', + points: [[t, r.data.resources.core.remaining]], + }, + { + host: 'github.com', + tags: [...tags, 'resource:core'], + metric: `github.actions.api_rate_limit.limit`, + type: 'gauge', + points: [[t, r.data.resources.core.limit]], + }, + { + host: 'github.com', + tags: [...tags, 'resource:search'], + metric: 'github.actions.api_rate_limit.remaining', + type: 'gauge', + points: [[t, r.data.resources.search.remaining]], + }, + { + host: 'github.com', + tags: [...tags, 'resource:search'], + metric: `github.actions.api_rate_limit.limit`, + type: 'gauge', + points: [[t, r.data.resources.search.limit]], + }, + ]; + if (r.data.resources.graphql) { + series.push({ + host: 'github.com', + tags: [...tags, 'resource:graphql'], + metric: 'github.actions.api_rate_limit.remaining', + type: 'gauge', + points: [[t, r.data.resources.graphql.remaining]], + }, { + host: 'github.com', + tags: [...tags, 'resource:graphql'], + metric: 'github.actions.api_rate_limit.limit', + type: 'gauge', + points: [[t, r.data.resources.graphql.limit]], + }); + } + return series; +}; +exports.computeRateLimitMetrics = computeRateLimitMetrics; +const unixTime = (s) => { + if (s === undefined) { + return; + } + const t = Date.parse(s); + if (isNaN(t)) { + return; + } + return Math.floor(t / 1000); +}; + + +/***/ }), + +/***/ 33995: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.run = void 0; +const core = __importStar(__nccwpck_require__(42186)); +const github = __importStar(__nccwpck_require__(95438)); +const datadog_api_client_1 = __nccwpck_require__(53128); +const metrics_1 = __nccwpck_require__(43166); +const metrics_2 = __nccwpck_require__(42983); +const completedCheckSuite_1 = __nccwpck_require__(69913); +const closedPullRequest_1 = __nccwpck_require__(43205); +const metrics_3 = __nccwpck_require__(19190); +const metrics_4 = __nccwpck_require__(34490); +const run = async (context, inputs) => { + const series = await handleEvent(context, inputs); + if (series === undefined) { + core.warning(`Not supported event ${context.eventName} action ${String(context.payload.action)}`); + return; + } + const rateLimit = await getRateLimitMetrics(context, inputs); + series.push(...rateLimit); + await submitMetrics(series, inputs); +}; +exports.run = run; +const handleEvent = async (context, inputs) => { + if (context.eventName === 'workflow_run') { + return await handleWorkflowRun(context.payload, inputs); + } + if (context.eventName === 'pull_request') { + return await handlePullRequest(context.payload, context, inputs); + } + if (context.eventName === 'push') { + return handlePush(context.payload); + } +}; +const handleWorkflowRun = async (e, inputs) => { + core.info(`Got workflow run ${e.action} event: ${e.workflow_run.html_url}`); + if (e.action === 'completed') { + let checkSuite; + if (inputs.collectJobMetrics) { + const octokit = github.getOctokit(inputs.githubToken); + try { + checkSuite = await (0, completedCheckSuite_1.queryCompletedCheckSuite)(octokit, { + node_id: e.workflow_run.check_suite_node_id, + workflow_path: e.workflow.path, + }); + } + catch (error) { + core.warning(`Could not get the check suite: ${String(error)}`); + } + } + if (checkSuite) { + core.info(`Found check suite with ${checkSuite.node.checkRuns.nodes.length} check run(s)`); + } + return (0, metrics_4.computeWorkflowRunJobStepMetrics)(e, checkSuite); + } +}; +const handlePullRequest = async (e, context, inputs) => { + core.info(`Got pull request ${e.action} event: ${e.pull_request.html_url}`); + if (e.action === 'opened') { + return (0, metrics_1.computePullRequestOpenedMetrics)(e); + } + if (e.action === 'closed') { + const octokit = github.getOctokit(inputs.githubToken); + let closedPullRequest; + try { + closedPullRequest = await (0, closedPullRequest_1.queryClosedPullRequest)(octokit, { + owner: context.repo.owner, + name: context.repo.repo, + number: e.pull_request.number, + }); + } + catch (error) { + core.warning(`Could not get the pull request: ${String(error)}`); + } + return (0, metrics_1.computePullRequestClosedMetrics)(e, closedPullRequest); + } +}; +const handlePush = (e) => { + core.info(`Got push event: ${e.compare}`); + return (0, metrics_2.computePushMetrics)(e, new Date()); +}; +const getRateLimitMetrics = async (context, inputs) => { + const octokit = github.getOctokit(inputs.githubTokenForRateLimitMetrics); + const rateLimit = await octokit.rest.rateLimit.get(); + return (0, metrics_3.computeRateLimitMetrics)(context, rateLimit); +}; +const submitMetrics = async (series, inputs) => { + core.startGroup('Metrics payload'); + core.info(JSON.stringify(series, undefined, 2)); + core.endGroup(); + const dryRun = inputs.datadogApiKey === undefined; + if (dryRun) { + return; + } + const configuration = datadog_api_client_1.v1.createConfiguration({ + authMethods: { + apiKeyAuth: inputs.datadogApiKey, + }, + }); + if (inputs.datadogSite) { + datadog_api_client_1.v1.setServerVariables(configuration, { + site: inputs.datadogSite, + }); + } + const metrics = new datadog_api_client_1.v1.MetricsApi(configuration); + core.info(`Sending ${series.length} metrics to Datadog`); + const accepted = await metrics.submitMetrics({ body: { series } }); + core.info(`Sent as ${JSON.stringify(accepted)}`); +}; + + +/***/ }), + +/***/ 34490: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.computeStepMetrics = exports.computeJobMetrics = exports.computeWorkflowRunMetrics = exports.computeWorkflowRunJobStepMetrics = void 0; +const core = __importStar(__nccwpck_require__(42186)); +const parse_1 = __nccwpck_require__(72604); +const computeCommonTags = (e) => [ + `repository_owner:${e.workflow_run.repository.owner.login}`, + `repository_name:${e.workflow_run.repository.name}`, + `workflow_id:${e.workflow_run.id}`, + `workflow_name:${e.workflow_run.name}`, + `event:${e.workflow_run.event}`, + `sender:${e.sender.login}`, + `sender_type:${e.sender.type}`, + `branch:${e.workflow_run.head_branch}`, + `default_branch:${(e.workflow_run.head_branch === e.repository.default_branch).toString()}`, +]; +const computeWorkflowRunJobStepMetrics = (e, checkSuite) => { + if (checkSuite === undefined) { + return (0, exports.computeWorkflowRunMetrics)(e); + } + let workflowDefinition; + try { + workflowDefinition = (0, parse_1.parseWorkflowFile)(checkSuite.node.commit.file.object.text); + } + catch (error) { + core.warning(`Invalid workflow file: ${String(error)}`); + } + if (workflowDefinition) { + core.info(`Found ${Object.keys(workflowDefinition.jobs).length} job(s) in the workflow file`); + } + return [ + ...(0, exports.computeWorkflowRunMetrics)(e, checkSuite), + ...(0, exports.computeJobMetrics)(e, checkSuite, workflowDefinition), + ...(0, exports.computeStepMetrics)(e, checkSuite, workflowDefinition), + ]; +}; +exports.computeWorkflowRunJobStepMetrics = computeWorkflowRunJobStepMetrics; +const computeWorkflowRunMetrics = (e, checkSuite) => { + const tags = [...computeCommonTags(e), `conclusion:${e.workflow_run.conclusion}`]; + const updatedAt = unixTime(e.workflow_run.updated_at); + const series = [ + { + host: 'github.com', + tags, + metric: 'github.actions.workflow_run.total', + type: 'count', + points: [[updatedAt, 1]], + }, + { + host: 'github.com', + tags, + metric: `github.actions.workflow_run.conclusion.${e.workflow_run.conclusion}_total`, + type: 'count', + points: [[updatedAt, 1]], + }, + ]; + const createdAt = unixTime(e.workflow_run.created_at); + const duration = updatedAt - createdAt; + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.workflow_run.duration_second', + type: 'gauge', + points: [[updatedAt, duration]], + }); + if (checkSuite !== undefined) { + const firstJobStartedAt = Math.min(...checkSuite.node.checkRuns.nodes.map((j) => unixTime(j.startedAt))); + const queued = firstJobStartedAt - createdAt; + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.workflow_run.queued_duration_second', + type: 'gauge', + points: [[updatedAt, queued]], + }); + } + return series; +}; +exports.computeWorkflowRunMetrics = computeWorkflowRunMetrics; +const computeJobMetrics = (e, checkSuite, workflowDefinition) => { + const series = []; + for (const checkRun of checkSuite.node.checkRuns.nodes) { + // lower case for backward compatibility + const conclusion = String(checkRun.conclusion).toLowerCase(); + const status = String(checkRun.status).toLowerCase(); + const completedAt = unixTime(checkRun.completedAt); + const tags = [ + ...computeCommonTags(e), + `job_id:${String(checkRun.databaseId)}`, + `job_name:${checkRun.name}`, + `conclusion:${conclusion}`, + `status:${status}`, + ]; + const runsOn = (0, parse_1.inferRunner)(checkRun.name, workflowDefinition); + if (runsOn !== undefined) { + tags.push(`runs_on:${runsOn}`); + } + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.job.total', + type: 'count', + points: [[completedAt, 1]], + }, { + host: 'github.com', + tags, + metric: `github.actions.job.conclusion.${conclusion}_total`, + type: 'count', + points: [[completedAt, 1]], + }); + const startedAt = unixTime(checkRun.startedAt); + const duration = completedAt - startedAt; + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.job.duration_second', + type: 'gauge', + points: [[completedAt, duration]], + }); + if (checkRun.steps.nodes.length > 0) { + const firstStepStartedAt = Math.min(...checkRun.steps.nodes.map((s) => unixTime(s.startedAt))); + const queued = firstStepStartedAt - startedAt; + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.job.queued_duration_second', + type: 'gauge', + points: [[completedAt, queued]], + }); + } + } + return series; +}; +exports.computeJobMetrics = computeJobMetrics; +const computeStepMetrics = (e, checkSuite, workflowDefinition) => { + const series = []; + for (const checkRun of checkSuite.node.checkRuns.nodes) { + const runsOn = (0, parse_1.inferRunner)(checkRun.name, workflowDefinition); + for (const s of checkRun.steps.nodes) { + // lower case for backward compatibility + const conclusion = String(s.conclusion).toLowerCase(); + const status = String(s.status).toLowerCase(); + const completedAt = unixTime(s.completedAt); + const tags = [ + ...computeCommonTags(e), + `job_id:${String(checkRun.databaseId)}`, + `job_name:${checkRun.name}`, + `step_name:${s.name}`, + `step_number:${s.number}`, + `conclusion:${conclusion}`, + `status:${status}`, + ]; + if (runsOn !== undefined) { + tags.push(`runs_on:${runsOn}`); + } + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.step.total', + type: 'count', + points: [[completedAt, 1]], + }, { + host: 'github.com', + tags, + metric: `github.actions.step.conclusion.${conclusion}_total`, + type: 'count', + points: [[completedAt, 1]], + }); + const startedAt = unixTime(s.startedAt); + const duration = completedAt - startedAt; + series.push({ + host: 'github.com', + tags, + metric: 'github.actions.step.duration_second', + type: 'gauge', + points: [[completedAt, duration]], + }); + } + } + return series; +}; +exports.computeStepMetrics = computeStepMetrics; +const unixTime = (s) => Date.parse(s) / 1000; + + +/***/ }), + +/***/ 72604: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.inferRunner = exports.parseWorkflowFile = void 0; +const yaml = __importStar(__nccwpck_require__(21917)); +const parseWorkflowFile = (s) => { + const parsed = yaml.load(s); + if (typeof parsed !== 'object' || parsed === null) { + throw new Error(`workflow is not valid object: ${typeof parsed}`); + } + const workflow = parsed; + if (typeof workflow.jobs !== 'object') { + throw new Error(`workflow does not have valid "jobs" field: ${JSON.stringify(workflow)}`); + } + return workflow; +}; +exports.parseWorkflowFile = parseWorkflowFile; +const inferRunner = (jobName, workflowDefinition) => { + if (workflowDefinition === undefined) { + return; + } + const canonicalJobName = jobName.replace(/ *\(.+?\)/, ''); + for (const k of Object.keys(workflowDefinition.jobs)) { + const job = workflowDefinition.jobs[k]; + // exact match + if (canonicalJobName === k || canonicalJobName === job.name) { + return job['runs-on']; + } + // consider expression(s) in name property + if (job.name?.search(/\$\{\{.+?\}\}/)) { + const pattern = `^${job.name + .split(/\$\{\{.+?\}\}/) + .map(escapeRegex) + .join('.+?')}$`; + if (new RegExp(pattern).test(jobName)) { + return job['runs-on']; + } + } + } +}; +exports.inferRunner = inferRunner; +// https://github.com/tc39/proposal-regex-escaping +const escapeRegex = (s) => s.replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); + + +/***/ }), + +/***/ 87351: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.issue = exports.issueCommand = void 0; +const os = __importStar(__nccwpck_require__(22037)); +const utils_1 = __nccwpck_require__(5278); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +function escapeData(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map + +/***/ }), + +/***/ 42186: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +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.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__(87351); +const file_command_1 = __nccwpck_require__(717); +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 + */ +var ExitCode; +(function (ExitCode) { + /** + * A code indicating that the action was successful + */ + ExitCode[ExitCode["Success"] = 0] = "Success"; + /** + * A code indicating that the action was a failure + */ + ExitCode[ExitCode["Failure"] = 1] = "Failure"; +})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function exportVariable(name, val) { + const convertedVal = utils_1.toCommandValue(val); + process.env[name] = convertedVal; + const filePath = process.env['GITHUB_ENV'] || ''; + if (filePath) { + const delimiter = '_GitHubActionsFileCommandDelimeter_'; + const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; + file_command_1.issueCommand('ENV', commandValue); + } + else { + command_1.issueCommand('set-env', { name }, convertedVal); + } +} +exports.exportVariable = exportVariable; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +function setSecret(secret) { + command_1.issueCommand('add-mask', {}, secret); +} +exports.setSecret = setSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + const filePath = process.env['GITHUB_PATH'] || ''; + if (filePath) { + file_command_1.issueCommand('PATH', inputPath); + } + else { + command_1.issueCommand('add-path', {}, inputPath); + } + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + if (options && options.trimWhitespace === false) { + return val; + } + return val.trim(); +} +exports.getInput = getInput; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +function getMultilineInput(name, options) { + const inputs = getInput(name, options) + .split('\n') + .filter(x => x !== ''); + return inputs; +} +exports.getMultilineInput = getMultilineInput; +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +function getBooleanInput(name, options) { + const trueValue = ['true', 'True', 'TRUE']; + const falseValue = ['false', 'False', 'FALSE']; + const val = getInput(name, options); + if (trueValue.includes(val)) + return true; + if (falseValue.includes(val)) + return false; + throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); +} +exports.getBooleanInput = getBooleanInput; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setOutput(name, value) { + process.stdout.write(os.EOL); + command_1.issueCommand('set-output', { name }, value); +} +exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + command_1.issueCommand('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function error(message, properties = {}) { + command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.error = error; +/** + * Adds a warning issue + * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function warning(message, properties = {}) { + command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.warning = warning; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function notice(message, properties = {}) { + command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.notice = notice; +/** + * Writes info to log with console.log. + * @param message info message + */ +function info(message) { + process.stdout.write(message + os.EOL); +} +exports.info = info; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +function startGroup(name) { + command_1.issue('group', name); +} +exports.startGroup = startGroup; +/** + * End an output group. + */ +function endGroup() { + command_1.issue('endgroup'); +} +exports.endGroup = endGroup; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +function group(name, fn) { + return __awaiter(this, void 0, void 0, function* () { + startGroup(name); + let result; + try { + result = yield fn(); + } + finally { + endGroup(); + } + return result; + }); +} +exports.group = group; +//----------------------------------------------------------------------- +// Wrapper action state +//----------------------------------------------------------------------- +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function saveState(name, value) { + command_1.issueCommand('save-state', { name }, value); +} +exports.saveState = saveState; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +function getState(name) { + return process.env[`STATE_${name}`] || ''; +} +exports.getState = getState; +function getIDToken(aud) { + return __awaiter(this, void 0, void 0, function* () { + return yield oidc_utils_1.OidcClient.getIDToken(aud); + }); +} +exports.getIDToken = getIDToken; +//# sourceMappingURL=core.js.map + +/***/ }), + +/***/ 717: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// For internal use, subject to change. +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.issueCommand = void 0; +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +const fs = __importStar(__nccwpck_require__(57147)); +const os = __importStar(__nccwpck_require__(22037)); +const utils_1 = __nccwpck_require__(5278); +function issueCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueCommand = issueCommand; +//# sourceMappingURL=file-command.js.map + +/***/ }), + +/***/ 98041: +/***/ (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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OidcClient = void 0; +const http_client_1 = __nccwpck_require__(39925); +const auth_1 = __nccwpck_require__(23702); +const core_1 = __nccwpck_require__(42186); +class OidcClient { + static createHttpClient(allowRetry = true, maxRetry = 10) { + const requestOptions = { + allowRetries: allowRetry, + maxRetries: maxRetry + }; + return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions); + } + static getRequestToken() { + const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']; + if (!token) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'); + } + return token; + } + static getIDTokenUrl() { + const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']; + if (!runtimeUrl) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable'); + } + return runtimeUrl; + } + static getCall(id_token_url) { + var _a; + return __awaiter(this, void 0, void 0, function* () { + const httpclient = OidcClient.createHttpClient(); + const res = yield httpclient + .getJson(id_token_url) + .catch(error => { + throw new Error(`Failed to get ID Token. \n + Error Code : ${error.statusCode}\n + Error Message: ${error.result.message}`); + }); + const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; + if (!id_token) { + throw new Error('Response json body do not have ID Token field'); + } + return id_token; + }); + } + static getIDToken(audience) { + return __awaiter(this, void 0, void 0, function* () { + try { + // New ID Token is requested from action service + let id_token_url = OidcClient.getIDTokenUrl(); + if (audience) { + const encodedAudience = encodeURIComponent(audience); + id_token_url = `${id_token_url}&audience=${encodedAudience}`; + } + core_1.debug(`ID token url is ${id_token_url}`); + const id_token = yield OidcClient.getCall(id_token_url); + core_1.setSecret(id_token); + return id_token; + } + catch (error) { + throw new Error(`Error message: ${error.message}`); + } + }); + } +} +exports.OidcClient = OidcClient; +//# sourceMappingURL=oidc-utils.js.map + +/***/ }), + +/***/ 5278: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toCommandProperties = exports.toCommandValue = void 0; +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +function toCommandProperties(annotationProperties) { + if (!Object.keys(annotationProperties).length) { + return {}; + } + return { + title: annotationProperties.title, + file: annotationProperties.file, + line: annotationProperties.startLine, + endLine: annotationProperties.endLine, + col: annotationProperties.startColumn, + endColumn: annotationProperties.endColumn + }; +} +exports.toCommandProperties = toCommandProperties; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 74087: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Context = void 0; +const fs_1 = __nccwpck_require__(57147); +const os_1 = __nccwpck_require__(22037); +class Context { + /** + * Hydrate the context from the environment + */ + constructor() { + var _a, _b, _c; + this.payload = {}; + if (process.env.GITHUB_EVENT_PATH) { + if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) { + this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' })); + } + else { + const path = process.env.GITHUB_EVENT_PATH; + process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`); + } + } + this.eventName = process.env.GITHUB_EVENT_NAME; + this.sha = process.env.GITHUB_SHA; + this.ref = process.env.GITHUB_REF; + this.workflow = process.env.GITHUB_WORKFLOW; + this.action = process.env.GITHUB_ACTION; + this.actor = process.env.GITHUB_ACTOR; + this.job = process.env.GITHUB_JOB; + this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); + this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); + this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; + this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`; + this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`; + } + get issue() { + const payload = this.payload; + return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number }); + } + get repo() { + if (process.env.GITHUB_REPOSITORY) { + const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/'); + return { owner, repo }; + } + if (this.payload.repository) { + return { + owner: this.payload.repository.owner.login, + repo: this.payload.repository.name + }; + } + throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"); + } +} +exports.Context = Context; +//# sourceMappingURL=context.js.map + +/***/ }), + +/***/ 95438: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getOctokit = exports.context = void 0; +const Context = __importStar(__nccwpck_require__(74087)); +const utils_1 = __nccwpck_require__(73030); +exports.context = new Context.Context(); +/** + * Returns a hydrated octokit ready to use for GitHub Actions + * + * @param token the repo PAT or GITHUB_TOKEN + * @param options other options to set + */ +function getOctokit(token, options) { + return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); +} +exports.getOctokit = getOctokit; +//# sourceMappingURL=github.js.map + +/***/ }), + +/***/ 47914: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0; +const httpClient = __importStar(__nccwpck_require__(39925)); +function getAuthString(token, options) { + if (!token && !options.auth) { + throw new Error('Parameter token or opts.auth is required'); + } + else if (token && options.auth) { + throw new Error('Parameters token and opts.auth may not both be specified'); + } + return typeof options.auth === 'string' ? options.auth : `token ${token}`; +} +exports.getAuthString = getAuthString; +function getProxyAgent(destinationUrl) { + const hc = new httpClient.HttpClient(); + return hc.getAgent(destinationUrl); +} +exports.getProxyAgent = getProxyAgent; +function getApiBaseUrl() { + return process.env['GITHUB_API_URL'] || 'https://api.github.com'; +} +exports.getApiBaseUrl = getApiBaseUrl; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 73030: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getOctokitOptions = exports.GitHub = exports.context = void 0; +const Context = __importStar(__nccwpck_require__(74087)); +const Utils = __importStar(__nccwpck_require__(47914)); +// octokit + plugins +const core_1 = __nccwpck_require__(76762); +const plugin_rest_endpoint_methods_1 = __nccwpck_require__(83044); +const plugin_paginate_rest_1 = __nccwpck_require__(64193); +exports.context = new Context.Context(); +const baseUrl = Utils.getApiBaseUrl(); +const defaults = { + baseUrl, + request: { + agent: Utils.getProxyAgent(baseUrl) + } +}; +exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); +/** + * Convience function to correctly format Octokit Options to pass into the constructor. + * + * @param token the repo PAT or GITHUB_TOKEN + * @param options other options to set + */ +function getOctokitOptions(token, options) { + const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller + // Auth + const auth = Utils.getAuthString(token, opts); + if (auth) { + opts.auth = auth; + } + return opts; +} +exports.getOctokitOptions = getOctokitOptions; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 23702: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +class BasicCredentialHandler { + constructor(username, password) { + this.username = username; + this.password = password; + } + prepareRequest(options) { + options.headers['Authorization'] = + 'Basic ' + + Buffer.from(this.username + ':' + this.password).toString('base64'); + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.BasicCredentialHandler = BasicCredentialHandler; +class BearerCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + options.headers['Authorization'] = 'Bearer ' + this.token; + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.BearerCredentialHandler = BearerCredentialHandler; +class PersonalAccessTokenCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + options.headers['Authorization'] = + 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; + + +/***/ }), + +/***/ 39925: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +const http = __nccwpck_require__(13685); +const https = __nccwpck_require__(95687); +const pm = __nccwpck_require__(16443); +let tunnel; +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +var Headers; +(function (Headers) { + Headers["Accept"] = "accept"; + Headers["ContentType"] = "content-type"; +})(Headers = exports.Headers || (exports.Headers = {})); +var MediaTypes; +(function (MediaTypes) { + MediaTypes["ApplicationJson"] = "application/json"; +})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); +/** + * Returns the proxy URL, depending upon the supplied url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ +function getProxyUrl(serverUrl) { + let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + return proxyUrl ? proxyUrl.href : ''; +} +exports.getProxyUrl = getProxyUrl; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientError extends Error { + constructor(message, statusCode) { + super(message); + this.name = 'HttpClientError'; + this.statusCode = statusCode; + Object.setPrototypeOf(this, HttpClientError.prototype); + } +} +exports.HttpClientError = HttpClientError; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return new Promise(async (resolve, reject) => { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + }); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + let parsedUrl = new URL(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + } + get(requestUrl, additionalHeaders) { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + } + del(requestUrl, additionalHeaders) { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + } + post(requestUrl, data, additionalHeaders) { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + } + patch(requestUrl, data, additionalHeaders) { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + } + put(requestUrl, data, additionalHeaders) { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + } + head(requestUrl, additionalHeaders) { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return this.request(verb, requestUrl, stream, additionalHeaders); + } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ + async getJson(requestUrl, additionalHeaders = {}) { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + let res = await this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async postJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async putJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async patchJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + async request(verb, requestUrl, data, headers) { + if (this._disposed) { + throw new Error('Client has already been disposed.'); + } + let parsedUrl = new URL(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + while (numTries < maxTries) { + response = await this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (let i = 0; i < this.handlers.length; i++) { + if (this.handlers[i].canHandleAuthentication(response)) { + authenticationHandler = this.handlers[i]; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + let parsedRedirectUrl = new URL(redirectUrl); + if (parsedUrl.protocol == 'https:' && + parsedUrl.protocol != parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + await response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (let header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = await this.requestRaw(info, data); + redirectsRemaining--; + } + if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + await response.readBody(); + await this._performExponentialBackoff(numTries); + } + } + return response; + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return new Promise((resolve, reject) => { + let callbackForResult = function (err, res) { + if (err) { + reject(err); + } + resolve(res); + }; + this.requestRawWithCallback(info, data, callbackForResult); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + let socket; + if (typeof data === 'string') { + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + let handleResult = (err, res) => { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + }; + let req = info.httpModule.request(info.options, (msg) => { + let res = new HttpClientResponse(msg); + handleResult(null, res); + }); + req.on('socket', sock => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.end(); + } + handleResult(new Error('Request timeout: ' + info.options.path), null); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err, null); + }); + if (data && typeof data === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof data !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ + getAgent(serverUrl) { + let parsedUrl = new URL(serverUrl); + return this._getAgent(parsedUrl); + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers['user-agent'] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers) { + this.handlers.forEach(handler => { + handler.prepareRequest(info.options); + }); + } + return info; + } + _mergeHeaders(headers) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + } + return lowercaseKeys(headers || {}); + } + _getExistingOrDefaultHeader(additionalHeaders, header, _default) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + } + return additionalHeaders[header] || clientHeader || _default; + } + _getAgent(parsedUrl) { + let agent; + let proxyUrl = pm.getProxyUrl(parsedUrl); + let useProxy = proxyUrl && proxyUrl.hostname; + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (!!agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (!!this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + if (useProxy) { + // If using proxy, need tunnel + if (!tunnel) { + tunnel = __nccwpck_require__(74294); + } + const agentOptions = { + maxSockets: maxSockets, + keepAlive: this._keepAlive, + proxy: { + ...((proxyUrl.username || proxyUrl.password) && { + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` + }), + host: proxyUrl.hostname, + port: proxyUrl.port + } + }; + let tunnelAgent; + const overHttps = proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); + } + return agent; + } + _performExponentialBackoff(retryNumber) { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + } + static dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + let a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } + } + return value; + } + async _processResponse(res, options) { + return new Promise(async (resolve, reject) => { + const statusCode = res.message.statusCode; + const response = { + statusCode: statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode == HttpCodes.NotFound) { + resolve(response); + } + let obj; + let contents; + // get the result from the body + try { + contents = await res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; + } + response.headers = res.message.headers; + } + catch (err) { + // Invalid resource (contents not json); leaving result obj null + } + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = 'Failed request: (' + statusCode + ')'; + } + let err = new HttpClientError(msg, statusCode); + err.result = response.result; + reject(err); + } + else { + resolve(response); + } + }); + } +} +exports.HttpClient = HttpClient; + + +/***/ }), + +/***/ 16443: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +function getProxyUrl(reqUrl) { + let usingSsl = reqUrl.protocol === 'https:'; + let proxyUrl; + if (checkBypass(reqUrl)) { + return proxyUrl; + } + let proxyVar; + if (usingSsl) { + proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + if (proxyVar) { + proxyUrl = new URL(proxyVar); + } + return proxyUrl; +} +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (let upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperReqHosts.some(x => x === upperNoProxyItem)) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; + + +/***/ }), + +/***/ 53128: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.logger = exports.v2 = exports.v1 = void 0; +exports.v1 = __importStar(__nccwpck_require__(46649)); +exports.v2 = __importStar(__nccwpck_require__(23687)); +var loglevel_1 = __importDefault(__nccwpck_require__(78063)); +var logger = loglevel_1.default.noConflict(); +exports.logger = logger; +logger.setLevel((process !== undefined && process.env.DEBUG) ? logger.levels.DEBUG : logger.levels.INFO); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 50502: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSIntegrationApi = exports.AWSIntegrationApiResponseProcessor = exports.AWSIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var AWSIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(AWSIntegrationApiRequestFactory, _super); + function AWSIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + AWSIntegrationApiRequestFactory.prototype.createAWSAccount = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAWSAccount."); + } + localVarPath = "/api/v1/integration/aws"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.createAWSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.createAWSTagFilter = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAWSTagFilter."); + } + localVarPath = "/api/v1/integration/aws/filtering"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.createAWSTagFilter").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSTagFilterCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.createNewAWSExternalID = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createNewAWSExternalID."); + } + localVarPath = "/api/v1/integration/aws/generate_new_external_id"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.createNewAWSExternalID").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.deleteAWSAccount = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteAWSAccount."); + } + localVarPath = "/api/v1/integration/aws"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.deleteAWSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccountDeleteRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.deleteAWSTagFilter = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteAWSTagFilter."); + } + localVarPath = "/api/v1/integration/aws/filtering"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.deleteAWSTagFilter").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSTagFilterDeleteRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.listAWSAccounts = function (accountId, roleName, accessKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/aws"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.listAWSAccounts").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (accountId !== undefined) { + requestContext.setQueryParam("account_id", ObjectSerializer_1.ObjectSerializer.serialize(accountId, "string", "")); + } + if (roleName !== undefined) { + requestContext.setQueryParam("role_name", ObjectSerializer_1.ObjectSerializer.serialize(roleName, "string", "")); + } + if (accessKeyId !== undefined) { + requestContext.setQueryParam("access_key_id", ObjectSerializer_1.ObjectSerializer.serialize(accessKeyId, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.listAWSTagFilters = function (accountId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountId' is not null or undefined + if (accountId === null || accountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountId was null or undefined when calling listAWSTagFilters."); + } + localVarPath = "/api/v1/integration/aws/filtering"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.listAWSTagFilters").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (accountId !== undefined) { + requestContext.setQueryParam("account_id", ObjectSerializer_1.ObjectSerializer.serialize(accountId, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.listAvailableAWSNamespaces = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/aws/available_namespace_rules"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.listAvailableAWSNamespaces").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSIntegrationApiRequestFactory.prototype.updateAWSAccount = function (body, accountId, roleName, accessKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAWSAccount."); + } + localVarPath = "/api/v1/integration/aws"; + requestContext = (0, configuration_1.getServer)(_config, "AWSIntegrationApi.updateAWSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (accountId !== undefined) { + requestContext.setQueryParam("account_id", ObjectSerializer_1.ObjectSerializer.serialize(accountId, "string", "")); + } + if (roleName !== undefined) { + requestContext.setQueryParam("role_name", ObjectSerializer_1.ObjectSerializer.serialize(roleName, "string", "")); + } + if (accessKeyId !== undefined) { + requestContext.setQueryParam("access_key_id", ObjectSerializer_1.ObjectSerializer.serialize(accessKeyId, "string", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return AWSIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.AWSIntegrationApiRequestFactory = AWSIntegrationApiRequestFactory; +var AWSIntegrationApiResponseProcessor = /** @class */ (function () { + function AWSIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAWSAccount + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.createAWSAccount = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "AWSAccountCreateResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "AWSAccountCreateResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAWSTagFilter + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.createAWSTagFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_10); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_11]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNewAWSExternalID + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.createNewAWSExternalID = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_12 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AWSAccountCreateResponse", + ""]); + return [2 /*return*/, body_12]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_13 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_13); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_14 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_14); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_15 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_15); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_16 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AWSAccountCreateResponse", + ""]); + return [2 /*return*/, body_16]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAWSAccount + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.deleteAWSAccount = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body_22, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_17 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_17]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_18 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_18); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_19 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_20 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_20); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_21 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_22 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_22]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAWSTagFilter + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.deleteAWSTagFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAWSAccounts + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.listAWSAccounts = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AWSAccountListResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_31); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AWSAccountListResponse", + ""]); + return [2 /*return*/, body_32]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAWSTagFilters + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.listAWSTagFilters = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body_37, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_33 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AWSTagFilterListResponse", + ""]); + return [2 /*return*/, body_33]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_34 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_34); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_35 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_35); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_36 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_36); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_37 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AWSTagFilterListResponse", + ""]); + return [2 /*return*/, body_37]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAvailableAWSNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.listAvailableAWSNamespaces = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_38, _a, _b, _c, _d, body_39, _e, _f, _g, _h, body_40, _j, _k, _l, _m, body_41, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_38 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_38]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_39 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_39); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_40 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_40); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_41 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_41]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAWSAccount + * @throws ApiException if the response code was not in [200, 299] + */ + AWSIntegrationApiResponseProcessor.prototype.updateAWSAccount = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body_47, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_42 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_42]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_43 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_43); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_44 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_44); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_45 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_45); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_46 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_46); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_47 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_47]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return AWSIntegrationApiResponseProcessor; +}()); +exports.AWSIntegrationApiResponseProcessor = AWSIntegrationApiResponseProcessor; +var AWSIntegrationApi = /** @class */ (function () { + function AWSIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new AWSIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new AWSIntegrationApiResponseProcessor(); + } + /** + * Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication. + * @param param The request object + */ + AWSIntegrationApi.prototype.createAWSAccount = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAWSAccount(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAWSAccount(responseContext); + }); + }); + }; + /** + * Set an AWS tag filter. + * @param param The request object + */ + AWSIntegrationApi.prototype.createAWSTagFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAWSTagFilter(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAWSTagFilter(responseContext); + }); + }); + }; + /** + * Generate a new AWS external ID for a given AWS account ID and role name pair. + * @param param The request object + */ + AWSIntegrationApi.prototype.createNewAWSExternalID = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createNewAWSExternalID(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createNewAWSExternalID(responseContext); + }); + }); + }; + /** + * Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`. + * @param param The request object + */ + AWSIntegrationApi.prototype.deleteAWSAccount = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAWSAccount(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAWSAccount(responseContext); + }); + }); + }; + /** + * Delete a tag filtering entry. + * @param param The request object + */ + AWSIntegrationApi.prototype.deleteAWSTagFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAWSTagFilter(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAWSTagFilter(responseContext); + }); + }); + }; + /** + * List all Datadog-AWS integrations available in your Datadog organization. + * @param param The request object + */ + AWSIntegrationApi.prototype.listAWSAccounts = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listAWSAccounts(param.accountId, param.roleName, param.accessKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAWSAccounts(responseContext); + }); + }); + }; + /** + * Get all AWS tag filters. + * @param param The request object + */ + AWSIntegrationApi.prototype.listAWSTagFilters = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAWSTagFilters(param.accountId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAWSTagFilters(responseContext); + }); + }); + }; + /** + * List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments. + * @param param The request object + */ + AWSIntegrationApi.prototype.listAvailableAWSNamespaces = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAvailableAWSNamespaces(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAvailableAWSNamespaces(responseContext); + }); + }); + }; + /** + * Update a Datadog-Amazon Web Services integration. + * @param param The request object + */ + AWSIntegrationApi.prototype.updateAWSAccount = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAWSAccount(param.body, param.accountId, param.roleName, param.accessKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAWSAccount(responseContext); + }); + }); + }; + return AWSIntegrationApi; +}()); +exports.AWSIntegrationApi = AWSIntegrationApi; +//# sourceMappingURL=AWSIntegrationApi.js.map + +/***/ }), + +/***/ 60149: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsIntegrationApi = exports.AWSLogsIntegrationApiResponseProcessor = exports.AWSLogsIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var AWSLogsIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(AWSLogsIntegrationApiRequestFactory, _super); + function AWSLogsIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + AWSLogsIntegrationApiRequestFactory.prototype.checkAWSLogsLambdaAsync = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling checkAWSLogsLambdaAsync."); + } + localVarPath = "/api/v1/integration/aws/logs/check_async"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.checkAWSLogsLambdaAsync").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccountAndLambdaRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.checkAWSLogsServicesAsync = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling checkAWSLogsServicesAsync."); + } + localVarPath = "/api/v1/integration/aws/logs/services_async"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.checkAWSLogsServicesAsync").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSLogsServicesRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.createAWSLambdaARN = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAWSLambdaARN."); + } + localVarPath = "/api/v1/integration/aws/logs"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.createAWSLambdaARN").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccountAndLambdaRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.deleteAWSLambdaARN = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteAWSLambdaARN."); + } + localVarPath = "/api/v1/integration/aws/logs"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.deleteAWSLambdaARN").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSAccountAndLambdaRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.enableAWSLogServices = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling enableAWSLogServices."); + } + localVarPath = "/api/v1/integration/aws/logs/services"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.enableAWSLogServices").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AWSLogsServicesRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.listAWSLogsIntegrations = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/aws/logs"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.listAWSLogsIntegrations").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AWSLogsIntegrationApiRequestFactory.prototype.listAWSLogsServices = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/aws/logs/services"; + requestContext = (0, configuration_1.getServer)(_config, "AWSLogsIntegrationApi.listAWSLogsServices").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return AWSLogsIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.AWSLogsIntegrationApiRequestFactory = AWSLogsIntegrationApiRequestFactory; +var AWSLogsIntegrationApiResponseProcessor = /** @class */ (function () { + function AWSLogsIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to checkAWSLogsLambdaAsync + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.checkAWSLogsLambdaAsync = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AWSLogsAsyncResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AWSLogsAsyncResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to checkAWSLogsServicesAsync + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.checkAWSLogsServicesAsync = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AWSLogsAsyncResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AWSLogsAsyncResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAWSLambdaARN + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.createAWSLambdaARN = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAWSLambdaARN + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.deleteAWSLambdaARN = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to enableAWSLogServices + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.enableAWSLogServices = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_25]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAWSLogsIntegrations + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.listAWSLogsIntegrations = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_26, _a, _b, _c, _d, body_27, _e, _f, _g, _h, body_28, _j, _k, _l, _m, body_29, _o, _p, _q, _r, body_30, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_26 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_26]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_27 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_27); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_28 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_28); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_29 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_29); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_30 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_30]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAWSLogsServices + * @throws ApiException if the response code was not in [200, 299] + */ + AWSLogsIntegrationApiResponseProcessor.prototype.listAWSLogsServices = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_31 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_31]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_32 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_32); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_33 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_34 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_34]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return AWSLogsIntegrationApiResponseProcessor; +}()); +exports.AWSLogsIntegrationApiResponseProcessor = AWSLogsIntegrationApiResponseProcessor; +var AWSLogsIntegrationApi = /** @class */ (function () { + function AWSLogsIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new AWSLogsIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new AWSLogsIntegrationApiResponseProcessor(); + } + /** + * Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking. - Returns a status of 'created' when it's checking if the Lambda exists in the account. - Returns a status of 'waiting' while checking. - Returns a status of 'checked and ok' if the Lambda exists. - Returns a status of 'error' if the Lambda does not exist. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.checkAWSLogsLambdaAsync = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.checkAWSLogsLambdaAsync(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.checkAWSLogsLambdaAsync(responseContext); + }); + }); + }; + /** + * Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for `EnableAWSLogServices`. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes. - Returns a status of `created` when it's checking if the permissions exists in the AWS account. - Returns a status of `waiting` while checking. - Returns a status of `checked and ok` if the Lambda exists. - Returns a status of `error` if the Lambda does not exist. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.checkAWSLogsServicesAsync = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.checkAWSLogsServicesAsync(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.checkAWSLogsServicesAsync(responseContext); + }); + }); + }; + /** + * Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.createAWSLambdaARN = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAWSLambdaARN(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAWSLambdaARN(responseContext); + }); + }); + }; + /** + * Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.deleteAWSLambdaARN = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAWSLambdaARN(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAWSLambdaARN(responseContext); + }); + }); + }; + /** + * Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.enableAWSLogServices = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.enableAWSLogServices(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.enableAWSLogServices(responseContext); + }); + }); + }; + /** + * List all Datadog-AWS Logs integrations configured in your Datadog account. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.listAWSLogsIntegrations = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAWSLogsIntegrations(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAWSLogsIntegrations(responseContext); + }); + }); + }; + /** + * Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint. + * @param param The request object + */ + AWSLogsIntegrationApi.prototype.listAWSLogsServices = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAWSLogsServices(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAWSLogsServices(responseContext); + }); + }); + }; + return AWSLogsIntegrationApi; +}()); +exports.AWSLogsIntegrationApi = AWSLogsIntegrationApi; +//# sourceMappingURL=AWSLogsIntegrationApi.js.map + +/***/ }), + +/***/ 34507: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthenticationApi = exports.AuthenticationApiResponseProcessor = exports.AuthenticationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var AuthenticationApiRequestFactory = /** @class */ (function (_super) { + __extends(AuthenticationApiRequestFactory, _super); + function AuthenticationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + AuthenticationApiRequestFactory.prototype.validate = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/validate"; + requestContext = (0, configuration_1.getServer)(_config, "AuthenticationApi.validate").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return AuthenticationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.AuthenticationApiRequestFactory = AuthenticationApiRequestFactory; +var AuthenticationApiResponseProcessor = /** @class */ (function () { + function AuthenticationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to validate + * @throws ApiException if the response code was not in [200, 299] + */ + AuthenticationApiResponseProcessor.prototype.validate = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "AuthenticationValidationResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_3); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "AuthenticationValidationResponse", + ""]); + return [2 /*return*/, body_4]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return AuthenticationApiResponseProcessor; +}()); +exports.AuthenticationApiResponseProcessor = AuthenticationApiResponseProcessor; +var AuthenticationApi = /** @class */ (function () { + function AuthenticationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new AuthenticationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new AuthenticationApiResponseProcessor(); + } + /** + * Check if the API key (not the APP key) is valid. If invalid, a 403 is returned. + * @param param The request object + */ + AuthenticationApi.prototype.validate = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.validate(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.validate(responseContext); + }); + }); + }; + return AuthenticationApi; +}()); +exports.AuthenticationApi = AuthenticationApi; +//# sourceMappingURL=AuthenticationApi.js.map + +/***/ }), + +/***/ 89924: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AzureIntegrationApi = exports.AzureIntegrationApiResponseProcessor = exports.AzureIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var AzureIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(AzureIntegrationApiRequestFactory, _super); + function AzureIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + AzureIntegrationApiRequestFactory.prototype.createAzureIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAzureIntegration."); + } + localVarPath = "/api/v1/integration/azure"; + requestContext = (0, configuration_1.getServer)(_config, "AzureIntegrationApi.createAzureIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AzureIntegrationApiRequestFactory.prototype.deleteAzureIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteAzureIntegration."); + } + localVarPath = "/api/v1/integration/azure"; + requestContext = (0, configuration_1.getServer)(_config, "AzureIntegrationApi.deleteAzureIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AzureIntegrationApiRequestFactory.prototype.listAzureIntegration = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/azure"; + requestContext = (0, configuration_1.getServer)(_config, "AzureIntegrationApi.listAzureIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AzureIntegrationApiRequestFactory.prototype.updateAzureHostFilters = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAzureHostFilters."); + } + localVarPath = "/api/v1/integration/azure/host_filters"; + requestContext = (0, configuration_1.getServer)(_config, "AzureIntegrationApi.updateAzureHostFilters").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AzureIntegrationApiRequestFactory.prototype.updateAzureIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAzureIntegration."); + } + localVarPath = "/api/v1/integration/azure"; + requestContext = (0, configuration_1.getServer)(_config, "AzureIntegrationApi.updateAzureIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AzureAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return AzureIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.AzureIntegrationApiRequestFactory = AzureIntegrationApiRequestFactory; +var AzureIntegrationApiResponseProcessor = /** @class */ (function () { + function AzureIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAzureIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + AzureIntegrationApiResponseProcessor.prototype.createAzureIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAzureIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + AzureIntegrationApiResponseProcessor.prototype.deleteAzureIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAzureIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + AzureIntegrationApiResponseProcessor.prototype.listAzureIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAzureHostFilters + * @throws ApiException if the response code was not in [200, 299] + */ + AzureIntegrationApiResponseProcessor.prototype.updateAzureHostFilters = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAzureIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + AzureIntegrationApiResponseProcessor.prototype.updateAzureIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_25]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return AzureIntegrationApiResponseProcessor; +}()); +exports.AzureIntegrationApiResponseProcessor = AzureIntegrationApiResponseProcessor; +var AzureIntegrationApi = /** @class */ (function () { + function AzureIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new AzureIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new AzureIntegrationApiResponseProcessor(); + } + /** + * Create a Datadog-Azure integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. Using the `PUT` method updates your integration configuration by replacing your current configuration with the new one sent to your Datadog organization. + * @param param The request object + */ + AzureIntegrationApi.prototype.createAzureIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAzureIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAzureIntegration(responseContext); + }); + }); + }; + /** + * Delete a given Datadog-Azure integration from your Datadog account. + * @param param The request object + */ + AzureIntegrationApi.prototype.deleteAzureIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAzureIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAzureIntegration(responseContext); + }); + }); + }; + /** + * List all Datadog-Azure integrations configured in your Datadog account. + * @param param The request object + */ + AzureIntegrationApi.prototype.listAzureIntegration = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAzureIntegration(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAzureIntegration(responseContext); + }); + }); + }; + /** + * Update the defined list of host filters for a given Datadog-Azure integration. + * @param param The request object + */ + AzureIntegrationApi.prototype.updateAzureHostFilters = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAzureHostFilters(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAzureHostFilters(responseContext); + }); + }); + }; + /** + * Update a Datadog-Azure integration. Requires an existing `tenant_name` and `client_id`. Any other fields supplied will overwrite existing values. To overwrite `tenant_name` or `client_id`, use `new_tenant_name` and `new_client_id`. To leave a field unchanged, do not supply that field in the payload. + * @param param The request object + */ + AzureIntegrationApi.prototype.updateAzureIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAzureIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAzureIntegration(responseContext); + }); + }); + }; + return AzureIntegrationApi; +}()); +exports.AzureIntegrationApi = AzureIntegrationApi; +//# sourceMappingURL=AzureIntegrationApi.js.map + +/***/ }), + +/***/ 6094: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListsApi = exports.DashboardListsApiResponseProcessor = exports.DashboardListsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var DashboardListsApiRequestFactory = /** @class */ (function (_super) { + __extends(DashboardListsApiRequestFactory, _super); + function DashboardListsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + DashboardListsApiRequestFactory.prototype.createDashboardList = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createDashboardList."); + } + localVarPath = "/api/v1/dashboard/lists/manual"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.createDashboardList").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardList", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.deleteDashboardList = function (listId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'listId' is not null or undefined + if (listId === null || listId === undefined) { + throw new baseapi_1.RequiredError("Required parameter listId was null or undefined when calling deleteDashboardList."); + } + localVarPath = "/api/v1/dashboard/lists/manual/{list_id}".replace("{" + "list_id" + "}", encodeURIComponent(String(listId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.deleteDashboardList").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.getDashboardList = function (listId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'listId' is not null or undefined + if (listId === null || listId === undefined) { + throw new baseapi_1.RequiredError("Required parameter listId was null or undefined when calling getDashboardList."); + } + localVarPath = "/api/v1/dashboard/lists/manual/{list_id}".replace("{" + "list_id" + "}", encodeURIComponent(String(listId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.getDashboardList").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.listDashboardLists = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/dashboard/lists/manual"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.listDashboardLists").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.updateDashboardList = function (listId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'listId' is not null or undefined + if (listId === null || listId === undefined) { + throw new baseapi_1.RequiredError("Required parameter listId was null or undefined when calling updateDashboardList."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateDashboardList."); + } + localVarPath = "/api/v1/dashboard/lists/manual/{list_id}".replace("{" + "list_id" + "}", encodeURIComponent(String(listId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.updateDashboardList").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardList", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return DashboardListsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.DashboardListsApiRequestFactory = DashboardListsApiRequestFactory; +var DashboardListsApiResponseProcessor = /** @class */ (function () { + function DashboardListsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDashboardList + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.createDashboardList = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDashboardList + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.deleteDashboardList = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "DashboardListDeleteResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "DashboardListDeleteResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getDashboardList + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.getDashboardList = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listDashboardLists + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.listDashboardLists = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "DashboardListListResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "DashboardListListResponse", + ""]); + return [2 /*return*/, body_19]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateDashboardList + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.updateDashboardList = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_23); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "DashboardList", + ""]); + return [2 /*return*/, body_25]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return DashboardListsApiResponseProcessor; +}()); +exports.DashboardListsApiResponseProcessor = DashboardListsApiResponseProcessor; +var DashboardListsApi = /** @class */ (function () { + function DashboardListsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new DashboardListsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new DashboardListsApiResponseProcessor(); + } + /** + * Create an empty dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.createDashboardList = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createDashboardList(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createDashboardList(responseContext); + }); + }); + }; + /** + * Delete a dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.deleteDashboardList = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteDashboardList(param.listId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteDashboardList(responseContext); + }); + }); + }; + /** + * Fetch an existing dashboard list's definition. + * @param param The request object + */ + DashboardListsApi.prototype.getDashboardList = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getDashboardList(param.listId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getDashboardList(responseContext); + }); + }); + }; + /** + * Fetch all of your existing dashboard list definitions. + * @param param The request object + */ + DashboardListsApi.prototype.listDashboardLists = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listDashboardLists(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listDashboardLists(responseContext); + }); + }); + }; + /** + * Update the name of a dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.updateDashboardList = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateDashboardList(param.listId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateDashboardList(responseContext); + }); + }); + }; + return DashboardListsApi; +}()); +exports.DashboardListsApi = DashboardListsApi; +//# sourceMappingURL=DashboardListsApi.js.map + +/***/ }), + +/***/ 24177: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardsApi = exports.DashboardsApiResponseProcessor = exports.DashboardsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var DashboardsApiRequestFactory = /** @class */ (function (_super) { + __extends(DashboardsApiRequestFactory, _super); + function DashboardsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + DashboardsApiRequestFactory.prototype.createDashboard = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createDashboard."); + } + localVarPath = "/api/v1/dashboard"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.createDashboard").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Dashboard", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.deleteDashboard = function (dashboardId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardId' is not null or undefined + if (dashboardId === null || dashboardId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardId was null or undefined when calling deleteDashboard."); + } + localVarPath = "/api/v1/dashboard/{dashboard_id}".replace("{" + "dashboard_id" + "}", encodeURIComponent(String(dashboardId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.deleteDashboard").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.deleteDashboards = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteDashboards."); + } + localVarPath = "/api/v1/dashboard"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.deleteDashboards").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardBulkDeleteRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.getDashboard = function (dashboardId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardId' is not null or undefined + if (dashboardId === null || dashboardId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardId was null or undefined when calling getDashboard."); + } + localVarPath = "/api/v1/dashboard/{dashboard_id}".replace("{" + "dashboard_id" + "}", encodeURIComponent(String(dashboardId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.getDashboard").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.listDashboards = function (filterShared, filterDeleted, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/dashboard"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.listDashboards").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (filterShared !== undefined) { + requestContext.setQueryParam("filter[shared]", ObjectSerializer_1.ObjectSerializer.serialize(filterShared, "boolean", "")); + } + if (filterDeleted !== undefined) { + requestContext.setQueryParam("filter[deleted]", ObjectSerializer_1.ObjectSerializer.serialize(filterDeleted, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.restoreDashboards = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling restoreDashboards."); + } + localVarPath = "/api/v1/dashboard"; + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.restoreDashboards").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardRestoreRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardsApiRequestFactory.prototype.updateDashboard = function (dashboardId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardId' is not null or undefined + if (dashboardId === null || dashboardId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardId was null or undefined when calling updateDashboard."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateDashboard."); + } + localVarPath = "/api/v1/dashboard/{dashboard_id}".replace("{" + "dashboard_id" + "}", encodeURIComponent(String(dashboardId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardsApi.updateDashboard").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Dashboard", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return DashboardsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.DashboardsApiRequestFactory = DashboardsApiRequestFactory; +var DashboardsApiResponseProcessor = /** @class */ (function () { + function DashboardsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDashboard + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.createDashboard = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDashboard + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.deleteDashboard = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "DashboardDeleteResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "DashboardDeleteResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDashboards + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.deleteDashboards = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_11); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getDashboard + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.getDashboard = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listDashboards + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.listDashboards = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "DashboardSummary", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "DashboardSummary", + ""]); + return [2 /*return*/, body_24]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to restoreDashboards + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.restoreDashboards = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_25); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_27); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_28); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_29]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateDashboard + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardsApiResponseProcessor.prototype.updateDashboard = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body_35, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_30 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_30]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_31 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_31); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_32 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_32); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_33 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_33); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_34 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_34); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_35 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "Dashboard", + ""]); + return [2 /*return*/, body_35]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return DashboardsApiResponseProcessor; +}()); +exports.DashboardsApiResponseProcessor = DashboardsApiResponseProcessor; +var DashboardsApi = /** @class */ (function () { + function DashboardsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new DashboardsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new DashboardsApiResponseProcessor(); + } + /** + * Create a dashboard using the specified options. When defining queries in your widgets, take note of which queries should have the `as_count()` or `as_rate()` modifiers appended. Refer to the following [documentation](https://docs.datadoghq.com/developers/metrics/type_modifiers/?tab=count#in-application-modifiers) for more information on these modifiers. + * @param param The request object + */ + DashboardsApi.prototype.createDashboard = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createDashboard(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createDashboard(responseContext); + }); + }); + }; + /** + * Delete a dashboard using the specified ID. + * @param param The request object + */ + DashboardsApi.prototype.deleteDashboard = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteDashboard(param.dashboardId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteDashboard(responseContext); + }); + }); + }; + /** + * Delete dashboards using the specified IDs. If there are any failures, no dashboards will be deleted (partial success is not allowed). + * @param param The request object + */ + DashboardsApi.prototype.deleteDashboards = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteDashboards(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteDashboards(responseContext); + }); + }); + }; + /** + * Get a dashboard using the specified ID. + * @param param The request object + */ + DashboardsApi.prototype.getDashboard = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getDashboard(param.dashboardId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getDashboard(responseContext); + }); + }); + }; + /** + * Get all dashboards. **Note**: This query will only return custom created or cloned dashboards. This query will not return preset dashboards. + * @param param The request object + */ + DashboardsApi.prototype.listDashboards = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listDashboards(param.filterShared, param.filterDeleted, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listDashboards(responseContext); + }); + }); + }; + /** + * Restore dashboards using the specified IDs. If there are any failures, no dashboards will be restored (partial success is not allowed). + * @param param The request object + */ + DashboardsApi.prototype.restoreDashboards = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.restoreDashboards(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.restoreDashboards(responseContext); + }); + }); + }; + /** + * Update a dashboard using the specified ID. + * @param param The request object + */ + DashboardsApi.prototype.updateDashboard = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateDashboard(param.dashboardId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateDashboard(responseContext); + }); + }); + }; + return DashboardsApi; +}()); +exports.DashboardsApi = DashboardsApi; +//# sourceMappingURL=DashboardsApi.js.map + +/***/ }), + +/***/ 6602: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DowntimesApi = exports.DowntimesApiResponseProcessor = exports.DowntimesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var DowntimesApiRequestFactory = /** @class */ (function (_super) { + __extends(DowntimesApiRequestFactory, _super); + function DowntimesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + DowntimesApiRequestFactory.prototype.cancelDowntime = function (downtimeId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'downtimeId' is not null or undefined + if (downtimeId === null || downtimeId === undefined) { + throw new baseapi_1.RequiredError("Required parameter downtimeId was null or undefined when calling cancelDowntime."); + } + localVarPath = "/api/v1/downtime/{downtime_id}".replace("{" + "downtime_id" + "}", encodeURIComponent(String(downtimeId))); + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.cancelDowntime").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.cancelDowntimesByScope = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling cancelDowntimesByScope."); + } + localVarPath = "/api/v1/downtime/cancel/by_scope"; + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.cancelDowntimesByScope").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CancelDowntimesByScopeRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.createDowntime = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createDowntime."); + } + localVarPath = "/api/v1/downtime"; + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.createDowntime").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Downtime", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.getDowntime = function (downtimeId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'downtimeId' is not null or undefined + if (downtimeId === null || downtimeId === undefined) { + throw new baseapi_1.RequiredError("Required parameter downtimeId was null or undefined when calling getDowntime."); + } + localVarPath = "/api/v1/downtime/{downtime_id}".replace("{" + "downtime_id" + "}", encodeURIComponent(String(downtimeId))); + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.getDowntime").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.listDowntimes = function (currentOnly, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/downtime"; + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.listDowntimes").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (currentOnly !== undefined) { + requestContext.setQueryParam("current_only", ObjectSerializer_1.ObjectSerializer.serialize(currentOnly, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.listMonitorDowntimes = function (monitorId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'monitorId' is not null or undefined + if (monitorId === null || monitorId === undefined) { + throw new baseapi_1.RequiredError("Required parameter monitorId was null or undefined when calling listMonitorDowntimes."); + } + localVarPath = "/api/v1/monitor/{monitor_id}/downtimes".replace("{" + "monitor_id" + "}", encodeURIComponent(String(monitorId))); + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.listMonitorDowntimes").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DowntimesApiRequestFactory.prototype.updateDowntime = function (downtimeId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'downtimeId' is not null or undefined + if (downtimeId === null || downtimeId === undefined) { + throw new baseapi_1.RequiredError("Required parameter downtimeId was null or undefined when calling updateDowntime."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateDowntime."); + } + localVarPath = "/api/v1/downtime/{downtime_id}".replace("{" + "downtime_id" + "}", encodeURIComponent(String(downtimeId))); + requestContext = (0, configuration_1.getServer)(_config, "DowntimesApi.updateDowntime").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Downtime", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return DowntimesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.DowntimesApiRequestFactory = DowntimesApiRequestFactory; +var DowntimesApiResponseProcessor = /** @class */ (function () { + function DowntimesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cancelDowntime + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.cancelDowntime = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_1); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_3); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_4]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cancelDowntimesByScope + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.cancelDowntimesByScope = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body_9, _s, _t, _u, _v, body_10, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_5 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "CanceledDowntimesIds", + ""]); + return [2 /*return*/, body_5]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_6 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_6); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_7 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_8 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_9 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_10 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "CanceledDowntimesIds", + ""]); + return [2 /*return*/, body_10]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDowntime + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.createDowntime = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getDowntime + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.getDowntime = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listDowntimes + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.listDowntimes = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_24]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listMonitorDowntimes + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.listMonitorDowntimes = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_25]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_27); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_28); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_29]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateDowntime + * @throws ApiException if the response code was not in [200, 299] + */ + DowntimesApiResponseProcessor.prototype.updateDowntime = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body_35, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_30 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_30]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_31 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_31); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_32 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_32); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_33 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_33); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_34 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_34); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_35 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "Downtime", + ""]); + return [2 /*return*/, body_35]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return DowntimesApiResponseProcessor; +}()); +exports.DowntimesApiResponseProcessor = DowntimesApiResponseProcessor; +var DowntimesApi = /** @class */ (function () { + function DowntimesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new DowntimesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new DowntimesApiResponseProcessor(); + } + /** + * Cancel a downtime. + * @param param The request object + */ + DowntimesApi.prototype.cancelDowntime = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.cancelDowntime(param.downtimeId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.cancelDowntime(responseContext); + }); + }); + }; + /** + * Delete all downtimes that match the scope of `X`. + * @param param The request object + */ + DowntimesApi.prototype.cancelDowntimesByScope = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.cancelDowntimesByScope(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.cancelDowntimesByScope(responseContext); + }); + }); + }; + /** + * Schedule a downtime. + * @param param The request object + */ + DowntimesApi.prototype.createDowntime = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createDowntime(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createDowntime(responseContext); + }); + }); + }; + /** + * Get downtime detail by `downtime_id`. + * @param param The request object + */ + DowntimesApi.prototype.getDowntime = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getDowntime(param.downtimeId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getDowntime(responseContext); + }); + }); + }; + /** + * Get all scheduled downtimes. + * @param param The request object + */ + DowntimesApi.prototype.listDowntimes = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listDowntimes(param.currentOnly, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listDowntimes(responseContext); + }); + }); + }; + /** + * Get all active downtimes for the specified monitor. + * @param param The request object + */ + DowntimesApi.prototype.listMonitorDowntimes = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listMonitorDowntimes(param.monitorId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listMonitorDowntimes(responseContext); + }); + }); + }; + /** + * Update a single downtime by `downtime_id`. + * @param param The request object + */ + DowntimesApi.prototype.updateDowntime = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateDowntime(param.downtimeId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateDowntime(responseContext); + }); + }); + }; + return DowntimesApi; +}()); +exports.DowntimesApi = DowntimesApi; +//# sourceMappingURL=DowntimesApi.js.map + +/***/ }), + +/***/ 58715: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventsApi = exports.EventsApiResponseProcessor = exports.EventsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var EventsApiRequestFactory = /** @class */ (function (_super) { + __extends(EventsApiRequestFactory, _super); + function EventsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + EventsApiRequestFactory.prototype.createEvent = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createEvent."); + } + localVarPath = "/api/v1/events"; + requestContext = (0, configuration_1.getServer)(_config, "EventsApi.createEvent").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "EventCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, ["apiKeyAuth"]); + return [2 /*return*/, requestContext]; + }); + }); + }; + EventsApiRequestFactory.prototype.getEvent = function (eventId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'eventId' is not null or undefined + if (eventId === null || eventId === undefined) { + throw new baseapi_1.RequiredError("Required parameter eventId was null or undefined when calling getEvent."); + } + localVarPath = "/api/v1/events/{event_id}".replace("{" + "event_id" + "}", encodeURIComponent(String(eventId))); + requestContext = (0, configuration_1.getServer)(_config, "EventsApi.getEvent").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + EventsApiRequestFactory.prototype.listEvents = function (start, end, priority, sources, tags, unaggregated, excludeAggregate, page, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'start' is not null or undefined + if (start === null || start === undefined) { + throw new baseapi_1.RequiredError("Required parameter start was null or undefined when calling listEvents."); + } + // verify required parameter 'end' is not null or undefined + if (end === null || end === undefined) { + throw new baseapi_1.RequiredError("Required parameter end was null or undefined when calling listEvents."); + } + localVarPath = "/api/v1/events"; + requestContext = (0, configuration_1.getServer)(_config, "EventsApi.listEvents").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (start !== undefined) { + requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64")); + } + if (end !== undefined) { + requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64")); + } + if (priority !== undefined) { + requestContext.setQueryParam("priority", ObjectSerializer_1.ObjectSerializer.serialize(priority, "EventPriority", "")); + } + if (sources !== undefined) { + requestContext.setQueryParam("sources", ObjectSerializer_1.ObjectSerializer.serialize(sources, "string", "")); + } + if (tags !== undefined) { + requestContext.setQueryParam("tags", ObjectSerializer_1.ObjectSerializer.serialize(tags, "string", "")); + } + if (unaggregated !== undefined) { + requestContext.setQueryParam("unaggregated", ObjectSerializer_1.ObjectSerializer.serialize(unaggregated, "boolean", "")); + } + if (excludeAggregate !== undefined) { + requestContext.setQueryParam("exclude_aggregate", ObjectSerializer_1.ObjectSerializer.serialize(excludeAggregate, "boolean", "")); + } + if (page !== undefined) { + requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int32")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return EventsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.EventsApiRequestFactory = EventsApiRequestFactory; +var EventsApiResponseProcessor = /** @class */ (function () { + function EventsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createEvent + * @throws ApiException if the response code was not in [200, 299] + */ + EventsApiResponseProcessor.prototype.createEvent = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "EventCreateResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_3); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "EventCreateResponse", + ""]); + return [2 /*return*/, body_4]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getEvent + * @throws ApiException if the response code was not in [200, 299] + */ + EventsApiResponseProcessor.prototype.getEvent = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body_9, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_5 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "EventResponse", + ""]); + return [2 /*return*/, body_5]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_6 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_6); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_7 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_7); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_8 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_9 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "EventResponse", + ""]); + return [2 /*return*/, body_9]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listEvents + * @throws ApiException if the response code was not in [200, 299] + */ + EventsApiResponseProcessor.prototype.listEvents = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "EventListResponse", + ""]); + return [2 /*return*/, body_10]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_11); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "EventListResponse", + ""]); + return [2 /*return*/, body_14]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return EventsApiResponseProcessor; +}()); +exports.EventsApiResponseProcessor = EventsApiResponseProcessor; +var EventsApi = /** @class */ (function () { + function EventsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new EventsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new EventsApiResponseProcessor(); + } + /** + * This endpoint allows you to post events to the stream. Tag them, set priority and event aggregate them with other events. + * @param param The request object + */ + EventsApi.prototype.createEvent = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createEvent(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createEvent(responseContext); + }); + }); + }; + /** + * This endpoint allows you to query for event details. **Note**: If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\\`,`n` in your output. + * @param param The request object + */ + EventsApi.prototype.getEvent = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getEvent(param.eventId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getEvent(responseContext); + }); + }); + }; + /** + * The event stream can be queried and filtered by time, priority, sources and tags. **Notes**: - If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\\`,`n` in your output. - This endpoint returns a maximum of `1000` most recent results. To return additional results, identify the last timestamp of the last result and set that as the `end` query time to paginate the results. You can also use the page parameter to specify which set of `1000` results to return. + * @param param The request object + */ + EventsApi.prototype.listEvents = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listEvents(param.start, param.end, param.priority, param.sources, param.tags, param.unaggregated, param.excludeAggregate, param.page, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listEvents(responseContext); + }); + }); + }; + return EventsApi; +}()); +exports.EventsApi = EventsApi; +//# sourceMappingURL=EventsApi.js.map + +/***/ }), + +/***/ 4665: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GCPIntegrationApi = exports.GCPIntegrationApiResponseProcessor = exports.GCPIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var GCPIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(GCPIntegrationApiRequestFactory, _super); + function GCPIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + GCPIntegrationApiRequestFactory.prototype.createGCPIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createGCPIntegration."); + } + localVarPath = "/api/v1/integration/gcp"; + requestContext = (0, configuration_1.getServer)(_config, "GCPIntegrationApi.createGCPIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + GCPIntegrationApiRequestFactory.prototype.deleteGCPIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteGCPIntegration."); + } + localVarPath = "/api/v1/integration/gcp"; + requestContext = (0, configuration_1.getServer)(_config, "GCPIntegrationApi.deleteGCPIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + GCPIntegrationApiRequestFactory.prototype.listGCPIntegration = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/integration/gcp"; + requestContext = (0, configuration_1.getServer)(_config, "GCPIntegrationApi.listGCPIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + GCPIntegrationApiRequestFactory.prototype.updateGCPIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateGCPIntegration."); + } + localVarPath = "/api/v1/integration/gcp"; + requestContext = (0, configuration_1.getServer)(_config, "GCPIntegrationApi.updateGCPIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPAccount", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return GCPIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.GCPIntegrationApiRequestFactory = GCPIntegrationApiRequestFactory; +var GCPIntegrationApiResponseProcessor = /** @class */ (function () { + function GCPIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createGCPIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + GCPIntegrationApiResponseProcessor.prototype.createGCPIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteGCPIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + GCPIntegrationApiResponseProcessor.prototype.deleteGCPIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listGCPIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + GCPIntegrationApiResponseProcessor.prototype.listGCPIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateGCPIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + GCPIntegrationApiResponseProcessor.prototype.updateGCPIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return GCPIntegrationApiResponseProcessor; +}()); +exports.GCPIntegrationApiResponseProcessor = GCPIntegrationApiResponseProcessor; +var GCPIntegrationApi = /** @class */ (function () { + function GCPIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new GCPIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new GCPIntegrationApiResponseProcessor(); + } + /** + * Create a Datadog-GCP integration. + * @param param The request object + */ + GCPIntegrationApi.prototype.createGCPIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createGCPIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createGCPIntegration(responseContext); + }); + }); + }; + /** + * Delete a given Datadog-GCP integration. + * @param param The request object + */ + GCPIntegrationApi.prototype.deleteGCPIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteGCPIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteGCPIntegration(responseContext); + }); + }); + }; + /** + * List all Datadog-GCP integrations configured in your Datadog account. + * @param param The request object + */ + GCPIntegrationApi.prototype.listGCPIntegration = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listGCPIntegration(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listGCPIntegration(responseContext); + }); + }); + }; + /** + * Update a Datadog-GCP integrations host_filters and/or auto-mute. Requires a `project_id` and `client_email`, however these fields cannot be updated. If you need to update these fields, delete and use the create (`POST`) endpoint. The unspecified fields will keep their original values. + * @param param The request object + */ + GCPIntegrationApi.prototype.updateGCPIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateGCPIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateGCPIntegration(responseContext); + }); + }); + }; + return GCPIntegrationApi; +}()); +exports.GCPIntegrationApi = GCPIntegrationApi; +//# sourceMappingURL=GCPIntegrationApi.js.map + +/***/ }), + +/***/ 89523: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostsApi = exports.HostsApiResponseProcessor = exports.HostsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var HostsApiRequestFactory = /** @class */ (function (_super) { + __extends(HostsApiRequestFactory, _super); + function HostsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + HostsApiRequestFactory.prototype.getHostTotals = function (from, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/hosts/totals"; + requestContext = (0, configuration_1.getServer)(_config, "HostsApi.getHostTotals").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (from !== undefined) { + requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(from, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + HostsApiRequestFactory.prototype.listHosts = function (filter, sortField, sortDir, start, count, from, includeMutedHostsData, includeHostsMetadata, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/hosts"; + requestContext = (0, configuration_1.getServer)(_config, "HostsApi.listHosts").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (sortField !== undefined) { + requestContext.setQueryParam("sort_field", ObjectSerializer_1.ObjectSerializer.serialize(sortField, "string", "")); + } + if (sortDir !== undefined) { + requestContext.setQueryParam("sort_dir", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, "string", "")); + } + if (start !== undefined) { + requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64")); + } + if (count !== undefined) { + requestContext.setQueryParam("count", ObjectSerializer_1.ObjectSerializer.serialize(count, "number", "int64")); + } + if (from !== undefined) { + requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(from, "number", "int64")); + } + if (includeMutedHostsData !== undefined) { + requestContext.setQueryParam("include_muted_hosts_data", ObjectSerializer_1.ObjectSerializer.serialize(includeMutedHostsData, "boolean", "")); + } + if (includeHostsMetadata !== undefined) { + requestContext.setQueryParam("include_hosts_metadata", ObjectSerializer_1.ObjectSerializer.serialize(includeHostsMetadata, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + HostsApiRequestFactory.prototype.muteHost = function (hostName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling muteHost."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling muteHost."); + } + localVarPath = "/api/v1/host/{host_name}/mute".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "HostsApi.muteHost").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "HostMuteSettings", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + HostsApiRequestFactory.prototype.unmuteHost = function (hostName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling unmuteHost."); + } + localVarPath = "/api/v1/host/{host_name}/unmute".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "HostsApi.unmuteHost").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return HostsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.HostsApiRequestFactory = HostsApiRequestFactory; +var HostsApiResponseProcessor = /** @class */ (function () { + function HostsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getHostTotals + * @throws ApiException if the response code was not in [200, 299] + */ + HostsApiResponseProcessor.prototype.getHostTotals = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostTotals", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostTotals", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listHosts + * @throws ApiException if the response code was not in [200, 299] + */ + HostsApiResponseProcessor.prototype.listHosts = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostListResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostListResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to muteHost + * @throws ApiException if the response code was not in [200, 299] + */ + HostsApiResponseProcessor.prototype.muteHost = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostMuteResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostMuteResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to unmuteHost + * @throws ApiException if the response code was not in [200, 299] + */ + HostsApiResponseProcessor.prototype.unmuteHost = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostMuteResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostMuteResponse", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return HostsApiResponseProcessor; +}()); +exports.HostsApiResponseProcessor = HostsApiResponseProcessor; +var HostsApi = /** @class */ (function () { + function HostsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new HostsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new HostsApiResponseProcessor(); + } + /** + * This endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours. + * @param param The request object + */ + HostsApi.prototype.getHostTotals = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.getHostTotals(param.from, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getHostTotals(responseContext); + }); + }); + }; + /** + * This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time. + * @param param The request object + */ + HostsApi.prototype.listHosts = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listHosts(param.filter, param.sortField, param.sortDir, param.start, param.count, param.from, param.includeMutedHostsData, param.includeHostsMetadata, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listHosts(responseContext); + }); + }); + }; + /** + * Mute a host. + * @param param The request object + */ + HostsApi.prototype.muteHost = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.muteHost(param.hostName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.muteHost(responseContext); + }); + }); + }; + /** + * Unmutes a host. This endpoint takes no JSON arguments. + * @param param The request object + */ + HostsApi.prototype.unmuteHost = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.unmuteHost(param.hostName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.unmuteHost(responseContext); + }); + }); + }; + return HostsApi; +}()); +exports.HostsApi = HostsApi; +//# sourceMappingURL=HostsApi.js.map + +/***/ }), + +/***/ 53075: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPRangesApi = exports.IPRangesApiResponseProcessor = exports.IPRangesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var IPRangesApiRequestFactory = /** @class */ (function (_super) { + __extends(IPRangesApiRequestFactory, _super); + function IPRangesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + IPRangesApiRequestFactory.prototype.getIPRanges = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/"; + requestContext = (0, configuration_1.getServer)(_config, "IPRangesApi.getIPRanges").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + return [2 /*return*/, requestContext]; + }); + }); + }; + return IPRangesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.IPRangesApiRequestFactory = IPRangesApiRequestFactory; +var IPRangesApiResponseProcessor = /** @class */ (function () { + function IPRangesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIPRanges + * @throws ApiException if the response code was not in [200, 299] + */ + IPRangesApiResponseProcessor.prototype.getIPRanges = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body; + return __generator(this, function (_o) { + switch (_o.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]), + "IPRanges", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_2); + case 4: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]), + "IPRanges", + ""]); + return [2 /*return*/, body_3]; + case 6: return [4 /*yield*/, response.body.text()]; + case 7: + body = (_o.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return IPRangesApiResponseProcessor; +}()); +exports.IPRangesApiResponseProcessor = IPRangesApiResponseProcessor; +var IPRangesApi = /** @class */ (function () { + function IPRangesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new IPRangesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new IPRangesApiResponseProcessor(); + } + /** + * Get information about Datadog IP ranges. + * @param param The request object + */ + IPRangesApi.prototype.getIPRanges = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIPRanges(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIPRanges(responseContext); + }); + }); + }; + return IPRangesApi; +}()); +exports.IPRangesApi = IPRangesApi; +//# sourceMappingURL=IPRangesApi.js.map + +/***/ }), + +/***/ 40263: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.KeyManagementApi = exports.KeyManagementApiResponseProcessor = exports.KeyManagementApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var KeyManagementApiRequestFactory = /** @class */ (function (_super) { + __extends(KeyManagementApiRequestFactory, _super); + function KeyManagementApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + KeyManagementApiRequestFactory.prototype.createAPIKey = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAPIKey."); + } + localVarPath = "/api/v1/api_key"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.createAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApiKey", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.createApplicationKey = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createApplicationKey."); + } + localVarPath = "/api/v1/application_key"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.createApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKey", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.deleteAPIKey = function (key, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling deleteAPIKey."); + } + localVarPath = "/api/v1/api_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.deleteAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.deleteApplicationKey = function (key, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling deleteApplicationKey."); + } + localVarPath = "/api/v1/application_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.deleteApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.getAPIKey = function (key, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling getAPIKey."); + } + localVarPath = "/api/v1/api_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.getAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.getApplicationKey = function (key, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling getApplicationKey."); + } + localVarPath = "/api/v1/application_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.getApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.listAPIKeys = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/api_key"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.listAPIKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.listApplicationKeys = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/application_key"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.listApplicationKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.updateAPIKey = function (key, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling updateAPIKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAPIKey."); + } + localVarPath = "/api/v1/api_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.updateAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApiKey", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.updateApplicationKey = function (key, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'key' is not null or undefined + if (key === null || key === undefined) { + throw new baseapi_1.RequiredError("Required parameter key was null or undefined when calling updateApplicationKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateApplicationKey."); + } + localVarPath = "/api/v1/application_key/{key}".replace("{" + "key" + "}", encodeURIComponent(String(key))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.updateApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKey", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return KeyManagementApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.KeyManagementApiRequestFactory = KeyManagementApiRequestFactory; +var KeyManagementApiResponseProcessor = /** @class */ (function () { + function KeyManagementApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.createAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.createApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body_11, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_9); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_10); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_11 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_11]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.deleteAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_12 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_12]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_13 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_13); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_14 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_14); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_15 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_15); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_16 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_16); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_17 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_17]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.deleteApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_18 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_18]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_19 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_20 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_20); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_21 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_22 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_22]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.getAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.getApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_31); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_32]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAPIKeys + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.listAPIKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_33 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "ApiKeyListResponse", + ""]); + return [2 /*return*/, body_33]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_34 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_34); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_35 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_35); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_36 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "ApiKeyListResponse", + ""]); + return [2 /*return*/, body_36]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listApplicationKeys + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.listApplicationKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_37 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "ApplicationKeyListResponse", + ""]); + return [2 /*return*/, body_37]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_38 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_38); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_39 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_39); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_40 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "ApplicationKeyListResponse", + ""]); + return [2 /*return*/, body_40]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.updateAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_41, _a, _b, _c, _d, body_42, _e, _f, _g, _h, body_43, _j, _k, _l, _m, body_44, _o, _p, _q, _r, body_45, _s, _t, _u, _v, body_46, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_41 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_41]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_42 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_42); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_43 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_43); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_44 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_44); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_45 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_46 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApiKeyResponse", + ""]); + return [2 /*return*/, body_46]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.updateApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body_53, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_50); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_51); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_52 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_52); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_53 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_53]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return KeyManagementApiResponseProcessor; +}()); +exports.KeyManagementApiResponseProcessor = KeyManagementApiResponseProcessor; +var KeyManagementApi = /** @class */ (function () { + function KeyManagementApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new KeyManagementApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new KeyManagementApiResponseProcessor(); + } + /** + * Creates an API key with a given name. + * @param param The request object + */ + KeyManagementApi.prototype.createAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAPIKey(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAPIKey(responseContext); + }); + }); + }; + /** + * Create an application key with a given name. + * @param param The request object + */ + KeyManagementApi.prototype.createApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createApplicationKey(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createApplicationKey(responseContext); + }); + }); + }; + /** + * Delete a given API key. + * @param param The request object + */ + KeyManagementApi.prototype.deleteAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAPIKey(param.key, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAPIKey(responseContext); + }); + }); + }; + /** + * Delete a given application key. + * @param param The request object + */ + KeyManagementApi.prototype.deleteApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteApplicationKey(param.key, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteApplicationKey(responseContext); + }); + }); + }; + /** + * Get a given API key. + * @param param The request object + */ + KeyManagementApi.prototype.getAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAPIKey(param.key, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAPIKey(responseContext); + }); + }); + }; + /** + * Get a given application key. + * @param param The request object + */ + KeyManagementApi.prototype.getApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getApplicationKey(param.key, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getApplicationKey(responseContext); + }); + }); + }; + /** + * Get all API keys available for your account. + * @param param The request object + */ + KeyManagementApi.prototype.listAPIKeys = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listAPIKeys(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAPIKeys(responseContext); + }); + }); + }; + /** + * Get all application keys available for your Datadog account. + * @param param The request object + */ + KeyManagementApi.prototype.listApplicationKeys = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listApplicationKeys(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listApplicationKeys(responseContext); + }); + }); + }; + /** + * Edit an API key name. + * @param param The request object + */ + KeyManagementApi.prototype.updateAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAPIKey(param.key, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAPIKey(responseContext); + }); + }); + }; + /** + * Edit an application key name. + * @param param The request object + */ + KeyManagementApi.prototype.updateApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateApplicationKey(param.key, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateApplicationKey(responseContext); + }); + }); + }; + return KeyManagementApi; +}()); +exports.KeyManagementApi = KeyManagementApi; +//# sourceMappingURL=KeyManagementApi.js.map + +/***/ }), + +/***/ 19068: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsApi = exports.LogsApiResponseProcessor = exports.LogsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var LogsApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsApiRequestFactory, _super); + function LogsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsApiRequestFactory.prototype.listLogs = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling listLogs."); + } + localVarPath = "/api/v1/logs-queries/list"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.listLogs").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsListRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsApiRequestFactory.prototype.submitLog = function (body, contentEncoding, ddtags, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling submitLog."); + } + localVarPath = "/v1/input"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.submitLog").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (ddtags !== undefined) { + requestContext.setQueryParam("ddtags", ObjectSerializer_1.ObjectSerializer.serialize(ddtags, "string", "")); + } + // Header Params + if (contentEncoding !== undefined) { + requestContext.setHeaderParam("Content-Encoding", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, "ContentEncoding", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + "application/json;simple", + "application/logplex-1", + "text/plain", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, ["apiKeyAuth"]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsApiRequestFactory = LogsApiRequestFactory; +var LogsApiResponseProcessor = /** @class */ (function () { + function LogsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogs + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.listLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to submitLog + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.submitLog = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "HTTPLogError", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_9]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsApiResponseProcessor; +}()); +exports.LogsApiResponseProcessor = LogsApiResponseProcessor; +var LogsApi = /** @class */ (function () { + function LogsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsApiResponseProcessor(); + } + /** + * List endpoint returns logs that match a log search query. [Results are paginated][1]. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives + * @param param The request object + */ + LogsApi.prototype.listLogs = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLogs(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogs(responseContext); + }); + }); + }; + /** + * Send your logs to your Datadog platform over HTTP. Limits per HTTP request are: - Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx. Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs. The status codes answered by the HTTP API are: - 200: OK - 400: Bad request (likely an issue in the payload formatting) - 403: Permission issue (likely using an invalid API Key) - 413: Payload too large (batch is above 5MB uncompressed) - 5xx: Internal error, request should be retried after some time + * @param param The request object + */ + LogsApi.prototype.submitLog = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.submitLog(param.body, param.contentEncoding, param.ddtags, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.submitLog(responseContext); + }); + }); + }; + return LogsApi; +}()); +exports.LogsApi = LogsApi; +//# sourceMappingURL=LogsApi.js.map + +/***/ }), + +/***/ 19669: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsIndexesApi = exports.LogsIndexesApiResponseProcessor = exports.LogsIndexesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var LogsIndexesApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsIndexesApiRequestFactory, _super); + function LogsIndexesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsIndexesApiRequestFactory.prototype.createLogsIndex = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createLogsIndex."); + } + localVarPath = "/api/v1/logs/config/indexes"; + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.createLogsIndex").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsIndex", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsIndexesApiRequestFactory.prototype.getLogsIndex = function (name, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new baseapi_1.RequiredError("Required parameter name was null or undefined when calling getLogsIndex."); + } + localVarPath = "/api/v1/logs/config/indexes/{name}".replace("{" + "name" + "}", encodeURIComponent(String(name))); + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.getLogsIndex").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsIndexesApiRequestFactory.prototype.getLogsIndexOrder = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/logs/config/index-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.getLogsIndexOrder").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsIndexesApiRequestFactory.prototype.listLogIndexes = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/logs/config/indexes"; + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.listLogIndexes").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsIndexesApiRequestFactory.prototype.updateLogsIndex = function (name, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new baseapi_1.RequiredError("Required parameter name was null or undefined when calling updateLogsIndex."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsIndex."); + } + localVarPath = "/api/v1/logs/config/indexes/{name}".replace("{" + "name" + "}", encodeURIComponent(String(name))); + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.updateLogsIndex").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsIndexUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsIndexesApiRequestFactory.prototype.updateLogsIndexOrder = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsIndexOrder."); + } + localVarPath = "/api/v1/logs/config/index-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsIndexesApi.updateLogsIndexOrder").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsIndexesOrder", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsIndexesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsIndexesApiRequestFactory = LogsIndexesApiRequestFactory; +var LogsIndexesApiResponseProcessor = /** @class */ (function () { + function LogsIndexesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createLogsIndex + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.createLogsIndex = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsIndex + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.getLogsIndex = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsIndexOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.getLogsIndexOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsIndexesOrder", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsIndexesOrder", + ""]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogIndexes + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.listLogIndexes = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsIndexListResponse", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsIndexListResponse", + ""]); + return [2 /*return*/, body_18]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsIndex + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.updateLogsIndex = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_19]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_22); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_23 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsIndex", + ""]); + return [2 /*return*/, body_23]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsIndexOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsIndexesApiResponseProcessor.prototype.updateLogsIndexOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_24 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsIndexesOrder", + ""]); + return [2 /*return*/, body_24]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_25 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_25); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_26 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_26); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_27 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_27); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_28 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsIndexesOrder", + ""]); + return [2 /*return*/, body_28]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsIndexesApiResponseProcessor; +}()); +exports.LogsIndexesApiResponseProcessor = LogsIndexesApiResponseProcessor; +var LogsIndexesApi = /** @class */ (function () { + function LogsIndexesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsIndexesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsIndexesApiResponseProcessor(); + } + /** + * Creates a new index. Returns the Index object passed in the request body when the request is successful. + * @param param The request object + */ + LogsIndexesApi.prototype.createLogsIndex = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createLogsIndex(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createLogsIndex(responseContext); + }); + }); + }; + /** + * Get one log index from your organization. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsIndexesApi.prototype.getLogsIndex = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsIndex(param.name, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsIndex(responseContext); + }); + }); + }; + /** + * Get the current order of your log indexes. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsIndexesApi.prototype.getLogsIndexOrder = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsIndexOrder(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsIndexOrder(responseContext); + }); + }); + }; + /** + * The Index object describes the configuration of a log index. This endpoint returns an array of the `LogIndex` objects of your organization. + * @param param The request object + */ + LogsIndexesApi.prototype.listLogIndexes = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLogIndexes(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogIndexes(responseContext); + }); + }); + }; + /** + * Update an index as identified by its name. Returns the Index object passed in the request body when the request is successful. Using the `PUT` method updates your index’s configuration by **replacing** your current configuration with the new one sent to your Datadog organization. + * @param param The request object + */ + LogsIndexesApi.prototype.updateLogsIndex = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsIndex(param.name, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsIndex(responseContext); + }); + }); + }; + /** + * This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful. + * @param param The request object + */ + LogsIndexesApi.prototype.updateLogsIndexOrder = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsIndexOrder(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsIndexOrder(responseContext); + }); + }); + }; + return LogsIndexesApi; +}()); +exports.LogsIndexesApi = LogsIndexesApi; +//# sourceMappingURL=LogsIndexesApi.js.map + +/***/ }), + +/***/ 94917: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsPipelinesApi = exports.LogsPipelinesApiResponseProcessor = exports.LogsPipelinesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var LogsPipelinesApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsPipelinesApiRequestFactory, _super); + function LogsPipelinesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsPipelinesApiRequestFactory.prototype.createLogsPipeline = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createLogsPipeline."); + } + localVarPath = "/api/v1/logs/config/pipelines"; + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.createLogsPipeline").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsPipeline", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.deleteLogsPipeline = function (pipelineId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'pipelineId' is not null or undefined + if (pipelineId === null || pipelineId === undefined) { + throw new baseapi_1.RequiredError("Required parameter pipelineId was null or undefined when calling deleteLogsPipeline."); + } + localVarPath = "/api/v1/logs/config/pipelines/{pipeline_id}".replace("{" + "pipeline_id" + "}", encodeURIComponent(String(pipelineId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.deleteLogsPipeline").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.getLogsPipeline = function (pipelineId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'pipelineId' is not null or undefined + if (pipelineId === null || pipelineId === undefined) { + throw new baseapi_1.RequiredError("Required parameter pipelineId was null or undefined when calling getLogsPipeline."); + } + localVarPath = "/api/v1/logs/config/pipelines/{pipeline_id}".replace("{" + "pipeline_id" + "}", encodeURIComponent(String(pipelineId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.getLogsPipeline").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.getLogsPipelineOrder = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/logs/config/pipeline-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.getLogsPipelineOrder").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.listLogsPipelines = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/logs/config/pipelines"; + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.listLogsPipelines").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.updateLogsPipeline = function (pipelineId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'pipelineId' is not null or undefined + if (pipelineId === null || pipelineId === undefined) { + throw new baseapi_1.RequiredError("Required parameter pipelineId was null or undefined when calling updateLogsPipeline."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsPipeline."); + } + localVarPath = "/api/v1/logs/config/pipelines/{pipeline_id}".replace("{" + "pipeline_id" + "}", encodeURIComponent(String(pipelineId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.updateLogsPipeline").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsPipeline", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsPipelinesApiRequestFactory.prototype.updateLogsPipelineOrder = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsPipelineOrder."); + } + localVarPath = "/api/v1/logs/config/pipeline-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsPipelinesApi.updateLogsPipelineOrder").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsPipelinesOrder", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsPipelinesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsPipelinesApiRequestFactory = LogsPipelinesApiRequestFactory; +var LogsPipelinesApiResponseProcessor = /** @class */ (function () { + function LogsPipelinesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createLogsPipeline + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.createLogsPipeline = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteLogsPipeline + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.deleteLogsPipeline = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_6); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_9]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsPipeline + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.getLogsPipeline = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_10]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_11); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_14]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsPipelineOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.getLogsPipelineOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsPipelinesOrder", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsPipelinesOrder", + ""]); + return [2 /*return*/, body_18]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogsPipelines + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.listLogsPipelines = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_19]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_22]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsPipeline + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.updateLogsPipeline = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsPipeline", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsPipelineOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsPipelinesApiResponseProcessor.prototype.updateLogsPipelineOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsPipelinesOrder", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "LogsAPIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_32); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsPipelinesOrder", + ""]); + return [2 /*return*/, body_33]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsPipelinesApiResponseProcessor; +}()); +exports.LogsPipelinesApiResponseProcessor = LogsPipelinesApiResponseProcessor; +var LogsPipelinesApi = /** @class */ (function () { + function LogsPipelinesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsPipelinesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsPipelinesApiResponseProcessor(); + } + /** + * Create a pipeline in your organization. + * @param param The request object + */ + LogsPipelinesApi.prototype.createLogsPipeline = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createLogsPipeline(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createLogsPipeline(responseContext); + }); + }); + }; + /** + * Delete a given pipeline from your organization. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsPipelinesApi.prototype.deleteLogsPipeline = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteLogsPipeline(param.pipelineId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteLogsPipeline(responseContext); + }); + }); + }; + /** + * Get a specific pipeline from your organization. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsPipelinesApi.prototype.getLogsPipeline = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsPipeline(param.pipelineId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsPipeline(responseContext); + }); + }); + }; + /** + * Get the current order of your pipelines. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsPipelinesApi.prototype.getLogsPipelineOrder = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsPipelineOrder(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsPipelineOrder(responseContext); + }); + }); + }; + /** + * Get all pipelines from your organization. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsPipelinesApi.prototype.listLogsPipelines = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLogsPipelines(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogsPipelines(responseContext); + }); + }); + }; + /** + * Update a given pipeline configuration to change it’s processors or their order. **Note**: Using this method updates your pipeline configuration by **replacing** your current configuration with the new one sent to your Datadog organization. + * @param param The request object + */ + LogsPipelinesApi.prototype.updateLogsPipeline = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsPipeline(param.pipelineId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsPipeline(responseContext); + }); + }); + }; + /** + * Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors. **Note**: Using the `PUT` method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization. + * @param param The request object + */ + LogsPipelinesApi.prototype.updateLogsPipelineOrder = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsPipelineOrder(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsPipelineOrder(responseContext); + }); + }); + }; + return LogsPipelinesApi; +}()); +exports.LogsPipelinesApi = LogsPipelinesApi; +//# sourceMappingURL=LogsPipelinesApi.js.map + +/***/ }), + +/***/ 74433: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsApi = exports.MetricsApiResponseProcessor = exports.MetricsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var MetricsApiRequestFactory = /** @class */ (function (_super) { + __extends(MetricsApiRequestFactory, _super); + function MetricsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + MetricsApiRequestFactory.prototype.getMetricMetadata = function (metricName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling getMetricMetadata."); + } + localVarPath = "/api/v1/metrics/{metric_name}".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.getMetricMetadata").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listActiveMetrics = function (from, host, tagFilter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'from' is not null or undefined + if (from === null || from === undefined) { + throw new baseapi_1.RequiredError("Required parameter from was null or undefined when calling listActiveMetrics."); + } + localVarPath = "/api/v1/metrics"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listActiveMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (from !== undefined) { + requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(from, "number", "int64")); + } + if (host !== undefined) { + requestContext.setQueryParam("host", ObjectSerializer_1.ObjectSerializer.serialize(host, "string", "")); + } + if (tagFilter !== undefined) { + requestContext.setQueryParam("tag_filter", ObjectSerializer_1.ObjectSerializer.serialize(tagFilter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listMetrics = function (q, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'q' is not null or undefined + if (q === null || q === undefined) { + throw new baseapi_1.RequiredError("Required parameter q was null or undefined when calling listMetrics."); + } + localVarPath = "/api/v1/search"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (q !== undefined) { + requestContext.setQueryParam("q", ObjectSerializer_1.ObjectSerializer.serialize(q, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.queryMetrics = function (from, to, query, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'from' is not null or undefined + if (from === null || from === undefined) { + throw new baseapi_1.RequiredError("Required parameter from was null or undefined when calling queryMetrics."); + } + // verify required parameter 'to' is not null or undefined + if (to === null || to === undefined) { + throw new baseapi_1.RequiredError("Required parameter to was null or undefined when calling queryMetrics."); + } + // verify required parameter 'query' is not null or undefined + if (query === null || query === undefined) { + throw new baseapi_1.RequiredError("Required parameter query was null or undefined when calling queryMetrics."); + } + localVarPath = "/api/v1/query"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.queryMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (from !== undefined) { + requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(from, "number", "int64")); + } + if (to !== undefined) { + requestContext.setQueryParam("to", ObjectSerializer_1.ObjectSerializer.serialize(to, "number", "int64")); + } + if (query !== undefined) { + requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.submitMetrics = function (body, contentEncoding, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling submitMetrics."); + } + localVarPath = "/api/v1/series"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.submitMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "text/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Header Params + if (contentEncoding !== undefined) { + requestContext.setHeaderParam("Content-Encoding", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, "MetricContentEncoding", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType(["text/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricsPayload", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, ["apiKeyAuth"]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.updateMetricMetadata = function (metricName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling updateMetricMetadata."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateMetricMetadata."); + } + localVarPath = "/api/v1/metrics/{metric_name}".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.updateMetricMetadata").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricMetadata", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return MetricsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.MetricsApiRequestFactory = MetricsApiRequestFactory; +var MetricsApiResponseProcessor = /** @class */ (function () { + function MetricsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getMetricMetadata + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.getMetricMetadata = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricMetadata", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricMetadata", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listActiveMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listActiveMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricsListResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricsListResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricSearchResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricSearchResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to queryMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.queryMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricsQueryResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricsQueryResponse", + ""]); + return [2 /*return*/, body_20]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to submitMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.submitMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IntakePayloadAccepted", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("408", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(408, body_24); + case 8: + if (!(0, util_1.isCodeInRange)("413", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(413, body_25); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IntakePayloadAccepted", + ""]); + return [2 /*return*/, body_27]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateMetricMetadata + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.updateMetricMetadata = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricMetadata", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_32); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricMetadata", + ""]); + return [2 /*return*/, body_33]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return MetricsApiResponseProcessor; +}()); +exports.MetricsApiResponseProcessor = MetricsApiResponseProcessor; +var MetricsApi = /** @class */ (function () { + function MetricsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new MetricsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new MetricsApiResponseProcessor(); + } + /** + * Get metadata about a specific metric. + * @param param The request object + */ + MetricsApi.prototype.getMetricMetadata = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getMetricMetadata(param.metricName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getMetricMetadata(responseContext); + }); + }); + }; + /** + * Get the list of actively reporting metrics from a given time until now. + * @param param The request object + */ + MetricsApi.prototype.listActiveMetrics = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listActiveMetrics(param.from, param.host, param.tagFilter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listActiveMetrics(responseContext); + }); + }); + }; + /** + * Search for metrics from the last 24 hours in Datadog. + * @param param The request object + */ + MetricsApi.prototype.listMetrics = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listMetrics(param.q, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listMetrics(responseContext); + }); + }); + }; + /** + * Query timeseries points. + * @param param The request object + */ + MetricsApi.prototype.queryMetrics = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.queryMetrics(param.from, param.to, param.query, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.queryMetrics(responseContext); + }); + }); + }; + /** + * The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 3.2 megabytes (3200000 bytes). Compressed payloads must have a decompressed size of less than 62 megabytes (62914560 bytes). If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect: - 64 bits for the timestamp - 32 bits for the value - 20 bytes for the metric names - 50 bytes for the timeseries - The full payload is approximately 100 bytes. However, with the DogStatsD API, compression is applied, which reduces the payload size. + * @param param The request object + */ + MetricsApi.prototype.submitMetrics = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.submitMetrics(param.body, param.contentEncoding, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.submitMetrics(responseContext); + }); + }); + }; + /** + * Edit metadata of a specific metric. Find out more about [supported types](https://docs.datadoghq.com/developers/metrics). + * @param param The request object + */ + MetricsApi.prototype.updateMetricMetadata = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateMetricMetadata(param.metricName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateMetricMetadata(responseContext); + }); + }); + }; + return MetricsApi; +}()); +exports.MetricsApi = MetricsApi; +//# sourceMappingURL=MetricsApi.js.map + +/***/ }), + +/***/ 80638: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorsApi = exports.MonitorsApiResponseProcessor = exports.MonitorsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var MonitorsApiRequestFactory = /** @class */ (function (_super) { + __extends(MonitorsApiRequestFactory, _super); + function MonitorsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + MonitorsApiRequestFactory.prototype.checkCanDeleteMonitor = function (monitorIds, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'monitorIds' is not null or undefined + if (monitorIds === null || monitorIds === undefined) { + throw new baseapi_1.RequiredError("Required parameter monitorIds was null or undefined when calling checkCanDeleteMonitor."); + } + localVarPath = "/api/v1/monitor/can_delete"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.checkCanDeleteMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (monitorIds !== undefined) { + requestContext.setQueryParam("monitor_ids", ObjectSerializer_1.ObjectSerializer.serialize(monitorIds, "Array", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.createMonitor = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createMonitor."); + } + localVarPath = "/api/v1/monitor"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.createMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Monitor", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.deleteMonitor = function (monitorId, force, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'monitorId' is not null or undefined + if (monitorId === null || monitorId === undefined) { + throw new baseapi_1.RequiredError("Required parameter monitorId was null or undefined when calling deleteMonitor."); + } + localVarPath = "/api/v1/monitor/{monitor_id}".replace("{" + "monitor_id" + "}", encodeURIComponent(String(monitorId))); + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.deleteMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer_1.ObjectSerializer.serialize(force, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.getMonitor = function (monitorId, groupStates, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'monitorId' is not null or undefined + if (monitorId === null || monitorId === undefined) { + throw new baseapi_1.RequiredError("Required parameter monitorId was null or undefined when calling getMonitor."); + } + localVarPath = "/api/v1/monitor/{monitor_id}".replace("{" + "monitor_id" + "}", encodeURIComponent(String(monitorId))); + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.getMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (groupStates !== undefined) { + requestContext.setQueryParam("group_states", ObjectSerializer_1.ObjectSerializer.serialize(groupStates, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.listMonitors = function (groupStates, name, tags, monitorTags, withDowntimes, idOffset, page, pageSize, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/monitor"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.listMonitors").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (groupStates !== undefined) { + requestContext.setQueryParam("group_states", ObjectSerializer_1.ObjectSerializer.serialize(groupStates, "string", "")); + } + if (name !== undefined) { + requestContext.setQueryParam("name", ObjectSerializer_1.ObjectSerializer.serialize(name, "string", "")); + } + if (tags !== undefined) { + requestContext.setQueryParam("tags", ObjectSerializer_1.ObjectSerializer.serialize(tags, "string", "")); + } + if (monitorTags !== undefined) { + requestContext.setQueryParam("monitor_tags", ObjectSerializer_1.ObjectSerializer.serialize(monitorTags, "string", "")); + } + if (withDowntimes !== undefined) { + requestContext.setQueryParam("with_downtimes", ObjectSerializer_1.ObjectSerializer.serialize(withDowntimes, "boolean", "")); + } + if (idOffset !== undefined) { + requestContext.setQueryParam("id_offset", ObjectSerializer_1.ObjectSerializer.serialize(idOffset, "number", "int64")); + } + if (page !== undefined) { + requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int64")); + } + if (pageSize !== undefined) { + requestContext.setQueryParam("page_size", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int32")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.searchMonitorGroups = function (query, page, perPage, sort, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/monitor/groups/search"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.searchMonitorGroups").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (query !== undefined) { + requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", "")); + } + if (page !== undefined) { + requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int64")); + } + if (perPage !== undefined) { + requestContext.setQueryParam("per_page", ObjectSerializer_1.ObjectSerializer.serialize(perPage, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.searchMonitors = function (query, page, perPage, sort, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/monitor/search"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.searchMonitors").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (query !== undefined) { + requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", "")); + } + if (page !== undefined) { + requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", "int64")); + } + if (perPage !== undefined) { + requestContext.setQueryParam("per_page", ObjectSerializer_1.ObjectSerializer.serialize(perPage, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.updateMonitor = function (monitorId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'monitorId' is not null or undefined + if (monitorId === null || monitorId === undefined) { + throw new baseapi_1.RequiredError("Required parameter monitorId was null or undefined when calling updateMonitor."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateMonitor."); + } + localVarPath = "/api/v1/monitor/{monitor_id}".replace("{" + "monitor_id" + "}", encodeURIComponent(String(monitorId))); + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.updateMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MonitorUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MonitorsApiRequestFactory.prototype.validateMonitor = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling validateMonitor."); + } + localVarPath = "/api/v1/monitor/validate"; + requestContext = (0, configuration_1.getServer)(_config, "MonitorsApi.validateMonitor").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Monitor", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return MonitorsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.MonitorsApiRequestFactory = MonitorsApiRequestFactory; +var MonitorsApiResponseProcessor = /** @class */ (function () { + function MonitorsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to checkCanDeleteMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.checkCanDeleteMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "CheckCanDeleteMonitorResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "CheckCanDeleteMonitorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "CheckCanDeleteMonitorResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.createMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_10); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_11]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.deleteMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body_18, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_12 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "DeletedMonitor", + ""]); + return [2 /*return*/, body_12]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_13 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_13); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_14 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_14); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_15 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_16 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_17 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_18 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "DeletedMonitor", + ""]); + return [2 /*return*/, body_18]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.getMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body_24, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_19]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_22); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_23 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_24 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_24]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listMonitors + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.listMonitors = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_25]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_27); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_28); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_29]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to searchMonitorGroups + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.searchMonitorGroups = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_30 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MonitorGroupSearchResponse", + ""]); + return [2 /*return*/, body_30]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_31 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_31); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_32 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_32); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_33 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_34 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MonitorGroupSearchResponse", + ""]); + return [2 /*return*/, body_34]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to searchMonitors + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.searchMonitors = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_35, _a, _b, _c, _d, body_36, _e, _f, _g, _h, body_37, _j, _k, _l, _m, body_38, _o, _p, _q, _r, body_39, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_35 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MonitorSearchResponse", + ""]); + return [2 /*return*/, body_35]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_36 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_36); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_37 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_37); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_38 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_38); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_39 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MonitorSearchResponse", + ""]); + return [2 /*return*/, body_39]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.updateMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body_45, _w, _x, _y, _z, body_46, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_40 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_40]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_41 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_41); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_42 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_42); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_43 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_43); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_44 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_44); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_45 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_46 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "Monitor", + ""]); + return [2 /*return*/, body_46]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to validateMonitor + * @throws ApiException if the response code was not in [200, 299] + */ + MonitorsApiResponseProcessor.prototype.validateMonitor = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_50); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_51]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return MonitorsApiResponseProcessor; +}()); +exports.MonitorsApiResponseProcessor = MonitorsApiResponseProcessor; +var MonitorsApi = /** @class */ (function () { + function MonitorsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new MonitorsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new MonitorsApiResponseProcessor(); + } + /** + * Check if the given monitors can be deleted. + * @param param The request object + */ + MonitorsApi.prototype.checkCanDeleteMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.checkCanDeleteMonitor(param.monitorIds, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.checkCanDeleteMonitor(responseContext); + }); + }); + }; + /** + * Create a monitor using the specified options. #### Monitor Types The type of monitor chosen from: - anomaly: `query alert` - APM: `query alert` or `trace-analytics alert` - composite: `composite` - custom: `service check` - event: `event alert` - forecast: `query alert` - host: `service check` - integration: `query alert` or `service check` - live process: `process alert` - logs: `log alert` - metric: `query alert` - network: `service check` - outlier: `query alert` - process: `service check` - rum: `rum alert` - SLO: `slo alert` - watchdog: `event alert` - event-v2: `event-v2 alert` - audit: `audit alert` #### Query Types **Metric Alert Query** Example: `time_aggr(time_window):space_aggr:metric{tags} [by {key}] operator #` - `time_aggr`: avg, sum, max, min, change, or pct_change - `time_window`: `last_#m` (with `#` between 1 and 10080 depending on the monitor type) or `last_#h`(with `#` between 1 and 168 depending on the monitor type) or `last_1d`, or `last_1w` - `space_aggr`: avg, sum, min, or max - `tags`: one or more tags (comma-separated), or * - `key`: a 'key' in key:value tag syntax; defines a separate alert for each tag in the group (multi-alert) - `operator`: <, <=, >, >=, ==, or != - `#`: an integer or decimal number used to set the threshold If you are using the `_change_` or `_pct_change_` time aggregator, instead use `change_aggr(time_aggr(time_window), timeshift):space_aggr:metric{tags} [by {key}] operator #` with: - `change_aggr` change, pct_change - `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/create/types/#define-the-conditions) - `time_window` last\\_#m (between 1 and 2880 depending on the monitor type), last\\_#h (between 1 and 48 depending on the monitor type), or last_#d (1 or 2) - `timeshift` #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_ago Use this to create an outlier monitor using the following query: `avg(last_30m):outliers(avg:system.cpu.user{role:es-events-data} by {host}, 'dbscan', 7) > 0` **Service Check Query** Example: `\"check\".over(tags).last(count).by(group).count_by_status()` - **`check`** name of the check, for example `datadog.agent.up` - **`tags`** one or more quoted tags (comma-separated), or \"*\". for example: `.over(\"env:prod\", \"role:db\")`; **`over`** cannot be blank. - **`count`** must be at greater than or equal to your max threshold (defined in the `options`). It is limited to 100. For example, if you've specified to notify on 1 critical, 3 ok, and 2 warn statuses, `count` should be at least 3. - **`group`** must be specified for check monitors. Per-check grouping is already explicitly known for some service checks. For example, Postgres integration monitors are tagged by `db`, `host`, and `port`, and Network monitors by `host`, `instance`, and `url`. See [Service Checks](https://docs.datadoghq.com/api/latest/service-checks/) documentation for more information. **Event Alert Query** Example: `events('sources:nagios status:error,warning priority:normal tags: \"string query\"').rollup(\"count\").last(\"1h\")\"` - **`event`**, the event query string: - **`string_query`** free text query to match against event title and text. - **`sources`** event sources (comma-separated). - **`status`** event statuses (comma-separated). Valid options: error, warn, and info. - **`priority`** event priorities (comma-separated). Valid options: low, normal, all. - **`host`** event reporting host (comma-separated). - **`tags`** event tags (comma-separated). - **`excluded_tags`** excluded event tags (comma-separated). - **`rollup`** the stats roll-up method. `count` is the only supported method now. - **`last`** the timeframe to roll up the counts. Examples: 45m, 4h. Supported timeframes: m, h and d. This value should not exceed 48 hours. **NOTE** The Event Alert Query is being deprecated and replaced by the Event V2 Alert Query. For more information, see the [Event Migration guide](https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/). **Event V2 Alert Query** Example: `events(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available on US1-FED, US3, US5 and in closed beta on EU and US1. **Process Alert Query** Example: `processes(search).over(tags).rollup('count').last(timeframe) operator #` - **`search`** free text search string for querying processes. Matching processes match results on the [Live Processes](https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows) page. - **`tags`** one or more tags (comma-separated) - **`timeframe`** the timeframe to roll up the counts. Examples: 10m, 4h. Supported timeframes: s, m, h and d - **`operator`** <, <=, >, >=, ==, or != - **`#`** an integer or decimal number used to set the threshold **Logs Alert Query** Example: `logs(query).index(index_name).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`index_name`** For multi-index organizations, the log index in which the request is performed. - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **Composite Query** Example: `12345 && 67890`, where `12345` and `67890` are the IDs of non-composite monitors * **`name`** [*required*, *default* = **dynamic, based on query**]: The name of the alert. * **`message`** [*required*, *default* = **dynamic, based on query**]: A message to include with notifications for this monitor. Email notifications can be sent to specific users by using the same '@username' notation as events. * **`tags`** [*optional*, *default* = **empty list**]: A list of tags to associate with your monitor. When getting all monitor details via the API, use the `monitor_tags` argument to filter results by these tags. It is only available via the API and isn't visible or editable in the Datadog UI. **SLO Alert Query** Example: `error_budget(\"slo_id\").over(\"time_window\") operator #` - **`slo_id`**: The alphanumeric SLO ID of the SLO you are configuring the alert for. - **`time_window`**: The time window of the SLO target you wish to alert on. Valid options: `7d`, `30d`, `90d`. - **`operator`**: `>=` or `>` **Audit Alert Query** Example: `audits(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5. **CI Pipelines Alert Query** Example: `ci-pipelines(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg`, and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available in closed beta on US1, EU, US3 and US5. + * @param param The request object + */ + MonitorsApi.prototype.createMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createMonitor(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createMonitor(responseContext); + }); + }); + }; + /** + * Delete the specified monitor + * @param param The request object + */ + MonitorsApi.prototype.deleteMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteMonitor(param.monitorId, param.force, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteMonitor(responseContext); + }); + }); + }; + /** + * Get details about the specified monitor from your organization. + * @param param The request object + */ + MonitorsApi.prototype.getMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getMonitor(param.monitorId, param.groupStates, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getMonitor(responseContext); + }); + }); + }; + /** + * Get details about the specified monitor from your organization. + * @param param The request object + */ + MonitorsApi.prototype.listMonitors = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listMonitors(param.groupStates, param.name, param.tags, param.monitorTags, param.withDowntimes, param.idOffset, param.page, param.pageSize, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listMonitors(responseContext); + }); + }); + }; + /** + * Search and filter your monitor groups details. + * @param param The request object + */ + MonitorsApi.prototype.searchMonitorGroups = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.searchMonitorGroups(param.query, param.page, param.perPage, param.sort, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.searchMonitorGroups(responseContext); + }); + }); + }; + /** + * Search and filter your monitors details. + * @param param The request object + */ + MonitorsApi.prototype.searchMonitors = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.searchMonitors(param.query, param.page, param.perPage, param.sort, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.searchMonitors(responseContext); + }); + }); + }; + /** + * Edit the specified monitor. + * @param param The request object + */ + MonitorsApi.prototype.updateMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateMonitor(param.monitorId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateMonitor(responseContext); + }); + }); + }; + /** + * Validate the monitor provided in the request. + * @param param The request object + */ + MonitorsApi.prototype.validateMonitor = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.validateMonitor(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.validateMonitor(responseContext); + }); + }); + }; + return MonitorsApi; +}()); +exports.MonitorsApi = MonitorsApi; +//# sourceMappingURL=MonitorsApi.js.map + +/***/ }), + +/***/ 61958: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksApi = exports.NotebooksApiResponseProcessor = exports.NotebooksApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var NotebooksApiRequestFactory = /** @class */ (function (_super) { + __extends(NotebooksApiRequestFactory, _super); + function NotebooksApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + NotebooksApiRequestFactory.prototype.createNotebook = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createNotebook."); + } + localVarPath = "/api/v1/notebooks"; + requestContext = (0, configuration_1.getServer)(_config, "NotebooksApi.createNotebook").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "NotebookCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + NotebooksApiRequestFactory.prototype.deleteNotebook = function (notebookId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'notebookId' is not null or undefined + if (notebookId === null || notebookId === undefined) { + throw new baseapi_1.RequiredError("Required parameter notebookId was null or undefined when calling deleteNotebook."); + } + localVarPath = "/api/v1/notebooks/{notebook_id}".replace("{" + "notebook_id" + "}", encodeURIComponent(String(notebookId))); + requestContext = (0, configuration_1.getServer)(_config, "NotebooksApi.deleteNotebook").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + NotebooksApiRequestFactory.prototype.getNotebook = function (notebookId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'notebookId' is not null or undefined + if (notebookId === null || notebookId === undefined) { + throw new baseapi_1.RequiredError("Required parameter notebookId was null or undefined when calling getNotebook."); + } + localVarPath = "/api/v1/notebooks/{notebook_id}".replace("{" + "notebook_id" + "}", encodeURIComponent(String(notebookId))); + requestContext = (0, configuration_1.getServer)(_config, "NotebooksApi.getNotebook").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + NotebooksApiRequestFactory.prototype.listNotebooks = function (authorHandle, excludeAuthorHandle, start, count, sortField, sortDir, query, includeCells, isTemplate, type, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/notebooks"; + requestContext = (0, configuration_1.getServer)(_config, "NotebooksApi.listNotebooks").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (authorHandle !== undefined) { + requestContext.setQueryParam("author_handle", ObjectSerializer_1.ObjectSerializer.serialize(authorHandle, "string", "")); + } + if (excludeAuthorHandle !== undefined) { + requestContext.setQueryParam("exclude_author_handle", ObjectSerializer_1.ObjectSerializer.serialize(excludeAuthorHandle, "string", "")); + } + if (start !== undefined) { + requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64")); + } + if (count !== undefined) { + requestContext.setQueryParam("count", ObjectSerializer_1.ObjectSerializer.serialize(count, "number", "int64")); + } + if (sortField !== undefined) { + requestContext.setQueryParam("sort_field", ObjectSerializer_1.ObjectSerializer.serialize(sortField, "string", "")); + } + if (sortDir !== undefined) { + requestContext.setQueryParam("sort_dir", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, "string", "")); + } + if (query !== undefined) { + requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", "")); + } + if (includeCells !== undefined) { + requestContext.setQueryParam("include_cells", ObjectSerializer_1.ObjectSerializer.serialize(includeCells, "boolean", "")); + } + if (isTemplate !== undefined) { + requestContext.setQueryParam("is_template", ObjectSerializer_1.ObjectSerializer.serialize(isTemplate, "boolean", "")); + } + if (type !== undefined) { + requestContext.setQueryParam("type", ObjectSerializer_1.ObjectSerializer.serialize(type, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + NotebooksApiRequestFactory.prototype.updateNotebook = function (notebookId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'notebookId' is not null or undefined + if (notebookId === null || notebookId === undefined) { + throw new baseapi_1.RequiredError("Required parameter notebookId was null or undefined when calling updateNotebook."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateNotebook."); + } + localVarPath = "/api/v1/notebooks/{notebook_id}".replace("{" + "notebook_id" + "}", encodeURIComponent(String(notebookId))); + requestContext = (0, configuration_1.getServer)(_config, "NotebooksApi.updateNotebook").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "NotebookUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return NotebooksApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.NotebooksApiRequestFactory = NotebooksApiRequestFactory; +var NotebooksApiResponseProcessor = /** @class */ (function () { + function NotebooksApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNotebook + * @throws ApiException if the response code was not in [200, 299] + */ + NotebooksApiResponseProcessor.prototype.createNotebook = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNotebook + * @throws ApiException if the response code was not in [200, 299] + */ + NotebooksApiResponseProcessor.prototype.deleteNotebook = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_6); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getNotebook + * @throws ApiException if the response code was not in [200, 299] + */ + NotebooksApiResponseProcessor.prototype.getNotebook = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body_16, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_14); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_15); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_16 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_16]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNotebooks + * @throws ApiException if the response code was not in [200, 299] + */ + NotebooksApiResponseProcessor.prototype.listNotebooks = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_17 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "NotebooksResponse", + ""]); + return [2 /*return*/, body_17]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_18 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_18); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_19 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_20 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_20); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_21 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "NotebooksResponse", + ""]); + return [2 /*return*/, body_21]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateNotebook + * @throws ApiException if the response code was not in [200, 299] + */ + NotebooksApiResponseProcessor.prototype.updateNotebook = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body_26, _s, _t, _u, _v, body_27, _w, _x, _y, _z, body_28, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_22 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_22]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_23 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_23); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_24 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_25 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_26 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_26); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_27 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_27); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_28 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "NotebookResponse", + ""]); + return [2 /*return*/, body_28]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return NotebooksApiResponseProcessor; +}()); +exports.NotebooksApiResponseProcessor = NotebooksApiResponseProcessor; +var NotebooksApi = /** @class */ (function () { + function NotebooksApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new NotebooksApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new NotebooksApiResponseProcessor(); + } + /** + * Create a notebook using the specified options. + * @param param The request object + */ + NotebooksApi.prototype.createNotebook = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createNotebook(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createNotebook(responseContext); + }); + }); + }; + /** + * Delete a notebook using the specified ID. + * @param param The request object + */ + NotebooksApi.prototype.deleteNotebook = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteNotebook(param.notebookId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteNotebook(responseContext); + }); + }); + }; + /** + * Get a notebook using the specified notebook ID. + * @param param The request object + */ + NotebooksApi.prototype.getNotebook = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getNotebook(param.notebookId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getNotebook(responseContext); + }); + }); + }; + /** + * Get all notebooks. This can also be used to search for notebooks with a particular `query` in the notebook `name` or author `handle`. + * @param param The request object + */ + NotebooksApi.prototype.listNotebooks = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listNotebooks(param.authorHandle, param.excludeAuthorHandle, param.start, param.count, param.sortField, param.sortDir, param.query, param.includeCells, param.isTemplate, param.type, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listNotebooks(responseContext); + }); + }); + }; + /** + * Update a notebook using the specified ID. + * @param param The request object + */ + NotebooksApi.prototype.updateNotebook = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateNotebook(param.notebookId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateNotebook(responseContext); + }); + }); + }; + return NotebooksApi; +}()); +exports.NotebooksApi = NotebooksApi; +//# sourceMappingURL=NotebooksApi.js.map + +/***/ }), + +/***/ 83497: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationsApi = exports.OrganizationsApiResponseProcessor = exports.OrganizationsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var form_data_1 = __importDefault(__nccwpck_require__(64334)); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var OrganizationsApiRequestFactory = /** @class */ (function (_super) { + __extends(OrganizationsApiRequestFactory, _super); + function OrganizationsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + OrganizationsApiRequestFactory.prototype.createChildOrg = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createChildOrg."); + } + localVarPath = "/api/v1/org"; + requestContext = (0, configuration_1.getServer)(_config, "OrganizationsApi.createChildOrg").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "OrganizationCreateBody", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + OrganizationsApiRequestFactory.prototype.getOrg = function (publicId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getOrg."); + } + localVarPath = "/api/v1/org/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "OrganizationsApi.getOrg").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + OrganizationsApiRequestFactory.prototype.listOrgs = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/org"; + requestContext = (0, configuration_1.getServer)(_config, "OrganizationsApi.listOrgs").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + OrganizationsApiRequestFactory.prototype.updateOrg = function (publicId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling updateOrg."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateOrg."); + } + localVarPath = "/api/v1/org/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "OrganizationsApi.updateOrg").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Organization", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + OrganizationsApiRequestFactory.prototype.uploadIdPForOrg = function (publicId, idpFile, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, localVarFormParams; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling uploadIdPForOrg."); + } + // verify required parameter 'idpFile' is not null or undefined + if (idpFile === null || idpFile === undefined) { + throw new baseapi_1.RequiredError("Required parameter idpFile was null or undefined when calling uploadIdPForOrg."); + } + localVarPath = "/api/v1/org/{public_id}/idp_metadata".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "OrganizationsApi.uploadIdPForOrg").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + localVarFormParams = new form_data_1.default(); + if (idpFile !== undefined) { + // TODO: replace .append with .set + localVarFormParams.append("idp_file", idpFile.data, idpFile.name); + } + requestContext.setBody(localVarFormParams); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return OrganizationsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.OrganizationsApiRequestFactory = OrganizationsApiRequestFactory; +var OrganizationsApiResponseProcessor = /** @class */ (function () { + function OrganizationsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createChildOrg + * @throws ApiException if the response code was not in [200, 299] + */ + OrganizationsApiResponseProcessor.prototype.createChildOrg = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "OrganizationCreateResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "OrganizationCreateResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getOrg + * @throws ApiException if the response code was not in [200, 299] + */ + OrganizationsApiResponseProcessor.prototype.getOrg = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "OrganizationResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "OrganizationResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listOrgs + * @throws ApiException if the response code was not in [200, 299] + */ + OrganizationsApiResponseProcessor.prototype.listOrgs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "OrganizationListResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "OrganizationListResponse", + ""]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateOrg + * @throws ApiException if the response code was not in [200, 299] + */ + OrganizationsApiResponseProcessor.prototype.updateOrg = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "OrganizationResponse", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "OrganizationResponse", + ""]); + return [2 /*return*/, body_19]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to uploadIdPForOrg + * @throws ApiException if the response code was not in [200, 299] + */ + OrganizationsApiResponseProcessor.prototype.uploadIdPForOrg = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "IdpResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("415", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(415, body_23); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "IdpResponse", + ""]); + return [2 /*return*/, body_25]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return OrganizationsApiResponseProcessor; +}()); +exports.OrganizationsApiResponseProcessor = OrganizationsApiResponseProcessor; +var OrganizationsApi = /** @class */ (function () { + function OrganizationsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new OrganizationsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new OrganizationsApiResponseProcessor(); + } + /** + * Create a child organization. This endpoint requires the [multi-organization account](https://docs.datadoghq.com/account_management/multi_organization/) feature and must be enabled by [contacting support](https://docs.datadoghq.com/help/). Once a new child organization is created, you can interact with it by using the `org.public_id`, `api_key.key`, and `application_key.hash` provided in the response. + * @param param The request object + */ + OrganizationsApi.prototype.createChildOrg = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createChildOrg(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createChildOrg(responseContext); + }); + }); + }; + /** + * Get organization information. + * @param param The request object + */ + OrganizationsApi.prototype.getOrg = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getOrg(param.publicId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getOrg(responseContext); + }); + }); + }; + /** + * List your managed organizations. + * @param param The request object + */ + OrganizationsApi.prototype.listOrgs = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listOrgs(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listOrgs(responseContext); + }); + }); + }; + /** + * Update your organization. + * @param param The request object + */ + OrganizationsApi.prototype.updateOrg = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateOrg(param.publicId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateOrg(responseContext); + }); + }); + }; + /** + * There are a couple of options for updating the Identity Provider (IdP) metadata from your SAML IdP. * **Multipart Form-Data**: Post the IdP metadata file using a form post. * **XML Body:** Post the IdP metadata file as the body of the request. + * @param param The request object + */ + OrganizationsApi.prototype.uploadIdPForOrg = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.uploadIdPForOrg(param.publicId, param.idpFile, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.uploadIdPForOrg(responseContext); + }); + }); + }; + return OrganizationsApi; +}()); +exports.OrganizationsApi = OrganizationsApi; +//# sourceMappingURL=OrganizationsApi.js.map + +/***/ }), + +/***/ 35724: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PagerDutyIntegrationApi = exports.PagerDutyIntegrationApiResponseProcessor = exports.PagerDutyIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var PagerDutyIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(PagerDutyIntegrationApiRequestFactory, _super); + function PagerDutyIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + PagerDutyIntegrationApiRequestFactory.prototype.createPagerDutyIntegrationService = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createPagerDutyIntegrationService."); + } + localVarPath = "/api/v1/integration/pagerduty/configuration/services"; + requestContext = (0, configuration_1.getServer)(_config, "PagerDutyIntegrationApi.createPagerDutyIntegrationService").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "PagerDutyService", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + PagerDutyIntegrationApiRequestFactory.prototype.deletePagerDutyIntegrationService = function (serviceName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceName' is not null or undefined + if (serviceName === null || serviceName === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceName was null or undefined when calling deletePagerDutyIntegrationService."); + } + localVarPath = "/api/v1/integration/pagerduty/configuration/services/{service_name}".replace("{" + "service_name" + "}", encodeURIComponent(String(serviceName))); + requestContext = (0, configuration_1.getServer)(_config, "PagerDutyIntegrationApi.deletePagerDutyIntegrationService").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + PagerDutyIntegrationApiRequestFactory.prototype.getPagerDutyIntegrationService = function (serviceName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceName' is not null or undefined + if (serviceName === null || serviceName === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceName was null or undefined when calling getPagerDutyIntegrationService."); + } + localVarPath = "/api/v1/integration/pagerduty/configuration/services/{service_name}".replace("{" + "service_name" + "}", encodeURIComponent(String(serviceName))); + requestContext = (0, configuration_1.getServer)(_config, "PagerDutyIntegrationApi.getPagerDutyIntegrationService").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + PagerDutyIntegrationApiRequestFactory.prototype.updatePagerDutyIntegrationService = function (serviceName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceName' is not null or undefined + if (serviceName === null || serviceName === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceName was null or undefined when calling updatePagerDutyIntegrationService."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updatePagerDutyIntegrationService."); + } + localVarPath = "/api/v1/integration/pagerduty/configuration/services/{service_name}".replace("{" + "service_name" + "}", encodeURIComponent(String(serviceName))); + requestContext = (0, configuration_1.getServer)(_config, "PagerDutyIntegrationApi.updatePagerDutyIntegrationService").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "PagerDutyServiceKey", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return PagerDutyIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.PagerDutyIntegrationApiRequestFactory = PagerDutyIntegrationApiRequestFactory; +var PagerDutyIntegrationApiResponseProcessor = /** @class */ (function () { + function PagerDutyIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createPagerDutyIntegrationService + * @throws ApiException if the response code was not in [200, 299] + */ + PagerDutyIntegrationApiResponseProcessor.prototype.createPagerDutyIntegrationService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PagerDutyServiceName", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PagerDutyServiceName", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deletePagerDutyIntegrationService + * @throws ApiException if the response code was not in [200, 299] + */ + PagerDutyIntegrationApiResponseProcessor.prototype.deletePagerDutyIntegrationService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_6); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_9]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getPagerDutyIntegrationService + * @throws ApiException if the response code was not in [200, 299] + */ + PagerDutyIntegrationApiResponseProcessor.prototype.getPagerDutyIntegrationService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PagerDutyServiceName", + ""]); + return [2 /*return*/, body_10]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PagerDutyServiceName", + ""]); + return [2 /*return*/, body_14]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updatePagerDutyIntegrationService + * @throws ApiException if the response code was not in [200, 299] + */ + PagerDutyIntegrationApiResponseProcessor.prototype.updatePagerDutyIntegrationService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_15); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_19]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return PagerDutyIntegrationApiResponseProcessor; +}()); +exports.PagerDutyIntegrationApiResponseProcessor = PagerDutyIntegrationApiResponseProcessor; +var PagerDutyIntegrationApi = /** @class */ (function () { + function PagerDutyIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || + new PagerDutyIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new PagerDutyIntegrationApiResponseProcessor(); + } + /** + * Create a new service object in the PagerDuty integration. + * @param param The request object + */ + PagerDutyIntegrationApi.prototype.createPagerDutyIntegrationService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createPagerDutyIntegrationService(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createPagerDutyIntegrationService(responseContext); + }); + }); + }; + /** + * Delete a single service object in the Datadog-PagerDuty integration. + * @param param The request object + */ + PagerDutyIntegrationApi.prototype.deletePagerDutyIntegrationService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deletePagerDutyIntegrationService(param.serviceName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deletePagerDutyIntegrationService(responseContext); + }); + }); + }; + /** + * Get service name in the Datadog-PagerDuty integration. + * @param param The request object + */ + PagerDutyIntegrationApi.prototype.getPagerDutyIntegrationService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getPagerDutyIntegrationService(param.serviceName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getPagerDutyIntegrationService(responseContext); + }); + }); + }; + /** + * Update a single service object in the Datadog-PagerDuty integration. + * @param param The request object + */ + PagerDutyIntegrationApi.prototype.updatePagerDutyIntegrationService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updatePagerDutyIntegrationService(param.serviceName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updatePagerDutyIntegrationService(responseContext); + }); + }); + }; + return PagerDutyIntegrationApi; +}()); +exports.PagerDutyIntegrationApi = PagerDutyIntegrationApi; +//# sourceMappingURL=PagerDutyIntegrationApi.js.map + +/***/ }), + +/***/ 72017: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceChecksApi = exports.ServiceChecksApiResponseProcessor = exports.ServiceChecksApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var ServiceChecksApiRequestFactory = /** @class */ (function (_super) { + __extends(ServiceChecksApiRequestFactory, _super); + function ServiceChecksApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + ServiceChecksApiRequestFactory.prototype.submitServiceCheck = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling submitServiceCheck."); + } + localVarPath = "/api/v1/check_run"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceChecksApi.submitServiceCheck").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "text/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, ["apiKeyAuth"]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return ServiceChecksApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.ServiceChecksApiRequestFactory = ServiceChecksApiRequestFactory; +var ServiceChecksApiResponseProcessor = /** @class */ (function () { + function ServiceChecksApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to submitServiceCheck + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceChecksApiResponseProcessor.prototype.submitServiceCheck = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IntakePayloadAccepted", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("408", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(408, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("413", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(413, body_5); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_6); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IntakePayloadAccepted", + ""]); + return [2 /*return*/, body_7]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return ServiceChecksApiResponseProcessor; +}()); +exports.ServiceChecksApiResponseProcessor = ServiceChecksApiResponseProcessor; +var ServiceChecksApi = /** @class */ (function () { + function ServiceChecksApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new ServiceChecksApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new ServiceChecksApiResponseProcessor(); + } + /** + * Submit a list of Service Checks. **Notes**: - A valid API key is required. - Service checks can be submitted up to 10 minutes in the past. + * @param param The request object + */ + ServiceChecksApi.prototype.submitServiceCheck = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.submitServiceCheck(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.submitServiceCheck(responseContext); + }); + }); + }; + return ServiceChecksApi; +}()); +exports.ServiceChecksApi = ServiceChecksApi; +//# sourceMappingURL=ServiceChecksApi.js.map + +/***/ }), + +/***/ 80224: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceLevelObjectiveCorrectionsApi = exports.ServiceLevelObjectiveCorrectionsApiResponseProcessor = exports.ServiceLevelObjectiveCorrectionsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var ServiceLevelObjectiveCorrectionsApiRequestFactory = /** @class */ (function (_super) { + __extends(ServiceLevelObjectiveCorrectionsApiRequestFactory, _super); + function ServiceLevelObjectiveCorrectionsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.createSLOCorrection = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'createSLOCorrection'"); + if (!_config.unstableOperations["createSLOCorrection"]) { + throw new Error("Unstable operation 'createSLOCorrection' is disabled"); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSLOCorrection."); + } + localVarPath = "/api/v1/slo/correction"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectiveCorrectionsApi.createSLOCorrection").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SLOCorrectionCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.deleteSLOCorrection = function (sloCorrectionId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'deleteSLOCorrection'"); + if (!_config.unstableOperations["deleteSLOCorrection"]) { + throw new Error("Unstable operation 'deleteSLOCorrection' is disabled"); + } + // verify required parameter 'sloCorrectionId' is not null or undefined + if (sloCorrectionId === null || sloCorrectionId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloCorrectionId was null or undefined when calling deleteSLOCorrection."); + } + localVarPath = "/api/v1/slo/correction/{slo_correction_id}".replace("{" + "slo_correction_id" + "}", encodeURIComponent(String(sloCorrectionId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectiveCorrectionsApi.deleteSLOCorrection").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.getSLOCorrection = function (sloCorrectionId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getSLOCorrection'"); + if (!_config.unstableOperations["getSLOCorrection"]) { + throw new Error("Unstable operation 'getSLOCorrection' is disabled"); + } + // verify required parameter 'sloCorrectionId' is not null or undefined + if (sloCorrectionId === null || sloCorrectionId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloCorrectionId was null or undefined when calling getSLOCorrection."); + } + localVarPath = "/api/v1/slo/correction/{slo_correction_id}".replace("{" + "slo_correction_id" + "}", encodeURIComponent(String(sloCorrectionId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectiveCorrectionsApi.getSLOCorrection").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.listSLOCorrection = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listSLOCorrection'"); + if (!_config.unstableOperations["listSLOCorrection"]) { + throw new Error("Unstable operation 'listSLOCorrection' is disabled"); + } + localVarPath = "/api/v1/slo/correction"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectiveCorrectionsApi.listSLOCorrection").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.updateSLOCorrection = function (sloCorrectionId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'updateSLOCorrection'"); + if (!_config.unstableOperations["updateSLOCorrection"]) { + throw new Error("Unstable operation 'updateSLOCorrection' is disabled"); + } + // verify required parameter 'sloCorrectionId' is not null or undefined + if (sloCorrectionId === null || sloCorrectionId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloCorrectionId was null or undefined when calling updateSLOCorrection."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateSLOCorrection."); + } + localVarPath = "/api/v1/slo/correction/{slo_correction_id}".replace("{" + "slo_correction_id" + "}", encodeURIComponent(String(sloCorrectionId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectiveCorrectionsApi.updateSLOCorrection").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SLOCorrectionUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return ServiceLevelObjectiveCorrectionsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.ServiceLevelObjectiveCorrectionsApiRequestFactory = ServiceLevelObjectiveCorrectionsApiRequestFactory; +var ServiceLevelObjectiveCorrectionsApiResponseProcessor = /** @class */ (function () { + function ServiceLevelObjectiveCorrectionsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSLOCorrection + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.createSLOCorrection = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteSLOCorrection + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.deleteSLOCorrection = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_10]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSLOCorrection + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.getSLOCorrection = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listSLOCorrection + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.listSLOCorrection = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SLOCorrectionListResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SLOCorrectionListResponse", + ""]); + return [2 /*return*/, body_19]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateSLOCorrection + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.updateSLOCorrection = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_23); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOCorrectionResponse", + ""]); + return [2 /*return*/, body_25]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return ServiceLevelObjectiveCorrectionsApiResponseProcessor; +}()); +exports.ServiceLevelObjectiveCorrectionsApiResponseProcessor = ServiceLevelObjectiveCorrectionsApiResponseProcessor; +var ServiceLevelObjectiveCorrectionsApi = /** @class */ (function () { + function ServiceLevelObjectiveCorrectionsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || + new ServiceLevelObjectiveCorrectionsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || + new ServiceLevelObjectiveCorrectionsApiResponseProcessor(); + } + /** + * Create an SLO Correction. + * @param param The request object + */ + ServiceLevelObjectiveCorrectionsApi.prototype.createSLOCorrection = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSLOCorrection(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSLOCorrection(responseContext); + }); + }); + }; + /** + * Permanently delete the specified SLO correction object. + * @param param The request object + */ + ServiceLevelObjectiveCorrectionsApi.prototype.deleteSLOCorrection = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteSLOCorrection(param.sloCorrectionId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteSLOCorrection(responseContext); + }); + }); + }; + /** + * Get an SLO correction. + * @param param The request object + */ + ServiceLevelObjectiveCorrectionsApi.prototype.getSLOCorrection = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSLOCorrection(param.sloCorrectionId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSLOCorrection(responseContext); + }); + }); + }; + /** + * Get all Service Level Objective corrections. + * @param param The request object + */ + ServiceLevelObjectiveCorrectionsApi.prototype.listSLOCorrection = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listSLOCorrection(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listSLOCorrection(responseContext); + }); + }); + }; + /** + * Update the specified SLO correction object object. + * @param param The request object + */ + ServiceLevelObjectiveCorrectionsApi.prototype.updateSLOCorrection = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateSLOCorrection(param.sloCorrectionId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateSLOCorrection(responseContext); + }); + }); + }; + return ServiceLevelObjectiveCorrectionsApi; +}()); +exports.ServiceLevelObjectiveCorrectionsApi = ServiceLevelObjectiveCorrectionsApi; +//# sourceMappingURL=ServiceLevelObjectiveCorrectionsApi.js.map + +/***/ }), + +/***/ 19863: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceLevelObjectivesApi = exports.ServiceLevelObjectivesApiResponseProcessor = exports.ServiceLevelObjectivesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var ServiceLevelObjectivesApiRequestFactory = /** @class */ (function (_super) { + __extends(ServiceLevelObjectivesApiRequestFactory, _super); + function ServiceLevelObjectivesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + ServiceLevelObjectivesApiRequestFactory.prototype.checkCanDeleteSLO = function (ids, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'ids' is not null or undefined + if (ids === null || ids === undefined) { + throw new baseapi_1.RequiredError("Required parameter ids was null or undefined when calling checkCanDeleteSLO."); + } + localVarPath = "/api/v1/slo/can_delete"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.checkCanDeleteSLO").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (ids !== undefined) { + requestContext.setQueryParam("ids", ObjectSerializer_1.ObjectSerializer.serialize(ids, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.createSLO = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSLO."); + } + localVarPath = "/api/v1/slo"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.createSLO").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ServiceLevelObjectiveRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.deleteSLO = function (sloId, force, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'sloId' is not null or undefined + if (sloId === null || sloId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloId was null or undefined when calling deleteSLO."); + } + localVarPath = "/api/v1/slo/{slo_id}".replace("{" + "slo_id" + "}", encodeURIComponent(String(sloId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.deleteSLO").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer_1.ObjectSerializer.serialize(force, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.deleteSLOTimeframeInBulk = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteSLOTimeframeInBulk."); + } + localVarPath = "/api/v1/slo/bulk_delete"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.deleteSLOTimeframeInBulk").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "{ [key: string]: Array; }", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.getSLO = function (sloId, withConfiguredAlertIds, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'sloId' is not null or undefined + if (sloId === null || sloId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloId was null or undefined when calling getSLO."); + } + localVarPath = "/api/v1/slo/{slo_id}".replace("{" + "slo_id" + "}", encodeURIComponent(String(sloId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.getSLO").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (withConfiguredAlertIds !== undefined) { + requestContext.setQueryParam("with_configured_alert_ids", ObjectSerializer_1.ObjectSerializer.serialize(withConfiguredAlertIds, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.getSLOCorrections = function (sloId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getSLOCorrections'"); + if (!_config.unstableOperations["getSLOCorrections"]) { + throw new Error("Unstable operation 'getSLOCorrections' is disabled"); + } + // verify required parameter 'sloId' is not null or undefined + if (sloId === null || sloId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloId was null or undefined when calling getSLOCorrections."); + } + localVarPath = "/api/v1/slo/{slo_id}/corrections".replace("{" + "slo_id" + "}", encodeURIComponent(String(sloId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.getSLOCorrections").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.getSLOHistory = function (sloId, fromTs, toTs, target, applyCorrection, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getSLOHistory'"); + if (!_config.unstableOperations["getSLOHistory"]) { + throw new Error("Unstable operation 'getSLOHistory' is disabled"); + } + // verify required parameter 'sloId' is not null or undefined + if (sloId === null || sloId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloId was null or undefined when calling getSLOHistory."); + } + // verify required parameter 'fromTs' is not null or undefined + if (fromTs === null || fromTs === undefined) { + throw new baseapi_1.RequiredError("Required parameter fromTs was null or undefined when calling getSLOHistory."); + } + // verify required parameter 'toTs' is not null or undefined + if (toTs === null || toTs === undefined) { + throw new baseapi_1.RequiredError("Required parameter toTs was null or undefined when calling getSLOHistory."); + } + localVarPath = "/api/v1/slo/{slo_id}/history".replace("{" + "slo_id" + "}", encodeURIComponent(String(sloId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.getSLOHistory").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (fromTs !== undefined) { + requestContext.setQueryParam("from_ts", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, "number", "int64")); + } + if (toTs !== undefined) { + requestContext.setQueryParam("to_ts", ObjectSerializer_1.ObjectSerializer.serialize(toTs, "number", "int64")); + } + if (target !== undefined) { + requestContext.setQueryParam("target", ObjectSerializer_1.ObjectSerializer.serialize(target, "number", "double")); + } + if (applyCorrection !== undefined) { + requestContext.setQueryParam("apply_correction", ObjectSerializer_1.ObjectSerializer.serialize(applyCorrection, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.listSLOs = function (ids, query, tagsQuery, metricsQuery, limit, offset, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/slo"; + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.listSLOs").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (ids !== undefined) { + requestContext.setQueryParam("ids", ObjectSerializer_1.ObjectSerializer.serialize(ids, "string", "")); + } + if (query !== undefined) { + requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", "")); + } + if (tagsQuery !== undefined) { + requestContext.setQueryParam("tags_query", ObjectSerializer_1.ObjectSerializer.serialize(tagsQuery, "string", "")); + } + if (metricsQuery !== undefined) { + requestContext.setQueryParam("metrics_query", ObjectSerializer_1.ObjectSerializer.serialize(metricsQuery, "string", "")); + } + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int64")); + } + if (offset !== undefined) { + requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceLevelObjectivesApiRequestFactory.prototype.updateSLO = function (sloId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'sloId' is not null or undefined + if (sloId === null || sloId === undefined) { + throw new baseapi_1.RequiredError("Required parameter sloId was null or undefined when calling updateSLO."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateSLO."); + } + localVarPath = "/api/v1/slo/{slo_id}".replace("{" + "slo_id" + "}", encodeURIComponent(String(sloId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceLevelObjectivesApi.updateSLO").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ServiceLevelObjective", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return ServiceLevelObjectivesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.ServiceLevelObjectivesApiRequestFactory = ServiceLevelObjectivesApiRequestFactory; +var ServiceLevelObjectivesApiResponseProcessor = /** @class */ (function () { + function ServiceLevelObjectivesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to checkCanDeleteSLO + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.checkCanDeleteSLO = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "CheckCanDeleteSLOResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "CheckCanDeleteSLOResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "CheckCanDeleteSLOResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSLO + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.createSLO = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_10); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_11]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteSLO + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.deleteSLO = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_12 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLODeleteResponse", + ""]); + return [2 /*return*/, body_12]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_13 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_14 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_14); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_15 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "SLODeleteResponse", + ""]); + throw new exception_1.ApiException(409, body_15); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_16 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_16); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_17 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLODeleteResponse", + ""]); + return [2 /*return*/, body_17]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteSLOTimeframeInBulk + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.deleteSLOTimeframeInBulk = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_18 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SLOBulkDeleteResponse", + ""]); + return [2 /*return*/, body_18]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_19 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_19); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_20 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_21 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_22 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SLOBulkDeleteResponse", + ""]); + return [2 /*return*/, body_22]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSLO + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.getSLO = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SLOResponse", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SLOResponse", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSLOCorrections + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.getSLOCorrections = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOCorrectionListResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_32); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOCorrectionListResponse", + ""]); + return [2 /*return*/, body_33]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSLOHistory + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.getSLOHistory = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body_39, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_34 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOHistoryResponse", + ""]); + return [2 /*return*/, body_34]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_35 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_35); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_36 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_36); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_37 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_37); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_38 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_38); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_39 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOHistoryResponse", + ""]); + return [2 /*return*/, body_39]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listSLOs + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.listSLOs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body_45, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_40 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_40]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_41 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_41); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_42 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_42); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_43 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_43); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_44 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_44); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_45 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_45]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateSLO + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceLevelObjectivesApiResponseProcessor.prototype.updateSLO = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_46, _a, _b, _c, _d, body_47, _e, _f, _g, _h, body_48, _j, _k, _l, _m, body_49, _o, _p, _q, _r, body_50, _s, _t, _u, _v, body_51, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_46 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_46]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_47 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_47); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_48 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_48); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_49 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_49); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_50 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_50); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_51 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SLOListResponse", + ""]); + return [2 /*return*/, body_51]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return ServiceLevelObjectivesApiResponseProcessor; +}()); +exports.ServiceLevelObjectivesApiResponseProcessor = ServiceLevelObjectivesApiResponseProcessor; +var ServiceLevelObjectivesApi = /** @class */ (function () { + function ServiceLevelObjectivesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || + new ServiceLevelObjectivesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new ServiceLevelObjectivesApiResponseProcessor(); + } + /** + * Check if an SLO can be safely deleted. For example, assure an SLO can be deleted without disrupting a dashboard. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.checkCanDeleteSLO = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.checkCanDeleteSLO(param.ids, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.checkCanDeleteSLO(responseContext); + }); + }); + }; + /** + * Create a service level objective object. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.createSLO = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSLO(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSLO(responseContext); + }); + }); + }; + /** + * Permanently delete the specified service level objective object. If an SLO is used in a dashboard, the `DELETE /v1/slo/` endpoint returns a 409 conflict error because the SLO is referenced in a dashboard. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.deleteSLO = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteSLO(param.sloId, param.force, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteSLO(responseContext); + }); + }); + }; + /** + * Delete (or partially delete) multiple service level objective objects. This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.deleteSLOTimeframeInBulk = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteSLOTimeframeInBulk(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteSLOTimeframeInBulk(responseContext); + }); + }); + }; + /** + * Get a service level objective object. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.getSLO = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSLO(param.sloId, param.withConfiguredAlertIds, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSLO(responseContext); + }); + }); + }; + /** + * Get corrections applied to an SLO + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.getSLOCorrections = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSLOCorrections(param.sloId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSLOCorrections(responseContext); + }); + }); + }; + /** + * Get a specific SLO’s history, regardless of its SLO type. The detailed history data is structured according to the source data type. For example, metric data is included for event SLOs that use the metric source, and monitor SLO types include the monitor transition history. **Note:** There are different response formats for event based and time based SLOs. Examples of both are shown. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.getSLOHistory = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSLOHistory(param.sloId, param.fromTs, param.toTs, param.target, param.applyCorrection, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSLOHistory(responseContext); + }); + }); + }; + /** + * Get a list of service level objective objects for your organization. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.listSLOs = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listSLOs(param.ids, param.query, param.tagsQuery, param.metricsQuery, param.limit, param.offset, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listSLOs(responseContext); + }); + }); + }; + /** + * Update the specified service level objective object. + * @param param The request object + */ + ServiceLevelObjectivesApi.prototype.updateSLO = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateSLO(param.sloId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateSLO(responseContext); + }); + }); + }; + return ServiceLevelObjectivesApi; +}()); +exports.ServiceLevelObjectivesApi = ServiceLevelObjectivesApi; +//# sourceMappingURL=ServiceLevelObjectivesApi.js.map + +/***/ }), + +/***/ 52597: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SlackIntegrationApi = exports.SlackIntegrationApiResponseProcessor = exports.SlackIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var SlackIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(SlackIntegrationApiRequestFactory, _super); + function SlackIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + SlackIntegrationApiRequestFactory.prototype.createSlackIntegrationChannel = function (accountName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountName' is not null or undefined + if (accountName === null || accountName === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountName was null or undefined when calling createSlackIntegrationChannel."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSlackIntegrationChannel."); + } + localVarPath = "/api/v1/integration/slack/configuration/accounts/{account_name}/channels".replace("{" + "account_name" + "}", encodeURIComponent(String(accountName))); + requestContext = (0, configuration_1.getServer)(_config, "SlackIntegrationApi.createSlackIntegrationChannel").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SlackIntegrationChannel", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SlackIntegrationApiRequestFactory.prototype.getSlackIntegrationChannel = function (accountName, channelName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountName' is not null or undefined + if (accountName === null || accountName === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountName was null or undefined when calling getSlackIntegrationChannel."); + } + // verify required parameter 'channelName' is not null or undefined + if (channelName === null || channelName === undefined) { + throw new baseapi_1.RequiredError("Required parameter channelName was null or undefined when calling getSlackIntegrationChannel."); + } + localVarPath = "/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}" + .replace("{" + "account_name" + "}", encodeURIComponent(String(accountName))) + .replace("{" + "channel_name" + "}", encodeURIComponent(String(channelName))); + requestContext = (0, configuration_1.getServer)(_config, "SlackIntegrationApi.getSlackIntegrationChannel").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SlackIntegrationApiRequestFactory.prototype.getSlackIntegrationChannels = function (accountName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountName' is not null or undefined + if (accountName === null || accountName === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountName was null or undefined when calling getSlackIntegrationChannels."); + } + localVarPath = "/api/v1/integration/slack/configuration/accounts/{account_name}/channels".replace("{" + "account_name" + "}", encodeURIComponent(String(accountName))); + requestContext = (0, configuration_1.getServer)(_config, "SlackIntegrationApi.getSlackIntegrationChannels").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SlackIntegrationApiRequestFactory.prototype.removeSlackIntegrationChannel = function (accountName, channelName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountName' is not null or undefined + if (accountName === null || accountName === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountName was null or undefined when calling removeSlackIntegrationChannel."); + } + // verify required parameter 'channelName' is not null or undefined + if (channelName === null || channelName === undefined) { + throw new baseapi_1.RequiredError("Required parameter channelName was null or undefined when calling removeSlackIntegrationChannel."); + } + localVarPath = "/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}" + .replace("{" + "account_name" + "}", encodeURIComponent(String(accountName))) + .replace("{" + "channel_name" + "}", encodeURIComponent(String(channelName))); + requestContext = (0, configuration_1.getServer)(_config, "SlackIntegrationApi.removeSlackIntegrationChannel").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SlackIntegrationApiRequestFactory.prototype.updateSlackIntegrationChannel = function (accountName, channelName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'accountName' is not null or undefined + if (accountName === null || accountName === undefined) { + throw new baseapi_1.RequiredError("Required parameter accountName was null or undefined when calling updateSlackIntegrationChannel."); + } + // verify required parameter 'channelName' is not null or undefined + if (channelName === null || channelName === undefined) { + throw new baseapi_1.RequiredError("Required parameter channelName was null or undefined when calling updateSlackIntegrationChannel."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateSlackIntegrationChannel."); + } + localVarPath = "/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}" + .replace("{" + "account_name" + "}", encodeURIComponent(String(accountName))) + .replace("{" + "channel_name" + "}", encodeURIComponent(String(channelName))); + requestContext = (0, configuration_1.getServer)(_config, "SlackIntegrationApi.updateSlackIntegrationChannel").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SlackIntegrationChannel", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return SlackIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.SlackIntegrationApiRequestFactory = SlackIntegrationApiRequestFactory; +var SlackIntegrationApiResponseProcessor = /** @class */ (function () { + function SlackIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSlackIntegrationChannel + * @throws ApiException if the response code was not in [200, 299] + */ + SlackIntegrationApiResponseProcessor.prototype.createSlackIntegrationChannel = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSlackIntegrationChannel + * @throws ApiException if the response code was not in [200, 299] + */ + SlackIntegrationApiResponseProcessor.prototype.getSlackIntegrationChannel = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_10); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_11); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_12]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSlackIntegrationChannels + * @throws ApiException if the response code was not in [200, 299] + */ + SlackIntegrationApiResponseProcessor.prototype.getSlackIntegrationChannels = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_13 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_13]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_14 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_14); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_15 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_16 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_17 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_18 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "Array", + ""]); + return [2 /*return*/, body_18]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to removeSlackIntegrationChannel + * @throws ApiException if the response code was not in [200, 299] + */ + SlackIntegrationApiResponseProcessor.prototype.removeSlackIntegrationChannel = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_19); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_21); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_22); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_23 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_23]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateSlackIntegrationChannel + * @throws ApiException if the response code was not in [200, 299] + */ + SlackIntegrationApiResponseProcessor.prototype.updateSlackIntegrationChannel = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body_29, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_24 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_24]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_25 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_25); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_26 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_26); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_27 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_27); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_28 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_28); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_29 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SlackIntegrationChannel", + ""]); + return [2 /*return*/, body_29]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return SlackIntegrationApiResponseProcessor; +}()); +exports.SlackIntegrationApiResponseProcessor = SlackIntegrationApiResponseProcessor; +var SlackIntegrationApi = /** @class */ (function () { + function SlackIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new SlackIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new SlackIntegrationApiResponseProcessor(); + } + /** + * Add a channel to your Datadog-Slack integration. + * @param param The request object + */ + SlackIntegrationApi.prototype.createSlackIntegrationChannel = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSlackIntegrationChannel(param.accountName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSlackIntegrationChannel(responseContext); + }); + }); + }; + /** + * Get a channel configured for your Datadog-Slack integration. + * @param param The request object + */ + SlackIntegrationApi.prototype.getSlackIntegrationChannel = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSlackIntegrationChannel(param.accountName, param.channelName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSlackIntegrationChannel(responseContext); + }); + }); + }; + /** + * Get a list of all channels configured for your Datadog-Slack integration. + * @param param The request object + */ + SlackIntegrationApi.prototype.getSlackIntegrationChannels = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSlackIntegrationChannels(param.accountName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSlackIntegrationChannels(responseContext); + }); + }); + }; + /** + * Remove a channel from your Datadog-Slack integration. + * @param param The request object + */ + SlackIntegrationApi.prototype.removeSlackIntegrationChannel = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.removeSlackIntegrationChannel(param.accountName, param.channelName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.removeSlackIntegrationChannel(responseContext); + }); + }); + }; + /** + * Update a channel used in your Datadog-Slack integration. + * @param param The request object + */ + SlackIntegrationApi.prototype.updateSlackIntegrationChannel = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateSlackIntegrationChannel(param.accountName, param.channelName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateSlackIntegrationChannel(responseContext); + }); + }); + }; + return SlackIntegrationApi; +}()); +exports.SlackIntegrationApi = SlackIntegrationApi; +//# sourceMappingURL=SlackIntegrationApi.js.map + +/***/ }), + +/***/ 38840: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SnapshotsApi = exports.SnapshotsApiResponseProcessor = exports.SnapshotsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var SnapshotsApiRequestFactory = /** @class */ (function (_super) { + __extends(SnapshotsApiRequestFactory, _super); + function SnapshotsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + SnapshotsApiRequestFactory.prototype.getGraphSnapshot = function (start, end, metricQuery, eventQuery, graphDef, title, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'start' is not null or undefined + if (start === null || start === undefined) { + throw new baseapi_1.RequiredError("Required parameter start was null or undefined when calling getGraphSnapshot."); + } + // verify required parameter 'end' is not null or undefined + if (end === null || end === undefined) { + throw new baseapi_1.RequiredError("Required parameter end was null or undefined when calling getGraphSnapshot."); + } + localVarPath = "/api/v1/graph/snapshot"; + requestContext = (0, configuration_1.getServer)(_config, "SnapshotsApi.getGraphSnapshot").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (metricQuery !== undefined) { + requestContext.setQueryParam("metric_query", ObjectSerializer_1.ObjectSerializer.serialize(metricQuery, "string", "")); + } + if (start !== undefined) { + requestContext.setQueryParam("start", ObjectSerializer_1.ObjectSerializer.serialize(start, "number", "int64")); + } + if (end !== undefined) { + requestContext.setQueryParam("end", ObjectSerializer_1.ObjectSerializer.serialize(end, "number", "int64")); + } + if (eventQuery !== undefined) { + requestContext.setQueryParam("event_query", ObjectSerializer_1.ObjectSerializer.serialize(eventQuery, "string", "")); + } + if (graphDef !== undefined) { + requestContext.setQueryParam("graph_def", ObjectSerializer_1.ObjectSerializer.serialize(graphDef, "string", "")); + } + if (title !== undefined) { + requestContext.setQueryParam("title", ObjectSerializer_1.ObjectSerializer.serialize(title, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return SnapshotsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.SnapshotsApiRequestFactory = SnapshotsApiRequestFactory; +var SnapshotsApiResponseProcessor = /** @class */ (function () { + function SnapshotsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getGraphSnapshot + * @throws ApiException if the response code was not in [200, 299] + */ + SnapshotsApiResponseProcessor.prototype.getGraphSnapshot = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "GraphSnapshot", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "GraphSnapshot", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return SnapshotsApiResponseProcessor; +}()); +exports.SnapshotsApiResponseProcessor = SnapshotsApiResponseProcessor; +var SnapshotsApi = /** @class */ (function () { + function SnapshotsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new SnapshotsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new SnapshotsApiResponseProcessor(); + } + /** + * Take graph snapshots. **Note**: When a snapshot is created, there is some delay before it is available. + * @param param The request object + */ + SnapshotsApi.prototype.getGraphSnapshot = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getGraphSnapshot(param.start, param.end, param.metricQuery, param.eventQuery, param.graphDef, param.title, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getGraphSnapshot(responseContext); + }); + }); + }; + return SnapshotsApi; +}()); +exports.SnapshotsApi = SnapshotsApi; +//# sourceMappingURL=SnapshotsApi.js.map + +/***/ }), + +/***/ 99457: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsApi = exports.SyntheticsApiResponseProcessor = exports.SyntheticsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var SyntheticsApiRequestFactory = /** @class */ (function (_super) { + __extends(SyntheticsApiRequestFactory, _super); + function SyntheticsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + SyntheticsApiRequestFactory.prototype.createGlobalVariable = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createGlobalVariable."); + } + localVarPath = "/api/v1/synthetics/variables"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.createGlobalVariable").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsGlobalVariable", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.createPrivateLocation = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createPrivateLocation."); + } + localVarPath = "/api/v1/synthetics/private-locations"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.createPrivateLocation").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsPrivateLocation", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.createSyntheticsAPITest = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSyntheticsAPITest."); + } + localVarPath = "/api/v1/synthetics/tests/api"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.createSyntheticsAPITest").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsAPITest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.createSyntheticsBrowserTest = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSyntheticsBrowserTest."); + } + localVarPath = "/api/v1/synthetics/tests/browser"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.createSyntheticsBrowserTest").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsBrowserTest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.deleteGlobalVariable = function (variableId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'variableId' is not null or undefined + if (variableId === null || variableId === undefined) { + throw new baseapi_1.RequiredError("Required parameter variableId was null or undefined when calling deleteGlobalVariable."); + } + localVarPath = "/api/v1/synthetics/variables/{variable_id}".replace("{" + "variable_id" + "}", encodeURIComponent(String(variableId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.deleteGlobalVariable").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.deletePrivateLocation = function (locationId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'locationId' is not null or undefined + if (locationId === null || locationId === undefined) { + throw new baseapi_1.RequiredError("Required parameter locationId was null or undefined when calling deletePrivateLocation."); + } + localVarPath = "/api/v1/synthetics/private-locations/{location_id}".replace("{" + "location_id" + "}", encodeURIComponent(String(locationId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.deletePrivateLocation").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.deleteTests = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteTests."); + } + localVarPath = "/api/v1/synthetics/tests/delete"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.deleteTests").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsDeleteTestsPayload", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.editGlobalVariable = function (variableId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'variableId' is not null or undefined + if (variableId === null || variableId === undefined) { + throw new baseapi_1.RequiredError("Required parameter variableId was null or undefined when calling editGlobalVariable."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling editGlobalVariable."); + } + localVarPath = "/api/v1/synthetics/variables/{variable_id}".replace("{" + "variable_id" + "}", encodeURIComponent(String(variableId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.editGlobalVariable").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsGlobalVariable", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getAPITest = function (publicId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getAPITest."); + } + localVarPath = "/api/v1/synthetics/tests/api/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getAPITest").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getAPITestLatestResults = function (publicId, fromTs, toTs, probeDc, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getAPITestLatestResults."); + } + localVarPath = "/api/v1/synthetics/tests/{public_id}/results".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getAPITestLatestResults").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (fromTs !== undefined) { + requestContext.setQueryParam("from_ts", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, "number", "int64")); + } + if (toTs !== undefined) { + requestContext.setQueryParam("to_ts", ObjectSerializer_1.ObjectSerializer.serialize(toTs, "number", "int64")); + } + if (probeDc !== undefined) { + requestContext.setQueryParam("probe_dc", ObjectSerializer_1.ObjectSerializer.serialize(probeDc, "Array", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getAPITestResult = function (publicId, resultId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getAPITestResult."); + } + // verify required parameter 'resultId' is not null or undefined + if (resultId === null || resultId === undefined) { + throw new baseapi_1.RequiredError("Required parameter resultId was null or undefined when calling getAPITestResult."); + } + localVarPath = "/api/v1/synthetics/tests/{public_id}/results/{result_id}" + .replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))) + .replace("{" + "result_id" + "}", encodeURIComponent(String(resultId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getAPITestResult").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getBrowserTest = function (publicId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getBrowserTest."); + } + localVarPath = "/api/v1/synthetics/tests/browser/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getBrowserTest").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getBrowserTestLatestResults = function (publicId, fromTs, toTs, probeDc, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getBrowserTestLatestResults."); + } + localVarPath = "/api/v1/synthetics/tests/browser/{public_id}/results".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getBrowserTestLatestResults").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (fromTs !== undefined) { + requestContext.setQueryParam("from_ts", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, "number", "int64")); + } + if (toTs !== undefined) { + requestContext.setQueryParam("to_ts", ObjectSerializer_1.ObjectSerializer.serialize(toTs, "number", "int64")); + } + if (probeDc !== undefined) { + requestContext.setQueryParam("probe_dc", ObjectSerializer_1.ObjectSerializer.serialize(probeDc, "Array", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getBrowserTestResult = function (publicId, resultId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getBrowserTestResult."); + } + // verify required parameter 'resultId' is not null or undefined + if (resultId === null || resultId === undefined) { + throw new baseapi_1.RequiredError("Required parameter resultId was null or undefined when calling getBrowserTestResult."); + } + localVarPath = "/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}" + .replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))) + .replace("{" + "result_id" + "}", encodeURIComponent(String(resultId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getBrowserTestResult").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getGlobalVariable = function (variableId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'variableId' is not null or undefined + if (variableId === null || variableId === undefined) { + throw new baseapi_1.RequiredError("Required parameter variableId was null or undefined when calling getGlobalVariable."); + } + localVarPath = "/api/v1/synthetics/variables/{variable_id}".replace("{" + "variable_id" + "}", encodeURIComponent(String(variableId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getGlobalVariable").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getPrivateLocation = function (locationId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'locationId' is not null or undefined + if (locationId === null || locationId === undefined) { + throw new baseapi_1.RequiredError("Required parameter locationId was null or undefined when calling getPrivateLocation."); + } + localVarPath = "/api/v1/synthetics/private-locations/{location_id}".replace("{" + "location_id" + "}", encodeURIComponent(String(locationId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getPrivateLocation").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getSyntheticsCIBatch = function (batchId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'batchId' is not null or undefined + if (batchId === null || batchId === undefined) { + throw new baseapi_1.RequiredError("Required parameter batchId was null or undefined when calling getSyntheticsCIBatch."); + } + localVarPath = "/api/v1/synthetics/ci/batch/{batch_id}".replace("{" + "batch_id" + "}", encodeURIComponent(String(batchId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getSyntheticsCIBatch").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.getTest = function (publicId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling getTest."); + } + localVarPath = "/api/v1/synthetics/tests/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.getTest").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.listGlobalVariables = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/synthetics/variables"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.listGlobalVariables").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.listLocations = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/synthetics/locations"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.listLocations").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.listTests = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/synthetics/tests"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.listTests").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.triggerCITests = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling triggerCITests."); + } + localVarPath = "/api/v1/synthetics/tests/trigger/ci"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.triggerCITests").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsCITestBody", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.triggerTests = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling triggerTests."); + } + localVarPath = "/api/v1/synthetics/tests/trigger"; + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.triggerTests").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsTriggerBody", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.updateAPITest = function (publicId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling updateAPITest."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAPITest."); + } + localVarPath = "/api/v1/synthetics/tests/api/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.updateAPITest").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsAPITest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.updateBrowserTest = function (publicId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling updateBrowserTest."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateBrowserTest."); + } + localVarPath = "/api/v1/synthetics/tests/browser/{public_id}".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.updateBrowserTest").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsBrowserTest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.updatePrivateLocation = function (locationId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'locationId' is not null or undefined + if (locationId === null || locationId === undefined) { + throw new baseapi_1.RequiredError("Required parameter locationId was null or undefined when calling updatePrivateLocation."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updatePrivateLocation."); + } + localVarPath = "/api/v1/synthetics/private-locations/{location_id}".replace("{" + "location_id" + "}", encodeURIComponent(String(locationId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.updatePrivateLocation").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsPrivateLocation", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SyntheticsApiRequestFactory.prototype.updateTestPauseStatus = function (publicId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'publicId' is not null or undefined + if (publicId === null || publicId === undefined) { + throw new baseapi_1.RequiredError("Required parameter publicId was null or undefined when calling updateTestPauseStatus."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateTestPauseStatus."); + } + localVarPath = "/api/v1/synthetics/tests/{public_id}/status".replace("{" + "public_id" + "}", encodeURIComponent(String(publicId))); + requestContext = (0, configuration_1.getServer)(_config, "SyntheticsApi.updateTestPauseStatus").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SyntheticsUpdateTestPauseStatusPayload", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return SyntheticsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.SyntheticsApiRequestFactory = SyntheticsApiRequestFactory; +var SyntheticsApiResponseProcessor = /** @class */ (function () { + function SyntheticsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createGlobalVariable + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.createGlobalVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createPrivateLocation + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.createPrivateLocation = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsPrivateLocationCreationResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("402", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(402, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsPrivateLocationCreationResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSyntheticsAPITest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.createSyntheticsAPITest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body_16, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("402", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(402, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_14); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_15); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_16 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_16]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSyntheticsBrowserTest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.createSyntheticsBrowserTest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body_22, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_17 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_17]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_18 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_18); + case 4: + if (!(0, util_1.isCodeInRange)("402", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_19 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(402, body_19); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_20 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_21 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_22 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_22]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteGlobalVariable + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.deleteGlobalVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_23); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deletePrivateLocation + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.deletePrivateLocation = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body; + return __generator(this, function (_o) { + switch (_o.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_28); + case 2: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_29); + case 4: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_30]; + case 6: return [4 /*yield*/, response.body.text()]; + case 7: + body = (_o.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteTests + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.deleteTests = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body_35, _s, _t, _u, _v, body_36, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_31 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SyntheticsDeleteTestsResponse", + ""]); + return [2 /*return*/, body_31]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_32 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_32); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_33 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_33); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_34 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_34); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_35 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_35); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_36 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SyntheticsDeleteTestsResponse", + ""]); + return [2 /*return*/, body_36]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to editGlobalVariable + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.editGlobalVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_37 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_37]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_38 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_38); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_39 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_39); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_40 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_40); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_41 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_41]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPITest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getAPITest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_42 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_42]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_43 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_43); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_44 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_44); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_45 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_46 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_46]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPITestLatestResults + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getAPITestLatestResults = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsGetAPITestLatestResultsResponse", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_50); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsGetAPITestLatestResultsResponse", + ""]); + return [2 /*return*/, body_51]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPITestResult + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getAPITestResult = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_52, _a, _b, _c, _d, body_53, _e, _f, _g, _h, body_54, _j, _k, _l, _m, body_55, _o, _p, _q, _r, body_56, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_52 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsAPITestResultFull", + ""]); + return [2 /*return*/, body_52]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_53 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_53); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_54 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_54); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_55 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_55); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_56 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsAPITestResultFull", + ""]); + return [2 /*return*/, body_56]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getBrowserTest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getBrowserTest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_57, _a, _b, _c, _d, body_58, _e, _f, _g, _h, body_59, _j, _k, _l, _m, body_60, _o, _p, _q, _r, body_61, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_57 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_57]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_58 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_58); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_59 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_59); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_60 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_60); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_61 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_61]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getBrowserTestLatestResults + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getBrowserTestLatestResults = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_62 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsGetBrowserTestLatestResultsResponse", + ""]); + return [2 /*return*/, body_62]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_63 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_63); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_64 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_64); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_65 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_65); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_66 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsGetBrowserTestLatestResultsResponse", + ""]); + return [2 /*return*/, body_66]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getBrowserTestResult + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getBrowserTestResult = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_67, _a, _b, _c, _d, body_68, _e, _f, _g, _h, body_69, _j, _k, _l, _m, body_70, _o, _p, _q, _r, body_71, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_67 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsBrowserTestResultFull", + ""]); + return [2 /*return*/, body_67]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_68 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_68); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_69 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_69); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_70 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_70); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_71 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsBrowserTestResultFull", + ""]); + return [2 /*return*/, body_71]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getGlobalVariable + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getGlobalVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_72, _a, _b, _c, _d, body_73, _e, _f, _g, _h, body_74, _j, _k, _l, _m, body_75, _o, _p, _q, _r, body_76, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_72 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_72]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_73 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_73); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_74 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_74); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_75 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_75); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_76 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsGlobalVariable", + ""]); + return [2 /*return*/, body_76]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getPrivateLocation + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getPrivateLocation = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_77, _a, _b, _c, _d, body_78, _e, _f, _g, _h, body_79, _j, _k, _l, _m, body_80, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_77 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsPrivateLocation", + ""]); + return [2 /*return*/, body_77]; + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_78 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_78); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_79 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_79); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_80 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsPrivateLocation", + ""]); + return [2 /*return*/, body_80]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSyntheticsCIBatch + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getSyntheticsCIBatch = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_81, _a, _b, _c, _d, body_82, _e, _f, _g, _h, body_83, _j, _k, _l, _m, body_84, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_81 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsBatchDetails", + ""]); + return [2 /*return*/, body_81]; + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_82 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_82); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_83 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_83); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_84 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsBatchDetails", + ""]); + return [2 /*return*/, body_84]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getTest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.getTest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_85, _a, _b, _c, _d, body_86, _e, _f, _g, _h, body_87, _j, _k, _l, _m, body_88, _o, _p, _q, _r, body_89, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_85 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsTestDetails", + ""]); + return [2 /*return*/, body_85]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_86 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_86); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_87 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_87); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_88 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_88); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_89 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsTestDetails", + ""]); + return [2 /*return*/, body_89]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listGlobalVariables + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.listGlobalVariables = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_90, _a, _b, _c, _d, body_91, _e, _f, _g, _h, body_92, _j, _k, _l, _m, body_93, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_90 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsListGlobalVariablesResponse", + ""]); + return [2 /*return*/, body_90]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_91 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_91); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_92 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_92); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_93 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsListGlobalVariablesResponse", + ""]); + return [2 /*return*/, body_93]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLocations + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.listLocations = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_94, _a, _b, _c, _d, body_95, _e, _f, _g, _h, body_96, _j, _k, _l, _m, body; + return __generator(this, function (_o) { + switch (_o.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_94 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]), + "SyntheticsLocations", + ""]); + return [2 /*return*/, body_94]; + case 2: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_95 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_95); + case 4: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_96 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]), + "SyntheticsLocations", + ""]); + return [2 /*return*/, body_96]; + case 6: return [4 /*yield*/, response.body.text()]; + case 7: + body = (_o.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listTests + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.listTests = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_97, _a, _b, _c, _d, body_98, _e, _f, _g, _h, body_99, _j, _k, _l, _m, body_100, _o, _p, _q, _r, body_101, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_97 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SyntheticsListTestsResponse", + ""]); + return [2 /*return*/, body_97]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_98 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_98); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_99 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_99); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_100 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_100); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_101 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SyntheticsListTestsResponse", + ""]); + return [2 /*return*/, body_101]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to triggerCITests + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.triggerCITests = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_102, _a, _b, _c, _d, body_103, _e, _f, _g, _h, body_104, _j, _k, _l, _m, body_105, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_102 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsTriggerCITestsResponse", + ""]); + return [2 /*return*/, body_102]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_103 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_103); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_104 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_104); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_105 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsTriggerCITestsResponse", + ""]); + return [2 /*return*/, body_105]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to triggerTests + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.triggerTests = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_106, _a, _b, _c, _d, body_107, _e, _f, _g, _h, body_108, _j, _k, _l, _m, body_109, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_106 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsTriggerCITestsResponse", + ""]); + return [2 /*return*/, body_106]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_107 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_107); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_108 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_108); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_109 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsTriggerCITestsResponse", + ""]); + return [2 /*return*/, body_109]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAPITest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.updateAPITest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_110, _a, _b, _c, _d, body_111, _e, _f, _g, _h, body_112, _j, _k, _l, _m, body_113, _o, _p, _q, _r, body_114, _s, _t, _u, _v, body_115, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_110 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_110]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_111 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_111); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_112 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_112); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_113 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_113); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_114 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_114); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_115 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SyntheticsAPITest", + ""]); + return [2 /*return*/, body_115]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateBrowserTest + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.updateBrowserTest = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_116, _a, _b, _c, _d, body_117, _e, _f, _g, _h, body_118, _j, _k, _l, _m, body_119, _o, _p, _q, _r, body_120, _s, _t, _u, _v, body_121, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_116 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_116]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_117 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_117); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_118 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_118); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_119 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_119); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_120 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_120); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_121 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SyntheticsBrowserTest", + ""]); + return [2 /*return*/, body_121]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updatePrivateLocation + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.updatePrivateLocation = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_122, _a, _b, _c, _d, body_123, _e, _f, _g, _h, body_124, _j, _k, _l, _m, body_125, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_122 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SyntheticsPrivateLocation", + ""]); + return [2 /*return*/, body_122]; + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_123 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_123); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_124 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_124); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_125 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SyntheticsPrivateLocation", + ""]); + return [2 /*return*/, body_125]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateTestPauseStatus + * @throws ApiException if the response code was not in [200, 299] + */ + SyntheticsApiResponseProcessor.prototype.updateTestPauseStatus = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_126, _a, _b, _c, _d, body_127, _e, _f, _g, _h, body_128, _j, _k, _l, _m, body_129, _o, _p, _q, _r, body_130, _s, _t, _u, _v, body_131, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_126 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "boolean", + ""]); + return [2 /*return*/, body_126]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_127 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_127); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_128 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_128); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_129 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_129); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_130 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_130); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_131 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "boolean", + ""]); + return [2 /*return*/, body_131]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return SyntheticsApiResponseProcessor; +}()); +exports.SyntheticsApiResponseProcessor = SyntheticsApiResponseProcessor; +var SyntheticsApi = /** @class */ (function () { + function SyntheticsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new SyntheticsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new SyntheticsApiResponseProcessor(); + } + /** + * Create a Synthetics global variable. + * @param param The request object + */ + SyntheticsApi.prototype.createGlobalVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createGlobalVariable(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createGlobalVariable(responseContext); + }); + }); + }; + /** + * Create a new Synthetics private location. + * @param param The request object + */ + SyntheticsApi.prototype.createPrivateLocation = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createPrivateLocation(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createPrivateLocation(responseContext); + }); + }); + }; + /** + * Create a Synthetic API test. + * @param param The request object + */ + SyntheticsApi.prototype.createSyntheticsAPITest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSyntheticsAPITest(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSyntheticsAPITest(responseContext); + }); + }); + }; + /** + * Create a Synthetic browser test. + * @param param The request object + */ + SyntheticsApi.prototype.createSyntheticsBrowserTest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSyntheticsBrowserTest(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSyntheticsBrowserTest(responseContext); + }); + }); + }; + /** + * Delete a Synthetics global variable. + * @param param The request object + */ + SyntheticsApi.prototype.deleteGlobalVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteGlobalVariable(param.variableId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteGlobalVariable(responseContext); + }); + }); + }; + /** + * Delete a Synthetics private location. + * @param param The request object + */ + SyntheticsApi.prototype.deletePrivateLocation = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deletePrivateLocation(param.locationId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deletePrivateLocation(responseContext); + }); + }); + }; + /** + * Delete multiple Synthetic tests by ID. + * @param param The request object + */ + SyntheticsApi.prototype.deleteTests = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteTests(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteTests(responseContext); + }); + }); + }; + /** + * Edit a Synthetics global variable. + * @param param The request object + */ + SyntheticsApi.prototype.editGlobalVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.editGlobalVariable(param.variableId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.editGlobalVariable(responseContext); + }); + }); + }; + /** + * Get the detailed configuration associated with a Synthetic API test. + * @param param The request object + */ + SyntheticsApi.prototype.getAPITest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAPITest(param.publicId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAPITest(responseContext); + }); + }); + }; + /** + * Get the last 50 test results summaries for a given Synthetics API test. + * @param param The request object + */ + SyntheticsApi.prototype.getAPITestLatestResults = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAPITestLatestResults(param.publicId, param.fromTs, param.toTs, param.probeDc, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAPITestLatestResults(responseContext); + }); + }); + }; + /** + * Get a specific full result from a given (API) Synthetic test. + * @param param The request object + */ + SyntheticsApi.prototype.getAPITestResult = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAPITestResult(param.publicId, param.resultId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAPITestResult(responseContext); + }); + }); + }; + /** + * Get the detailed configuration (including steps) associated with a Synthetic browser test. + * @param param The request object + */ + SyntheticsApi.prototype.getBrowserTest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getBrowserTest(param.publicId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getBrowserTest(responseContext); + }); + }); + }; + /** + * Get the last 50 test results summaries for a given Synthetics Browser test. + * @param param The request object + */ + SyntheticsApi.prototype.getBrowserTestLatestResults = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getBrowserTestLatestResults(param.publicId, param.fromTs, param.toTs, param.probeDc, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getBrowserTestLatestResults(responseContext); + }); + }); + }; + /** + * Get a specific full result from a given (browser) Synthetic test. + * @param param The request object + */ + SyntheticsApi.prototype.getBrowserTestResult = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getBrowserTestResult(param.publicId, param.resultId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getBrowserTestResult(responseContext); + }); + }); + }; + /** + * Get the detailed configuration of a global variable. + * @param param The request object + */ + SyntheticsApi.prototype.getGlobalVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getGlobalVariable(param.variableId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getGlobalVariable(responseContext); + }); + }); + }; + /** + * Get a Synthetics private location. + * @param param The request object + */ + SyntheticsApi.prototype.getPrivateLocation = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getPrivateLocation(param.locationId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getPrivateLocation(responseContext); + }); + }); + }; + /** + * Get a batch's updated details. + * @param param The request object + */ + SyntheticsApi.prototype.getSyntheticsCIBatch = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSyntheticsCIBatch(param.batchId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSyntheticsCIBatch(responseContext); + }); + }); + }; + /** + * Get the detailed configuration associated with a Synthetics test. + * @param param The request object + */ + SyntheticsApi.prototype.getTest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getTest(param.publicId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getTest(responseContext); + }); + }); + }; + /** + * Get the list of all Synthetics global variables. + * @param param The request object + */ + SyntheticsApi.prototype.listGlobalVariables = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listGlobalVariables(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listGlobalVariables(responseContext); + }); + }); + }; + /** + * Get the list of public and private locations available for Synthetic tests. No arguments required. + * @param param The request object + */ + SyntheticsApi.prototype.listLocations = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLocations(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLocations(responseContext); + }); + }); + }; + /** + * Get the list of all Synthetic tests. + * @param param The request object + */ + SyntheticsApi.prototype.listTests = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listTests(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listTests(responseContext); + }); + }); + }; + /** + * Trigger a set of Synthetics tests for continuous integration. + * @param param The request object + */ + SyntheticsApi.prototype.triggerCITests = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.triggerCITests(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.triggerCITests(responseContext); + }); + }); + }; + /** + * Trigger a set of Synthetics tests. + * @param param The request object + */ + SyntheticsApi.prototype.triggerTests = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.triggerTests(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.triggerTests(responseContext); + }); + }); + }; + /** + * Edit the configuration of a Synthetic API test. + * @param param The request object + */ + SyntheticsApi.prototype.updateAPITest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAPITest(param.publicId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAPITest(responseContext); + }); + }); + }; + /** + * Edit the configuration of a Synthetic browser test. + * @param param The request object + */ + SyntheticsApi.prototype.updateBrowserTest = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateBrowserTest(param.publicId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateBrowserTest(responseContext); + }); + }); + }; + /** + * Edit a Synthetics private location. + * @param param The request object + */ + SyntheticsApi.prototype.updatePrivateLocation = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updatePrivateLocation(param.locationId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updatePrivateLocation(responseContext); + }); + }); + }; + /** + * Pause or start a Synthetics test by changing the status. + * @param param The request object + */ + SyntheticsApi.prototype.updateTestPauseStatus = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateTestPauseStatus(param.publicId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateTestPauseStatus(responseContext); + }); + }); + }; + return SyntheticsApi; +}()); +exports.SyntheticsApi = SyntheticsApi; +//# sourceMappingURL=SyntheticsApi.js.map + +/***/ }), + +/***/ 71569: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TagsApi = exports.TagsApiResponseProcessor = exports.TagsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var TagsApiRequestFactory = /** @class */ (function (_super) { + __extends(TagsApiRequestFactory, _super); + function TagsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + TagsApiRequestFactory.prototype.createHostTags = function (hostName, body, source, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling createHostTags."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createHostTags."); + } + localVarPath = "/api/v1/tags/hosts/{host_name}".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "TagsApi.createHostTags").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (source !== undefined) { + requestContext.setQueryParam("source", ObjectSerializer_1.ObjectSerializer.serialize(source, "string", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "HostTags", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + TagsApiRequestFactory.prototype.deleteHostTags = function (hostName, source, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling deleteHostTags."); + } + localVarPath = "/api/v1/tags/hosts/{host_name}".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "TagsApi.deleteHostTags").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (source !== undefined) { + requestContext.setQueryParam("source", ObjectSerializer_1.ObjectSerializer.serialize(source, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + TagsApiRequestFactory.prototype.getHostTags = function (hostName, source, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling getHostTags."); + } + localVarPath = "/api/v1/tags/hosts/{host_name}".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "TagsApi.getHostTags").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (source !== undefined) { + requestContext.setQueryParam("source", ObjectSerializer_1.ObjectSerializer.serialize(source, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + TagsApiRequestFactory.prototype.listHostTags = function (source, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/tags/hosts"; + requestContext = (0, configuration_1.getServer)(_config, "TagsApi.listHostTags").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (source !== undefined) { + requestContext.setQueryParam("source", ObjectSerializer_1.ObjectSerializer.serialize(source, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + TagsApiRequestFactory.prototype.updateHostTags = function (hostName, body, source, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'hostName' is not null or undefined + if (hostName === null || hostName === undefined) { + throw new baseapi_1.RequiredError("Required parameter hostName was null or undefined when calling updateHostTags."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateHostTags."); + } + localVarPath = "/api/v1/tags/hosts/{host_name}".replace("{" + "host_name" + "}", encodeURIComponent(String(hostName))); + requestContext = (0, configuration_1.getServer)(_config, "TagsApi.updateHostTags").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (source !== undefined) { + requestContext.setQueryParam("source", ObjectSerializer_1.ObjectSerializer.serialize(source, "string", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "HostTags", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return TagsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.TagsApiRequestFactory = TagsApiRequestFactory; +var TagsApiResponseProcessor = /** @class */ (function () { + function TagsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createHostTags + * @throws ApiException if the response code was not in [200, 299] + */ + TagsApiResponseProcessor.prototype.createHostTags = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteHostTags + * @throws ApiException if the response code was not in [200, 299] + */ + TagsApiResponseProcessor.prototype.deleteHostTags = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_6); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_9]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getHostTags + * @throws ApiException if the response code was not in [200, 299] + */ + TagsApiResponseProcessor.prototype.getHostTags = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_10]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_14]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listHostTags + * @throws ApiException if the response code was not in [200, 299] + */ + TagsApiResponseProcessor.prototype.listHostTags = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "TagToHosts", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "TagToHosts", + ""]); + return [2 /*return*/, body_19]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateHostTags + * @throws ApiException if the response code was not in [200, 299] + */ + TagsApiResponseProcessor.prototype.updateHostTags = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "HostTags", + ""]); + return [2 /*return*/, body_24]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return TagsApiResponseProcessor; +}()); +exports.TagsApiResponseProcessor = TagsApiResponseProcessor; +var TagsApi = /** @class */ (function () { + function TagsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new TagsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new TagsApiResponseProcessor(); + } + /** + * This endpoint allows you to add new tags to a host, optionally specifying where these tags come from. + * @param param The request object + */ + TagsApi.prototype.createHostTags = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createHostTags(param.hostName, param.body, param.source, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createHostTags(responseContext); + }); + }); + }; + /** + * This endpoint allows you to remove all user-assigned tags for a single host. + * @param param The request object + */ + TagsApi.prototype.deleteHostTags = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteHostTags(param.hostName, param.source, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteHostTags(responseContext); + }); + }); + }; + /** + * Return the list of tags that apply to a given host. + * @param param The request object + */ + TagsApi.prototype.getHostTags = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getHostTags(param.hostName, param.source, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getHostTags(responseContext); + }); + }); + }; + /** + * Return a mapping of tags to hosts for your whole infrastructure. + * @param param The request object + */ + TagsApi.prototype.listHostTags = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listHostTags(param.source, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listHostTags(responseContext); + }); + }); + }; + /** + * This endpoint allows you to update/replace all tags in an integration source with those supplied in the request. + * @param param The request object + */ + TagsApi.prototype.updateHostTags = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateHostTags(param.hostName, param.body, param.source, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateHostTags(responseContext); + }); + }); + }; + return TagsApi; +}()); +exports.TagsApi = TagsApi; +//# sourceMappingURL=TagsApi.js.map + +/***/ }), + +/***/ 69255: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageMeteringApi = exports.UsageMeteringApiResponseProcessor = exports.UsageMeteringApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var UsageMeteringApiRequestFactory = /** @class */ (function (_super) { + __extends(UsageMeteringApiRequestFactory, _super); + function UsageMeteringApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + UsageMeteringApiRequestFactory.prototype.getDailyCustomReports = function (pageSize, pageNumber, sortDir, sort, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getDailyCustomReports'"); + if (!_config.unstableOperations["getDailyCustomReports"]) { + throw new Error("Unstable operation 'getDailyCustomReports' is disabled"); + } + localVarPath = "/api/v1/daily_custom_reports"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getDailyCustomReports").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sortDir !== undefined) { + requestContext.setQueryParam("sort_dir", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, "UsageSortDirection", "")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "UsageSort", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getHourlyUsageAttribution = function (startHr, usageType, endHr, nextRecordId, tagBreakdownKeys, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getHourlyUsageAttribution'"); + if (!_config.unstableOperations["getHourlyUsageAttribution"]) { + throw new Error("Unstable operation 'getHourlyUsageAttribution' is disabled"); + } + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getHourlyUsageAttribution."); + } + // verify required parameter 'usageType' is not null or undefined + if (usageType === null || usageType === undefined) { + throw new baseapi_1.RequiredError("Required parameter usageType was null or undefined when calling getHourlyUsageAttribution."); + } + localVarPath = "/api/v1/usage/hourly-attribution"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getHourlyUsageAttribution").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + if (usageType !== undefined) { + requestContext.setQueryParam("usage_type", ObjectSerializer_1.ObjectSerializer.serialize(usageType, "HourlyUsageAttributionUsageType", "")); + } + if (nextRecordId !== undefined) { + requestContext.setQueryParam("next_record_id", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, "string", "")); + } + if (tagBreakdownKeys !== undefined) { + requestContext.setQueryParam("tag_breakdown_keys", ObjectSerializer_1.ObjectSerializer.serialize(tagBreakdownKeys, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getIncidentManagement = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getIncidentManagement."); + } + localVarPath = "/api/v1/usage/incident-management"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getIncidentManagement").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getIngestedSpans = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getIngestedSpans."); + } + localVarPath = "/api/v1/usage/ingested-spans"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getIngestedSpans").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getMonthlyCustomReports = function (pageSize, pageNumber, sortDir, sort, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getMonthlyCustomReports'"); + if (!_config.unstableOperations["getMonthlyCustomReports"]) { + throw new Error("Unstable operation 'getMonthlyCustomReports' is disabled"); + } + localVarPath = "/api/v1/monthly_custom_reports"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getMonthlyCustomReports").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sortDir !== undefined) { + requestContext.setQueryParam("sort_dir", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, "UsageSortDirection", "")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "UsageSort", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getMonthlyUsageAttribution = function (startMonth, fields, endMonth, sortDirection, sortName, tagBreakdownKeys, nextRecordId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getMonthlyUsageAttribution'"); + if (!_config.unstableOperations["getMonthlyUsageAttribution"]) { + throw new Error("Unstable operation 'getMonthlyUsageAttribution' is disabled"); + } + // verify required parameter 'startMonth' is not null or undefined + if (startMonth === null || startMonth === undefined) { + throw new baseapi_1.RequiredError("Required parameter startMonth was null or undefined when calling getMonthlyUsageAttribution."); + } + // verify required parameter 'fields' is not null or undefined + if (fields === null || fields === undefined) { + throw new baseapi_1.RequiredError("Required parameter fields was null or undefined when calling getMonthlyUsageAttribution."); + } + localVarPath = "/api/v1/usage/monthly-attribution"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getMonthlyUsageAttribution").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startMonth !== undefined) { + requestContext.setQueryParam("start_month", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, "Date", "date-time")); + } + if (endMonth !== undefined) { + requestContext.setQueryParam("end_month", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, "Date", "date-time")); + } + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer_1.ObjectSerializer.serialize(fields, "MonthlyUsageAttributionSupportedMetrics", "")); + } + if (sortDirection !== undefined) { + requestContext.setQueryParam("sort_direction", ObjectSerializer_1.ObjectSerializer.serialize(sortDirection, "UsageSortDirection", "")); + } + if (sortName !== undefined) { + requestContext.setQueryParam("sort_name", ObjectSerializer_1.ObjectSerializer.serialize(sortName, "MonthlyUsageAttributionSupportedMetrics", "")); + } + if (tagBreakdownKeys !== undefined) { + requestContext.setQueryParam("tag_breakdown_keys", ObjectSerializer_1.ObjectSerializer.serialize(tagBreakdownKeys, "string", "")); + } + if (nextRecordId !== undefined) { + requestContext.setQueryParam("next_record_id", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getSpecifiedDailyCustomReports = function (reportId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getSpecifiedDailyCustomReports'"); + if (!_config.unstableOperations["getSpecifiedDailyCustomReports"]) { + throw new Error("Unstable operation 'getSpecifiedDailyCustomReports' is disabled"); + } + // verify required parameter 'reportId' is not null or undefined + if (reportId === null || reportId === undefined) { + throw new baseapi_1.RequiredError("Required parameter reportId was null or undefined when calling getSpecifiedDailyCustomReports."); + } + localVarPath = "/api/v1/daily_custom_reports/{report_id}".replace("{" + "report_id" + "}", encodeURIComponent(String(reportId))); + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getSpecifiedDailyCustomReports").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getSpecifiedMonthlyCustomReports = function (reportId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getSpecifiedMonthlyCustomReports'"); + if (!_config.unstableOperations["getSpecifiedMonthlyCustomReports"]) { + throw new Error("Unstable operation 'getSpecifiedMonthlyCustomReports' is disabled"); + } + // verify required parameter 'reportId' is not null or undefined + if (reportId === null || reportId === undefined) { + throw new baseapi_1.RequiredError("Required parameter reportId was null or undefined when calling getSpecifiedMonthlyCustomReports."); + } + localVarPath = "/api/v1/monthly_custom_reports/{report_id}".replace("{" + "report_id" + "}", encodeURIComponent(String(reportId))); + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getSpecifiedMonthlyCustomReports").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageAnalyzedLogs = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageAnalyzedLogs."); + } + localVarPath = "/api/v1/usage/analyzed_logs"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageAnalyzedLogs").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageAttribution = function (startMonth, fields, endMonth, sortDirection, sortName, includeDescendants, offset, limit, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getUsageAttribution'"); + if (!_config.unstableOperations["getUsageAttribution"]) { + throw new Error("Unstable operation 'getUsageAttribution' is disabled"); + } + // verify required parameter 'startMonth' is not null or undefined + if (startMonth === null || startMonth === undefined) { + throw new baseapi_1.RequiredError("Required parameter startMonth was null or undefined when calling getUsageAttribution."); + } + // verify required parameter 'fields' is not null or undefined + if (fields === null || fields === undefined) { + throw new baseapi_1.RequiredError("Required parameter fields was null or undefined when calling getUsageAttribution."); + } + localVarPath = "/api/v1/usage/attribution"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageAttribution").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startMonth !== undefined) { + requestContext.setQueryParam("start_month", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, "Date", "date-time")); + } + if (fields !== undefined) { + requestContext.setQueryParam("fields", ObjectSerializer_1.ObjectSerializer.serialize(fields, "UsageAttributionSupportedMetrics", "")); + } + if (endMonth !== undefined) { + requestContext.setQueryParam("end_month", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, "Date", "date-time")); + } + if (sortDirection !== undefined) { + requestContext.setQueryParam("sort_direction", ObjectSerializer_1.ObjectSerializer.serialize(sortDirection, "UsageSortDirection", "")); + } + if (sortName !== undefined) { + requestContext.setQueryParam("sort_name", ObjectSerializer_1.ObjectSerializer.serialize(sortName, "UsageAttributionSort", "")); + } + if (includeDescendants !== undefined) { + requestContext.setQueryParam("include_descendants", ObjectSerializer_1.ObjectSerializer.serialize(includeDescendants, "boolean", "")); + } + if (offset !== undefined) { + requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", "int64")); + } + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageAuditLogs = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageAuditLogs."); + } + localVarPath = "/api/v1/usage/audit_logs"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageAuditLogs").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageBillableSummary = function (month, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/usage/billable-summary"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageBillableSummary").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (month !== undefined) { + requestContext.setQueryParam("month", ObjectSerializer_1.ObjectSerializer.serialize(month, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageCWS = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageCWS."); + } + localVarPath = "/api/v1/usage/cws"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageCWS").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageCloudSecurityPostureManagement = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageCloudSecurityPostureManagement."); + } + localVarPath = "/api/v1/usage/cspm"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageCloudSecurityPostureManagement").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageDBM = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageDBM."); + } + localVarPath = "/api/v1/usage/dbm"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageDBM").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageFargate = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageFargate."); + } + localVarPath = "/api/v1/usage/fargate"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageFargate").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageHosts = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageHosts."); + } + localVarPath = "/api/v1/usage/hosts"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageHosts").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageIndexedSpans = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageIndexedSpans."); + } + localVarPath = "/api/v1/usage/indexed-spans"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageIndexedSpans").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageInternetOfThings = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageInternetOfThings."); + } + localVarPath = "/api/v1/usage/iot"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageInternetOfThings").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageLambda = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageLambda."); + } + localVarPath = "/api/v1/usage/aws_lambda"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageLambda").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageLogs = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageLogs."); + } + localVarPath = "/api/v1/usage/logs"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageLogs").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageLogsByIndex = function (startHr, endHr, indexName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageLogsByIndex."); + } + localVarPath = "/api/v1/usage/logs_by_index"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageLogsByIndex").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + if (indexName !== undefined) { + requestContext.setQueryParam("index_name", ObjectSerializer_1.ObjectSerializer.serialize(indexName, "Array", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageLogsByRetention = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageLogsByRetention."); + } + localVarPath = "/api/v1/usage/logs-by-retention"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageLogsByRetention").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageNetworkFlows = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageNetworkFlows."); + } + localVarPath = "/api/v1/usage/network_flows"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageNetworkFlows").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageNetworkHosts = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageNetworkHosts."); + } + localVarPath = "/api/v1/usage/network_hosts"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageNetworkHosts").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageProfiling = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageProfiling."); + } + localVarPath = "/api/v1/usage/profiling"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageProfiling").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageRumSessions = function (startHr, endHr, type, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageRumSessions."); + } + localVarPath = "/api/v1/usage/rum_sessions"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageRumSessions").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + if (type !== undefined) { + requestContext.setQueryParam("type", ObjectSerializer_1.ObjectSerializer.serialize(type, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageRumUnits = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageRumUnits."); + } + localVarPath = "/api/v1/usage/rum"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageRumUnits").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSDS = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageSDS."); + } + localVarPath = "/api/v1/usage/sds"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSDS").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSNMP = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageSNMP."); + } + localVarPath = "/api/v1/usage/snmp"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSNMP").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSummary = function (startMonth, endMonth, includeOrgDetails, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startMonth' is not null or undefined + if (startMonth === null || startMonth === undefined) { + throw new baseapi_1.RequiredError("Required parameter startMonth was null or undefined when calling getUsageSummary."); + } + localVarPath = "/api/v1/usage/summary"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSummary").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startMonth !== undefined) { + requestContext.setQueryParam("start_month", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, "Date", "date-time")); + } + if (endMonth !== undefined) { + requestContext.setQueryParam("end_month", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, "Date", "date-time")); + } + if (includeOrgDetails !== undefined) { + requestContext.setQueryParam("include_org_details", ObjectSerializer_1.ObjectSerializer.serialize(includeOrgDetails, "boolean", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSynthetics = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageSynthetics."); + } + localVarPath = "/api/v1/usage/synthetics"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSynthetics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSyntheticsAPI = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageSyntheticsAPI."); + } + localVarPath = "/api/v1/usage/synthetics_api"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSyntheticsAPI").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageSyntheticsBrowser = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageSyntheticsBrowser."); + } + localVarPath = "/api/v1/usage/synthetics_browser"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageSyntheticsBrowser").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageTimeseries = function (startHr, endHr, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'startHr' is not null or undefined + if (startHr === null || startHr === undefined) { + throw new baseapi_1.RequiredError("Required parameter startHr was null or undefined when calling getUsageTimeseries."); + } + localVarPath = "/api/v1/usage/timeseries"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageTimeseries").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (startHr !== undefined) { + requestContext.setQueryParam("start_hr", ObjectSerializer_1.ObjectSerializer.serialize(startHr, "Date", "date-time")); + } + if (endHr !== undefined) { + requestContext.setQueryParam("end_hr", ObjectSerializer_1.ObjectSerializer.serialize(endHr, "Date", "date-time")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsageMeteringApiRequestFactory.prototype.getUsageTopAvgMetrics = function (month, day, names, limit, nextRecordId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/usage/top_avg_metrics"; + requestContext = (0, configuration_1.getServer)(_config, "UsageMeteringApi.getUsageTopAvgMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json;datetime-format=rfc3339"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (month !== undefined) { + requestContext.setQueryParam("month", ObjectSerializer_1.ObjectSerializer.serialize(month, "Date", "date-time")); + } + if (day !== undefined) { + requestContext.setQueryParam("day", ObjectSerializer_1.ObjectSerializer.serialize(day, "Date", "date-time")); + } + if (names !== undefined) { + requestContext.setQueryParam("names", ObjectSerializer_1.ObjectSerializer.serialize(names, "Array", "")); + } + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32")); + } + if (nextRecordId !== undefined) { + requestContext.setQueryParam("next_record_id", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return UsageMeteringApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.UsageMeteringApiRequestFactory = UsageMeteringApiRequestFactory; +var UsageMeteringApiResponseProcessor = /** @class */ (function () { + function UsageMeteringApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getDailyCustomReports + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getDailyCustomReports = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "UsageCustomReportsResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_3); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "UsageCustomReportsResponse", + ""]); + return [2 /*return*/, body_4]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getHourlyUsageAttribution + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getHourlyUsageAttribution = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_5 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "HourlyUsageAttributionResponse", + ""]); + return [2 /*return*/, body_5]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_6 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_6); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_7 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_7); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_8 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "HourlyUsageAttributionResponse", + ""]); + return [2 /*return*/, body_8]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIncidentManagement + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getIncidentManagement = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_9, _a, _b, _c, _d, body_10, _e, _f, _g, _h, body_11, _j, _k, _l, _m, body_12, _o, _p, _q, _r, body_13, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_9 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageIncidentManagementResponse", + ""]); + return [2 /*return*/, body_9]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_10 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_10); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_11 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_12 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_12); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_13 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageIncidentManagementResponse", + ""]); + return [2 /*return*/, body_13]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIngestedSpans + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getIngestedSpans = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_14 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageIngestedSpansResponse", + ""]); + return [2 /*return*/, body_14]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_15 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_15); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_16 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_17 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_18 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageIngestedSpansResponse", + ""]); + return [2 /*return*/, body_18]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getMonthlyCustomReports + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getMonthlyCustomReports = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "UsageCustomReportsResponse", + ""]); + return [2 /*return*/, body_19]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "UsageCustomReportsResponse", + ""]); + return [2 /*return*/, body_22]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getMonthlyUsageAttribution + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getMonthlyUsageAttribution = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "MonthlyUsageAttributionResponse", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_25); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "MonthlyUsageAttributionResponse", + ""]); + return [2 /*return*/, body_26]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSpecifiedDailyCustomReports + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getSpecifiedDailyCustomReports = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_27, _a, _b, _c, _d, body_28, _e, _f, _g, _h, body_29, _j, _k, _l, _m, body_30, _o, _p, _q, _r, body_31, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_27 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSpecifiedCustomReportsResponse", + ""]); + return [2 /*return*/, body_27]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_28 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_28); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_29 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_29); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_30 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_30); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_31 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSpecifiedCustomReportsResponse", + ""]); + return [2 /*return*/, body_31]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSpecifiedMonthlyCustomReports + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getSpecifiedMonthlyCustomReports = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_32, _a, _b, _c, _d, body_33, _e, _f, _g, _h, body_34, _j, _k, _l, _m, body_35, _o, _p, _q, _r, body_36, _s, _t, _u, _v, body_37, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_32 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UsageSpecifiedCustomReportsResponse", + ""]); + return [2 /*return*/, body_32]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_33 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_33); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_34 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_34); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_35 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_35); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_36 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_36); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_37 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UsageSpecifiedCustomReportsResponse", + ""]); + return [2 /*return*/, body_37]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageAnalyzedLogs + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageAnalyzedLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_38, _a, _b, _c, _d, body_39, _e, _f, _g, _h, body_40, _j, _k, _l, _m, body_41, _o, _p, _q, _r, body_42, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_38 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageAnalyzedLogsResponse", + ""]); + return [2 /*return*/, body_38]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_39 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_39); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_40 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_40); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_41 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_41); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_42 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageAnalyzedLogsResponse", + ""]); + return [2 /*return*/, body_42]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageAttribution + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageAttribution = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_43, _a, _b, _c, _d, body_44, _e, _f, _g, _h, body_45, _j, _k, _l, _m, body_46, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_43 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "UsageAttributionResponse", + ""]); + return [2 /*return*/, body_43]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_44 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_44); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_45 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_46 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "UsageAttributionResponse", + ""]); + return [2 /*return*/, body_46]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageAuditLogs + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageAuditLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageAuditLogsResponse", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_50); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageAuditLogsResponse", + ""]); + return [2 /*return*/, body_51]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageBillableSummary + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageBillableSummary = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_52, _a, _b, _c, _d, body_53, _e, _f, _g, _h, body_54, _j, _k, _l, _m, body_55, _o, _p, _q, _r, body_56, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_52 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageBillableSummaryResponse", + ""]); + return [2 /*return*/, body_52]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_53 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_53); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_54 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_54); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_55 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_55); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_56 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageBillableSummaryResponse", + ""]); + return [2 /*return*/, body_56]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageCWS + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageCWS = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_57, _a, _b, _c, _d, body_58, _e, _f, _g, _h, body_59, _j, _k, _l, _m, body_60, _o, _p, _q, _r, body_61, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_57 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageCWSResponse", + ""]); + return [2 /*return*/, body_57]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_58 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_58); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_59 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_59); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_60 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_60); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_61 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageCWSResponse", + ""]); + return [2 /*return*/, body_61]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageCloudSecurityPostureManagement + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageCloudSecurityPostureManagement = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_62 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageCloudSecurityPostureManagementResponse", + ""]); + return [2 /*return*/, body_62]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_63 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_63); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_64 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_64); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_65 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_65); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_66 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageCloudSecurityPostureManagementResponse", + ""]); + return [2 /*return*/, body_66]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageDBM + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageDBM = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_67, _a, _b, _c, _d, body_68, _e, _f, _g, _h, body_69, _j, _k, _l, _m, body_70, _o, _p, _q, _r, body_71, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_67 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageDBMResponse", + ""]); + return [2 /*return*/, body_67]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_68 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_68); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_69 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_69); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_70 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_70); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_71 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageDBMResponse", + ""]); + return [2 /*return*/, body_71]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageFargate + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageFargate = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_72, _a, _b, _c, _d, body_73, _e, _f, _g, _h, body_74, _j, _k, _l, _m, body_75, _o, _p, _q, _r, body_76, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_72 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageFargateResponse", + ""]); + return [2 /*return*/, body_72]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_73 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_73); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_74 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_74); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_75 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_75); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_76 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageFargateResponse", + ""]); + return [2 /*return*/, body_76]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageHosts + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageHosts = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_77, _a, _b, _c, _d, body_78, _e, _f, _g, _h, body_79, _j, _k, _l, _m, body_80, _o, _p, _q, _r, body_81, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_77 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageHostsResponse", + ""]); + return [2 /*return*/, body_77]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_78 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_78); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_79 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_79); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_80 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_80); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_81 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageHostsResponse", + ""]); + return [2 /*return*/, body_81]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageIndexedSpans + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageIndexedSpans = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_82, _a, _b, _c, _d, body_83, _e, _f, _g, _h, body_84, _j, _k, _l, _m, body_85, _o, _p, _q, _r, body_86, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_82 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageIndexedSpansResponse", + ""]); + return [2 /*return*/, body_82]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_83 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_83); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_84 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_84); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_85 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_85); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_86 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageIndexedSpansResponse", + ""]); + return [2 /*return*/, body_86]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageInternetOfThings + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageInternetOfThings = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_87, _a, _b, _c, _d, body_88, _e, _f, _g, _h, body_89, _j, _k, _l, _m, body_90, _o, _p, _q, _r, body_91, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_87 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageIoTResponse", + ""]); + return [2 /*return*/, body_87]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_88 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_88); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_89 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_89); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_90 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_90); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_91 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageIoTResponse", + ""]); + return [2 /*return*/, body_91]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageLambda + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageLambda = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_92, _a, _b, _c, _d, body_93, _e, _f, _g, _h, body_94, _j, _k, _l, _m, body_95, _o, _p, _q, _r, body_96, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_92 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageLambdaResponse", + ""]); + return [2 /*return*/, body_92]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_93 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_93); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_94 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_94); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_95 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_95); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_96 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageLambdaResponse", + ""]); + return [2 /*return*/, body_96]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageLogs + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_97, _a, _b, _c, _d, body_98, _e, _f, _g, _h, body_99, _j, _k, _l, _m, body_100, _o, _p, _q, _r, body_101, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_97 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageLogsResponse", + ""]); + return [2 /*return*/, body_97]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_98 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_98); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_99 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_99); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_100 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_100); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_101 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageLogsResponse", + ""]); + return [2 /*return*/, body_101]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageLogsByIndex + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageLogsByIndex = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_102, _a, _b, _c, _d, body_103, _e, _f, _g, _h, body_104, _j, _k, _l, _m, body_105, _o, _p, _q, _r, body_106, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_102 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageLogsByIndexResponse", + ""]); + return [2 /*return*/, body_102]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_103 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_103); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_104 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_104); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_105 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_105); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_106 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageLogsByIndexResponse", + ""]); + return [2 /*return*/, body_106]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageLogsByRetention + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageLogsByRetention = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_107, _a, _b, _c, _d, body_108, _e, _f, _g, _h, body_109, _j, _k, _l, _m, body_110, _o, _p, _q, _r, body_111, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_107 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageLogsByRetentionResponse", + ""]); + return [2 /*return*/, body_107]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_108 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_108); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_109 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_109); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_110 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_110); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_111 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageLogsByRetentionResponse", + ""]); + return [2 /*return*/, body_111]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageNetworkFlows + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageNetworkFlows = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_112, _a, _b, _c, _d, body_113, _e, _f, _g, _h, body_114, _j, _k, _l, _m, body_115, _o, _p, _q, _r, body_116, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_112 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageNetworkFlowsResponse", + ""]); + return [2 /*return*/, body_112]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_113 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_113); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_114 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_114); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_115 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_115); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_116 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageNetworkFlowsResponse", + ""]); + return [2 /*return*/, body_116]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageNetworkHosts + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageNetworkHosts = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_117, _a, _b, _c, _d, body_118, _e, _f, _g, _h, body_119, _j, _k, _l, _m, body_120, _o, _p, _q, _r, body_121, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_117 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageNetworkHostsResponse", + ""]); + return [2 /*return*/, body_117]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_118 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_118); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_119 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_119); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_120 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_120); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_121 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageNetworkHostsResponse", + ""]); + return [2 /*return*/, body_121]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageProfiling + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageProfiling = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_122, _a, _b, _c, _d, body_123, _e, _f, _g, _h, body_124, _j, _k, _l, _m, body_125, _o, _p, _q, _r, body_126, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_122 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageProfilingResponse", + ""]); + return [2 /*return*/, body_122]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_123 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_123); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_124 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_124); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_125 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_125); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_126 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageProfilingResponse", + ""]); + return [2 /*return*/, body_126]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageRumSessions + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageRumSessions = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_127, _a, _b, _c, _d, body_128, _e, _f, _g, _h, body_129, _j, _k, _l, _m, body_130, _o, _p, _q, _r, body_131, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_127 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageRumSessionsResponse", + ""]); + return [2 /*return*/, body_127]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_128 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_128); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_129 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_129); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_130 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_130); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_131 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageRumSessionsResponse", + ""]); + return [2 /*return*/, body_131]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageRumUnits + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageRumUnits = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_132, _a, _b, _c, _d, body_133, _e, _f, _g, _h, body_134, _j, _k, _l, _m, body_135, _o, _p, _q, _r, body_136, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_132 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageRumUnitsResponse", + ""]); + return [2 /*return*/, body_132]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_133 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_133); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_134 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_134); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_135 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_135); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_136 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageRumUnitsResponse", + ""]); + return [2 /*return*/, body_136]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSDS + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSDS = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_137, _a, _b, _c, _d, body_138, _e, _f, _g, _h, body_139, _j, _k, _l, _m, body_140, _o, _p, _q, _r, body_141, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_137 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSDSResponse", + ""]); + return [2 /*return*/, body_137]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_138 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_138); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_139 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_139); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_140 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_140); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_141 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSDSResponse", + ""]); + return [2 /*return*/, body_141]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSNMP + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSNMP = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_142, _a, _b, _c, _d, body_143, _e, _f, _g, _h, body_144, _j, _k, _l, _m, body_145, _o, _p, _q, _r, body_146, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_142 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSNMPResponse", + ""]); + return [2 /*return*/, body_142]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_143 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_143); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_144 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_144); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_145 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_145); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_146 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSNMPResponse", + ""]); + return [2 /*return*/, body_146]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSummary + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSummary = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_147, _a, _b, _c, _d, body_148, _e, _f, _g, _h, body_149, _j, _k, _l, _m, body_150, _o, _p, _q, _r, body_151, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_147 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSummaryResponse", + ""]); + return [2 /*return*/, body_147]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_148 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_148); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_149 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_149); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_150 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_150); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_151 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSummaryResponse", + ""]); + return [2 /*return*/, body_151]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSynthetics + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSynthetics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_152, _a, _b, _c, _d, body_153, _e, _f, _g, _h, body_154, _j, _k, _l, _m, body_155, _o, _p, _q, _r, body_156, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_152 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSyntheticsResponse", + ""]); + return [2 /*return*/, body_152]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_153 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_153); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_154 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_154); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_155 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_155); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_156 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSyntheticsResponse", + ""]); + return [2 /*return*/, body_156]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSyntheticsAPI + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsAPI = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_157, _a, _b, _c, _d, body_158, _e, _f, _g, _h, body_159, _j, _k, _l, _m, body_160, _o, _p, _q, _r, body_161, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_157 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSyntheticsAPIResponse", + ""]); + return [2 /*return*/, body_157]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_158 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_158); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_159 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_159); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_160 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_160); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_161 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSyntheticsAPIResponse", + ""]); + return [2 /*return*/, body_161]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageSyntheticsBrowser + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsBrowser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_162, _a, _b, _c, _d, body_163, _e, _f, _g, _h, body_164, _j, _k, _l, _m, body_165, _o, _p, _q, _r, body_166, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_162 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageSyntheticsBrowserResponse", + ""]); + return [2 /*return*/, body_162]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_163 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_163); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_164 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_164); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_165 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_165); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_166 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageSyntheticsBrowserResponse", + ""]); + return [2 /*return*/, body_166]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageTimeseries + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageTimeseries = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_167, _a, _b, _c, _d, body_168, _e, _f, _g, _h, body_169, _j, _k, _l, _m, body_170, _o, _p, _q, _r, body_171, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_167 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageTimeseriesResponse", + ""]); + return [2 /*return*/, body_167]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_168 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_168); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_169 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_169); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_170 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_170); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_171 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageTimeseriesResponse", + ""]); + return [2 /*return*/, body_171]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUsageTopAvgMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + UsageMeteringApiResponseProcessor.prototype.getUsageTopAvgMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_172, _a, _b, _c, _d, body_173, _e, _f, _g, _h, body_174, _j, _k, _l, _m, body_175, _o, _p, _q, _r, body_176, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_172 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsageTopAvgMetricsResponse", + ""]); + return [2 /*return*/, body_172]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_173 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_173); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_174 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_174); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_175 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_175); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_176 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsageTopAvgMetricsResponse", + ""]); + return [2 /*return*/, body_176]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return UsageMeteringApiResponseProcessor; +}()); +exports.UsageMeteringApiResponseProcessor = UsageMeteringApiResponseProcessor; +var UsageMeteringApi = /** @class */ (function () { + function UsageMeteringApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new UsageMeteringApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new UsageMeteringApiResponseProcessor(); + } + /** + * Get daily custom reports. + * @param param The request object + */ + UsageMeteringApi.prototype.getDailyCustomReports = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.getDailyCustomReports(param.pageSize, param.pageNumber, param.sortDir, param.sort, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getDailyCustomReports(responseContext); + }); + }); + }; + /** + * Get Hourly Usage Attribution. + * @param param The request object + */ + UsageMeteringApi.prototype.getHourlyUsageAttribution = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getHourlyUsageAttribution(param.startHr, param.usageType, param.endHr, param.nextRecordId, param.tagBreakdownKeys, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getHourlyUsageAttribution(responseContext); + }); + }); + }; + /** + * Get hourly usage for incident management. + * @param param The request object + */ + UsageMeteringApi.prototype.getIncidentManagement = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIncidentManagement(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIncidentManagement(responseContext); + }); + }); + }; + /** + * Get hourly usage for ingested spans. + * @param param The request object + */ + UsageMeteringApi.prototype.getIngestedSpans = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIngestedSpans(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIngestedSpans(responseContext); + }); + }); + }; + /** + * Get monthly custom reports. + * @param param The request object + */ + UsageMeteringApi.prototype.getMonthlyCustomReports = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.getMonthlyCustomReports(param.pageSize, param.pageNumber, param.sortDir, param.sort, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getMonthlyCustomReports(responseContext); + }); + }); + }; + /** + * Get Monthly Usage Attribution. + * @param param The request object + */ + UsageMeteringApi.prototype.getMonthlyUsageAttribution = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getMonthlyUsageAttribution(param.startMonth, param.fields, param.endMonth, param.sortDirection, param.sortName, param.tagBreakdownKeys, param.nextRecordId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getMonthlyUsageAttribution(responseContext); + }); + }); + }; + /** + * Get specified daily custom reports. + * @param param The request object + */ + UsageMeteringApi.prototype.getSpecifiedDailyCustomReports = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSpecifiedDailyCustomReports(param.reportId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSpecifiedDailyCustomReports(responseContext); + }); + }); + }; + /** + * Get specified monthly custom reports. + * @param param The request object + */ + UsageMeteringApi.prototype.getSpecifiedMonthlyCustomReports = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSpecifiedMonthlyCustomReports(param.reportId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSpecifiedMonthlyCustomReports(responseContext); + }); + }); + }; + /** + * Get hourly usage for analyzed logs (Security Monitoring). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageAnalyzedLogs = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageAnalyzedLogs(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageAnalyzedLogs(responseContext); + }); + }); + }; + /** + * Get Usage Attribution. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageAttribution = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageAttribution(param.startMonth, param.fields, param.endMonth, param.sortDirection, param.sortName, param.includeDescendants, param.offset, param.limit, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageAttribution(responseContext); + }); + }); + }; + /** + * Get hourly usage for audit logs. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageAuditLogs = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageAuditLogs(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageAuditLogs(responseContext); + }); + }); + }; + /** + * Get billable usage across your account. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageBillableSummary = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.getUsageBillableSummary(param.month, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageBillableSummary(responseContext); + }); + }); + }; + /** + * Get hourly usage for Cloud Workload Security. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageCWS = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageCWS(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageCWS(responseContext); + }); + }); + }; + /** + * Get hourly usage for Cloud Security Posture Management (CSPM). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageCloudSecurityPostureManagement = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageCloudSecurityPostureManagement(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageCloudSecurityPostureManagement(responseContext); + }); + }); + }; + /** + * Get hourly usage for Database Monitoring + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageDBM = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageDBM(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageDBM(responseContext); + }); + }); + }; + /** + * Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageFargate = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageFargate(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageFargate(responseContext); + }); + }); + }; + /** + * Get hourly usage for hosts and containers. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageHosts = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageHosts(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageHosts(responseContext); + }); + }); + }; + /** + * Get hourly usage for indexed spans. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageIndexedSpans = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageIndexedSpans(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageIndexedSpans(responseContext); + }); + }); + }; + /** + * Get hourly usage for IoT. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageInternetOfThings = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageInternetOfThings(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageInternetOfThings(responseContext); + }); + }); + }; + /** + * Get hourly usage for lambda. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageLambda = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageLambda(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageLambda(responseContext); + }); + }); + }; + /** + * Get hourly usage for logs. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageLogs = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageLogs(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageLogs(responseContext); + }); + }); + }; + /** + * Get hourly usage for logs by index. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageLogsByIndex = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageLogsByIndex(param.startHr, param.endHr, param.indexName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageLogsByIndex(responseContext); + }); + }); + }; + /** + * Get hourly usage for indexed logs by retention period. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageLogsByRetention = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageLogsByRetention(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageLogsByRetention(responseContext); + }); + }); + }; + /** + * Get hourly usage for network flows. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageNetworkFlows = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageNetworkFlows(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageNetworkFlows(responseContext); + }); + }); + }; + /** + * Get hourly usage for network hosts. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageNetworkHosts = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageNetworkHosts(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageNetworkHosts(responseContext); + }); + }); + }; + /** + * Get hourly usage for profiled hosts. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageProfiling = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageProfiling(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageProfiling(responseContext); + }); + }); + }; + /** + * Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageRumSessions = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageRumSessions(param.startHr, param.endHr, param.type, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageRumSessions(responseContext); + }); + }); + }; + /** + * Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageRumUnits = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageRumUnits(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageRumUnits(responseContext); + }); + }); + }; + /** + * Get hourly usage for Sensitive Data Scanner. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSDS = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSDS(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSDS(responseContext); + }); + }); + }; + /** + * Get hourly usage for SNMP devices. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSNMP = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSNMP(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSNMP(responseContext); + }); + }); + }; + /** + * Get usage across your multi-org account. You must have the multi-org feature enabled. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSummary = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSummary(param.startMonth, param.endMonth, param.includeOrgDetails, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSummary(responseContext); + }); + }); + }; + /** + * Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSynthetics = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSynthetics(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSynthetics(responseContext); + }); + }); + }; + /** + * Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSyntheticsAPI = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSyntheticsAPI(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSyntheticsAPI(responseContext); + }); + }); + }; + /** + * Get hourly usage for synthetics browser checks. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageSyntheticsBrowser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageSyntheticsBrowser(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageSyntheticsBrowser(responseContext); + }); + }); + }; + /** + * Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/). + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageTimeseries = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUsageTimeseries(param.startHr, param.endHr, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageTimeseries(responseContext); + }); + }); + }; + /** + * Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed. + * @param param The request object + */ + UsageMeteringApi.prototype.getUsageTopAvgMetrics = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.getUsageTopAvgMetrics(param.month, param.day, param.names, param.limit, param.nextRecordId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUsageTopAvgMetrics(responseContext); + }); + }); + }; + return UsageMeteringApi; +}()); +exports.UsageMeteringApi = UsageMeteringApi; +//# sourceMappingURL=UsageMeteringApi.js.map + +/***/ }), + +/***/ 56537: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsersApi = exports.UsersApiResponseProcessor = exports.UsersApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var UsersApiRequestFactory = /** @class */ (function (_super) { + __extends(UsersApiRequestFactory, _super); + function UsersApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + UsersApiRequestFactory.prototype.createUser = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createUser."); + } + localVarPath = "/api/v1/user"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.createUser").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "User", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.disableUser = function (userHandle, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userHandle' is not null or undefined + if (userHandle === null || userHandle === undefined) { + throw new baseapi_1.RequiredError("Required parameter userHandle was null or undefined when calling disableUser."); + } + localVarPath = "/api/v1/user/{user_handle}".replace("{" + "user_handle" + "}", encodeURIComponent(String(userHandle))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.disableUser").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.getUser = function (userHandle, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userHandle' is not null or undefined + if (userHandle === null || userHandle === undefined) { + throw new baseapi_1.RequiredError("Required parameter userHandle was null or undefined when calling getUser."); + } + localVarPath = "/api/v1/user/{user_handle}".replace("{" + "user_handle" + "}", encodeURIComponent(String(userHandle))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.getUser").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.listUsers = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v1/user"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.listUsers").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.updateUser = function (userHandle, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userHandle' is not null or undefined + if (userHandle === null || userHandle === undefined) { + throw new baseapi_1.RequiredError("Required parameter userHandle was null or undefined when calling updateUser."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateUser."); + } + localVarPath = "/api/v1/user/{user_handle}".replace("{" + "user_handle" + "}", encodeURIComponent(String(userHandle))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.updateUser").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "User", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return UsersApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.UsersApiRequestFactory = UsersApiRequestFactory; +var UsersApiResponseProcessor = /** @class */ (function () { + function UsersApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.createUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to disableUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.disableUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UserDisableResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_10); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_11); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UserDisableResponse", + ""]); + return [2 /*return*/, body_12]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.getUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_13 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_13]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_14 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_14); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_15 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_15); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_16 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_16); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_17 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_17]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listUsers + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.listUsers = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_18 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "UserListResponse", + ""]); + return [2 /*return*/, body_18]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_19 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_20 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_20); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_21 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "UserListResponse", + ""]); + return [2 /*return*/, body_21]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.updateUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body_26, _s, _t, _u, _v, body_27, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_22 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_22]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_23 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_23); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_24 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_25 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_26 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_27 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_27]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return UsersApiResponseProcessor; +}()); +exports.UsersApiResponseProcessor = UsersApiResponseProcessor; +var UsersApi = /** @class */ (function () { + function UsersApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new UsersApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new UsersApiResponseProcessor(); + } + /** + * Create a user for your organization. **Note**: Users can only be created with the admin access role if application keys belong to administrators. + * @param param The request object + */ + UsersApi.prototype.createUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createUser(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createUser(responseContext); + }); + }); + }; + /** + * Delete a user from an organization. **Note**: This endpoint can only be used with application keys belonging to administrators. + * @param param The request object + */ + UsersApi.prototype.disableUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.disableUser(param.userHandle, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.disableUser(responseContext); + }); + }); + }; + /** + * Get a user's details. + * @param param The request object + */ + UsersApi.prototype.getUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUser(param.userHandle, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUser(responseContext); + }); + }); + }; + /** + * List all users for your organization. + * @param param The request object + */ + UsersApi.prototype.listUsers = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listUsers(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listUsers(responseContext); + }); + }); + }; + /** + * Update a user information. **Note**: It can only be used with application keys belonging to administrators. + * @param param The request object + */ + UsersApi.prototype.updateUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateUser(param.userHandle, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateUser(responseContext); + }); + }); + }; + return UsersApi; +}()); +exports.UsersApi = UsersApi; +//# sourceMappingURL=UsersApi.js.map + +/***/ }), + +/***/ 80646: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegrationApi = exports.WebhooksIntegrationApiResponseProcessor = exports.WebhooksIntegrationApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(79019); +var configuration_1 = __nccwpck_require__(60116); +var http_1 = __nccwpck_require__(96572); +var ObjectSerializer_1 = __nccwpck_require__(52674); +var exception_1 = __nccwpck_require__(95599); +var util_1 = __nccwpck_require__(58107); +var WebhooksIntegrationApiRequestFactory = /** @class */ (function (_super) { + __extends(WebhooksIntegrationApiRequestFactory, _super); + function WebhooksIntegrationApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + WebhooksIntegrationApiRequestFactory.prototype.createWebhooksIntegration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createWebhooksIntegration."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/webhooks"; + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.createWebhooksIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "WebhooksIntegration", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.createWebhooksIntegrationCustomVariable = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createWebhooksIntegrationCustomVariable."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/custom-variables"; + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.createWebhooksIntegrationCustomVariable").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "WebhooksIntegrationCustomVariable", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.deleteWebhooksIntegration = function (webhookName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'webhookName' is not null or undefined + if (webhookName === null || webhookName === undefined) { + throw new baseapi_1.RequiredError("Required parameter webhookName was null or undefined when calling deleteWebhooksIntegration."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}".replace("{" + "webhook_name" + "}", encodeURIComponent(String(webhookName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.deleteWebhooksIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.deleteWebhooksIntegrationCustomVariable = function (customVariableName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'customVariableName' is not null or undefined + if (customVariableName === null || customVariableName === undefined) { + throw new baseapi_1.RequiredError("Required parameter customVariableName was null or undefined when calling deleteWebhooksIntegrationCustomVariable."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}".replace("{" + "custom_variable_name" + "}", encodeURIComponent(String(customVariableName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.deleteWebhooksIntegrationCustomVariable").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.getWebhooksIntegration = function (webhookName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'webhookName' is not null or undefined + if (webhookName === null || webhookName === undefined) { + throw new baseapi_1.RequiredError("Required parameter webhookName was null or undefined when calling getWebhooksIntegration."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}".replace("{" + "webhook_name" + "}", encodeURIComponent(String(webhookName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.getWebhooksIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.getWebhooksIntegrationCustomVariable = function (customVariableName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'customVariableName' is not null or undefined + if (customVariableName === null || customVariableName === undefined) { + throw new baseapi_1.RequiredError("Required parameter customVariableName was null or undefined when calling getWebhooksIntegrationCustomVariable."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}".replace("{" + "custom_variable_name" + "}", encodeURIComponent(String(customVariableName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.getWebhooksIntegrationCustomVariable").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.updateWebhooksIntegration = function (webhookName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'webhookName' is not null or undefined + if (webhookName === null || webhookName === undefined) { + throw new baseapi_1.RequiredError("Required parameter webhookName was null or undefined when calling updateWebhooksIntegration."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateWebhooksIntegration."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}".replace("{" + "webhook_name" + "}", encodeURIComponent(String(webhookName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.updateWebhooksIntegration").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "WebhooksIntegrationUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + WebhooksIntegrationApiRequestFactory.prototype.updateWebhooksIntegrationCustomVariable = function (customVariableName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'customVariableName' is not null or undefined + if (customVariableName === null || customVariableName === undefined) { + throw new baseapi_1.RequiredError("Required parameter customVariableName was null or undefined when calling updateWebhooksIntegrationCustomVariable."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateWebhooksIntegrationCustomVariable."); + } + localVarPath = "/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}".replace("{" + "custom_variable_name" + "}", encodeURIComponent(String(customVariableName))); + requestContext = (0, configuration_1.getServer)(_config, "WebhooksIntegrationApi.updateWebhooksIntegrationCustomVariable").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "WebhooksIntegrationCustomVariableUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return WebhooksIntegrationApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.WebhooksIntegrationApiRequestFactory = WebhooksIntegrationApiRequestFactory; +var WebhooksIntegrationApiResponseProcessor = /** @class */ (function () { + function WebhooksIntegrationApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createWebhooksIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.createWebhooksIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createWebhooksIntegrationCustomVariable + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.createWebhooksIntegrationCustomVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteWebhooksIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.deleteWebhooksIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteWebhooksIntegrationCustomVariable + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.deleteWebhooksIntegrationCustomVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_18]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getWebhooksIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.getWebhooksIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body_24, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_19]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_22); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_23 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_24 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_24]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getWebhooksIntegrationCustomVariable + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.getWebhooksIntegrationCustomVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body_30, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_25]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_27); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_28); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_29 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_29); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_30 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_30]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateWebhooksIntegration + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.updateWebhooksIntegration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body_35, _s, _t, _u, _v, body_36, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_31 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_31]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_32 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_32); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_33 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_33); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_34 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_34); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_35 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_35); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_36 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "WebhooksIntegration", + ""]); + return [2 /*return*/, body_36]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateWebhooksIntegrationCustomVariable + * @throws ApiException if the response code was not in [200, 299] + */ + WebhooksIntegrationApiResponseProcessor.prototype.updateWebhooksIntegrationCustomVariable = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body_42, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_37 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_37]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_38 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_38); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_39 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_39); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_40 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_40); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_41 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_41); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_42 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "WebhooksIntegrationCustomVariableResponse", + ""]); + return [2 /*return*/, body_42]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return WebhooksIntegrationApiResponseProcessor; +}()); +exports.WebhooksIntegrationApiResponseProcessor = WebhooksIntegrationApiResponseProcessor; +var WebhooksIntegrationApi = /** @class */ (function () { + function WebhooksIntegrationApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new WebhooksIntegrationApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new WebhooksIntegrationApiResponseProcessor(); + } + /** + * Creates an endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.createWebhooksIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createWebhooksIntegration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createWebhooksIntegration(responseContext); + }); + }); + }; + /** + * Creates an endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.createWebhooksIntegrationCustomVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createWebhooksIntegrationCustomVariable(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createWebhooksIntegrationCustomVariable(responseContext); + }); + }); + }; + /** + * Deletes the endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.deleteWebhooksIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteWebhooksIntegration(param.webhookName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteWebhooksIntegration(responseContext); + }); + }); + }; + /** + * Deletes the endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.deleteWebhooksIntegrationCustomVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteWebhooksIntegrationCustomVariable(param.customVariableName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteWebhooksIntegrationCustomVariable(responseContext); + }); + }); + }; + /** + * Gets the content of the webhook with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.getWebhooksIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getWebhooksIntegration(param.webhookName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getWebhooksIntegration(responseContext); + }); + }); + }; + /** + * Shows the content of the custom variable with the name ``. If the custom variable is secret, the value does not return in the response payload. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.getWebhooksIntegrationCustomVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getWebhooksIntegrationCustomVariable(param.customVariableName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getWebhooksIntegrationCustomVariable(responseContext); + }); + }); + }; + /** + * Updates the endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.updateWebhooksIntegration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateWebhooksIntegration(param.webhookName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateWebhooksIntegration(responseContext); + }); + }); + }; + /** + * Updates the endpoint with the name ``. + * @param param The request object + */ + WebhooksIntegrationApi.prototype.updateWebhooksIntegrationCustomVariable = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateWebhooksIntegrationCustomVariable(param.customVariableName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateWebhooksIntegrationCustomVariable(responseContext); + }); + }); + }; + return WebhooksIntegrationApi; +}()); +exports.WebhooksIntegrationApi = WebhooksIntegrationApi; +//# sourceMappingURL=WebhooksIntegrationApi.js.map + +/***/ }), + +/***/ 79019: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RequiredError = exports.BaseAPIRequestFactory = exports.COLLECTION_FORMATS = void 0; +/** + * + * @export + */ +exports.COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; +/** + * + * @export + * @class BaseAPI + */ +var BaseAPIRequestFactory = /** @class */ (function () { + function BaseAPIRequestFactory(configuration) { + this.configuration = configuration; + } + return BaseAPIRequestFactory; +}()); +exports.BaseAPIRequestFactory = BaseAPIRequestFactory; +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +var RequiredError = /** @class */ (function (_super) { + __extends(RequiredError, _super); + function RequiredError(field, msg) { + var _this = _super.call(this, msg) || this; + _this.field = field; + _this.name = "RequiredError"; + return _this; + } + return RequiredError; +}(Error)); +exports.RequiredError = RequiredError; +//# sourceMappingURL=baseapi.js.map + +/***/ }), + +/***/ 95599: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApiException = void 0; +/** + * Represents an error caused by an api call i.e. it has attributes for a HTTP status code + * and the returned body object. + * + * Example + * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] + * => ApiException(404, someErrorMessageObject) + * + */ +var ApiException = /** @class */ (function (_super) { + __extends(ApiException, _super); + function ApiException(code, body) { + var _this = _super.call(this, "HTTP-Code: " + code + "\nMessage: " + JSON.stringify(body)) || this; + _this.code = code; + _this.body = body; + return _this; + } + return ApiException; +}(Error)); +exports.ApiException = ApiException; +//# sourceMappingURL=exception.js.map + +/***/ }), + +/***/ 47124: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.configureAuthMethods = exports.AppKeyAuthQueryAuthentication = exports.AppKeyAuthAuthentication = exports.ApiKeyAuthQueryAuthentication = exports.ApiKeyAuthAuthentication = exports.AuthZAuthentication = void 0; +/** + * Applies oauth2 authentication to the request context. + */ +var AuthZAuthentication = /** @class */ (function () { + /** + * Configures OAuth2 with the necessary properties + * + * @param accessToken: The access token to be used for every request + */ + function AuthZAuthentication(accessToken) { + this.accessToken = accessToken; + } + AuthZAuthentication.prototype.getName = function () { + return "AuthZ"; + }; + AuthZAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("Authorization", "Bearer " + this.accessToken); + }; + return AuthZAuthentication; +}()); +exports.AuthZAuthentication = AuthZAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var ApiKeyAuthAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function ApiKeyAuthAuthentication(apiKey) { + this.apiKey = apiKey; + } + ApiKeyAuthAuthentication.prototype.getName = function () { + return "apiKeyAuth"; + }; + ApiKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("DD-API-KEY", this.apiKey); + }; + return ApiKeyAuthAuthentication; +}()); +exports.ApiKeyAuthAuthentication = ApiKeyAuthAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var ApiKeyAuthQueryAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function ApiKeyAuthQueryAuthentication(apiKey) { + this.apiKey = apiKey; + } + ApiKeyAuthQueryAuthentication.prototype.getName = function () { + return "apiKeyAuthQuery"; + }; + ApiKeyAuthQueryAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setQueryParam("api_key", this.apiKey); + }; + return ApiKeyAuthQueryAuthentication; +}()); +exports.ApiKeyAuthQueryAuthentication = ApiKeyAuthQueryAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var AppKeyAuthAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function AppKeyAuthAuthentication(apiKey) { + this.apiKey = apiKey; + } + AppKeyAuthAuthentication.prototype.getName = function () { + return "appKeyAuth"; + }; + AppKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("DD-APPLICATION-KEY", this.apiKey); + }; + return AppKeyAuthAuthentication; +}()); +exports.AppKeyAuthAuthentication = AppKeyAuthAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var AppKeyAuthQueryAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function AppKeyAuthQueryAuthentication(apiKey) { + this.apiKey = apiKey; + } + AppKeyAuthQueryAuthentication.prototype.getName = function () { + return "appKeyAuthQuery"; + }; + AppKeyAuthQueryAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setQueryParam("application_key", this.apiKey); + }; + return AppKeyAuthQueryAuthentication; +}()); +exports.AppKeyAuthQueryAuthentication = AppKeyAuthQueryAuthentication; +/** + * Creates the authentication methods from a swagger description. + * + */ +function configureAuthMethods(config) { + var authMethods = {}; + if (!config) { + return authMethods; + } + if (config["AuthZ"]) { + authMethods["AuthZ"] = new AuthZAuthentication(config["AuthZ"]["accessToken"]); + } + if (config["apiKeyAuth"]) { + authMethods["apiKeyAuth"] = new ApiKeyAuthAuthentication(config["apiKeyAuth"]); + } + if (config["apiKeyAuthQuery"]) { + authMethods["apiKeyAuthQuery"] = new ApiKeyAuthQueryAuthentication(config["apiKeyAuthQuery"]); + } + if (config["appKeyAuth"]) { + authMethods["appKeyAuth"] = new AppKeyAuthAuthentication(config["appKeyAuth"]); + } + if (config["appKeyAuthQuery"]) { + authMethods["appKeyAuthQuery"] = new AppKeyAuthQueryAuthentication(config["appKeyAuthQuery"]); + } + return authMethods; +} +exports.configureAuthMethods = configureAuthMethods; +//# sourceMappingURL=auth.js.map + +/***/ }), + +/***/ 60116: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.applySecurityAuthentication = exports.setServerVariables = exports.getServer = exports.createConfiguration = void 0; +var isomorphic_fetch_1 = __nccwpck_require__(82104); +var servers_1 = __nccwpck_require__(54080); +var auth_1 = __nccwpck_require__(47124); +/** + * Configuration factory function + * + * If a property is not included in conf, a default is used: + * - baseServer: null + * - serverIndex: 0 + * - operationServerIndices: {} + * - httpApi: IsomorphicFetchHttpLibrary + * - authMethods: {} + * - httpConfig: {} + * - debug: false + * + * @param conf partial configuration + */ +function createConfiguration(conf) { + if (conf === void 0) { conf = {}; } + if (process !== undefined && process.env.DD_SITE) { + var serverConf = servers_1.server1.getConfiguration(); + servers_1.server1.setVariables({ site: process.env.DD_SITE }); + for (var op in servers_1.operationServers) { + servers_1.operationServers[op][0].setVariables({ site: process.env.DD_SITE }); + } + } + var authMethods = conf.authMethods || {}; + if (!("apiKeyAuth" in authMethods) && + process !== undefined && + process.env.DD_API_KEY) { + authMethods["apiKeyAuth"] = process.env.DD_API_KEY; + } + if (!("appKeyAuth" in authMethods) && + process !== undefined && + process.env.DD_APP_KEY) { + authMethods["appKeyAuth"] = process.env.DD_APP_KEY; + } + var configuration = { + baseServer: conf.baseServer, + serverIndex: conf.serverIndex || 0, + operationServerIndices: conf.operationServerIndices || {}, + unstableOperations: { + createSLOCorrection: false, + deleteSLOCorrection: false, + getSLOCorrection: false, + listSLOCorrection: false, + updateSLOCorrection: false, + getSLOCorrections: false, + getSLOHistory: false, + getDailyCustomReports: false, + getHourlyUsageAttribution: false, + getMonthlyCustomReports: false, + getMonthlyUsageAttribution: false, + getSpecifiedDailyCustomReports: false, + getSpecifiedMonthlyCustomReports: false, + getUsageAttribution: false, + }, + httpApi: conf.httpApi || new isomorphic_fetch_1.IsomorphicFetchHttpLibrary(), + authMethods: (0, auth_1.configureAuthMethods)(authMethods), + httpConfig: conf.httpConfig || {}, + debug: conf.debug, + }; + configuration.httpApi.debug = configuration.debug; + return configuration; +} +exports.createConfiguration = createConfiguration; +function getServer(conf, endpoint) { + if (conf.baseServer !== undefined) { + return conf.baseServer; + } + var index = endpoint in conf.operationServerIndices + ? conf.operationServerIndices[endpoint] + : conf.serverIndex; + return endpoint in servers_1.operationServers + ? servers_1.operationServers[endpoint][index] + : servers_1.servers[index]; +} +exports.getServer = getServer; +/** + * Sets the server variables. + * + * @param serverVariables key/value object representing the server variables (site, name, protocol, ...) + */ +function setServerVariables(conf, serverVariables) { + if (conf.baseServer !== undefined) { + conf.baseServer.setVariables(serverVariables); + return; + } + var index = conf.serverIndex; + servers_1.servers[index].setVariables(serverVariables); + for (var op in servers_1.operationServers) { + servers_1.operationServers[op][0].setVariables(serverVariables); + } +} +exports.setServerVariables = setServerVariables; +/** + * Apply given security authentication method if avaiable in configuration. + */ +function applySecurityAuthentication(conf, requestContext, authMethods) { + for (var _i = 0, authMethods_1 = authMethods; _i < authMethods_1.length; _i++) { + var authMethodName = authMethods_1[_i]; + var authMethod = conf.authMethods[authMethodName]; + if (authMethod) { + authMethod.applySecurityAuthentication(requestContext); + } + } +} +exports.applySecurityAuthentication = applySecurityAuthentication; +//# sourceMappingURL=configuration.js.map + +/***/ }), + +/***/ 96572: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0; +var userAgent_1 = __nccwpck_require__(55180); +var url_parse_1 = __importDefault(__nccwpck_require__(25682)); +__exportStar(__nccwpck_require__(82104), exports); +/** + * Represents an HTTP method. + */ +var HttpMethod; +(function (HttpMethod) { + HttpMethod["GET"] = "GET"; + HttpMethod["HEAD"] = "HEAD"; + HttpMethod["POST"] = "POST"; + HttpMethod["PUT"] = "PUT"; + HttpMethod["DELETE"] = "DELETE"; + HttpMethod["CONNECT"] = "CONNECT"; + HttpMethod["OPTIONS"] = "OPTIONS"; + HttpMethod["TRACE"] = "TRACE"; + HttpMethod["PATCH"] = "PATCH"; +})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {})); +var HttpException = /** @class */ (function (_super) { + __extends(HttpException, _super); + function HttpException(msg) { + return _super.call(this, msg) || this; + } + return HttpException; +}(Error)); +exports.HttpException = HttpException; +/** + * Represents an HTTP request context + */ +var RequestContext = /** @class */ (function () { + /** + * Creates the request context using a http method and request resource url + * + * @param url url of the requested resource + * @param httpMethod http method + */ + function RequestContext(url, httpMethod) { + this.httpMethod = httpMethod; + this.headers = { "user-agent": userAgent_1.userAgent }; + this.body = undefined; + this.httpConfig = {}; + this.url = new url_parse_1.default(url, true); + } + /* + * Returns the url set in the constructor including the query string + * + */ + RequestContext.prototype.getUrl = function () { + return this.url.toString(); + }; + /** + * Replaces the url set in the constructor with this url. + * + */ + RequestContext.prototype.setUrl = function (url) { + this.url = new url_parse_1.default(url, true); + }; + /** + * Sets the body of the http request either as a string or FormData + * + * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE + * request is discouraged. + * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1 + * + * @param body the body of the request + */ + RequestContext.prototype.setBody = function (body) { + this.body = body; + }; + RequestContext.prototype.getHttpMethod = function () { + return this.httpMethod; + }; + RequestContext.prototype.getHeaders = function () { + return this.headers; + }; + RequestContext.prototype.getBody = function () { + return this.body; + }; + RequestContext.prototype.setQueryParam = function (name, value) { + var queryObj = this.url.query; + queryObj[name] = value; + this.url.set("query", queryObj); + }; + /** + * Sets a cookie with the name and value. NO check for duplicate cookies is performed + * + */ + RequestContext.prototype.addCookie = function (name, value) { + if (!this.headers["Cookie"]) { + this.headers["Cookie"] = ""; + } + this.headers["Cookie"] += name + "=" + value + "; "; + }; + RequestContext.prototype.setHeaderParam = function (key, value) { + this.headers[key] = value; + }; + RequestContext.prototype.setHttpConfig = function (conf) { + this.httpConfig = conf; + }; + RequestContext.prototype.getHttpConfig = function () { + return this.httpConfig; + }; + return RequestContext; +}()); +exports.RequestContext = RequestContext; +/** + * Helper class to generate a `ResponseBody` from binary data + */ +var SelfDecodingBody = /** @class */ (function () { + function SelfDecodingBody(dataSource) { + this.dataSource = dataSource; + } + SelfDecodingBody.prototype.binary = function () { + return this.dataSource; + }; + SelfDecodingBody.prototype.text = function () { + return __awaiter(this, void 0, void 0, function () { + var data; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.dataSource]; + case 1: + data = _a.sent(); + return [2 /*return*/, data.toString()]; + } + }); + }); + }; + return SelfDecodingBody; +}()); +exports.SelfDecodingBody = SelfDecodingBody; +var ResponseContext = /** @class */ (function () { + function ResponseContext(httpStatusCode, headers, body) { + this.httpStatusCode = httpStatusCode; + this.headers = headers; + this.body = body; + } + /** + * Parse header value in the form `value; param1="value1"` + * + * E.g. for Content-Type or Content-Disposition + * Parameter names are converted to lower case + * The first parameter is returned with the key `""` + */ + ResponseContext.prototype.getParsedHeader = function (headerName) { + var result = {}; + if (!this.headers[headerName]) { + return result; + } + var parameters = this.headers[headerName].split(";"); + for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) { + var parameter = parameters_1[_i]; + var _a = parameter.split("=", 2), key = _a[0], value = _a[1]; + key = key.toLowerCase().trim(); + if (value === undefined) { + result[""] = key; + } + else { + value = value.trim(); + if (value.startsWith('"') && value.endsWith('"')) { + value = value.substring(1, value.length - 1); + } + result[key] = value; + } + } + return result; + }; + ResponseContext.prototype.getBodyAsFile = function () { + return __awaiter(this, void 0, void 0, function () { + var data, fileName; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.body.binary()]; + case 1: + data = _a.sent(); + fileName = this.getParsedHeader("content-disposition")["filename"] || ""; + return [2 /*return*/, { data: data, name: fileName }]; + } + }); + }); + }; + return ResponseContext; +}()); +exports.ResponseContext = ResponseContext; +//# sourceMappingURL=http.js.map + +/***/ }), + +/***/ 82104: +/***/ (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 })); +exports.IsomorphicFetchHttpLibrary = void 0; +var http_1 = __nccwpck_require__(96572); +var cross_fetch_1 = __importDefault(__nccwpck_require__(25647)); +var pako_1 = __importDefault(__nccwpck_require__(31726)); +var buffer_from_1 = __importDefault(__nccwpck_require__(50382)); +var IsomorphicFetchHttpLibrary = /** @class */ (function () { + function IsomorphicFetchHttpLibrary() { + this.debug = false; + } + IsomorphicFetchHttpLibrary.prototype.send = function (request) { + var _this = this; + if (this.debug) { + this.logRequest(request); + } + var method = request.getHttpMethod().toString(); + var body = request.getBody(); + var compress = request.getHttpConfig().compress; + if (compress === undefined) { + compress = true; + } + var headers = request.getHeaders(); + if (typeof body === "string") { + if (headers["Content-Encoding"] == "gzip") { + body = (0, buffer_from_1.default)(pako_1.default.gzip(body).buffer); + } + else if (headers["Content-Encoding"] == "deflate") { + body = (0, buffer_from_1.default)(pako_1.default.deflate(body).buffer); + } + } + if (!headers["Accept-Encoding"]) { + if (compress) { + headers["Accept-Encoding"] = "gzip,deflate"; + } + else { + // We need to enforce it otherwise node-fetch will set a default + headers["Accept-Encoding"] = "identity"; + } + } + var resultPromise = (0, cross_fetch_1.default)(request.getUrl(), { + method: method, + body: body, + headers: headers, + signal: request.getHttpConfig().signal, + }).then(function (resp) { + var headers = {}; + resp.headers.forEach(function (value, name) { + headers[name] = value; + }); + var body = { + text: function () { return resp.text(); }, + binary: function () { return resp.buffer(); }, + }; + var response = new http_1.ResponseContext(resp.status, headers, body); + if (_this.debug) { + _this.logResponse(response); + } + return response; + }); + return resultPromise; + }; + IsomorphicFetchHttpLibrary.prototype.logRequest = function (request) { + var headers = request.getHeaders(); + if (headers["DD-API-KEY"]) { + headers["DD-API-KEY"] = headers["DD-API-KEY"].replace(/./g, "x"); + } + if (headers["DD-APPLICATION-KEY"]) { + headers["DD-APPLICATION-KEY"] = headers["DD-APPLICATION-KEY"].replace(/./g, "x"); + } + var headersJSON = JSON.stringify(headers, null, 2).replace(/\n/g, "\n\t"); + var method = request.getHttpMethod().toString(); + var url = request.getUrl().toString(); + var body = request.getBody() + ? JSON.stringify(request.getBody(), null, 2).replace(/\n/g, "\n\t") + : ""; + var compress = request.getHttpConfig().compress || true; + console.debug("\nrequest: {\n", "\turl: ".concat(url, "\n"), "\tmethod: ".concat(method, "\n"), "\theaders: ".concat(headersJSON, "\n"), "\tcompress: ".concat(compress, "\n"), "\tbody: ".concat(body, "\n}\n")); + }; + IsomorphicFetchHttpLibrary.prototype.logResponse = function (response) { + var httpStatusCode = response.httpStatusCode; + var headers = JSON.stringify(response.headers, null, 2).replace(/\n/g, "\n\t"); + var body = response.body + ? JSON.stringify(response.body, null, 2).replace(/\n/g, "\n\t") + : ""; + console.debug("response: {\n", "\tstatus: ".concat(httpStatusCode, "\n"), "\theaders: ".concat(headers, "\n"), "\tbody: ".concat(body, "\n}\n")); + }; + return IsomorphicFetchHttpLibrary; +}()); +exports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary; +//# sourceMappingURL=isomorphic-fetch.js.map + +/***/ }), + +/***/ 46649: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AlertValueWidgetDefinition = exports.AlertGraphWidgetDefinition = exports.AWSTagFilterListResponse = exports.AWSTagFilterDeleteRequest = exports.AWSTagFilterCreateRequest = exports.AWSTagFilter = exports.AWSLogsServicesRequest = exports.AWSLogsListServicesResponse = exports.AWSLogsListResponse = exports.AWSLogsLambda = exports.AWSLogsAsyncResponse = exports.AWSLogsAsyncError = exports.AWSAccountListResponse = exports.AWSAccountDeleteRequest = exports.AWSAccountCreateResponse = exports.AWSAccountAndLambdaRequest = exports.AWSAccount = exports.APIErrorResponse = exports.WebhooksIntegrationApi = exports.UsersApi = exports.UsageMeteringApi = exports.TagsApi = exports.SyntheticsApi = exports.SnapshotsApi = exports.SlackIntegrationApi = exports.ServiceLevelObjectivesApi = exports.ServiceLevelObjectiveCorrectionsApi = exports.ServiceChecksApi = exports.PagerDutyIntegrationApi = exports.OrganizationsApi = exports.NotebooksApi = exports.MonitorsApi = exports.MetricsApi = exports.LogsPipelinesApi = exports.LogsIndexesApi = exports.LogsApi = exports.KeyManagementApi = exports.IPRangesApi = exports.HostsApi = exports.GCPIntegrationApi = exports.EventsApi = exports.DowntimesApi = exports.DashboardsApi = exports.DashboardListsApi = exports.AzureIntegrationApi = exports.AuthenticationApi = exports.AWSLogsIntegrationApi = exports.AWSIntegrationApi = exports.setServerVariables = exports.createConfiguration = void 0; +exports.FormulaAndFunctionApmDependencyStatsQueryDefinition = exports.EventTimelineWidgetDefinition = exports.EventStreamWidgetDefinition = exports.EventResponse = exports.EventQueryDefinition = exports.EventListResponse = exports.EventCreateResponse = exports.EventCreateRequest = exports.Event = exports.DowntimeRecurrence = exports.DowntimeChild = exports.Downtime = exports.DistributionWidgetYAxis = exports.DistributionWidgetXAxis = exports.DistributionWidgetRequest = exports.DistributionWidgetDefinition = exports.DeletedMonitor = exports.DashboardTemplateVariablePresetValue = exports.DashboardTemplateVariablePreset = exports.DashboardTemplateVariable = exports.DashboardSummaryDefinition = exports.DashboardSummary = exports.DashboardRestoreRequest = exports.DashboardListListResponse = exports.DashboardListDeleteResponse = exports.DashboardList = exports.DashboardDeleteResponse = exports.DashboardBulkDeleteRequest = exports.DashboardBulkActionData = exports.Dashboard = exports.Creator = exports.CheckStatusWidgetDefinition = exports.CheckCanDeleteSLOResponseData = exports.CheckCanDeleteSLOResponse = exports.CheckCanDeleteMonitorResponseData = exports.CheckCanDeleteMonitorResponse = exports.ChangeWidgetRequest = exports.ChangeWidgetDefinition = exports.CanceledDowntimesIds = exports.CancelDowntimesByScopeRequest = exports.AzureAccount = exports.AuthenticationValidationResponse = exports.ApplicationKeyResponse = exports.ApplicationKeyListResponse = exports.ApplicationKey = exports.ApmStatsQueryDefinition = exports.ApmStatsQueryColumnType = exports.ApiKeyResponse = exports.ApiKeyListResponse = exports.ApiKey = void 0; +exports.IPRanges = exports.IPPrefixesWebhooks = exports.IPPrefixesSynthetics = exports.IPPrefixesProcess = exports.IPPrefixesLogs = exports.IPPrefixesAgents = exports.IPPrefixesAPM = exports.IPPrefixesAPI = exports.IFrameWidgetDefinition = exports.HourlyUsageAttributionResponse = exports.HourlyUsageAttributionPagination = exports.HourlyUsageAttributionMetadata = exports.HourlyUsageAttributionBody = exports.HostTotals = exports.HostTags = exports.HostMuteSettings = exports.HostMuteResponse = exports.HostMetrics = exports.HostMetaInstallMethod = exports.HostMeta = exports.HostMapWidgetDefinitionStyle = exports.HostMapWidgetDefinitionRequests = exports.HostMapWidgetDefinition = exports.HostMapRequest = exports.HostListResponse = exports.Host = exports.HeatMapWidgetRequest = exports.HeatMapWidgetDefinition = exports.HTTPLogItem = exports.HTTPLogError = exports.GroupWidgetDefinition = exports.GraphSnapshot = exports.GeomapWidgetRequest = exports.GeomapWidgetDefinitionView = exports.GeomapWidgetDefinitionStyle = exports.GeomapWidgetDefinition = exports.GCPAccount = exports.FunnelWidgetRequest = exports.FunnelWidgetDefinition = exports.FunnelStep = exports.FunnelQuery = exports.FreeTextWidgetDefinition = exports.FormulaAndFunctionProcessQueryDefinition = exports.FormulaAndFunctionMetricQueryDefinition = exports.FormulaAndFunctionEventQueryGroupBySort = exports.FormulaAndFunctionEventQueryGroupBy = exports.FormulaAndFunctionEventQueryDefinitionSearch = exports.FormulaAndFunctionEventQueryDefinitionCompute = exports.FormulaAndFunctionEventQueryDefinition = exports.FormulaAndFunctionApmResourceStatsQueryDefinition = void 0; +exports.LogsStringBuilderProcessor = exports.LogsStatusRemapper = exports.LogsServiceRemapper = exports.LogsRetentionSumUsage = exports.LogsRetentionAggSumUsage = exports.LogsQueryCompute = exports.LogsPipelinesOrder = exports.LogsPipelineProcessor = exports.LogsPipeline = exports.LogsMessageRemapper = exports.LogsLookupProcessor = exports.LogsListResponse = exports.LogsListRequestTime = exports.LogsListRequest = exports.LogsIndexesOrder = exports.LogsIndexUpdateRequest = exports.LogsIndexListResponse = exports.LogsIndex = exports.LogsGrokParserRules = exports.LogsGrokParser = exports.LogsGeoIPParser = exports.LogsFilter = exports.LogsExclusionFilter = exports.LogsExclusion = exports.LogsDateRemapper = exports.LogsCategoryProcessorCategory = exports.LogsCategoryProcessor = exports.LogsByRetentionOrgs = exports.LogsByRetentionOrgUsage = exports.LogsByRetentionMonthlyUsage = exports.LogsByRetention = exports.LogsAttributeRemapper = exports.LogsArithmeticProcessor = exports.LogsAPIErrorResponse = exports.LogsAPIError = exports.LogStreamWidgetDefinition = exports.LogQueryDefinitionSearch = exports.LogQueryDefinitionGroupBySort = exports.LogQueryDefinitionGroupBy = exports.LogQueryDefinition = exports.LogContent = exports.Log = exports.ListStreamWidgetRequest = exports.ListStreamWidgetDefinition = exports.ListStreamQuery = exports.ListStreamColumn = exports.IntakePayloadAccepted = exports.ImageWidgetDefinition = exports.IdpResponse = exports.IdpFormData = void 0; +exports.NotebookLogStreamCellAttributes = exports.NotebookHeatMapCellAttributes = exports.NotebookDistributionCellAttributes = exports.NotebookCreateRequest = exports.NotebookCreateDataAttributes = exports.NotebookCreateData = exports.NotebookCellUpdateRequest = exports.NotebookCellResponse = exports.NotebookCellCreateRequest = exports.NotebookAuthor = exports.NotebookAbsoluteTime = exports.NoteWidgetDefinition = exports.MonthlyUsageAttributionValues = exports.MonthlyUsageAttributionResponse = exports.MonthlyUsageAttributionPagination = exports.MonthlyUsageAttributionMetadata = exports.MonthlyUsageAttributionBody = exports.MonitorUpdateRequest = exports.MonitorThresholds = exports.MonitorThresholdWindowOptions = exports.MonitorSummaryWidgetDefinition = exports.MonitorStateGroup = exports.MonitorState = exports.MonitorSearchResultNotification = exports.MonitorSearchResult = exports.MonitorSearchResponseMetadata = exports.MonitorSearchResponseCounts = exports.MonitorSearchResponse = exports.MonitorOptionsAggregation = exports.MonitorOptions = exports.MonitorGroupSearchResult = exports.MonitorGroupSearchResponseCounts = exports.MonitorGroupSearchResponse = exports.MonitorFormulaAndFunctionEventQueryGroupBySort = exports.MonitorFormulaAndFunctionEventQueryGroupBy = exports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = exports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = exports.MonitorFormulaAndFunctionEventQueryDefinition = exports.Monitor = exports.MetricsQueryUnit = exports.MetricsQueryResponse = exports.MetricsQueryMetadata = exports.MetricsPayload = exports.MetricsListResponse = exports.MetricSearchResponseResults = exports.MetricSearchResponse = exports.MetricMetadata = exports.LogsUserAgentParser = exports.LogsURLParser = exports.LogsTraceRemapper = void 0; +exports.SLOCorrectionUpdateData = exports.SLOCorrectionResponseAttributesModifier = exports.SLOCorrectionResponseAttributes = exports.SLOCorrectionResponse = exports.SLOCorrectionListResponse = exports.SLOCorrectionCreateRequestAttributes = exports.SLOCorrectionCreateRequest = exports.SLOCorrectionCreateData = exports.SLOCorrection = exports.SLOBulkDeleteResponseData = exports.SLOBulkDeleteResponse = exports.SLOBulkDeleteError = exports.ResponseMetaAttributes = exports.QueryValueWidgetRequest = exports.QueryValueWidgetDefinition = exports.ProcessQueryDefinition = exports.Pagination = exports.PagerDutyServiceName = exports.PagerDutyServiceKey = exports.PagerDutyService = exports.OrganizationSubscription = exports.OrganizationSettingsSamlStrictMode = exports.OrganizationSettingsSamlIdpInitiatedLogin = exports.OrganizationSettingsSamlAutocreateUsersDomains = exports.OrganizationSettingsSaml = exports.OrganizationSettings = exports.OrganizationResponse = exports.OrganizationListResponse = exports.OrganizationCreateResponse = exports.OrganizationCreateBody = exports.OrganizationBilling = exports.Organization = exports.NotebooksResponsePage = exports.NotebooksResponseMeta = exports.NotebooksResponseDataAttributes = exports.NotebooksResponseData = exports.NotebooksResponse = exports.NotebookUpdateRequest = exports.NotebookUpdateDataAttributes = exports.NotebookUpdateData = exports.NotebookToplistCellAttributes = exports.NotebookTimeseriesCellAttributes = exports.NotebookSplitBy = exports.NotebookResponseDataAttributes = exports.NotebookResponseData = exports.NotebookResponse = exports.NotebookRelativeTime = exports.NotebookMetadata = exports.NotebookMarkdownCellDefinition = exports.NotebookMarkdownCellAttributes = void 0; +exports.SyntheticsAssertionTarget = exports.SyntheticsAssertionJSONPathTargetTarget = exports.SyntheticsAssertionJSONPathTarget = exports.SyntheticsApiTestResultFailure = exports.SyntheticsAPITestResultShortResult = exports.SyntheticsAPITestResultShort = exports.SyntheticsAPITestResultFullCheck = exports.SyntheticsAPITestResultFull = exports.SyntheticsAPITestResultData = exports.SyntheticsAPITestConfig = exports.SyntheticsAPITest = exports.SyntheticsAPIStep = exports.SunburstWidgetRequest = exports.SunburstWidgetLegendTable = exports.SunburstWidgetLegendInlineAutomatic = exports.SunburstWidgetDefinition = exports.SlackIntegrationChannelDisplay = exports.SlackIntegrationChannel = exports.ServiceSummaryWidgetDefinition = exports.ServiceMapWidgetDefinition = exports.ServiceLevelObjectiveRequest = exports.ServiceLevelObjectiveQuery = exports.ServiceLevelObjective = exports.ServiceCheck = exports.Series = exports.ScatterplotWidgetFormula = exports.ScatterplotTableRequest = exports.ScatterPlotWidgetDefinitionRequests = exports.ScatterPlotWidgetDefinition = exports.ScatterPlotRequest = exports.SLOWidgetDefinition = exports.SLOThreshold = exports.SLOResponseData = exports.SLOResponse = exports.SLOListResponseMetadataPage = exports.SLOListResponseMetadata = exports.SLOListResponse = exports.SLOHistorySLIData = exports.SLOHistoryResponseErrorWithType = exports.SLOHistoryResponseError = exports.SLOHistoryResponseData = exports.SLOHistoryResponse = exports.SLOHistoryMonitor = exports.SLOHistoryMetricsSeriesMetadataUnit = exports.SLOHistoryMetricsSeriesMetadata = exports.SLOHistoryMetricsSeries = exports.SLOHistoryMetrics = exports.SLODeleteResponse = exports.SLOCorrectionUpdateRequestAttributes = exports.SLOCorrectionUpdateRequest = void 0; +exports.SyntheticsStep = exports.SyntheticsSSLCertificateSubject = exports.SyntheticsSSLCertificateIssuer = exports.SyntheticsSSLCertificate = exports.SyntheticsPrivateLocationSecretsConfigDecryption = exports.SyntheticsPrivateLocationSecretsAuthentication = exports.SyntheticsPrivateLocationSecrets = exports.SyntheticsPrivateLocationCreationResponseResultEncryption = exports.SyntheticsPrivateLocationCreationResponse = exports.SyntheticsPrivateLocation = exports.SyntheticsParsingOptions = exports.SyntheticsLocations = exports.SyntheticsLocation = exports.SyntheticsListTestsResponse = exports.SyntheticsListGlobalVariablesResponse = exports.SyntheticsGlobalVariableValue = exports.SyntheticsGlobalVariableParseTestOptions = exports.SyntheticsGlobalVariableAttributes = exports.SyntheticsGlobalVariable = exports.SyntheticsGetBrowserTestLatestResultsResponse = exports.SyntheticsGetAPITestLatestResultsResponse = exports.SyntheticsDevice = exports.SyntheticsDeletedTest = exports.SyntheticsDeleteTestsResponse = exports.SyntheticsDeleteTestsPayload = exports.SyntheticsCoreWebVitals = exports.SyntheticsConfigVariable = exports.SyntheticsCITestBody = exports.SyntheticsCITest = exports.SyntheticsCIBatchMetadataProvider = exports.SyntheticsCIBatchMetadataPipeline = exports.SyntheticsCIBatchMetadataGit = exports.SyntheticsCIBatchMetadataCI = exports.SyntheticsCIBatchMetadata = exports.SyntheticsBrowserVariable = exports.SyntheticsBrowserTestResultShortResult = exports.SyntheticsBrowserTestResultShort = exports.SyntheticsBrowserTestResultFullCheck = exports.SyntheticsBrowserTestResultFull = exports.SyntheticsBrowserTestResultFailure = exports.SyntheticsBrowserTestResultData = exports.SyntheticsBrowserTestConfig = exports.SyntheticsBrowserTest = exports.SyntheticsBrowserError = exports.SyntheticsBatchResult = exports.SyntheticsBatchDetailsData = exports.SyntheticsBatchDetails = exports.SyntheticsBasicAuthWeb = exports.SyntheticsBasicAuthSigv4 = exports.SyntheticsBasicAuthNTLM = void 0; +exports.UsageCustomReportsMeta = exports.UsageCustomReportsData = exports.UsageCustomReportsAttributes = exports.UsageCloudSecurityPostureManagementResponse = exports.UsageCloudSecurityPostureManagementHour = exports.UsageCWSResponse = exports.UsageCWSHour = exports.UsageBillableSummaryResponse = exports.UsageBillableSummaryKeys = exports.UsageBillableSummaryHour = exports.UsageBillableSummaryBody = exports.UsageAuditLogsResponse = exports.UsageAuditLogsHour = exports.UsageAttributionValues = exports.UsageAttributionResponse = exports.UsageAttributionPagination = exports.UsageAttributionMetadata = exports.UsageAttributionBody = exports.UsageAttributionAggregatesBody = exports.UsageAnalyzedLogsResponse = exports.UsageAnalyzedLogsHour = exports.TreeMapWidgetRequest = exports.TreeMapWidgetDefinition = exports.ToplistWidgetRequest = exports.ToplistWidgetDefinition = exports.TimeseriesWidgetRequest = exports.TimeseriesWidgetExpressionAlias = exports.TimeseriesWidgetDefinition = exports.TagToHosts = exports.TableWidgetRequest = exports.TableWidgetDefinition = exports.SyntheticsVariableParser = exports.SyntheticsUpdateTestPauseStatusPayload = exports.SyntheticsTriggerTest = exports.SyntheticsTriggerCITestsResponse = exports.SyntheticsTriggerCITestRunResult = exports.SyntheticsTriggerCITestLocation = exports.SyntheticsTriggerBody = exports.SyntheticsTiming = exports.SyntheticsTestRequestProxy = exports.SyntheticsTestRequestCertificateItem = exports.SyntheticsTestRequestCertificate = exports.SyntheticsTestRequest = exports.SyntheticsTestOptionsRetry = exports.SyntheticsTestOptionsMonitorOptions = exports.SyntheticsTestOptions = exports.SyntheticsTestDetails = exports.SyntheticsTestConfig = exports.SyntheticsStepDetailWarning = exports.SyntheticsStepDetail = void 0; +exports.UsageSyntheticsBrowserResponse = exports.UsageSyntheticsBrowserHour = exports.UsageSyntheticsAPIResponse = exports.UsageSyntheticsAPIHour = exports.UsageSummaryResponse = exports.UsageSummaryDateOrg = exports.UsageSummaryDate = exports.UsageSpecifiedCustomReportsResponse = exports.UsageSpecifiedCustomReportsPage = exports.UsageSpecifiedCustomReportsMeta = exports.UsageSpecifiedCustomReportsData = exports.UsageSpecifiedCustomReportsAttributes = exports.UsageSNMPResponse = exports.UsageSNMPHour = exports.UsageSDSResponse = exports.UsageSDSHour = exports.UsageRumUnitsResponse = exports.UsageRumUnitsHour = exports.UsageRumSessionsResponse = exports.UsageRumSessionsHour = exports.UsageProfilingResponse = exports.UsageProfilingHour = exports.UsageNetworkHostsResponse = exports.UsageNetworkHostsHour = exports.UsageNetworkFlowsResponse = exports.UsageNetworkFlowsHour = exports.UsageLogsResponse = exports.UsageLogsHour = exports.UsageLogsByRetentionResponse = exports.UsageLogsByRetentionHour = exports.UsageLogsByIndexResponse = exports.UsageLogsByIndexHour = exports.UsageLambdaResponse = exports.UsageLambdaHour = exports.UsageIoTResponse = exports.UsageIoTHour = exports.UsageIngestedSpansResponse = exports.UsageIngestedSpansHour = exports.UsageIndexedSpansResponse = exports.UsageIndexedSpansHour = exports.UsageIncidentManagementResponse = exports.UsageIncidentManagementHour = exports.UsageHostsResponse = exports.UsageHostHour = exports.UsageFargateResponse = exports.UsageFargateHour = exports.UsageDBMResponse = exports.UsageDBMHour = exports.UsageCustomReportsResponse = exports.UsageCustomReportsPage = void 0; +exports.WidgetTime = exports.WidgetStyle = exports.WidgetRequestStyle = exports.WidgetMarker = exports.WidgetLayout = exports.WidgetFormulaLimit = exports.WidgetFormula = exports.WidgetFieldSort = exports.WidgetEvent = exports.WidgetCustomLink = exports.WidgetConditionalFormat = exports.WidgetAxis = exports.Widget = exports.WebhooksIntegrationUpdateRequest = exports.WebhooksIntegrationCustomVariableUpdateRequest = exports.WebhooksIntegrationCustomVariableResponse = exports.WebhooksIntegrationCustomVariable = exports.WebhooksIntegration = exports.UserResponse = exports.UserListResponse = exports.UserDisableResponse = exports.User = exports.UsageTopAvgMetricsResponse = exports.UsageTopAvgMetricsMetadata = exports.UsageTopAvgMetricsHour = exports.UsageTimeseriesResponse = exports.UsageTimeseriesHour = exports.UsageSyntheticsResponse = exports.UsageSyntheticsHour = void 0; +__exportStar(__nccwpck_require__(96572), exports); +__exportStar(__nccwpck_require__(47124), exports); +var configuration_1 = __nccwpck_require__(60116); +Object.defineProperty(exports, "createConfiguration", ({ enumerable: true, get: function () { return configuration_1.createConfiguration; } })); +var configuration_2 = __nccwpck_require__(60116); +Object.defineProperty(exports, "setServerVariables", ({ enumerable: true, get: function () { return configuration_2.setServerVariables; } })); +__exportStar(__nccwpck_require__(95599), exports); +__exportStar(__nccwpck_require__(54080), exports); +var AWSIntegrationApi_1 = __nccwpck_require__(50502); +Object.defineProperty(exports, "AWSIntegrationApi", ({ enumerable: true, get: function () { return AWSIntegrationApi_1.AWSIntegrationApi; } })); +var AWSLogsIntegrationApi_1 = __nccwpck_require__(60149); +Object.defineProperty(exports, "AWSLogsIntegrationApi", ({ enumerable: true, get: function () { return AWSLogsIntegrationApi_1.AWSLogsIntegrationApi; } })); +var AuthenticationApi_1 = __nccwpck_require__(34507); +Object.defineProperty(exports, "AuthenticationApi", ({ enumerable: true, get: function () { return AuthenticationApi_1.AuthenticationApi; } })); +var AzureIntegrationApi_1 = __nccwpck_require__(89924); +Object.defineProperty(exports, "AzureIntegrationApi", ({ enumerable: true, get: function () { return AzureIntegrationApi_1.AzureIntegrationApi; } })); +var DashboardListsApi_1 = __nccwpck_require__(6094); +Object.defineProperty(exports, "DashboardListsApi", ({ enumerable: true, get: function () { return DashboardListsApi_1.DashboardListsApi; } })); +var DashboardsApi_1 = __nccwpck_require__(24177); +Object.defineProperty(exports, "DashboardsApi", ({ enumerable: true, get: function () { return DashboardsApi_1.DashboardsApi; } })); +var DowntimesApi_1 = __nccwpck_require__(6602); +Object.defineProperty(exports, "DowntimesApi", ({ enumerable: true, get: function () { return DowntimesApi_1.DowntimesApi; } })); +var EventsApi_1 = __nccwpck_require__(58715); +Object.defineProperty(exports, "EventsApi", ({ enumerable: true, get: function () { return EventsApi_1.EventsApi; } })); +var GCPIntegrationApi_1 = __nccwpck_require__(4665); +Object.defineProperty(exports, "GCPIntegrationApi", ({ enumerable: true, get: function () { return GCPIntegrationApi_1.GCPIntegrationApi; } })); +var HostsApi_1 = __nccwpck_require__(89523); +Object.defineProperty(exports, "HostsApi", ({ enumerable: true, get: function () { return HostsApi_1.HostsApi; } })); +var IPRangesApi_1 = __nccwpck_require__(53075); +Object.defineProperty(exports, "IPRangesApi", ({ enumerable: true, get: function () { return IPRangesApi_1.IPRangesApi; } })); +var KeyManagementApi_1 = __nccwpck_require__(40263); +Object.defineProperty(exports, "KeyManagementApi", ({ enumerable: true, get: function () { return KeyManagementApi_1.KeyManagementApi; } })); +var LogsApi_1 = __nccwpck_require__(19068); +Object.defineProperty(exports, "LogsApi", ({ enumerable: true, get: function () { return LogsApi_1.LogsApi; } })); +var LogsIndexesApi_1 = __nccwpck_require__(19669); +Object.defineProperty(exports, "LogsIndexesApi", ({ enumerable: true, get: function () { return LogsIndexesApi_1.LogsIndexesApi; } })); +var LogsPipelinesApi_1 = __nccwpck_require__(94917); +Object.defineProperty(exports, "LogsPipelinesApi", ({ enumerable: true, get: function () { return LogsPipelinesApi_1.LogsPipelinesApi; } })); +var MetricsApi_1 = __nccwpck_require__(74433); +Object.defineProperty(exports, "MetricsApi", ({ enumerable: true, get: function () { return MetricsApi_1.MetricsApi; } })); +var MonitorsApi_1 = __nccwpck_require__(80638); +Object.defineProperty(exports, "MonitorsApi", ({ enumerable: true, get: function () { return MonitorsApi_1.MonitorsApi; } })); +var NotebooksApi_1 = __nccwpck_require__(61958); +Object.defineProperty(exports, "NotebooksApi", ({ enumerable: true, get: function () { return NotebooksApi_1.NotebooksApi; } })); +var OrganizationsApi_1 = __nccwpck_require__(83497); +Object.defineProperty(exports, "OrganizationsApi", ({ enumerable: true, get: function () { return OrganizationsApi_1.OrganizationsApi; } })); +var PagerDutyIntegrationApi_1 = __nccwpck_require__(35724); +Object.defineProperty(exports, "PagerDutyIntegrationApi", ({ enumerable: true, get: function () { return PagerDutyIntegrationApi_1.PagerDutyIntegrationApi; } })); +var ServiceChecksApi_1 = __nccwpck_require__(72017); +Object.defineProperty(exports, "ServiceChecksApi", ({ enumerable: true, get: function () { return ServiceChecksApi_1.ServiceChecksApi; } })); +var ServiceLevelObjectiveCorrectionsApi_1 = __nccwpck_require__(80224); +Object.defineProperty(exports, "ServiceLevelObjectiveCorrectionsApi", ({ enumerable: true, get: function () { return ServiceLevelObjectiveCorrectionsApi_1.ServiceLevelObjectiveCorrectionsApi; } })); +var ServiceLevelObjectivesApi_1 = __nccwpck_require__(19863); +Object.defineProperty(exports, "ServiceLevelObjectivesApi", ({ enumerable: true, get: function () { return ServiceLevelObjectivesApi_1.ServiceLevelObjectivesApi; } })); +var SlackIntegrationApi_1 = __nccwpck_require__(52597); +Object.defineProperty(exports, "SlackIntegrationApi", ({ enumerable: true, get: function () { return SlackIntegrationApi_1.SlackIntegrationApi; } })); +var SnapshotsApi_1 = __nccwpck_require__(38840); +Object.defineProperty(exports, "SnapshotsApi", ({ enumerable: true, get: function () { return SnapshotsApi_1.SnapshotsApi; } })); +var SyntheticsApi_1 = __nccwpck_require__(99457); +Object.defineProperty(exports, "SyntheticsApi", ({ enumerable: true, get: function () { return SyntheticsApi_1.SyntheticsApi; } })); +var TagsApi_1 = __nccwpck_require__(71569); +Object.defineProperty(exports, "TagsApi", ({ enumerable: true, get: function () { return TagsApi_1.TagsApi; } })); +var UsageMeteringApi_1 = __nccwpck_require__(69255); +Object.defineProperty(exports, "UsageMeteringApi", ({ enumerable: true, get: function () { return UsageMeteringApi_1.UsageMeteringApi; } })); +var UsersApi_1 = __nccwpck_require__(56537); +Object.defineProperty(exports, "UsersApi", ({ enumerable: true, get: function () { return UsersApi_1.UsersApi; } })); +var WebhooksIntegrationApi_1 = __nccwpck_require__(80646); +Object.defineProperty(exports, "WebhooksIntegrationApi", ({ enumerable: true, get: function () { return WebhooksIntegrationApi_1.WebhooksIntegrationApi; } })); +var APIErrorResponse_1 = __nccwpck_require__(94187); +Object.defineProperty(exports, "APIErrorResponse", ({ enumerable: true, get: function () { return APIErrorResponse_1.APIErrorResponse; } })); +var AWSAccount_1 = __nccwpck_require__(75107); +Object.defineProperty(exports, "AWSAccount", ({ enumerable: true, get: function () { return AWSAccount_1.AWSAccount; } })); +var AWSAccountAndLambdaRequest_1 = __nccwpck_require__(79616); +Object.defineProperty(exports, "AWSAccountAndLambdaRequest", ({ enumerable: true, get: function () { return AWSAccountAndLambdaRequest_1.AWSAccountAndLambdaRequest; } })); +var AWSAccountCreateResponse_1 = __nccwpck_require__(205); +Object.defineProperty(exports, "AWSAccountCreateResponse", ({ enumerable: true, get: function () { return AWSAccountCreateResponse_1.AWSAccountCreateResponse; } })); +var AWSAccountDeleteRequest_1 = __nccwpck_require__(11338); +Object.defineProperty(exports, "AWSAccountDeleteRequest", ({ enumerable: true, get: function () { return AWSAccountDeleteRequest_1.AWSAccountDeleteRequest; } })); +var AWSAccountListResponse_1 = __nccwpck_require__(51224); +Object.defineProperty(exports, "AWSAccountListResponse", ({ enumerable: true, get: function () { return AWSAccountListResponse_1.AWSAccountListResponse; } })); +var AWSLogsAsyncError_1 = __nccwpck_require__(62953); +Object.defineProperty(exports, "AWSLogsAsyncError", ({ enumerable: true, get: function () { return AWSLogsAsyncError_1.AWSLogsAsyncError; } })); +var AWSLogsAsyncResponse_1 = __nccwpck_require__(87558); +Object.defineProperty(exports, "AWSLogsAsyncResponse", ({ enumerable: true, get: function () { return AWSLogsAsyncResponse_1.AWSLogsAsyncResponse; } })); +var AWSLogsLambda_1 = __nccwpck_require__(99754); +Object.defineProperty(exports, "AWSLogsLambda", ({ enumerable: true, get: function () { return AWSLogsLambda_1.AWSLogsLambda; } })); +var AWSLogsListResponse_1 = __nccwpck_require__(9120); +Object.defineProperty(exports, "AWSLogsListResponse", ({ enumerable: true, get: function () { return AWSLogsListResponse_1.AWSLogsListResponse; } })); +var AWSLogsListServicesResponse_1 = __nccwpck_require__(77474); +Object.defineProperty(exports, "AWSLogsListServicesResponse", ({ enumerable: true, get: function () { return AWSLogsListServicesResponse_1.AWSLogsListServicesResponse; } })); +var AWSLogsServicesRequest_1 = __nccwpck_require__(57943); +Object.defineProperty(exports, "AWSLogsServicesRequest", ({ enumerable: true, get: function () { return AWSLogsServicesRequest_1.AWSLogsServicesRequest; } })); +var AWSTagFilter_1 = __nccwpck_require__(26166); +Object.defineProperty(exports, "AWSTagFilter", ({ enumerable: true, get: function () { return AWSTagFilter_1.AWSTagFilter; } })); +var AWSTagFilterCreateRequest_1 = __nccwpck_require__(8647); +Object.defineProperty(exports, "AWSTagFilterCreateRequest", ({ enumerable: true, get: function () { return AWSTagFilterCreateRequest_1.AWSTagFilterCreateRequest; } })); +var AWSTagFilterDeleteRequest_1 = __nccwpck_require__(81212); +Object.defineProperty(exports, "AWSTagFilterDeleteRequest", ({ enumerable: true, get: function () { return AWSTagFilterDeleteRequest_1.AWSTagFilterDeleteRequest; } })); +var AWSTagFilterListResponse_1 = __nccwpck_require__(28788); +Object.defineProperty(exports, "AWSTagFilterListResponse", ({ enumerable: true, get: function () { return AWSTagFilterListResponse_1.AWSTagFilterListResponse; } })); +var AlertGraphWidgetDefinition_1 = __nccwpck_require__(30928); +Object.defineProperty(exports, "AlertGraphWidgetDefinition", ({ enumerable: true, get: function () { return AlertGraphWidgetDefinition_1.AlertGraphWidgetDefinition; } })); +var AlertValueWidgetDefinition_1 = __nccwpck_require__(35622); +Object.defineProperty(exports, "AlertValueWidgetDefinition", ({ enumerable: true, get: function () { return AlertValueWidgetDefinition_1.AlertValueWidgetDefinition; } })); +var ApiKey_1 = __nccwpck_require__(4583); +Object.defineProperty(exports, "ApiKey", ({ enumerable: true, get: function () { return ApiKey_1.ApiKey; } })); +var ApiKeyListResponse_1 = __nccwpck_require__(7164); +Object.defineProperty(exports, "ApiKeyListResponse", ({ enumerable: true, get: function () { return ApiKeyListResponse_1.ApiKeyListResponse; } })); +var ApiKeyResponse_1 = __nccwpck_require__(82196); +Object.defineProperty(exports, "ApiKeyResponse", ({ enumerable: true, get: function () { return ApiKeyResponse_1.ApiKeyResponse; } })); +var ApmStatsQueryColumnType_1 = __nccwpck_require__(17056); +Object.defineProperty(exports, "ApmStatsQueryColumnType", ({ enumerable: true, get: function () { return ApmStatsQueryColumnType_1.ApmStatsQueryColumnType; } })); +var ApmStatsQueryDefinition_1 = __nccwpck_require__(61753); +Object.defineProperty(exports, "ApmStatsQueryDefinition", ({ enumerable: true, get: function () { return ApmStatsQueryDefinition_1.ApmStatsQueryDefinition; } })); +var ApplicationKey_1 = __nccwpck_require__(12260); +Object.defineProperty(exports, "ApplicationKey", ({ enumerable: true, get: function () { return ApplicationKey_1.ApplicationKey; } })); +var ApplicationKeyListResponse_1 = __nccwpck_require__(524); +Object.defineProperty(exports, "ApplicationKeyListResponse", ({ enumerable: true, get: function () { return ApplicationKeyListResponse_1.ApplicationKeyListResponse; } })); +var ApplicationKeyResponse_1 = __nccwpck_require__(53730); +Object.defineProperty(exports, "ApplicationKeyResponse", ({ enumerable: true, get: function () { return ApplicationKeyResponse_1.ApplicationKeyResponse; } })); +var AuthenticationValidationResponse_1 = __nccwpck_require__(11965); +Object.defineProperty(exports, "AuthenticationValidationResponse", ({ enumerable: true, get: function () { return AuthenticationValidationResponse_1.AuthenticationValidationResponse; } })); +var AzureAccount_1 = __nccwpck_require__(99096); +Object.defineProperty(exports, "AzureAccount", ({ enumerable: true, get: function () { return AzureAccount_1.AzureAccount; } })); +var CancelDowntimesByScopeRequest_1 = __nccwpck_require__(30337); +Object.defineProperty(exports, "CancelDowntimesByScopeRequest", ({ enumerable: true, get: function () { return CancelDowntimesByScopeRequest_1.CancelDowntimesByScopeRequest; } })); +var CanceledDowntimesIds_1 = __nccwpck_require__(49157); +Object.defineProperty(exports, "CanceledDowntimesIds", ({ enumerable: true, get: function () { return CanceledDowntimesIds_1.CanceledDowntimesIds; } })); +var ChangeWidgetDefinition_1 = __nccwpck_require__(59016); +Object.defineProperty(exports, "ChangeWidgetDefinition", ({ enumerable: true, get: function () { return ChangeWidgetDefinition_1.ChangeWidgetDefinition; } })); +var ChangeWidgetRequest_1 = __nccwpck_require__(71103); +Object.defineProperty(exports, "ChangeWidgetRequest", ({ enumerable: true, get: function () { return ChangeWidgetRequest_1.ChangeWidgetRequest; } })); +var CheckCanDeleteMonitorResponse_1 = __nccwpck_require__(55696); +Object.defineProperty(exports, "CheckCanDeleteMonitorResponse", ({ enumerable: true, get: function () { return CheckCanDeleteMonitorResponse_1.CheckCanDeleteMonitorResponse; } })); +var CheckCanDeleteMonitorResponseData_1 = __nccwpck_require__(8779); +Object.defineProperty(exports, "CheckCanDeleteMonitorResponseData", ({ enumerable: true, get: function () { return CheckCanDeleteMonitorResponseData_1.CheckCanDeleteMonitorResponseData; } })); +var CheckCanDeleteSLOResponse_1 = __nccwpck_require__(37497); +Object.defineProperty(exports, "CheckCanDeleteSLOResponse", ({ enumerable: true, get: function () { return CheckCanDeleteSLOResponse_1.CheckCanDeleteSLOResponse; } })); +var CheckCanDeleteSLOResponseData_1 = __nccwpck_require__(45281); +Object.defineProperty(exports, "CheckCanDeleteSLOResponseData", ({ enumerable: true, get: function () { return CheckCanDeleteSLOResponseData_1.CheckCanDeleteSLOResponseData; } })); +var CheckStatusWidgetDefinition_1 = __nccwpck_require__(92980); +Object.defineProperty(exports, "CheckStatusWidgetDefinition", ({ enumerable: true, get: function () { return CheckStatusWidgetDefinition_1.CheckStatusWidgetDefinition; } })); +var Creator_1 = __nccwpck_require__(84519); +Object.defineProperty(exports, "Creator", ({ enumerable: true, get: function () { return Creator_1.Creator; } })); +var Dashboard_1 = __nccwpck_require__(63114); +Object.defineProperty(exports, "Dashboard", ({ enumerable: true, get: function () { return Dashboard_1.Dashboard; } })); +var DashboardBulkActionData_1 = __nccwpck_require__(66634); +Object.defineProperty(exports, "DashboardBulkActionData", ({ enumerable: true, get: function () { return DashboardBulkActionData_1.DashboardBulkActionData; } })); +var DashboardBulkDeleteRequest_1 = __nccwpck_require__(14689); +Object.defineProperty(exports, "DashboardBulkDeleteRequest", ({ enumerable: true, get: function () { return DashboardBulkDeleteRequest_1.DashboardBulkDeleteRequest; } })); +var DashboardDeleteResponse_1 = __nccwpck_require__(22899); +Object.defineProperty(exports, "DashboardDeleteResponse", ({ enumerable: true, get: function () { return DashboardDeleteResponse_1.DashboardDeleteResponse; } })); +var DashboardList_1 = __nccwpck_require__(37165); +Object.defineProperty(exports, "DashboardList", ({ enumerable: true, get: function () { return DashboardList_1.DashboardList; } })); +var DashboardListDeleteResponse_1 = __nccwpck_require__(40167); +Object.defineProperty(exports, "DashboardListDeleteResponse", ({ enumerable: true, get: function () { return DashboardListDeleteResponse_1.DashboardListDeleteResponse; } })); +var DashboardListListResponse_1 = __nccwpck_require__(18934); +Object.defineProperty(exports, "DashboardListListResponse", ({ enumerable: true, get: function () { return DashboardListListResponse_1.DashboardListListResponse; } })); +var DashboardRestoreRequest_1 = __nccwpck_require__(15827); +Object.defineProperty(exports, "DashboardRestoreRequest", ({ enumerable: true, get: function () { return DashboardRestoreRequest_1.DashboardRestoreRequest; } })); +var DashboardSummary_1 = __nccwpck_require__(71472); +Object.defineProperty(exports, "DashboardSummary", ({ enumerable: true, get: function () { return DashboardSummary_1.DashboardSummary; } })); +var DashboardSummaryDefinition_1 = __nccwpck_require__(45087); +Object.defineProperty(exports, "DashboardSummaryDefinition", ({ enumerable: true, get: function () { return DashboardSummaryDefinition_1.DashboardSummaryDefinition; } })); +var DashboardTemplateVariable_1 = __nccwpck_require__(99326); +Object.defineProperty(exports, "DashboardTemplateVariable", ({ enumerable: true, get: function () { return DashboardTemplateVariable_1.DashboardTemplateVariable; } })); +var DashboardTemplateVariablePreset_1 = __nccwpck_require__(37874); +Object.defineProperty(exports, "DashboardTemplateVariablePreset", ({ enumerable: true, get: function () { return DashboardTemplateVariablePreset_1.DashboardTemplateVariablePreset; } })); +var DashboardTemplateVariablePresetValue_1 = __nccwpck_require__(7037); +Object.defineProperty(exports, "DashboardTemplateVariablePresetValue", ({ enumerable: true, get: function () { return DashboardTemplateVariablePresetValue_1.DashboardTemplateVariablePresetValue; } })); +var DeletedMonitor_1 = __nccwpck_require__(4711); +Object.defineProperty(exports, "DeletedMonitor", ({ enumerable: true, get: function () { return DeletedMonitor_1.DeletedMonitor; } })); +var DistributionWidgetDefinition_1 = __nccwpck_require__(88954); +Object.defineProperty(exports, "DistributionWidgetDefinition", ({ enumerable: true, get: function () { return DistributionWidgetDefinition_1.DistributionWidgetDefinition; } })); +var DistributionWidgetRequest_1 = __nccwpck_require__(54139); +Object.defineProperty(exports, "DistributionWidgetRequest", ({ enumerable: true, get: function () { return DistributionWidgetRequest_1.DistributionWidgetRequest; } })); +var DistributionWidgetXAxis_1 = __nccwpck_require__(59792); +Object.defineProperty(exports, "DistributionWidgetXAxis", ({ enumerable: true, get: function () { return DistributionWidgetXAxis_1.DistributionWidgetXAxis; } })); +var DistributionWidgetYAxis_1 = __nccwpck_require__(53869); +Object.defineProperty(exports, "DistributionWidgetYAxis", ({ enumerable: true, get: function () { return DistributionWidgetYAxis_1.DistributionWidgetYAxis; } })); +var Downtime_1 = __nccwpck_require__(66345); +Object.defineProperty(exports, "Downtime", ({ enumerable: true, get: function () { return Downtime_1.Downtime; } })); +var DowntimeChild_1 = __nccwpck_require__(36940); +Object.defineProperty(exports, "DowntimeChild", ({ enumerable: true, get: function () { return DowntimeChild_1.DowntimeChild; } })); +var DowntimeRecurrence_1 = __nccwpck_require__(10878); +Object.defineProperty(exports, "DowntimeRecurrence", ({ enumerable: true, get: function () { return DowntimeRecurrence_1.DowntimeRecurrence; } })); +var Event_1 = __nccwpck_require__(68426); +Object.defineProperty(exports, "Event", ({ enumerable: true, get: function () { return Event_1.Event; } })); +var EventCreateRequest_1 = __nccwpck_require__(98964); +Object.defineProperty(exports, "EventCreateRequest", ({ enumerable: true, get: function () { return EventCreateRequest_1.EventCreateRequest; } })); +var EventCreateResponse_1 = __nccwpck_require__(15571); +Object.defineProperty(exports, "EventCreateResponse", ({ enumerable: true, get: function () { return EventCreateResponse_1.EventCreateResponse; } })); +var EventListResponse_1 = __nccwpck_require__(64758); +Object.defineProperty(exports, "EventListResponse", ({ enumerable: true, get: function () { return EventListResponse_1.EventListResponse; } })); +var EventQueryDefinition_1 = __nccwpck_require__(86630); +Object.defineProperty(exports, "EventQueryDefinition", ({ enumerable: true, get: function () { return EventQueryDefinition_1.EventQueryDefinition; } })); +var EventResponse_1 = __nccwpck_require__(57097); +Object.defineProperty(exports, "EventResponse", ({ enumerable: true, get: function () { return EventResponse_1.EventResponse; } })); +var EventStreamWidgetDefinition_1 = __nccwpck_require__(41446); +Object.defineProperty(exports, "EventStreamWidgetDefinition", ({ enumerable: true, get: function () { return EventStreamWidgetDefinition_1.EventStreamWidgetDefinition; } })); +var EventTimelineWidgetDefinition_1 = __nccwpck_require__(5387); +Object.defineProperty(exports, "EventTimelineWidgetDefinition", ({ enumerable: true, get: function () { return EventTimelineWidgetDefinition_1.EventTimelineWidgetDefinition; } })); +var FormulaAndFunctionApmDependencyStatsQueryDefinition_1 = __nccwpck_require__(86280); +Object.defineProperty(exports, "FormulaAndFunctionApmDependencyStatsQueryDefinition", ({ enumerable: true, get: function () { return FormulaAndFunctionApmDependencyStatsQueryDefinition_1.FormulaAndFunctionApmDependencyStatsQueryDefinition; } })); +var FormulaAndFunctionApmResourceStatsQueryDefinition_1 = __nccwpck_require__(38483); +Object.defineProperty(exports, "FormulaAndFunctionApmResourceStatsQueryDefinition", ({ enumerable: true, get: function () { return FormulaAndFunctionApmResourceStatsQueryDefinition_1.FormulaAndFunctionApmResourceStatsQueryDefinition; } })); +var FormulaAndFunctionEventQueryDefinition_1 = __nccwpck_require__(922); +Object.defineProperty(exports, "FormulaAndFunctionEventQueryDefinition", ({ enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinition_1.FormulaAndFunctionEventQueryDefinition; } })); +var FormulaAndFunctionEventQueryDefinitionCompute_1 = __nccwpck_require__(23526); +Object.defineProperty(exports, "FormulaAndFunctionEventQueryDefinitionCompute", ({ enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinitionCompute_1.FormulaAndFunctionEventQueryDefinitionCompute; } })); +var FormulaAndFunctionEventQueryDefinitionSearch_1 = __nccwpck_require__(35781); +Object.defineProperty(exports, "FormulaAndFunctionEventQueryDefinitionSearch", ({ enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinitionSearch_1.FormulaAndFunctionEventQueryDefinitionSearch; } })); +var FormulaAndFunctionEventQueryGroupBy_1 = __nccwpck_require__(40218); +Object.defineProperty(exports, "FormulaAndFunctionEventQueryGroupBy", ({ enumerable: true, get: function () { return FormulaAndFunctionEventQueryGroupBy_1.FormulaAndFunctionEventQueryGroupBy; } })); +var FormulaAndFunctionEventQueryGroupBySort_1 = __nccwpck_require__(66766); +Object.defineProperty(exports, "FormulaAndFunctionEventQueryGroupBySort", ({ enumerable: true, get: function () { return FormulaAndFunctionEventQueryGroupBySort_1.FormulaAndFunctionEventQueryGroupBySort; } })); +var FormulaAndFunctionMetricQueryDefinition_1 = __nccwpck_require__(61311); +Object.defineProperty(exports, "FormulaAndFunctionMetricQueryDefinition", ({ enumerable: true, get: function () { return FormulaAndFunctionMetricQueryDefinition_1.FormulaAndFunctionMetricQueryDefinition; } })); +var FormulaAndFunctionProcessQueryDefinition_1 = __nccwpck_require__(57572); +Object.defineProperty(exports, "FormulaAndFunctionProcessQueryDefinition", ({ enumerable: true, get: function () { return FormulaAndFunctionProcessQueryDefinition_1.FormulaAndFunctionProcessQueryDefinition; } })); +var FreeTextWidgetDefinition_1 = __nccwpck_require__(3026); +Object.defineProperty(exports, "FreeTextWidgetDefinition", ({ enumerable: true, get: function () { return FreeTextWidgetDefinition_1.FreeTextWidgetDefinition; } })); +var FunnelQuery_1 = __nccwpck_require__(87832); +Object.defineProperty(exports, "FunnelQuery", ({ enumerable: true, get: function () { return FunnelQuery_1.FunnelQuery; } })); +var FunnelStep_1 = __nccwpck_require__(15073); +Object.defineProperty(exports, "FunnelStep", ({ enumerable: true, get: function () { return FunnelStep_1.FunnelStep; } })); +var FunnelWidgetDefinition_1 = __nccwpck_require__(20000); +Object.defineProperty(exports, "FunnelWidgetDefinition", ({ enumerable: true, get: function () { return FunnelWidgetDefinition_1.FunnelWidgetDefinition; } })); +var FunnelWidgetRequest_1 = __nccwpck_require__(75402); +Object.defineProperty(exports, "FunnelWidgetRequest", ({ enumerable: true, get: function () { return FunnelWidgetRequest_1.FunnelWidgetRequest; } })); +var GCPAccount_1 = __nccwpck_require__(78369); +Object.defineProperty(exports, "GCPAccount", ({ enumerable: true, get: function () { return GCPAccount_1.GCPAccount; } })); +var GeomapWidgetDefinition_1 = __nccwpck_require__(919); +Object.defineProperty(exports, "GeomapWidgetDefinition", ({ enumerable: true, get: function () { return GeomapWidgetDefinition_1.GeomapWidgetDefinition; } })); +var GeomapWidgetDefinitionStyle_1 = __nccwpck_require__(42280); +Object.defineProperty(exports, "GeomapWidgetDefinitionStyle", ({ enumerable: true, get: function () { return GeomapWidgetDefinitionStyle_1.GeomapWidgetDefinitionStyle; } })); +var GeomapWidgetDefinitionView_1 = __nccwpck_require__(92237); +Object.defineProperty(exports, "GeomapWidgetDefinitionView", ({ enumerable: true, get: function () { return GeomapWidgetDefinitionView_1.GeomapWidgetDefinitionView; } })); +var GeomapWidgetRequest_1 = __nccwpck_require__(47862); +Object.defineProperty(exports, "GeomapWidgetRequest", ({ enumerable: true, get: function () { return GeomapWidgetRequest_1.GeomapWidgetRequest; } })); +var GraphSnapshot_1 = __nccwpck_require__(13325); +Object.defineProperty(exports, "GraphSnapshot", ({ enumerable: true, get: function () { return GraphSnapshot_1.GraphSnapshot; } })); +var GroupWidgetDefinition_1 = __nccwpck_require__(82330); +Object.defineProperty(exports, "GroupWidgetDefinition", ({ enumerable: true, get: function () { return GroupWidgetDefinition_1.GroupWidgetDefinition; } })); +var HTTPLogError_1 = __nccwpck_require__(81263); +Object.defineProperty(exports, "HTTPLogError", ({ enumerable: true, get: function () { return HTTPLogError_1.HTTPLogError; } })); +var HTTPLogItem_1 = __nccwpck_require__(19674); +Object.defineProperty(exports, "HTTPLogItem", ({ enumerable: true, get: function () { return HTTPLogItem_1.HTTPLogItem; } })); +var HeatMapWidgetDefinition_1 = __nccwpck_require__(84622); +Object.defineProperty(exports, "HeatMapWidgetDefinition", ({ enumerable: true, get: function () { return HeatMapWidgetDefinition_1.HeatMapWidgetDefinition; } })); +var HeatMapWidgetRequest_1 = __nccwpck_require__(82293); +Object.defineProperty(exports, "HeatMapWidgetRequest", ({ enumerable: true, get: function () { return HeatMapWidgetRequest_1.HeatMapWidgetRequest; } })); +var Host_1 = __nccwpck_require__(49556); +Object.defineProperty(exports, "Host", ({ enumerable: true, get: function () { return Host_1.Host; } })); +var HostListResponse_1 = __nccwpck_require__(16915); +Object.defineProperty(exports, "HostListResponse", ({ enumerable: true, get: function () { return HostListResponse_1.HostListResponse; } })); +var HostMapRequest_1 = __nccwpck_require__(25910); +Object.defineProperty(exports, "HostMapRequest", ({ enumerable: true, get: function () { return HostMapRequest_1.HostMapRequest; } })); +var HostMapWidgetDefinition_1 = __nccwpck_require__(59477); +Object.defineProperty(exports, "HostMapWidgetDefinition", ({ enumerable: true, get: function () { return HostMapWidgetDefinition_1.HostMapWidgetDefinition; } })); +var HostMapWidgetDefinitionRequests_1 = __nccwpck_require__(80831); +Object.defineProperty(exports, "HostMapWidgetDefinitionRequests", ({ enumerable: true, get: function () { return HostMapWidgetDefinitionRequests_1.HostMapWidgetDefinitionRequests; } })); +var HostMapWidgetDefinitionStyle_1 = __nccwpck_require__(42370); +Object.defineProperty(exports, "HostMapWidgetDefinitionStyle", ({ enumerable: true, get: function () { return HostMapWidgetDefinitionStyle_1.HostMapWidgetDefinitionStyle; } })); +var HostMeta_1 = __nccwpck_require__(48137); +Object.defineProperty(exports, "HostMeta", ({ enumerable: true, get: function () { return HostMeta_1.HostMeta; } })); +var HostMetaInstallMethod_1 = __nccwpck_require__(33508); +Object.defineProperty(exports, "HostMetaInstallMethod", ({ enumerable: true, get: function () { return HostMetaInstallMethod_1.HostMetaInstallMethod; } })); +var HostMetrics_1 = __nccwpck_require__(70176); +Object.defineProperty(exports, "HostMetrics", ({ enumerable: true, get: function () { return HostMetrics_1.HostMetrics; } })); +var HostMuteResponse_1 = __nccwpck_require__(43814); +Object.defineProperty(exports, "HostMuteResponse", ({ enumerable: true, get: function () { return HostMuteResponse_1.HostMuteResponse; } })); +var HostMuteSettings_1 = __nccwpck_require__(52003); +Object.defineProperty(exports, "HostMuteSettings", ({ enumerable: true, get: function () { return HostMuteSettings_1.HostMuteSettings; } })); +var HostTags_1 = __nccwpck_require__(14891); +Object.defineProperty(exports, "HostTags", ({ enumerable: true, get: function () { return HostTags_1.HostTags; } })); +var HostTotals_1 = __nccwpck_require__(78002); +Object.defineProperty(exports, "HostTotals", ({ enumerable: true, get: function () { return HostTotals_1.HostTotals; } })); +var HourlyUsageAttributionBody_1 = __nccwpck_require__(60079); +Object.defineProperty(exports, "HourlyUsageAttributionBody", ({ enumerable: true, get: function () { return HourlyUsageAttributionBody_1.HourlyUsageAttributionBody; } })); +var HourlyUsageAttributionMetadata_1 = __nccwpck_require__(46590); +Object.defineProperty(exports, "HourlyUsageAttributionMetadata", ({ enumerable: true, get: function () { return HourlyUsageAttributionMetadata_1.HourlyUsageAttributionMetadata; } })); +var HourlyUsageAttributionPagination_1 = __nccwpck_require__(73798); +Object.defineProperty(exports, "HourlyUsageAttributionPagination", ({ enumerable: true, get: function () { return HourlyUsageAttributionPagination_1.HourlyUsageAttributionPagination; } })); +var HourlyUsageAttributionResponse_1 = __nccwpck_require__(81641); +Object.defineProperty(exports, "HourlyUsageAttributionResponse", ({ enumerable: true, get: function () { return HourlyUsageAttributionResponse_1.HourlyUsageAttributionResponse; } })); +var IFrameWidgetDefinition_1 = __nccwpck_require__(26242); +Object.defineProperty(exports, "IFrameWidgetDefinition", ({ enumerable: true, get: function () { return IFrameWidgetDefinition_1.IFrameWidgetDefinition; } })); +var IPPrefixesAPI_1 = __nccwpck_require__(9737); +Object.defineProperty(exports, "IPPrefixesAPI", ({ enumerable: true, get: function () { return IPPrefixesAPI_1.IPPrefixesAPI; } })); +var IPPrefixesAPM_1 = __nccwpck_require__(51806); +Object.defineProperty(exports, "IPPrefixesAPM", ({ enumerable: true, get: function () { return IPPrefixesAPM_1.IPPrefixesAPM; } })); +var IPPrefixesAgents_1 = __nccwpck_require__(15536); +Object.defineProperty(exports, "IPPrefixesAgents", ({ enumerable: true, get: function () { return IPPrefixesAgents_1.IPPrefixesAgents; } })); +var IPPrefixesLogs_1 = __nccwpck_require__(50334); +Object.defineProperty(exports, "IPPrefixesLogs", ({ enumerable: true, get: function () { return IPPrefixesLogs_1.IPPrefixesLogs; } })); +var IPPrefixesProcess_1 = __nccwpck_require__(16605); +Object.defineProperty(exports, "IPPrefixesProcess", ({ enumerable: true, get: function () { return IPPrefixesProcess_1.IPPrefixesProcess; } })); +var IPPrefixesSynthetics_1 = __nccwpck_require__(31933); +Object.defineProperty(exports, "IPPrefixesSynthetics", ({ enumerable: true, get: function () { return IPPrefixesSynthetics_1.IPPrefixesSynthetics; } })); +var IPPrefixesWebhooks_1 = __nccwpck_require__(61031); +Object.defineProperty(exports, "IPPrefixesWebhooks", ({ enumerable: true, get: function () { return IPPrefixesWebhooks_1.IPPrefixesWebhooks; } })); +var IPRanges_1 = __nccwpck_require__(28956); +Object.defineProperty(exports, "IPRanges", ({ enumerable: true, get: function () { return IPRanges_1.IPRanges; } })); +var IdpFormData_1 = __nccwpck_require__(43719); +Object.defineProperty(exports, "IdpFormData", ({ enumerable: true, get: function () { return IdpFormData_1.IdpFormData; } })); +var IdpResponse_1 = __nccwpck_require__(91992); +Object.defineProperty(exports, "IdpResponse", ({ enumerable: true, get: function () { return IdpResponse_1.IdpResponse; } })); +var ImageWidgetDefinition_1 = __nccwpck_require__(86051); +Object.defineProperty(exports, "ImageWidgetDefinition", ({ enumerable: true, get: function () { return ImageWidgetDefinition_1.ImageWidgetDefinition; } })); +var IntakePayloadAccepted_1 = __nccwpck_require__(71328); +Object.defineProperty(exports, "IntakePayloadAccepted", ({ enumerable: true, get: function () { return IntakePayloadAccepted_1.IntakePayloadAccepted; } })); +var ListStreamColumn_1 = __nccwpck_require__(91106); +Object.defineProperty(exports, "ListStreamColumn", ({ enumerable: true, get: function () { return ListStreamColumn_1.ListStreamColumn; } })); +var ListStreamQuery_1 = __nccwpck_require__(44439); +Object.defineProperty(exports, "ListStreamQuery", ({ enumerable: true, get: function () { return ListStreamQuery_1.ListStreamQuery; } })); +var ListStreamWidgetDefinition_1 = __nccwpck_require__(49497); +Object.defineProperty(exports, "ListStreamWidgetDefinition", ({ enumerable: true, get: function () { return ListStreamWidgetDefinition_1.ListStreamWidgetDefinition; } })); +var ListStreamWidgetRequest_1 = __nccwpck_require__(80951); +Object.defineProperty(exports, "ListStreamWidgetRequest", ({ enumerable: true, get: function () { return ListStreamWidgetRequest_1.ListStreamWidgetRequest; } })); +var Log_1 = __nccwpck_require__(83438); +Object.defineProperty(exports, "Log", ({ enumerable: true, get: function () { return Log_1.Log; } })); +var LogContent_1 = __nccwpck_require__(67704); +Object.defineProperty(exports, "LogContent", ({ enumerable: true, get: function () { return LogContent_1.LogContent; } })); +var LogQueryDefinition_1 = __nccwpck_require__(12197); +Object.defineProperty(exports, "LogQueryDefinition", ({ enumerable: true, get: function () { return LogQueryDefinition_1.LogQueryDefinition; } })); +var LogQueryDefinitionGroupBy_1 = __nccwpck_require__(54246); +Object.defineProperty(exports, "LogQueryDefinitionGroupBy", ({ enumerable: true, get: function () { return LogQueryDefinitionGroupBy_1.LogQueryDefinitionGroupBy; } })); +var LogQueryDefinitionGroupBySort_1 = __nccwpck_require__(37827); +Object.defineProperty(exports, "LogQueryDefinitionGroupBySort", ({ enumerable: true, get: function () { return LogQueryDefinitionGroupBySort_1.LogQueryDefinitionGroupBySort; } })); +var LogQueryDefinitionSearch_1 = __nccwpck_require__(20235); +Object.defineProperty(exports, "LogQueryDefinitionSearch", ({ enumerable: true, get: function () { return LogQueryDefinitionSearch_1.LogQueryDefinitionSearch; } })); +var LogStreamWidgetDefinition_1 = __nccwpck_require__(76959); +Object.defineProperty(exports, "LogStreamWidgetDefinition", ({ enumerable: true, get: function () { return LogStreamWidgetDefinition_1.LogStreamWidgetDefinition; } })); +var LogsAPIError_1 = __nccwpck_require__(27806); +Object.defineProperty(exports, "LogsAPIError", ({ enumerable: true, get: function () { return LogsAPIError_1.LogsAPIError; } })); +var LogsAPIErrorResponse_1 = __nccwpck_require__(25074); +Object.defineProperty(exports, "LogsAPIErrorResponse", ({ enumerable: true, get: function () { return LogsAPIErrorResponse_1.LogsAPIErrorResponse; } })); +var LogsArithmeticProcessor_1 = __nccwpck_require__(15426); +Object.defineProperty(exports, "LogsArithmeticProcessor", ({ enumerable: true, get: function () { return LogsArithmeticProcessor_1.LogsArithmeticProcessor; } })); +var LogsAttributeRemapper_1 = __nccwpck_require__(70365); +Object.defineProperty(exports, "LogsAttributeRemapper", ({ enumerable: true, get: function () { return LogsAttributeRemapper_1.LogsAttributeRemapper; } })); +var LogsByRetention_1 = __nccwpck_require__(97769); +Object.defineProperty(exports, "LogsByRetention", ({ enumerable: true, get: function () { return LogsByRetention_1.LogsByRetention; } })); +var LogsByRetentionMonthlyUsage_1 = __nccwpck_require__(96594); +Object.defineProperty(exports, "LogsByRetentionMonthlyUsage", ({ enumerable: true, get: function () { return LogsByRetentionMonthlyUsage_1.LogsByRetentionMonthlyUsage; } })); +var LogsByRetentionOrgUsage_1 = __nccwpck_require__(79667); +Object.defineProperty(exports, "LogsByRetentionOrgUsage", ({ enumerable: true, get: function () { return LogsByRetentionOrgUsage_1.LogsByRetentionOrgUsage; } })); +var LogsByRetentionOrgs_1 = __nccwpck_require__(45185); +Object.defineProperty(exports, "LogsByRetentionOrgs", ({ enumerable: true, get: function () { return LogsByRetentionOrgs_1.LogsByRetentionOrgs; } })); +var LogsCategoryProcessor_1 = __nccwpck_require__(40573); +Object.defineProperty(exports, "LogsCategoryProcessor", ({ enumerable: true, get: function () { return LogsCategoryProcessor_1.LogsCategoryProcessor; } })); +var LogsCategoryProcessorCategory_1 = __nccwpck_require__(10242); +Object.defineProperty(exports, "LogsCategoryProcessorCategory", ({ enumerable: true, get: function () { return LogsCategoryProcessorCategory_1.LogsCategoryProcessorCategory; } })); +var LogsDateRemapper_1 = __nccwpck_require__(34468); +Object.defineProperty(exports, "LogsDateRemapper", ({ enumerable: true, get: function () { return LogsDateRemapper_1.LogsDateRemapper; } })); +var LogsExclusion_1 = __nccwpck_require__(78203); +Object.defineProperty(exports, "LogsExclusion", ({ enumerable: true, get: function () { return LogsExclusion_1.LogsExclusion; } })); +var LogsExclusionFilter_1 = __nccwpck_require__(73573); +Object.defineProperty(exports, "LogsExclusionFilter", ({ enumerable: true, get: function () { return LogsExclusionFilter_1.LogsExclusionFilter; } })); +var LogsFilter_1 = __nccwpck_require__(96533); +Object.defineProperty(exports, "LogsFilter", ({ enumerable: true, get: function () { return LogsFilter_1.LogsFilter; } })); +var LogsGeoIPParser_1 = __nccwpck_require__(30810); +Object.defineProperty(exports, "LogsGeoIPParser", ({ enumerable: true, get: function () { return LogsGeoIPParser_1.LogsGeoIPParser; } })); +var LogsGrokParser_1 = __nccwpck_require__(86255); +Object.defineProperty(exports, "LogsGrokParser", ({ enumerable: true, get: function () { return LogsGrokParser_1.LogsGrokParser; } })); +var LogsGrokParserRules_1 = __nccwpck_require__(17200); +Object.defineProperty(exports, "LogsGrokParserRules", ({ enumerable: true, get: function () { return LogsGrokParserRules_1.LogsGrokParserRules; } })); +var LogsIndex_1 = __nccwpck_require__(67826); +Object.defineProperty(exports, "LogsIndex", ({ enumerable: true, get: function () { return LogsIndex_1.LogsIndex; } })); +var LogsIndexListResponse_1 = __nccwpck_require__(32099); +Object.defineProperty(exports, "LogsIndexListResponse", ({ enumerable: true, get: function () { return LogsIndexListResponse_1.LogsIndexListResponse; } })); +var LogsIndexUpdateRequest_1 = __nccwpck_require__(60006); +Object.defineProperty(exports, "LogsIndexUpdateRequest", ({ enumerable: true, get: function () { return LogsIndexUpdateRequest_1.LogsIndexUpdateRequest; } })); +var LogsIndexesOrder_1 = __nccwpck_require__(10785); +Object.defineProperty(exports, "LogsIndexesOrder", ({ enumerable: true, get: function () { return LogsIndexesOrder_1.LogsIndexesOrder; } })); +var LogsListRequest_1 = __nccwpck_require__(98514); +Object.defineProperty(exports, "LogsListRequest", ({ enumerable: true, get: function () { return LogsListRequest_1.LogsListRequest; } })); +var LogsListRequestTime_1 = __nccwpck_require__(21905); +Object.defineProperty(exports, "LogsListRequestTime", ({ enumerable: true, get: function () { return LogsListRequestTime_1.LogsListRequestTime; } })); +var LogsListResponse_1 = __nccwpck_require__(49469); +Object.defineProperty(exports, "LogsListResponse", ({ enumerable: true, get: function () { return LogsListResponse_1.LogsListResponse; } })); +var LogsLookupProcessor_1 = __nccwpck_require__(36335); +Object.defineProperty(exports, "LogsLookupProcessor", ({ enumerable: true, get: function () { return LogsLookupProcessor_1.LogsLookupProcessor; } })); +var LogsMessageRemapper_1 = __nccwpck_require__(1148); +Object.defineProperty(exports, "LogsMessageRemapper", ({ enumerable: true, get: function () { return LogsMessageRemapper_1.LogsMessageRemapper; } })); +var LogsPipeline_1 = __nccwpck_require__(62446); +Object.defineProperty(exports, "LogsPipeline", ({ enumerable: true, get: function () { return LogsPipeline_1.LogsPipeline; } })); +var LogsPipelineProcessor_1 = __nccwpck_require__(93445); +Object.defineProperty(exports, "LogsPipelineProcessor", ({ enumerable: true, get: function () { return LogsPipelineProcessor_1.LogsPipelineProcessor; } })); +var LogsPipelinesOrder_1 = __nccwpck_require__(53880); +Object.defineProperty(exports, "LogsPipelinesOrder", ({ enumerable: true, get: function () { return LogsPipelinesOrder_1.LogsPipelinesOrder; } })); +var LogsQueryCompute_1 = __nccwpck_require__(6239); +Object.defineProperty(exports, "LogsQueryCompute", ({ enumerable: true, get: function () { return LogsQueryCompute_1.LogsQueryCompute; } })); +var LogsRetentionAggSumUsage_1 = __nccwpck_require__(59107); +Object.defineProperty(exports, "LogsRetentionAggSumUsage", ({ enumerable: true, get: function () { return LogsRetentionAggSumUsage_1.LogsRetentionAggSumUsage; } })); +var LogsRetentionSumUsage_1 = __nccwpck_require__(93863); +Object.defineProperty(exports, "LogsRetentionSumUsage", ({ enumerable: true, get: function () { return LogsRetentionSumUsage_1.LogsRetentionSumUsage; } })); +var LogsServiceRemapper_1 = __nccwpck_require__(73178); +Object.defineProperty(exports, "LogsServiceRemapper", ({ enumerable: true, get: function () { return LogsServiceRemapper_1.LogsServiceRemapper; } })); +var LogsStatusRemapper_1 = __nccwpck_require__(6206); +Object.defineProperty(exports, "LogsStatusRemapper", ({ enumerable: true, get: function () { return LogsStatusRemapper_1.LogsStatusRemapper; } })); +var LogsStringBuilderProcessor_1 = __nccwpck_require__(54184); +Object.defineProperty(exports, "LogsStringBuilderProcessor", ({ enumerable: true, get: function () { return LogsStringBuilderProcessor_1.LogsStringBuilderProcessor; } })); +var LogsTraceRemapper_1 = __nccwpck_require__(69922); +Object.defineProperty(exports, "LogsTraceRemapper", ({ enumerable: true, get: function () { return LogsTraceRemapper_1.LogsTraceRemapper; } })); +var LogsURLParser_1 = __nccwpck_require__(16650); +Object.defineProperty(exports, "LogsURLParser", ({ enumerable: true, get: function () { return LogsURLParser_1.LogsURLParser; } })); +var LogsUserAgentParser_1 = __nccwpck_require__(62792); +Object.defineProperty(exports, "LogsUserAgentParser", ({ enumerable: true, get: function () { return LogsUserAgentParser_1.LogsUserAgentParser; } })); +var MetricMetadata_1 = __nccwpck_require__(91082); +Object.defineProperty(exports, "MetricMetadata", ({ enumerable: true, get: function () { return MetricMetadata_1.MetricMetadata; } })); +var MetricSearchResponse_1 = __nccwpck_require__(5629); +Object.defineProperty(exports, "MetricSearchResponse", ({ enumerable: true, get: function () { return MetricSearchResponse_1.MetricSearchResponse; } })); +var MetricSearchResponseResults_1 = __nccwpck_require__(32036); +Object.defineProperty(exports, "MetricSearchResponseResults", ({ enumerable: true, get: function () { return MetricSearchResponseResults_1.MetricSearchResponseResults; } })); +var MetricsListResponse_1 = __nccwpck_require__(36562); +Object.defineProperty(exports, "MetricsListResponse", ({ enumerable: true, get: function () { return MetricsListResponse_1.MetricsListResponse; } })); +var MetricsPayload_1 = __nccwpck_require__(18312); +Object.defineProperty(exports, "MetricsPayload", ({ enumerable: true, get: function () { return MetricsPayload_1.MetricsPayload; } })); +var MetricsQueryMetadata_1 = __nccwpck_require__(94266); +Object.defineProperty(exports, "MetricsQueryMetadata", ({ enumerable: true, get: function () { return MetricsQueryMetadata_1.MetricsQueryMetadata; } })); +var MetricsQueryResponse_1 = __nccwpck_require__(10574); +Object.defineProperty(exports, "MetricsQueryResponse", ({ enumerable: true, get: function () { return MetricsQueryResponse_1.MetricsQueryResponse; } })); +var MetricsQueryUnit_1 = __nccwpck_require__(54581); +Object.defineProperty(exports, "MetricsQueryUnit", ({ enumerable: true, get: function () { return MetricsQueryUnit_1.MetricsQueryUnit; } })); +var Monitor_1 = __nccwpck_require__(45685); +Object.defineProperty(exports, "Monitor", ({ enumerable: true, get: function () { return Monitor_1.Monitor; } })); +var MonitorFormulaAndFunctionEventQueryDefinition_1 = __nccwpck_require__(58983); +Object.defineProperty(exports, "MonitorFormulaAndFunctionEventQueryDefinition", ({ enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinition_1.MonitorFormulaAndFunctionEventQueryDefinition; } })); +var MonitorFormulaAndFunctionEventQueryDefinitionCompute_1 = __nccwpck_require__(18547); +Object.defineProperty(exports, "MonitorFormulaAndFunctionEventQueryDefinitionCompute", ({ enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinitionCompute_1.MonitorFormulaAndFunctionEventQueryDefinitionCompute; } })); +var MonitorFormulaAndFunctionEventQueryDefinitionSearch_1 = __nccwpck_require__(22864); +Object.defineProperty(exports, "MonitorFormulaAndFunctionEventQueryDefinitionSearch", ({ enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinitionSearch_1.MonitorFormulaAndFunctionEventQueryDefinitionSearch; } })); +var MonitorFormulaAndFunctionEventQueryGroupBy_1 = __nccwpck_require__(23168); +Object.defineProperty(exports, "MonitorFormulaAndFunctionEventQueryGroupBy", ({ enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryGroupBy_1.MonitorFormulaAndFunctionEventQueryGroupBy; } })); +var MonitorFormulaAndFunctionEventQueryGroupBySort_1 = __nccwpck_require__(45798); +Object.defineProperty(exports, "MonitorFormulaAndFunctionEventQueryGroupBySort", ({ enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryGroupBySort_1.MonitorFormulaAndFunctionEventQueryGroupBySort; } })); +var MonitorGroupSearchResponse_1 = __nccwpck_require__(25941); +Object.defineProperty(exports, "MonitorGroupSearchResponse", ({ enumerable: true, get: function () { return MonitorGroupSearchResponse_1.MonitorGroupSearchResponse; } })); +var MonitorGroupSearchResponseCounts_1 = __nccwpck_require__(6527); +Object.defineProperty(exports, "MonitorGroupSearchResponseCounts", ({ enumerable: true, get: function () { return MonitorGroupSearchResponseCounts_1.MonitorGroupSearchResponseCounts; } })); +var MonitorGroupSearchResult_1 = __nccwpck_require__(55041); +Object.defineProperty(exports, "MonitorGroupSearchResult", ({ enumerable: true, get: function () { return MonitorGroupSearchResult_1.MonitorGroupSearchResult; } })); +var MonitorOptions_1 = __nccwpck_require__(48231); +Object.defineProperty(exports, "MonitorOptions", ({ enumerable: true, get: function () { return MonitorOptions_1.MonitorOptions; } })); +var MonitorOptionsAggregation_1 = __nccwpck_require__(48316); +Object.defineProperty(exports, "MonitorOptionsAggregation", ({ enumerable: true, get: function () { return MonitorOptionsAggregation_1.MonitorOptionsAggregation; } })); +var MonitorSearchResponse_1 = __nccwpck_require__(40893); +Object.defineProperty(exports, "MonitorSearchResponse", ({ enumerable: true, get: function () { return MonitorSearchResponse_1.MonitorSearchResponse; } })); +var MonitorSearchResponseCounts_1 = __nccwpck_require__(80198); +Object.defineProperty(exports, "MonitorSearchResponseCounts", ({ enumerable: true, get: function () { return MonitorSearchResponseCounts_1.MonitorSearchResponseCounts; } })); +var MonitorSearchResponseMetadata_1 = __nccwpck_require__(78696); +Object.defineProperty(exports, "MonitorSearchResponseMetadata", ({ enumerable: true, get: function () { return MonitorSearchResponseMetadata_1.MonitorSearchResponseMetadata; } })); +var MonitorSearchResult_1 = __nccwpck_require__(14120); +Object.defineProperty(exports, "MonitorSearchResult", ({ enumerable: true, get: function () { return MonitorSearchResult_1.MonitorSearchResult; } })); +var MonitorSearchResultNotification_1 = __nccwpck_require__(17402); +Object.defineProperty(exports, "MonitorSearchResultNotification", ({ enumerable: true, get: function () { return MonitorSearchResultNotification_1.MonitorSearchResultNotification; } })); +var MonitorState_1 = __nccwpck_require__(27789); +Object.defineProperty(exports, "MonitorState", ({ enumerable: true, get: function () { return MonitorState_1.MonitorState; } })); +var MonitorStateGroup_1 = __nccwpck_require__(68737); +Object.defineProperty(exports, "MonitorStateGroup", ({ enumerable: true, get: function () { return MonitorStateGroup_1.MonitorStateGroup; } })); +var MonitorSummaryWidgetDefinition_1 = __nccwpck_require__(22788); +Object.defineProperty(exports, "MonitorSummaryWidgetDefinition", ({ enumerable: true, get: function () { return MonitorSummaryWidgetDefinition_1.MonitorSummaryWidgetDefinition; } })); +var MonitorThresholdWindowOptions_1 = __nccwpck_require__(12780); +Object.defineProperty(exports, "MonitorThresholdWindowOptions", ({ enumerable: true, get: function () { return MonitorThresholdWindowOptions_1.MonitorThresholdWindowOptions; } })); +var MonitorThresholds_1 = __nccwpck_require__(28522); +Object.defineProperty(exports, "MonitorThresholds", ({ enumerable: true, get: function () { return MonitorThresholds_1.MonitorThresholds; } })); +var MonitorUpdateRequest_1 = __nccwpck_require__(77039); +Object.defineProperty(exports, "MonitorUpdateRequest", ({ enumerable: true, get: function () { return MonitorUpdateRequest_1.MonitorUpdateRequest; } })); +var MonthlyUsageAttributionBody_1 = __nccwpck_require__(22537); +Object.defineProperty(exports, "MonthlyUsageAttributionBody", ({ enumerable: true, get: function () { return MonthlyUsageAttributionBody_1.MonthlyUsageAttributionBody; } })); +var MonthlyUsageAttributionMetadata_1 = __nccwpck_require__(25116); +Object.defineProperty(exports, "MonthlyUsageAttributionMetadata", ({ enumerable: true, get: function () { return MonthlyUsageAttributionMetadata_1.MonthlyUsageAttributionMetadata; } })); +var MonthlyUsageAttributionPagination_1 = __nccwpck_require__(73712); +Object.defineProperty(exports, "MonthlyUsageAttributionPagination", ({ enumerable: true, get: function () { return MonthlyUsageAttributionPagination_1.MonthlyUsageAttributionPagination; } })); +var MonthlyUsageAttributionResponse_1 = __nccwpck_require__(95112); +Object.defineProperty(exports, "MonthlyUsageAttributionResponse", ({ enumerable: true, get: function () { return MonthlyUsageAttributionResponse_1.MonthlyUsageAttributionResponse; } })); +var MonthlyUsageAttributionValues_1 = __nccwpck_require__(80336); +Object.defineProperty(exports, "MonthlyUsageAttributionValues", ({ enumerable: true, get: function () { return MonthlyUsageAttributionValues_1.MonthlyUsageAttributionValues; } })); +var NoteWidgetDefinition_1 = __nccwpck_require__(35355); +Object.defineProperty(exports, "NoteWidgetDefinition", ({ enumerable: true, get: function () { return NoteWidgetDefinition_1.NoteWidgetDefinition; } })); +var NotebookAbsoluteTime_1 = __nccwpck_require__(65962); +Object.defineProperty(exports, "NotebookAbsoluteTime", ({ enumerable: true, get: function () { return NotebookAbsoluteTime_1.NotebookAbsoluteTime; } })); +var NotebookAuthor_1 = __nccwpck_require__(90658); +Object.defineProperty(exports, "NotebookAuthor", ({ enumerable: true, get: function () { return NotebookAuthor_1.NotebookAuthor; } })); +var NotebookCellCreateRequest_1 = __nccwpck_require__(62235); +Object.defineProperty(exports, "NotebookCellCreateRequest", ({ enumerable: true, get: function () { return NotebookCellCreateRequest_1.NotebookCellCreateRequest; } })); +var NotebookCellResponse_1 = __nccwpck_require__(84386); +Object.defineProperty(exports, "NotebookCellResponse", ({ enumerable: true, get: function () { return NotebookCellResponse_1.NotebookCellResponse; } })); +var NotebookCellUpdateRequest_1 = __nccwpck_require__(99902); +Object.defineProperty(exports, "NotebookCellUpdateRequest", ({ enumerable: true, get: function () { return NotebookCellUpdateRequest_1.NotebookCellUpdateRequest; } })); +var NotebookCreateData_1 = __nccwpck_require__(42541); +Object.defineProperty(exports, "NotebookCreateData", ({ enumerable: true, get: function () { return NotebookCreateData_1.NotebookCreateData; } })); +var NotebookCreateDataAttributes_1 = __nccwpck_require__(52931); +Object.defineProperty(exports, "NotebookCreateDataAttributes", ({ enumerable: true, get: function () { return NotebookCreateDataAttributes_1.NotebookCreateDataAttributes; } })); +var NotebookCreateRequest_1 = __nccwpck_require__(82520); +Object.defineProperty(exports, "NotebookCreateRequest", ({ enumerable: true, get: function () { return NotebookCreateRequest_1.NotebookCreateRequest; } })); +var NotebookDistributionCellAttributes_1 = __nccwpck_require__(87594); +Object.defineProperty(exports, "NotebookDistributionCellAttributes", ({ enumerable: true, get: function () { return NotebookDistributionCellAttributes_1.NotebookDistributionCellAttributes; } })); +var NotebookHeatMapCellAttributes_1 = __nccwpck_require__(81974); +Object.defineProperty(exports, "NotebookHeatMapCellAttributes", ({ enumerable: true, get: function () { return NotebookHeatMapCellAttributes_1.NotebookHeatMapCellAttributes; } })); +var NotebookLogStreamCellAttributes_1 = __nccwpck_require__(60761); +Object.defineProperty(exports, "NotebookLogStreamCellAttributes", ({ enumerable: true, get: function () { return NotebookLogStreamCellAttributes_1.NotebookLogStreamCellAttributes; } })); +var NotebookMarkdownCellAttributes_1 = __nccwpck_require__(3567); +Object.defineProperty(exports, "NotebookMarkdownCellAttributes", ({ enumerable: true, get: function () { return NotebookMarkdownCellAttributes_1.NotebookMarkdownCellAttributes; } })); +var NotebookMarkdownCellDefinition_1 = __nccwpck_require__(12035); +Object.defineProperty(exports, "NotebookMarkdownCellDefinition", ({ enumerable: true, get: function () { return NotebookMarkdownCellDefinition_1.NotebookMarkdownCellDefinition; } })); +var NotebookMetadata_1 = __nccwpck_require__(34078); +Object.defineProperty(exports, "NotebookMetadata", ({ enumerable: true, get: function () { return NotebookMetadata_1.NotebookMetadata; } })); +var NotebookRelativeTime_1 = __nccwpck_require__(94586); +Object.defineProperty(exports, "NotebookRelativeTime", ({ enumerable: true, get: function () { return NotebookRelativeTime_1.NotebookRelativeTime; } })); +var NotebookResponse_1 = __nccwpck_require__(43296); +Object.defineProperty(exports, "NotebookResponse", ({ enumerable: true, get: function () { return NotebookResponse_1.NotebookResponse; } })); +var NotebookResponseData_1 = __nccwpck_require__(59227); +Object.defineProperty(exports, "NotebookResponseData", ({ enumerable: true, get: function () { return NotebookResponseData_1.NotebookResponseData; } })); +var NotebookResponseDataAttributes_1 = __nccwpck_require__(59433); +Object.defineProperty(exports, "NotebookResponseDataAttributes", ({ enumerable: true, get: function () { return NotebookResponseDataAttributes_1.NotebookResponseDataAttributes; } })); +var NotebookSplitBy_1 = __nccwpck_require__(17911); +Object.defineProperty(exports, "NotebookSplitBy", ({ enumerable: true, get: function () { return NotebookSplitBy_1.NotebookSplitBy; } })); +var NotebookTimeseriesCellAttributes_1 = __nccwpck_require__(38581); +Object.defineProperty(exports, "NotebookTimeseriesCellAttributes", ({ enumerable: true, get: function () { return NotebookTimeseriesCellAttributes_1.NotebookTimeseriesCellAttributes; } })); +var NotebookToplistCellAttributes_1 = __nccwpck_require__(45652); +Object.defineProperty(exports, "NotebookToplistCellAttributes", ({ enumerable: true, get: function () { return NotebookToplistCellAttributes_1.NotebookToplistCellAttributes; } })); +var NotebookUpdateData_1 = __nccwpck_require__(31500); +Object.defineProperty(exports, "NotebookUpdateData", ({ enumerable: true, get: function () { return NotebookUpdateData_1.NotebookUpdateData; } })); +var NotebookUpdateDataAttributes_1 = __nccwpck_require__(39612); +Object.defineProperty(exports, "NotebookUpdateDataAttributes", ({ enumerable: true, get: function () { return NotebookUpdateDataAttributes_1.NotebookUpdateDataAttributes; } })); +var NotebookUpdateRequest_1 = __nccwpck_require__(57229); +Object.defineProperty(exports, "NotebookUpdateRequest", ({ enumerable: true, get: function () { return NotebookUpdateRequest_1.NotebookUpdateRequest; } })); +var NotebooksResponse_1 = __nccwpck_require__(34680); +Object.defineProperty(exports, "NotebooksResponse", ({ enumerable: true, get: function () { return NotebooksResponse_1.NotebooksResponse; } })); +var NotebooksResponseData_1 = __nccwpck_require__(92333); +Object.defineProperty(exports, "NotebooksResponseData", ({ enumerable: true, get: function () { return NotebooksResponseData_1.NotebooksResponseData; } })); +var NotebooksResponseDataAttributes_1 = __nccwpck_require__(67182); +Object.defineProperty(exports, "NotebooksResponseDataAttributes", ({ enumerable: true, get: function () { return NotebooksResponseDataAttributes_1.NotebooksResponseDataAttributes; } })); +var NotebooksResponseMeta_1 = __nccwpck_require__(91514); +Object.defineProperty(exports, "NotebooksResponseMeta", ({ enumerable: true, get: function () { return NotebooksResponseMeta_1.NotebooksResponseMeta; } })); +var NotebooksResponsePage_1 = __nccwpck_require__(29365); +Object.defineProperty(exports, "NotebooksResponsePage", ({ enumerable: true, get: function () { return NotebooksResponsePage_1.NotebooksResponsePage; } })); +var Organization_1 = __nccwpck_require__(5080); +Object.defineProperty(exports, "Organization", ({ enumerable: true, get: function () { return Organization_1.Organization; } })); +var OrganizationBilling_1 = __nccwpck_require__(89008); +Object.defineProperty(exports, "OrganizationBilling", ({ enumerable: true, get: function () { return OrganizationBilling_1.OrganizationBilling; } })); +var OrganizationCreateBody_1 = __nccwpck_require__(16132); +Object.defineProperty(exports, "OrganizationCreateBody", ({ enumerable: true, get: function () { return OrganizationCreateBody_1.OrganizationCreateBody; } })); +var OrganizationCreateResponse_1 = __nccwpck_require__(24007); +Object.defineProperty(exports, "OrganizationCreateResponse", ({ enumerable: true, get: function () { return OrganizationCreateResponse_1.OrganizationCreateResponse; } })); +var OrganizationListResponse_1 = __nccwpck_require__(67823); +Object.defineProperty(exports, "OrganizationListResponse", ({ enumerable: true, get: function () { return OrganizationListResponse_1.OrganizationListResponse; } })); +var OrganizationResponse_1 = __nccwpck_require__(58106); +Object.defineProperty(exports, "OrganizationResponse", ({ enumerable: true, get: function () { return OrganizationResponse_1.OrganizationResponse; } })); +var OrganizationSettings_1 = __nccwpck_require__(49434); +Object.defineProperty(exports, "OrganizationSettings", ({ enumerable: true, get: function () { return OrganizationSettings_1.OrganizationSettings; } })); +var OrganizationSettingsSaml_1 = __nccwpck_require__(23808); +Object.defineProperty(exports, "OrganizationSettingsSaml", ({ enumerable: true, get: function () { return OrganizationSettingsSaml_1.OrganizationSettingsSaml; } })); +var OrganizationSettingsSamlAutocreateUsersDomains_1 = __nccwpck_require__(83448); +Object.defineProperty(exports, "OrganizationSettingsSamlAutocreateUsersDomains", ({ enumerable: true, get: function () { return OrganizationSettingsSamlAutocreateUsersDomains_1.OrganizationSettingsSamlAutocreateUsersDomains; } })); +var OrganizationSettingsSamlIdpInitiatedLogin_1 = __nccwpck_require__(79957); +Object.defineProperty(exports, "OrganizationSettingsSamlIdpInitiatedLogin", ({ enumerable: true, get: function () { return OrganizationSettingsSamlIdpInitiatedLogin_1.OrganizationSettingsSamlIdpInitiatedLogin; } })); +var OrganizationSettingsSamlStrictMode_1 = __nccwpck_require__(21101); +Object.defineProperty(exports, "OrganizationSettingsSamlStrictMode", ({ enumerable: true, get: function () { return OrganizationSettingsSamlStrictMode_1.OrganizationSettingsSamlStrictMode; } })); +var OrganizationSubscription_1 = __nccwpck_require__(75122); +Object.defineProperty(exports, "OrganizationSubscription", ({ enumerable: true, get: function () { return OrganizationSubscription_1.OrganizationSubscription; } })); +var PagerDutyService_1 = __nccwpck_require__(99433); +Object.defineProperty(exports, "PagerDutyService", ({ enumerable: true, get: function () { return PagerDutyService_1.PagerDutyService; } })); +var PagerDutyServiceKey_1 = __nccwpck_require__(32766); +Object.defineProperty(exports, "PagerDutyServiceKey", ({ enumerable: true, get: function () { return PagerDutyServiceKey_1.PagerDutyServiceKey; } })); +var PagerDutyServiceName_1 = __nccwpck_require__(44198); +Object.defineProperty(exports, "PagerDutyServiceName", ({ enumerable: true, get: function () { return PagerDutyServiceName_1.PagerDutyServiceName; } })); +var Pagination_1 = __nccwpck_require__(97834); +Object.defineProperty(exports, "Pagination", ({ enumerable: true, get: function () { return Pagination_1.Pagination; } })); +var ProcessQueryDefinition_1 = __nccwpck_require__(96386); +Object.defineProperty(exports, "ProcessQueryDefinition", ({ enumerable: true, get: function () { return ProcessQueryDefinition_1.ProcessQueryDefinition; } })); +var QueryValueWidgetDefinition_1 = __nccwpck_require__(78268); +Object.defineProperty(exports, "QueryValueWidgetDefinition", ({ enumerable: true, get: function () { return QueryValueWidgetDefinition_1.QueryValueWidgetDefinition; } })); +var QueryValueWidgetRequest_1 = __nccwpck_require__(10384); +Object.defineProperty(exports, "QueryValueWidgetRequest", ({ enumerable: true, get: function () { return QueryValueWidgetRequest_1.QueryValueWidgetRequest; } })); +var ResponseMetaAttributes_1 = __nccwpck_require__(44993); +Object.defineProperty(exports, "ResponseMetaAttributes", ({ enumerable: true, get: function () { return ResponseMetaAttributes_1.ResponseMetaAttributes; } })); +var SLOBulkDeleteError_1 = __nccwpck_require__(6307); +Object.defineProperty(exports, "SLOBulkDeleteError", ({ enumerable: true, get: function () { return SLOBulkDeleteError_1.SLOBulkDeleteError; } })); +var SLOBulkDeleteResponse_1 = __nccwpck_require__(53119); +Object.defineProperty(exports, "SLOBulkDeleteResponse", ({ enumerable: true, get: function () { return SLOBulkDeleteResponse_1.SLOBulkDeleteResponse; } })); +var SLOBulkDeleteResponseData_1 = __nccwpck_require__(28093); +Object.defineProperty(exports, "SLOBulkDeleteResponseData", ({ enumerable: true, get: function () { return SLOBulkDeleteResponseData_1.SLOBulkDeleteResponseData; } })); +var SLOCorrection_1 = __nccwpck_require__(2852); +Object.defineProperty(exports, "SLOCorrection", ({ enumerable: true, get: function () { return SLOCorrection_1.SLOCorrection; } })); +var SLOCorrectionCreateData_1 = __nccwpck_require__(43215); +Object.defineProperty(exports, "SLOCorrectionCreateData", ({ enumerable: true, get: function () { return SLOCorrectionCreateData_1.SLOCorrectionCreateData; } })); +var SLOCorrectionCreateRequest_1 = __nccwpck_require__(87152); +Object.defineProperty(exports, "SLOCorrectionCreateRequest", ({ enumerable: true, get: function () { return SLOCorrectionCreateRequest_1.SLOCorrectionCreateRequest; } })); +var SLOCorrectionCreateRequestAttributes_1 = __nccwpck_require__(26204); +Object.defineProperty(exports, "SLOCorrectionCreateRequestAttributes", ({ enumerable: true, get: function () { return SLOCorrectionCreateRequestAttributes_1.SLOCorrectionCreateRequestAttributes; } })); +var SLOCorrectionListResponse_1 = __nccwpck_require__(12062); +Object.defineProperty(exports, "SLOCorrectionListResponse", ({ enumerable: true, get: function () { return SLOCorrectionListResponse_1.SLOCorrectionListResponse; } })); +var SLOCorrectionResponse_1 = __nccwpck_require__(26986); +Object.defineProperty(exports, "SLOCorrectionResponse", ({ enumerable: true, get: function () { return SLOCorrectionResponse_1.SLOCorrectionResponse; } })); +var SLOCorrectionResponseAttributes_1 = __nccwpck_require__(35052); +Object.defineProperty(exports, "SLOCorrectionResponseAttributes", ({ enumerable: true, get: function () { return SLOCorrectionResponseAttributes_1.SLOCorrectionResponseAttributes; } })); +var SLOCorrectionResponseAttributesModifier_1 = __nccwpck_require__(88857); +Object.defineProperty(exports, "SLOCorrectionResponseAttributesModifier", ({ enumerable: true, get: function () { return SLOCorrectionResponseAttributesModifier_1.SLOCorrectionResponseAttributesModifier; } })); +var SLOCorrectionUpdateData_1 = __nccwpck_require__(99745); +Object.defineProperty(exports, "SLOCorrectionUpdateData", ({ enumerable: true, get: function () { return SLOCorrectionUpdateData_1.SLOCorrectionUpdateData; } })); +var SLOCorrectionUpdateRequest_1 = __nccwpck_require__(77273); +Object.defineProperty(exports, "SLOCorrectionUpdateRequest", ({ enumerable: true, get: function () { return SLOCorrectionUpdateRequest_1.SLOCorrectionUpdateRequest; } })); +var SLOCorrectionUpdateRequestAttributes_1 = __nccwpck_require__(75164); +Object.defineProperty(exports, "SLOCorrectionUpdateRequestAttributes", ({ enumerable: true, get: function () { return SLOCorrectionUpdateRequestAttributes_1.SLOCorrectionUpdateRequestAttributes; } })); +var SLODeleteResponse_1 = __nccwpck_require__(47941); +Object.defineProperty(exports, "SLODeleteResponse", ({ enumerable: true, get: function () { return SLODeleteResponse_1.SLODeleteResponse; } })); +var SLOHistoryMetrics_1 = __nccwpck_require__(55029); +Object.defineProperty(exports, "SLOHistoryMetrics", ({ enumerable: true, get: function () { return SLOHistoryMetrics_1.SLOHistoryMetrics; } })); +var SLOHistoryMetricsSeries_1 = __nccwpck_require__(96132); +Object.defineProperty(exports, "SLOHistoryMetricsSeries", ({ enumerable: true, get: function () { return SLOHistoryMetricsSeries_1.SLOHistoryMetricsSeries; } })); +var SLOHistoryMetricsSeriesMetadata_1 = __nccwpck_require__(83288); +Object.defineProperty(exports, "SLOHistoryMetricsSeriesMetadata", ({ enumerable: true, get: function () { return SLOHistoryMetricsSeriesMetadata_1.SLOHistoryMetricsSeriesMetadata; } })); +var SLOHistoryMetricsSeriesMetadataUnit_1 = __nccwpck_require__(67323); +Object.defineProperty(exports, "SLOHistoryMetricsSeriesMetadataUnit", ({ enumerable: true, get: function () { return SLOHistoryMetricsSeriesMetadataUnit_1.SLOHistoryMetricsSeriesMetadataUnit; } })); +var SLOHistoryMonitor_1 = __nccwpck_require__(62797); +Object.defineProperty(exports, "SLOHistoryMonitor", ({ enumerable: true, get: function () { return SLOHistoryMonitor_1.SLOHistoryMonitor; } })); +var SLOHistoryResponse_1 = __nccwpck_require__(27297); +Object.defineProperty(exports, "SLOHistoryResponse", ({ enumerable: true, get: function () { return SLOHistoryResponse_1.SLOHistoryResponse; } })); +var SLOHistoryResponseData_1 = __nccwpck_require__(81357); +Object.defineProperty(exports, "SLOHistoryResponseData", ({ enumerable: true, get: function () { return SLOHistoryResponseData_1.SLOHistoryResponseData; } })); +var SLOHistoryResponseError_1 = __nccwpck_require__(30144); +Object.defineProperty(exports, "SLOHistoryResponseError", ({ enumerable: true, get: function () { return SLOHistoryResponseError_1.SLOHistoryResponseError; } })); +var SLOHistoryResponseErrorWithType_1 = __nccwpck_require__(58524); +Object.defineProperty(exports, "SLOHistoryResponseErrorWithType", ({ enumerable: true, get: function () { return SLOHistoryResponseErrorWithType_1.SLOHistoryResponseErrorWithType; } })); +var SLOHistorySLIData_1 = __nccwpck_require__(6636); +Object.defineProperty(exports, "SLOHistorySLIData", ({ enumerable: true, get: function () { return SLOHistorySLIData_1.SLOHistorySLIData; } })); +var SLOListResponse_1 = __nccwpck_require__(19477); +Object.defineProperty(exports, "SLOListResponse", ({ enumerable: true, get: function () { return SLOListResponse_1.SLOListResponse; } })); +var SLOListResponseMetadata_1 = __nccwpck_require__(95727); +Object.defineProperty(exports, "SLOListResponseMetadata", ({ enumerable: true, get: function () { return SLOListResponseMetadata_1.SLOListResponseMetadata; } })); +var SLOListResponseMetadataPage_1 = __nccwpck_require__(559); +Object.defineProperty(exports, "SLOListResponseMetadataPage", ({ enumerable: true, get: function () { return SLOListResponseMetadataPage_1.SLOListResponseMetadataPage; } })); +var SLOResponse_1 = __nccwpck_require__(58530); +Object.defineProperty(exports, "SLOResponse", ({ enumerable: true, get: function () { return SLOResponse_1.SLOResponse; } })); +var SLOResponseData_1 = __nccwpck_require__(98608); +Object.defineProperty(exports, "SLOResponseData", ({ enumerable: true, get: function () { return SLOResponseData_1.SLOResponseData; } })); +var SLOThreshold_1 = __nccwpck_require__(96548); +Object.defineProperty(exports, "SLOThreshold", ({ enumerable: true, get: function () { return SLOThreshold_1.SLOThreshold; } })); +var SLOWidgetDefinition_1 = __nccwpck_require__(32026); +Object.defineProperty(exports, "SLOWidgetDefinition", ({ enumerable: true, get: function () { return SLOWidgetDefinition_1.SLOWidgetDefinition; } })); +var ScatterPlotRequest_1 = __nccwpck_require__(90691); +Object.defineProperty(exports, "ScatterPlotRequest", ({ enumerable: true, get: function () { return ScatterPlotRequest_1.ScatterPlotRequest; } })); +var ScatterPlotWidgetDefinition_1 = __nccwpck_require__(85820); +Object.defineProperty(exports, "ScatterPlotWidgetDefinition", ({ enumerable: true, get: function () { return ScatterPlotWidgetDefinition_1.ScatterPlotWidgetDefinition; } })); +var ScatterPlotWidgetDefinitionRequests_1 = __nccwpck_require__(6095); +Object.defineProperty(exports, "ScatterPlotWidgetDefinitionRequests", ({ enumerable: true, get: function () { return ScatterPlotWidgetDefinitionRequests_1.ScatterPlotWidgetDefinitionRequests; } })); +var ScatterplotTableRequest_1 = __nccwpck_require__(95803); +Object.defineProperty(exports, "ScatterplotTableRequest", ({ enumerable: true, get: function () { return ScatterplotTableRequest_1.ScatterplotTableRequest; } })); +var ScatterplotWidgetFormula_1 = __nccwpck_require__(36910); +Object.defineProperty(exports, "ScatterplotWidgetFormula", ({ enumerable: true, get: function () { return ScatterplotWidgetFormula_1.ScatterplotWidgetFormula; } })); +var Series_1 = __nccwpck_require__(47757); +Object.defineProperty(exports, "Series", ({ enumerable: true, get: function () { return Series_1.Series; } })); +var ServiceCheck_1 = __nccwpck_require__(87544); +Object.defineProperty(exports, "ServiceCheck", ({ enumerable: true, get: function () { return ServiceCheck_1.ServiceCheck; } })); +var ServiceLevelObjective_1 = __nccwpck_require__(43228); +Object.defineProperty(exports, "ServiceLevelObjective", ({ enumerable: true, get: function () { return ServiceLevelObjective_1.ServiceLevelObjective; } })); +var ServiceLevelObjectiveQuery_1 = __nccwpck_require__(72178); +Object.defineProperty(exports, "ServiceLevelObjectiveQuery", ({ enumerable: true, get: function () { return ServiceLevelObjectiveQuery_1.ServiceLevelObjectiveQuery; } })); +var ServiceLevelObjectiveRequest_1 = __nccwpck_require__(20112); +Object.defineProperty(exports, "ServiceLevelObjectiveRequest", ({ enumerable: true, get: function () { return ServiceLevelObjectiveRequest_1.ServiceLevelObjectiveRequest; } })); +var ServiceMapWidgetDefinition_1 = __nccwpck_require__(96744); +Object.defineProperty(exports, "ServiceMapWidgetDefinition", ({ enumerable: true, get: function () { return ServiceMapWidgetDefinition_1.ServiceMapWidgetDefinition; } })); +var ServiceSummaryWidgetDefinition_1 = __nccwpck_require__(15351); +Object.defineProperty(exports, "ServiceSummaryWidgetDefinition", ({ enumerable: true, get: function () { return ServiceSummaryWidgetDefinition_1.ServiceSummaryWidgetDefinition; } })); +var SlackIntegrationChannel_1 = __nccwpck_require__(96032); +Object.defineProperty(exports, "SlackIntegrationChannel", ({ enumerable: true, get: function () { return SlackIntegrationChannel_1.SlackIntegrationChannel; } })); +var SlackIntegrationChannelDisplay_1 = __nccwpck_require__(7456); +Object.defineProperty(exports, "SlackIntegrationChannelDisplay", ({ enumerable: true, get: function () { return SlackIntegrationChannelDisplay_1.SlackIntegrationChannelDisplay; } })); +var SunburstWidgetDefinition_1 = __nccwpck_require__(20775); +Object.defineProperty(exports, "SunburstWidgetDefinition", ({ enumerable: true, get: function () { return SunburstWidgetDefinition_1.SunburstWidgetDefinition; } })); +var SunburstWidgetLegendInlineAutomatic_1 = __nccwpck_require__(1527); +Object.defineProperty(exports, "SunburstWidgetLegendInlineAutomatic", ({ enumerable: true, get: function () { return SunburstWidgetLegendInlineAutomatic_1.SunburstWidgetLegendInlineAutomatic; } })); +var SunburstWidgetLegendTable_1 = __nccwpck_require__(42284); +Object.defineProperty(exports, "SunburstWidgetLegendTable", ({ enumerable: true, get: function () { return SunburstWidgetLegendTable_1.SunburstWidgetLegendTable; } })); +var SunburstWidgetRequest_1 = __nccwpck_require__(60511); +Object.defineProperty(exports, "SunburstWidgetRequest", ({ enumerable: true, get: function () { return SunburstWidgetRequest_1.SunburstWidgetRequest; } })); +var SyntheticsAPIStep_1 = __nccwpck_require__(4175); +Object.defineProperty(exports, "SyntheticsAPIStep", ({ enumerable: true, get: function () { return SyntheticsAPIStep_1.SyntheticsAPIStep; } })); +var SyntheticsAPITest_1 = __nccwpck_require__(3433); +Object.defineProperty(exports, "SyntheticsAPITest", ({ enumerable: true, get: function () { return SyntheticsAPITest_1.SyntheticsAPITest; } })); +var SyntheticsAPITestConfig_1 = __nccwpck_require__(60634); +Object.defineProperty(exports, "SyntheticsAPITestConfig", ({ enumerable: true, get: function () { return SyntheticsAPITestConfig_1.SyntheticsAPITestConfig; } })); +var SyntheticsAPITestResultData_1 = __nccwpck_require__(21132); +Object.defineProperty(exports, "SyntheticsAPITestResultData", ({ enumerable: true, get: function () { return SyntheticsAPITestResultData_1.SyntheticsAPITestResultData; } })); +var SyntheticsAPITestResultFull_1 = __nccwpck_require__(92111); +Object.defineProperty(exports, "SyntheticsAPITestResultFull", ({ enumerable: true, get: function () { return SyntheticsAPITestResultFull_1.SyntheticsAPITestResultFull; } })); +var SyntheticsAPITestResultFullCheck_1 = __nccwpck_require__(81032); +Object.defineProperty(exports, "SyntheticsAPITestResultFullCheck", ({ enumerable: true, get: function () { return SyntheticsAPITestResultFullCheck_1.SyntheticsAPITestResultFullCheck; } })); +var SyntheticsAPITestResultShort_1 = __nccwpck_require__(2048); +Object.defineProperty(exports, "SyntheticsAPITestResultShort", ({ enumerable: true, get: function () { return SyntheticsAPITestResultShort_1.SyntheticsAPITestResultShort; } })); +var SyntheticsAPITestResultShortResult_1 = __nccwpck_require__(85380); +Object.defineProperty(exports, "SyntheticsAPITestResultShortResult", ({ enumerable: true, get: function () { return SyntheticsAPITestResultShortResult_1.SyntheticsAPITestResultShortResult; } })); +var SyntheticsApiTestResultFailure_1 = __nccwpck_require__(42098); +Object.defineProperty(exports, "SyntheticsApiTestResultFailure", ({ enumerable: true, get: function () { return SyntheticsApiTestResultFailure_1.SyntheticsApiTestResultFailure; } })); +var SyntheticsAssertionJSONPathTarget_1 = __nccwpck_require__(14493); +Object.defineProperty(exports, "SyntheticsAssertionJSONPathTarget", ({ enumerable: true, get: function () { return SyntheticsAssertionJSONPathTarget_1.SyntheticsAssertionJSONPathTarget; } })); +var SyntheticsAssertionJSONPathTargetTarget_1 = __nccwpck_require__(46885); +Object.defineProperty(exports, "SyntheticsAssertionJSONPathTargetTarget", ({ enumerable: true, get: function () { return SyntheticsAssertionJSONPathTargetTarget_1.SyntheticsAssertionJSONPathTargetTarget; } })); +var SyntheticsAssertionTarget_1 = __nccwpck_require__(11801); +Object.defineProperty(exports, "SyntheticsAssertionTarget", ({ enumerable: true, get: function () { return SyntheticsAssertionTarget_1.SyntheticsAssertionTarget; } })); +var SyntheticsBasicAuthNTLM_1 = __nccwpck_require__(82481); +Object.defineProperty(exports, "SyntheticsBasicAuthNTLM", ({ enumerable: true, get: function () { return SyntheticsBasicAuthNTLM_1.SyntheticsBasicAuthNTLM; } })); +var SyntheticsBasicAuthSigv4_1 = __nccwpck_require__(30084); +Object.defineProperty(exports, "SyntheticsBasicAuthSigv4", ({ enumerable: true, get: function () { return SyntheticsBasicAuthSigv4_1.SyntheticsBasicAuthSigv4; } })); +var SyntheticsBasicAuthWeb_1 = __nccwpck_require__(82117); +Object.defineProperty(exports, "SyntheticsBasicAuthWeb", ({ enumerable: true, get: function () { return SyntheticsBasicAuthWeb_1.SyntheticsBasicAuthWeb; } })); +var SyntheticsBatchDetails_1 = __nccwpck_require__(82598); +Object.defineProperty(exports, "SyntheticsBatchDetails", ({ enumerable: true, get: function () { return SyntheticsBatchDetails_1.SyntheticsBatchDetails; } })); +var SyntheticsBatchDetailsData_1 = __nccwpck_require__(47215); +Object.defineProperty(exports, "SyntheticsBatchDetailsData", ({ enumerable: true, get: function () { return SyntheticsBatchDetailsData_1.SyntheticsBatchDetailsData; } })); +var SyntheticsBatchResult_1 = __nccwpck_require__(8974); +Object.defineProperty(exports, "SyntheticsBatchResult", ({ enumerable: true, get: function () { return SyntheticsBatchResult_1.SyntheticsBatchResult; } })); +var SyntheticsBrowserError_1 = __nccwpck_require__(7593); +Object.defineProperty(exports, "SyntheticsBrowserError", ({ enumerable: true, get: function () { return SyntheticsBrowserError_1.SyntheticsBrowserError; } })); +var SyntheticsBrowserTest_1 = __nccwpck_require__(44771); +Object.defineProperty(exports, "SyntheticsBrowserTest", ({ enumerable: true, get: function () { return SyntheticsBrowserTest_1.SyntheticsBrowserTest; } })); +var SyntheticsBrowserTestConfig_1 = __nccwpck_require__(73455); +Object.defineProperty(exports, "SyntheticsBrowserTestConfig", ({ enumerable: true, get: function () { return SyntheticsBrowserTestConfig_1.SyntheticsBrowserTestConfig; } })); +var SyntheticsBrowserTestResultData_1 = __nccwpck_require__(9337); +Object.defineProperty(exports, "SyntheticsBrowserTestResultData", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultData_1.SyntheticsBrowserTestResultData; } })); +var SyntheticsBrowserTestResultFailure_1 = __nccwpck_require__(80686); +Object.defineProperty(exports, "SyntheticsBrowserTestResultFailure", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultFailure_1.SyntheticsBrowserTestResultFailure; } })); +var SyntheticsBrowserTestResultFull_1 = __nccwpck_require__(88630); +Object.defineProperty(exports, "SyntheticsBrowserTestResultFull", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultFull_1.SyntheticsBrowserTestResultFull; } })); +var SyntheticsBrowserTestResultFullCheck_1 = __nccwpck_require__(32340); +Object.defineProperty(exports, "SyntheticsBrowserTestResultFullCheck", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultFullCheck_1.SyntheticsBrowserTestResultFullCheck; } })); +var SyntheticsBrowserTestResultShort_1 = __nccwpck_require__(2904); +Object.defineProperty(exports, "SyntheticsBrowserTestResultShort", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultShort_1.SyntheticsBrowserTestResultShort; } })); +var SyntheticsBrowserTestResultShortResult_1 = __nccwpck_require__(58505); +Object.defineProperty(exports, "SyntheticsBrowserTestResultShortResult", ({ enumerable: true, get: function () { return SyntheticsBrowserTestResultShortResult_1.SyntheticsBrowserTestResultShortResult; } })); +var SyntheticsBrowserVariable_1 = __nccwpck_require__(35642); +Object.defineProperty(exports, "SyntheticsBrowserVariable", ({ enumerable: true, get: function () { return SyntheticsBrowserVariable_1.SyntheticsBrowserVariable; } })); +var SyntheticsCIBatchMetadata_1 = __nccwpck_require__(12212); +Object.defineProperty(exports, "SyntheticsCIBatchMetadata", ({ enumerable: true, get: function () { return SyntheticsCIBatchMetadata_1.SyntheticsCIBatchMetadata; } })); +var SyntheticsCIBatchMetadataCI_1 = __nccwpck_require__(20102); +Object.defineProperty(exports, "SyntheticsCIBatchMetadataCI", ({ enumerable: true, get: function () { return SyntheticsCIBatchMetadataCI_1.SyntheticsCIBatchMetadataCI; } })); +var SyntheticsCIBatchMetadataGit_1 = __nccwpck_require__(72392); +Object.defineProperty(exports, "SyntheticsCIBatchMetadataGit", ({ enumerable: true, get: function () { return SyntheticsCIBatchMetadataGit_1.SyntheticsCIBatchMetadataGit; } })); +var SyntheticsCIBatchMetadataPipeline_1 = __nccwpck_require__(31619); +Object.defineProperty(exports, "SyntheticsCIBatchMetadataPipeline", ({ enumerable: true, get: function () { return SyntheticsCIBatchMetadataPipeline_1.SyntheticsCIBatchMetadataPipeline; } })); +var SyntheticsCIBatchMetadataProvider_1 = __nccwpck_require__(75363); +Object.defineProperty(exports, "SyntheticsCIBatchMetadataProvider", ({ enumerable: true, get: function () { return SyntheticsCIBatchMetadataProvider_1.SyntheticsCIBatchMetadataProvider; } })); +var SyntheticsCITest_1 = __nccwpck_require__(56409); +Object.defineProperty(exports, "SyntheticsCITest", ({ enumerable: true, get: function () { return SyntheticsCITest_1.SyntheticsCITest; } })); +var SyntheticsCITestBody_1 = __nccwpck_require__(32615); +Object.defineProperty(exports, "SyntheticsCITestBody", ({ enumerable: true, get: function () { return SyntheticsCITestBody_1.SyntheticsCITestBody; } })); +var SyntheticsConfigVariable_1 = __nccwpck_require__(24023); +Object.defineProperty(exports, "SyntheticsConfigVariable", ({ enumerable: true, get: function () { return SyntheticsConfigVariable_1.SyntheticsConfigVariable; } })); +var SyntheticsCoreWebVitals_1 = __nccwpck_require__(67701); +Object.defineProperty(exports, "SyntheticsCoreWebVitals", ({ enumerable: true, get: function () { return SyntheticsCoreWebVitals_1.SyntheticsCoreWebVitals; } })); +var SyntheticsDeleteTestsPayload_1 = __nccwpck_require__(60972); +Object.defineProperty(exports, "SyntheticsDeleteTestsPayload", ({ enumerable: true, get: function () { return SyntheticsDeleteTestsPayload_1.SyntheticsDeleteTestsPayload; } })); +var SyntheticsDeleteTestsResponse_1 = __nccwpck_require__(80634); +Object.defineProperty(exports, "SyntheticsDeleteTestsResponse", ({ enumerable: true, get: function () { return SyntheticsDeleteTestsResponse_1.SyntheticsDeleteTestsResponse; } })); +var SyntheticsDeletedTest_1 = __nccwpck_require__(7885); +Object.defineProperty(exports, "SyntheticsDeletedTest", ({ enumerable: true, get: function () { return SyntheticsDeletedTest_1.SyntheticsDeletedTest; } })); +var SyntheticsDevice_1 = __nccwpck_require__(6906); +Object.defineProperty(exports, "SyntheticsDevice", ({ enumerable: true, get: function () { return SyntheticsDevice_1.SyntheticsDevice; } })); +var SyntheticsGetAPITestLatestResultsResponse_1 = __nccwpck_require__(42609); +Object.defineProperty(exports, "SyntheticsGetAPITestLatestResultsResponse", ({ enumerable: true, get: function () { return SyntheticsGetAPITestLatestResultsResponse_1.SyntheticsGetAPITestLatestResultsResponse; } })); +var SyntheticsGetBrowserTestLatestResultsResponse_1 = __nccwpck_require__(73873); +Object.defineProperty(exports, "SyntheticsGetBrowserTestLatestResultsResponse", ({ enumerable: true, get: function () { return SyntheticsGetBrowserTestLatestResultsResponse_1.SyntheticsGetBrowserTestLatestResultsResponse; } })); +var SyntheticsGlobalVariable_1 = __nccwpck_require__(10404); +Object.defineProperty(exports, "SyntheticsGlobalVariable", ({ enumerable: true, get: function () { return SyntheticsGlobalVariable_1.SyntheticsGlobalVariable; } })); +var SyntheticsGlobalVariableAttributes_1 = __nccwpck_require__(2156); +Object.defineProperty(exports, "SyntheticsGlobalVariableAttributes", ({ enumerable: true, get: function () { return SyntheticsGlobalVariableAttributes_1.SyntheticsGlobalVariableAttributes; } })); +var SyntheticsGlobalVariableParseTestOptions_1 = __nccwpck_require__(60172); +Object.defineProperty(exports, "SyntheticsGlobalVariableParseTestOptions", ({ enumerable: true, get: function () { return SyntheticsGlobalVariableParseTestOptions_1.SyntheticsGlobalVariableParseTestOptions; } })); +var SyntheticsGlobalVariableValue_1 = __nccwpck_require__(50263); +Object.defineProperty(exports, "SyntheticsGlobalVariableValue", ({ enumerable: true, get: function () { return SyntheticsGlobalVariableValue_1.SyntheticsGlobalVariableValue; } })); +var SyntheticsListGlobalVariablesResponse_1 = __nccwpck_require__(51341); +Object.defineProperty(exports, "SyntheticsListGlobalVariablesResponse", ({ enumerable: true, get: function () { return SyntheticsListGlobalVariablesResponse_1.SyntheticsListGlobalVariablesResponse; } })); +var SyntheticsListTestsResponse_1 = __nccwpck_require__(46280); +Object.defineProperty(exports, "SyntheticsListTestsResponse", ({ enumerable: true, get: function () { return SyntheticsListTestsResponse_1.SyntheticsListTestsResponse; } })); +var SyntheticsLocation_1 = __nccwpck_require__(36515); +Object.defineProperty(exports, "SyntheticsLocation", ({ enumerable: true, get: function () { return SyntheticsLocation_1.SyntheticsLocation; } })); +var SyntheticsLocations_1 = __nccwpck_require__(9091); +Object.defineProperty(exports, "SyntheticsLocations", ({ enumerable: true, get: function () { return SyntheticsLocations_1.SyntheticsLocations; } })); +var SyntheticsParsingOptions_1 = __nccwpck_require__(5015); +Object.defineProperty(exports, "SyntheticsParsingOptions", ({ enumerable: true, get: function () { return SyntheticsParsingOptions_1.SyntheticsParsingOptions; } })); +var SyntheticsPrivateLocation_1 = __nccwpck_require__(6991); +Object.defineProperty(exports, "SyntheticsPrivateLocation", ({ enumerable: true, get: function () { return SyntheticsPrivateLocation_1.SyntheticsPrivateLocation; } })); +var SyntheticsPrivateLocationCreationResponse_1 = __nccwpck_require__(31386); +Object.defineProperty(exports, "SyntheticsPrivateLocationCreationResponse", ({ enumerable: true, get: function () { return SyntheticsPrivateLocationCreationResponse_1.SyntheticsPrivateLocationCreationResponse; } })); +var SyntheticsPrivateLocationCreationResponseResultEncryption_1 = __nccwpck_require__(16331); +Object.defineProperty(exports, "SyntheticsPrivateLocationCreationResponseResultEncryption", ({ enumerable: true, get: function () { return SyntheticsPrivateLocationCreationResponseResultEncryption_1.SyntheticsPrivateLocationCreationResponseResultEncryption; } })); +var SyntheticsPrivateLocationSecrets_1 = __nccwpck_require__(91325); +Object.defineProperty(exports, "SyntheticsPrivateLocationSecrets", ({ enumerable: true, get: function () { return SyntheticsPrivateLocationSecrets_1.SyntheticsPrivateLocationSecrets; } })); +var SyntheticsPrivateLocationSecretsAuthentication_1 = __nccwpck_require__(26886); +Object.defineProperty(exports, "SyntheticsPrivateLocationSecretsAuthentication", ({ enumerable: true, get: function () { return SyntheticsPrivateLocationSecretsAuthentication_1.SyntheticsPrivateLocationSecretsAuthentication; } })); +var SyntheticsPrivateLocationSecretsConfigDecryption_1 = __nccwpck_require__(24829); +Object.defineProperty(exports, "SyntheticsPrivateLocationSecretsConfigDecryption", ({ enumerable: true, get: function () { return SyntheticsPrivateLocationSecretsConfigDecryption_1.SyntheticsPrivateLocationSecretsConfigDecryption; } })); +var SyntheticsSSLCertificate_1 = __nccwpck_require__(24211); +Object.defineProperty(exports, "SyntheticsSSLCertificate", ({ enumerable: true, get: function () { return SyntheticsSSLCertificate_1.SyntheticsSSLCertificate; } })); +var SyntheticsSSLCertificateIssuer_1 = __nccwpck_require__(70007); +Object.defineProperty(exports, "SyntheticsSSLCertificateIssuer", ({ enumerable: true, get: function () { return SyntheticsSSLCertificateIssuer_1.SyntheticsSSLCertificateIssuer; } })); +var SyntheticsSSLCertificateSubject_1 = __nccwpck_require__(75798); +Object.defineProperty(exports, "SyntheticsSSLCertificateSubject", ({ enumerable: true, get: function () { return SyntheticsSSLCertificateSubject_1.SyntheticsSSLCertificateSubject; } })); +var SyntheticsStep_1 = __nccwpck_require__(96180); +Object.defineProperty(exports, "SyntheticsStep", ({ enumerable: true, get: function () { return SyntheticsStep_1.SyntheticsStep; } })); +var SyntheticsStepDetail_1 = __nccwpck_require__(86493); +Object.defineProperty(exports, "SyntheticsStepDetail", ({ enumerable: true, get: function () { return SyntheticsStepDetail_1.SyntheticsStepDetail; } })); +var SyntheticsStepDetailWarning_1 = __nccwpck_require__(86754); +Object.defineProperty(exports, "SyntheticsStepDetailWarning", ({ enumerable: true, get: function () { return SyntheticsStepDetailWarning_1.SyntheticsStepDetailWarning; } })); +var SyntheticsTestConfig_1 = __nccwpck_require__(91535); +Object.defineProperty(exports, "SyntheticsTestConfig", ({ enumerable: true, get: function () { return SyntheticsTestConfig_1.SyntheticsTestConfig; } })); +var SyntheticsTestDetails_1 = __nccwpck_require__(22701); +Object.defineProperty(exports, "SyntheticsTestDetails", ({ enumerable: true, get: function () { return SyntheticsTestDetails_1.SyntheticsTestDetails; } })); +var SyntheticsTestOptions_1 = __nccwpck_require__(55515); +Object.defineProperty(exports, "SyntheticsTestOptions", ({ enumerable: true, get: function () { return SyntheticsTestOptions_1.SyntheticsTestOptions; } })); +var SyntheticsTestOptionsMonitorOptions_1 = __nccwpck_require__(37717); +Object.defineProperty(exports, "SyntheticsTestOptionsMonitorOptions", ({ enumerable: true, get: function () { return SyntheticsTestOptionsMonitorOptions_1.SyntheticsTestOptionsMonitorOptions; } })); +var SyntheticsTestOptionsRetry_1 = __nccwpck_require__(76723); +Object.defineProperty(exports, "SyntheticsTestOptionsRetry", ({ enumerable: true, get: function () { return SyntheticsTestOptionsRetry_1.SyntheticsTestOptionsRetry; } })); +var SyntheticsTestRequest_1 = __nccwpck_require__(7105); +Object.defineProperty(exports, "SyntheticsTestRequest", ({ enumerable: true, get: function () { return SyntheticsTestRequest_1.SyntheticsTestRequest; } })); +var SyntheticsTestRequestCertificate_1 = __nccwpck_require__(86420); +Object.defineProperty(exports, "SyntheticsTestRequestCertificate", ({ enumerable: true, get: function () { return SyntheticsTestRequestCertificate_1.SyntheticsTestRequestCertificate; } })); +var SyntheticsTestRequestCertificateItem_1 = __nccwpck_require__(77558); +Object.defineProperty(exports, "SyntheticsTestRequestCertificateItem", ({ enumerable: true, get: function () { return SyntheticsTestRequestCertificateItem_1.SyntheticsTestRequestCertificateItem; } })); +var SyntheticsTestRequestProxy_1 = __nccwpck_require__(57736); +Object.defineProperty(exports, "SyntheticsTestRequestProxy", ({ enumerable: true, get: function () { return SyntheticsTestRequestProxy_1.SyntheticsTestRequestProxy; } })); +var SyntheticsTiming_1 = __nccwpck_require__(30782); +Object.defineProperty(exports, "SyntheticsTiming", ({ enumerable: true, get: function () { return SyntheticsTiming_1.SyntheticsTiming; } })); +var SyntheticsTriggerBody_1 = __nccwpck_require__(20524); +Object.defineProperty(exports, "SyntheticsTriggerBody", ({ enumerable: true, get: function () { return SyntheticsTriggerBody_1.SyntheticsTriggerBody; } })); +var SyntheticsTriggerCITestLocation_1 = __nccwpck_require__(88420); +Object.defineProperty(exports, "SyntheticsTriggerCITestLocation", ({ enumerable: true, get: function () { return SyntheticsTriggerCITestLocation_1.SyntheticsTriggerCITestLocation; } })); +var SyntheticsTriggerCITestRunResult_1 = __nccwpck_require__(63605); +Object.defineProperty(exports, "SyntheticsTriggerCITestRunResult", ({ enumerable: true, get: function () { return SyntheticsTriggerCITestRunResult_1.SyntheticsTriggerCITestRunResult; } })); +var SyntheticsTriggerCITestsResponse_1 = __nccwpck_require__(35779); +Object.defineProperty(exports, "SyntheticsTriggerCITestsResponse", ({ enumerable: true, get: function () { return SyntheticsTriggerCITestsResponse_1.SyntheticsTriggerCITestsResponse; } })); +var SyntheticsTriggerTest_1 = __nccwpck_require__(24099); +Object.defineProperty(exports, "SyntheticsTriggerTest", ({ enumerable: true, get: function () { return SyntheticsTriggerTest_1.SyntheticsTriggerTest; } })); +var SyntheticsUpdateTestPauseStatusPayload_1 = __nccwpck_require__(41655); +Object.defineProperty(exports, "SyntheticsUpdateTestPauseStatusPayload", ({ enumerable: true, get: function () { return SyntheticsUpdateTestPauseStatusPayload_1.SyntheticsUpdateTestPauseStatusPayload; } })); +var SyntheticsVariableParser_1 = __nccwpck_require__(74500); +Object.defineProperty(exports, "SyntheticsVariableParser", ({ enumerable: true, get: function () { return SyntheticsVariableParser_1.SyntheticsVariableParser; } })); +var TableWidgetDefinition_1 = __nccwpck_require__(17750); +Object.defineProperty(exports, "TableWidgetDefinition", ({ enumerable: true, get: function () { return TableWidgetDefinition_1.TableWidgetDefinition; } })); +var TableWidgetRequest_1 = __nccwpck_require__(24403); +Object.defineProperty(exports, "TableWidgetRequest", ({ enumerable: true, get: function () { return TableWidgetRequest_1.TableWidgetRequest; } })); +var TagToHosts_1 = __nccwpck_require__(94643); +Object.defineProperty(exports, "TagToHosts", ({ enumerable: true, get: function () { return TagToHosts_1.TagToHosts; } })); +var TimeseriesWidgetDefinition_1 = __nccwpck_require__(50074); +Object.defineProperty(exports, "TimeseriesWidgetDefinition", ({ enumerable: true, get: function () { return TimeseriesWidgetDefinition_1.TimeseriesWidgetDefinition; } })); +var TimeseriesWidgetExpressionAlias_1 = __nccwpck_require__(91672); +Object.defineProperty(exports, "TimeseriesWidgetExpressionAlias", ({ enumerable: true, get: function () { return TimeseriesWidgetExpressionAlias_1.TimeseriesWidgetExpressionAlias; } })); +var TimeseriesWidgetRequest_1 = __nccwpck_require__(10800); +Object.defineProperty(exports, "TimeseriesWidgetRequest", ({ enumerable: true, get: function () { return TimeseriesWidgetRequest_1.TimeseriesWidgetRequest; } })); +var ToplistWidgetDefinition_1 = __nccwpck_require__(61970); +Object.defineProperty(exports, "ToplistWidgetDefinition", ({ enumerable: true, get: function () { return ToplistWidgetDefinition_1.ToplistWidgetDefinition; } })); +var ToplistWidgetRequest_1 = __nccwpck_require__(89181); +Object.defineProperty(exports, "ToplistWidgetRequest", ({ enumerable: true, get: function () { return ToplistWidgetRequest_1.ToplistWidgetRequest; } })); +var TreeMapWidgetDefinition_1 = __nccwpck_require__(84230); +Object.defineProperty(exports, "TreeMapWidgetDefinition", ({ enumerable: true, get: function () { return TreeMapWidgetDefinition_1.TreeMapWidgetDefinition; } })); +var TreeMapWidgetRequest_1 = __nccwpck_require__(32930); +Object.defineProperty(exports, "TreeMapWidgetRequest", ({ enumerable: true, get: function () { return TreeMapWidgetRequest_1.TreeMapWidgetRequest; } })); +var UsageAnalyzedLogsHour_1 = __nccwpck_require__(46989); +Object.defineProperty(exports, "UsageAnalyzedLogsHour", ({ enumerable: true, get: function () { return UsageAnalyzedLogsHour_1.UsageAnalyzedLogsHour; } })); +var UsageAnalyzedLogsResponse_1 = __nccwpck_require__(18830); +Object.defineProperty(exports, "UsageAnalyzedLogsResponse", ({ enumerable: true, get: function () { return UsageAnalyzedLogsResponse_1.UsageAnalyzedLogsResponse; } })); +var UsageAttributionAggregatesBody_1 = __nccwpck_require__(17881); +Object.defineProperty(exports, "UsageAttributionAggregatesBody", ({ enumerable: true, get: function () { return UsageAttributionAggregatesBody_1.UsageAttributionAggregatesBody; } })); +var UsageAttributionBody_1 = __nccwpck_require__(15656); +Object.defineProperty(exports, "UsageAttributionBody", ({ enumerable: true, get: function () { return UsageAttributionBody_1.UsageAttributionBody; } })); +var UsageAttributionMetadata_1 = __nccwpck_require__(93350); +Object.defineProperty(exports, "UsageAttributionMetadata", ({ enumerable: true, get: function () { return UsageAttributionMetadata_1.UsageAttributionMetadata; } })); +var UsageAttributionPagination_1 = __nccwpck_require__(72584); +Object.defineProperty(exports, "UsageAttributionPagination", ({ enumerable: true, get: function () { return UsageAttributionPagination_1.UsageAttributionPagination; } })); +var UsageAttributionResponse_1 = __nccwpck_require__(45011); +Object.defineProperty(exports, "UsageAttributionResponse", ({ enumerable: true, get: function () { return UsageAttributionResponse_1.UsageAttributionResponse; } })); +var UsageAttributionValues_1 = __nccwpck_require__(61746); +Object.defineProperty(exports, "UsageAttributionValues", ({ enumerable: true, get: function () { return UsageAttributionValues_1.UsageAttributionValues; } })); +var UsageAuditLogsHour_1 = __nccwpck_require__(59268); +Object.defineProperty(exports, "UsageAuditLogsHour", ({ enumerable: true, get: function () { return UsageAuditLogsHour_1.UsageAuditLogsHour; } })); +var UsageAuditLogsResponse_1 = __nccwpck_require__(89238); +Object.defineProperty(exports, "UsageAuditLogsResponse", ({ enumerable: true, get: function () { return UsageAuditLogsResponse_1.UsageAuditLogsResponse; } })); +var UsageBillableSummaryBody_1 = __nccwpck_require__(17329); +Object.defineProperty(exports, "UsageBillableSummaryBody", ({ enumerable: true, get: function () { return UsageBillableSummaryBody_1.UsageBillableSummaryBody; } })); +var UsageBillableSummaryHour_1 = __nccwpck_require__(52813); +Object.defineProperty(exports, "UsageBillableSummaryHour", ({ enumerable: true, get: function () { return UsageBillableSummaryHour_1.UsageBillableSummaryHour; } })); +var UsageBillableSummaryKeys_1 = __nccwpck_require__(35118); +Object.defineProperty(exports, "UsageBillableSummaryKeys", ({ enumerable: true, get: function () { return UsageBillableSummaryKeys_1.UsageBillableSummaryKeys; } })); +var UsageBillableSummaryResponse_1 = __nccwpck_require__(84619); +Object.defineProperty(exports, "UsageBillableSummaryResponse", ({ enumerable: true, get: function () { return UsageBillableSummaryResponse_1.UsageBillableSummaryResponse; } })); +var UsageCWSHour_1 = __nccwpck_require__(18482); +Object.defineProperty(exports, "UsageCWSHour", ({ enumerable: true, get: function () { return UsageCWSHour_1.UsageCWSHour; } })); +var UsageCWSResponse_1 = __nccwpck_require__(22674); +Object.defineProperty(exports, "UsageCWSResponse", ({ enumerable: true, get: function () { return UsageCWSResponse_1.UsageCWSResponse; } })); +var UsageCloudSecurityPostureManagementHour_1 = __nccwpck_require__(75358); +Object.defineProperty(exports, "UsageCloudSecurityPostureManagementHour", ({ enumerable: true, get: function () { return UsageCloudSecurityPostureManagementHour_1.UsageCloudSecurityPostureManagementHour; } })); +var UsageCloudSecurityPostureManagementResponse_1 = __nccwpck_require__(87374); +Object.defineProperty(exports, "UsageCloudSecurityPostureManagementResponse", ({ enumerable: true, get: function () { return UsageCloudSecurityPostureManagementResponse_1.UsageCloudSecurityPostureManagementResponse; } })); +var UsageCustomReportsAttributes_1 = __nccwpck_require__(47558); +Object.defineProperty(exports, "UsageCustomReportsAttributes", ({ enumerable: true, get: function () { return UsageCustomReportsAttributes_1.UsageCustomReportsAttributes; } })); +var UsageCustomReportsData_1 = __nccwpck_require__(88385); +Object.defineProperty(exports, "UsageCustomReportsData", ({ enumerable: true, get: function () { return UsageCustomReportsData_1.UsageCustomReportsData; } })); +var UsageCustomReportsMeta_1 = __nccwpck_require__(63185); +Object.defineProperty(exports, "UsageCustomReportsMeta", ({ enumerable: true, get: function () { return UsageCustomReportsMeta_1.UsageCustomReportsMeta; } })); +var UsageCustomReportsPage_1 = __nccwpck_require__(54974); +Object.defineProperty(exports, "UsageCustomReportsPage", ({ enumerable: true, get: function () { return UsageCustomReportsPage_1.UsageCustomReportsPage; } })); +var UsageCustomReportsResponse_1 = __nccwpck_require__(55902); +Object.defineProperty(exports, "UsageCustomReportsResponse", ({ enumerable: true, get: function () { return UsageCustomReportsResponse_1.UsageCustomReportsResponse; } })); +var UsageDBMHour_1 = __nccwpck_require__(68808); +Object.defineProperty(exports, "UsageDBMHour", ({ enumerable: true, get: function () { return UsageDBMHour_1.UsageDBMHour; } })); +var UsageDBMResponse_1 = __nccwpck_require__(2026); +Object.defineProperty(exports, "UsageDBMResponse", ({ enumerable: true, get: function () { return UsageDBMResponse_1.UsageDBMResponse; } })); +var UsageFargateHour_1 = __nccwpck_require__(57386); +Object.defineProperty(exports, "UsageFargateHour", ({ enumerable: true, get: function () { return UsageFargateHour_1.UsageFargateHour; } })); +var UsageFargateResponse_1 = __nccwpck_require__(48053); +Object.defineProperty(exports, "UsageFargateResponse", ({ enumerable: true, get: function () { return UsageFargateResponse_1.UsageFargateResponse; } })); +var UsageHostHour_1 = __nccwpck_require__(22603); +Object.defineProperty(exports, "UsageHostHour", ({ enumerable: true, get: function () { return UsageHostHour_1.UsageHostHour; } })); +var UsageHostsResponse_1 = __nccwpck_require__(31325); +Object.defineProperty(exports, "UsageHostsResponse", ({ enumerable: true, get: function () { return UsageHostsResponse_1.UsageHostsResponse; } })); +var UsageIncidentManagementHour_1 = __nccwpck_require__(40048); +Object.defineProperty(exports, "UsageIncidentManagementHour", ({ enumerable: true, get: function () { return UsageIncidentManagementHour_1.UsageIncidentManagementHour; } })); +var UsageIncidentManagementResponse_1 = __nccwpck_require__(98434); +Object.defineProperty(exports, "UsageIncidentManagementResponse", ({ enumerable: true, get: function () { return UsageIncidentManagementResponse_1.UsageIncidentManagementResponse; } })); +var UsageIndexedSpansHour_1 = __nccwpck_require__(66099); +Object.defineProperty(exports, "UsageIndexedSpansHour", ({ enumerable: true, get: function () { return UsageIndexedSpansHour_1.UsageIndexedSpansHour; } })); +var UsageIndexedSpansResponse_1 = __nccwpck_require__(7275); +Object.defineProperty(exports, "UsageIndexedSpansResponse", ({ enumerable: true, get: function () { return UsageIndexedSpansResponse_1.UsageIndexedSpansResponse; } })); +var UsageIngestedSpansHour_1 = __nccwpck_require__(72078); +Object.defineProperty(exports, "UsageIngestedSpansHour", ({ enumerable: true, get: function () { return UsageIngestedSpansHour_1.UsageIngestedSpansHour; } })); +var UsageIngestedSpansResponse_1 = __nccwpck_require__(52819); +Object.defineProperty(exports, "UsageIngestedSpansResponse", ({ enumerable: true, get: function () { return UsageIngestedSpansResponse_1.UsageIngestedSpansResponse; } })); +var UsageIoTHour_1 = __nccwpck_require__(45137); +Object.defineProperty(exports, "UsageIoTHour", ({ enumerable: true, get: function () { return UsageIoTHour_1.UsageIoTHour; } })); +var UsageIoTResponse_1 = __nccwpck_require__(73096); +Object.defineProperty(exports, "UsageIoTResponse", ({ enumerable: true, get: function () { return UsageIoTResponse_1.UsageIoTResponse; } })); +var UsageLambdaHour_1 = __nccwpck_require__(97435); +Object.defineProperty(exports, "UsageLambdaHour", ({ enumerable: true, get: function () { return UsageLambdaHour_1.UsageLambdaHour; } })); +var UsageLambdaResponse_1 = __nccwpck_require__(95231); +Object.defineProperty(exports, "UsageLambdaResponse", ({ enumerable: true, get: function () { return UsageLambdaResponse_1.UsageLambdaResponse; } })); +var UsageLogsByIndexHour_1 = __nccwpck_require__(48710); +Object.defineProperty(exports, "UsageLogsByIndexHour", ({ enumerable: true, get: function () { return UsageLogsByIndexHour_1.UsageLogsByIndexHour; } })); +var UsageLogsByIndexResponse_1 = __nccwpck_require__(18950); +Object.defineProperty(exports, "UsageLogsByIndexResponse", ({ enumerable: true, get: function () { return UsageLogsByIndexResponse_1.UsageLogsByIndexResponse; } })); +var UsageLogsByRetentionHour_1 = __nccwpck_require__(51648); +Object.defineProperty(exports, "UsageLogsByRetentionHour", ({ enumerable: true, get: function () { return UsageLogsByRetentionHour_1.UsageLogsByRetentionHour; } })); +var UsageLogsByRetentionResponse_1 = __nccwpck_require__(62783); +Object.defineProperty(exports, "UsageLogsByRetentionResponse", ({ enumerable: true, get: function () { return UsageLogsByRetentionResponse_1.UsageLogsByRetentionResponse; } })); +var UsageLogsHour_1 = __nccwpck_require__(52600); +Object.defineProperty(exports, "UsageLogsHour", ({ enumerable: true, get: function () { return UsageLogsHour_1.UsageLogsHour; } })); +var UsageLogsResponse_1 = __nccwpck_require__(1375); +Object.defineProperty(exports, "UsageLogsResponse", ({ enumerable: true, get: function () { return UsageLogsResponse_1.UsageLogsResponse; } })); +var UsageNetworkFlowsHour_1 = __nccwpck_require__(97327); +Object.defineProperty(exports, "UsageNetworkFlowsHour", ({ enumerable: true, get: function () { return UsageNetworkFlowsHour_1.UsageNetworkFlowsHour; } })); +var UsageNetworkFlowsResponse_1 = __nccwpck_require__(66234); +Object.defineProperty(exports, "UsageNetworkFlowsResponse", ({ enumerable: true, get: function () { return UsageNetworkFlowsResponse_1.UsageNetworkFlowsResponse; } })); +var UsageNetworkHostsHour_1 = __nccwpck_require__(5620); +Object.defineProperty(exports, "UsageNetworkHostsHour", ({ enumerable: true, get: function () { return UsageNetworkHostsHour_1.UsageNetworkHostsHour; } })); +var UsageNetworkHostsResponse_1 = __nccwpck_require__(4994); +Object.defineProperty(exports, "UsageNetworkHostsResponse", ({ enumerable: true, get: function () { return UsageNetworkHostsResponse_1.UsageNetworkHostsResponse; } })); +var UsageProfilingHour_1 = __nccwpck_require__(66510); +Object.defineProperty(exports, "UsageProfilingHour", ({ enumerable: true, get: function () { return UsageProfilingHour_1.UsageProfilingHour; } })); +var UsageProfilingResponse_1 = __nccwpck_require__(82060); +Object.defineProperty(exports, "UsageProfilingResponse", ({ enumerable: true, get: function () { return UsageProfilingResponse_1.UsageProfilingResponse; } })); +var UsageRumSessionsHour_1 = __nccwpck_require__(105); +Object.defineProperty(exports, "UsageRumSessionsHour", ({ enumerable: true, get: function () { return UsageRumSessionsHour_1.UsageRumSessionsHour; } })); +var UsageRumSessionsResponse_1 = __nccwpck_require__(6633); +Object.defineProperty(exports, "UsageRumSessionsResponse", ({ enumerable: true, get: function () { return UsageRumSessionsResponse_1.UsageRumSessionsResponse; } })); +var UsageRumUnitsHour_1 = __nccwpck_require__(8936); +Object.defineProperty(exports, "UsageRumUnitsHour", ({ enumerable: true, get: function () { return UsageRumUnitsHour_1.UsageRumUnitsHour; } })); +var UsageRumUnitsResponse_1 = __nccwpck_require__(537); +Object.defineProperty(exports, "UsageRumUnitsResponse", ({ enumerable: true, get: function () { return UsageRumUnitsResponse_1.UsageRumUnitsResponse; } })); +var UsageSDSHour_1 = __nccwpck_require__(40876); +Object.defineProperty(exports, "UsageSDSHour", ({ enumerable: true, get: function () { return UsageSDSHour_1.UsageSDSHour; } })); +var UsageSDSResponse_1 = __nccwpck_require__(96687); +Object.defineProperty(exports, "UsageSDSResponse", ({ enumerable: true, get: function () { return UsageSDSResponse_1.UsageSDSResponse; } })); +var UsageSNMPHour_1 = __nccwpck_require__(39577); +Object.defineProperty(exports, "UsageSNMPHour", ({ enumerable: true, get: function () { return UsageSNMPHour_1.UsageSNMPHour; } })); +var UsageSNMPResponse_1 = __nccwpck_require__(82210); +Object.defineProperty(exports, "UsageSNMPResponse", ({ enumerable: true, get: function () { return UsageSNMPResponse_1.UsageSNMPResponse; } })); +var UsageSpecifiedCustomReportsAttributes_1 = __nccwpck_require__(38724); +Object.defineProperty(exports, "UsageSpecifiedCustomReportsAttributes", ({ enumerable: true, get: function () { return UsageSpecifiedCustomReportsAttributes_1.UsageSpecifiedCustomReportsAttributes; } })); +var UsageSpecifiedCustomReportsData_1 = __nccwpck_require__(47586); +Object.defineProperty(exports, "UsageSpecifiedCustomReportsData", ({ enumerable: true, get: function () { return UsageSpecifiedCustomReportsData_1.UsageSpecifiedCustomReportsData; } })); +var UsageSpecifiedCustomReportsMeta_1 = __nccwpck_require__(75435); +Object.defineProperty(exports, "UsageSpecifiedCustomReportsMeta", ({ enumerable: true, get: function () { return UsageSpecifiedCustomReportsMeta_1.UsageSpecifiedCustomReportsMeta; } })); +var UsageSpecifiedCustomReportsPage_1 = __nccwpck_require__(60544); +Object.defineProperty(exports, "UsageSpecifiedCustomReportsPage", ({ enumerable: true, get: function () { return UsageSpecifiedCustomReportsPage_1.UsageSpecifiedCustomReportsPage; } })); +var UsageSpecifiedCustomReportsResponse_1 = __nccwpck_require__(47226); +Object.defineProperty(exports, "UsageSpecifiedCustomReportsResponse", ({ enumerable: true, get: function () { return UsageSpecifiedCustomReportsResponse_1.UsageSpecifiedCustomReportsResponse; } })); +var UsageSummaryDate_1 = __nccwpck_require__(72971); +Object.defineProperty(exports, "UsageSummaryDate", ({ enumerable: true, get: function () { return UsageSummaryDate_1.UsageSummaryDate; } })); +var UsageSummaryDateOrg_1 = __nccwpck_require__(31308); +Object.defineProperty(exports, "UsageSummaryDateOrg", ({ enumerable: true, get: function () { return UsageSummaryDateOrg_1.UsageSummaryDateOrg; } })); +var UsageSummaryResponse_1 = __nccwpck_require__(61378); +Object.defineProperty(exports, "UsageSummaryResponse", ({ enumerable: true, get: function () { return UsageSummaryResponse_1.UsageSummaryResponse; } })); +var UsageSyntheticsAPIHour_1 = __nccwpck_require__(80931); +Object.defineProperty(exports, "UsageSyntheticsAPIHour", ({ enumerable: true, get: function () { return UsageSyntheticsAPIHour_1.UsageSyntheticsAPIHour; } })); +var UsageSyntheticsAPIResponse_1 = __nccwpck_require__(36143); +Object.defineProperty(exports, "UsageSyntheticsAPIResponse", ({ enumerable: true, get: function () { return UsageSyntheticsAPIResponse_1.UsageSyntheticsAPIResponse; } })); +var UsageSyntheticsBrowserHour_1 = __nccwpck_require__(68362); +Object.defineProperty(exports, "UsageSyntheticsBrowserHour", ({ enumerable: true, get: function () { return UsageSyntheticsBrowserHour_1.UsageSyntheticsBrowserHour; } })); +var UsageSyntheticsBrowserResponse_1 = __nccwpck_require__(95322); +Object.defineProperty(exports, "UsageSyntheticsBrowserResponse", ({ enumerable: true, get: function () { return UsageSyntheticsBrowserResponse_1.UsageSyntheticsBrowserResponse; } })); +var UsageSyntheticsHour_1 = __nccwpck_require__(60809); +Object.defineProperty(exports, "UsageSyntheticsHour", ({ enumerable: true, get: function () { return UsageSyntheticsHour_1.UsageSyntheticsHour; } })); +var UsageSyntheticsResponse_1 = __nccwpck_require__(46862); +Object.defineProperty(exports, "UsageSyntheticsResponse", ({ enumerable: true, get: function () { return UsageSyntheticsResponse_1.UsageSyntheticsResponse; } })); +var UsageTimeseriesHour_1 = __nccwpck_require__(4062); +Object.defineProperty(exports, "UsageTimeseriesHour", ({ enumerable: true, get: function () { return UsageTimeseriesHour_1.UsageTimeseriesHour; } })); +var UsageTimeseriesResponse_1 = __nccwpck_require__(2516); +Object.defineProperty(exports, "UsageTimeseriesResponse", ({ enumerable: true, get: function () { return UsageTimeseriesResponse_1.UsageTimeseriesResponse; } })); +var UsageTopAvgMetricsHour_1 = __nccwpck_require__(62000); +Object.defineProperty(exports, "UsageTopAvgMetricsHour", ({ enumerable: true, get: function () { return UsageTopAvgMetricsHour_1.UsageTopAvgMetricsHour; } })); +var UsageTopAvgMetricsMetadata_1 = __nccwpck_require__(57758); +Object.defineProperty(exports, "UsageTopAvgMetricsMetadata", ({ enumerable: true, get: function () { return UsageTopAvgMetricsMetadata_1.UsageTopAvgMetricsMetadata; } })); +var UsageTopAvgMetricsResponse_1 = __nccwpck_require__(5587); +Object.defineProperty(exports, "UsageTopAvgMetricsResponse", ({ enumerable: true, get: function () { return UsageTopAvgMetricsResponse_1.UsageTopAvgMetricsResponse; } })); +var User_1 = __nccwpck_require__(65582); +Object.defineProperty(exports, "User", ({ enumerable: true, get: function () { return User_1.User; } })); +var UserDisableResponse_1 = __nccwpck_require__(97395); +Object.defineProperty(exports, "UserDisableResponse", ({ enumerable: true, get: function () { return UserDisableResponse_1.UserDisableResponse; } })); +var UserListResponse_1 = __nccwpck_require__(56284); +Object.defineProperty(exports, "UserListResponse", ({ enumerable: true, get: function () { return UserListResponse_1.UserListResponse; } })); +var UserResponse_1 = __nccwpck_require__(73865); +Object.defineProperty(exports, "UserResponse", ({ enumerable: true, get: function () { return UserResponse_1.UserResponse; } })); +var WebhooksIntegration_1 = __nccwpck_require__(54773); +Object.defineProperty(exports, "WebhooksIntegration", ({ enumerable: true, get: function () { return WebhooksIntegration_1.WebhooksIntegration; } })); +var WebhooksIntegrationCustomVariable_1 = __nccwpck_require__(67832); +Object.defineProperty(exports, "WebhooksIntegrationCustomVariable", ({ enumerable: true, get: function () { return WebhooksIntegrationCustomVariable_1.WebhooksIntegrationCustomVariable; } })); +var WebhooksIntegrationCustomVariableResponse_1 = __nccwpck_require__(25545); +Object.defineProperty(exports, "WebhooksIntegrationCustomVariableResponse", ({ enumerable: true, get: function () { return WebhooksIntegrationCustomVariableResponse_1.WebhooksIntegrationCustomVariableResponse; } })); +var WebhooksIntegrationCustomVariableUpdateRequest_1 = __nccwpck_require__(66363); +Object.defineProperty(exports, "WebhooksIntegrationCustomVariableUpdateRequest", ({ enumerable: true, get: function () { return WebhooksIntegrationCustomVariableUpdateRequest_1.WebhooksIntegrationCustomVariableUpdateRequest; } })); +var WebhooksIntegrationUpdateRequest_1 = __nccwpck_require__(86321); +Object.defineProperty(exports, "WebhooksIntegrationUpdateRequest", ({ enumerable: true, get: function () { return WebhooksIntegrationUpdateRequest_1.WebhooksIntegrationUpdateRequest; } })); +var Widget_1 = __nccwpck_require__(6000); +Object.defineProperty(exports, "Widget", ({ enumerable: true, get: function () { return Widget_1.Widget; } })); +var WidgetAxis_1 = __nccwpck_require__(36356); +Object.defineProperty(exports, "WidgetAxis", ({ enumerable: true, get: function () { return WidgetAxis_1.WidgetAxis; } })); +var WidgetConditionalFormat_1 = __nccwpck_require__(68824); +Object.defineProperty(exports, "WidgetConditionalFormat", ({ enumerable: true, get: function () { return WidgetConditionalFormat_1.WidgetConditionalFormat; } })); +var WidgetCustomLink_1 = __nccwpck_require__(83892); +Object.defineProperty(exports, "WidgetCustomLink", ({ enumerable: true, get: function () { return WidgetCustomLink_1.WidgetCustomLink; } })); +var WidgetEvent_1 = __nccwpck_require__(27093); +Object.defineProperty(exports, "WidgetEvent", ({ enumerable: true, get: function () { return WidgetEvent_1.WidgetEvent; } })); +var WidgetFieldSort_1 = __nccwpck_require__(95452); +Object.defineProperty(exports, "WidgetFieldSort", ({ enumerable: true, get: function () { return WidgetFieldSort_1.WidgetFieldSort; } })); +var WidgetFormula_1 = __nccwpck_require__(96398); +Object.defineProperty(exports, "WidgetFormula", ({ enumerable: true, get: function () { return WidgetFormula_1.WidgetFormula; } })); +var WidgetFormulaLimit_1 = __nccwpck_require__(16658); +Object.defineProperty(exports, "WidgetFormulaLimit", ({ enumerable: true, get: function () { return WidgetFormulaLimit_1.WidgetFormulaLimit; } })); +var WidgetLayout_1 = __nccwpck_require__(29557); +Object.defineProperty(exports, "WidgetLayout", ({ enumerable: true, get: function () { return WidgetLayout_1.WidgetLayout; } })); +var WidgetMarker_1 = __nccwpck_require__(35484); +Object.defineProperty(exports, "WidgetMarker", ({ enumerable: true, get: function () { return WidgetMarker_1.WidgetMarker; } })); +var WidgetRequestStyle_1 = __nccwpck_require__(87457); +Object.defineProperty(exports, "WidgetRequestStyle", ({ enumerable: true, get: function () { return WidgetRequestStyle_1.WidgetRequestStyle; } })); +var WidgetStyle_1 = __nccwpck_require__(49795); +Object.defineProperty(exports, "WidgetStyle", ({ enumerable: true, get: function () { return WidgetStyle_1.WidgetStyle; } })); +var WidgetTime_1 = __nccwpck_require__(39079); +Object.defineProperty(exports, "WidgetTime", ({ enumerable: true, get: function () { return WidgetTime_1.WidgetTime; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 94187: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIErrorResponse = void 0; +/** + * Error response object. + */ +var APIErrorResponse = /** @class */ (function () { + function APIErrorResponse() { + } + /** + * @ignore + */ + APIErrorResponse.getAttributeTypeMap = function () { + return APIErrorResponse.attributeTypeMap; + }; + /** + * @ignore + */ + APIErrorResponse.attributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + required: true, + }, + }; + return APIErrorResponse; +}()); +exports.APIErrorResponse = APIErrorResponse; +//# sourceMappingURL=APIErrorResponse.js.map + +/***/ }), + +/***/ 75107: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSAccount = void 0; +/** + * Returns the AWS account associated with this integration. + */ +var AWSAccount = /** @class */ (function () { + function AWSAccount() { + } + /** + * @ignore + */ + AWSAccount.getAttributeTypeMap = function () { + return AWSAccount.attributeTypeMap; + }; + /** + * @ignore + */ + AWSAccount.attributeTypeMap = { + accessKeyId: { + baseName: "access_key_id", + type: "string", + }, + accountId: { + baseName: "account_id", + type: "string", + }, + accountSpecificNamespaceRules: { + baseName: "account_specific_namespace_rules", + type: "{ [key: string]: boolean; }", + }, + cspmResourceCollectionEnabled: { + baseName: "cspm_resource_collection_enabled", + type: "boolean", + }, + excludedRegions: { + baseName: "excluded_regions", + type: "Array", + }, + filterTags: { + baseName: "filter_tags", + type: "Array", + }, + hostTags: { + baseName: "host_tags", + type: "Array", + }, + metricsCollectionEnabled: { + baseName: "metrics_collection_enabled", + type: "boolean", + }, + resourceCollectionEnabled: { + baseName: "resource_collection_enabled", + type: "boolean", + }, + roleName: { + baseName: "role_name", + type: "string", + }, + secretAccessKey: { + baseName: "secret_access_key", + type: "string", + }, + }; + return AWSAccount; +}()); +exports.AWSAccount = AWSAccount; +//# sourceMappingURL=AWSAccount.js.map + +/***/ }), + +/***/ 79616: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSAccountAndLambdaRequest = void 0; +/** + * AWS account ID and Lambda ARN. + */ +var AWSAccountAndLambdaRequest = /** @class */ (function () { + function AWSAccountAndLambdaRequest() { + } + /** + * @ignore + */ + AWSAccountAndLambdaRequest.getAttributeTypeMap = function () { + return AWSAccountAndLambdaRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AWSAccountAndLambdaRequest.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + required: true, + }, + lambdaArn: { + baseName: "lambda_arn", + type: "string", + required: true, + }, + }; + return AWSAccountAndLambdaRequest; +}()); +exports.AWSAccountAndLambdaRequest = AWSAccountAndLambdaRequest; +//# sourceMappingURL=AWSAccountAndLambdaRequest.js.map + +/***/ }), + +/***/ 205: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSAccountCreateResponse = void 0; +/** + * The Response returned by the AWS Create Account call. + */ +var AWSAccountCreateResponse = /** @class */ (function () { + function AWSAccountCreateResponse() { + } + /** + * @ignore + */ + AWSAccountCreateResponse.getAttributeTypeMap = function () { + return AWSAccountCreateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSAccountCreateResponse.attributeTypeMap = { + externalId: { + baseName: "external_id", + type: "string", + }, + }; + return AWSAccountCreateResponse; +}()); +exports.AWSAccountCreateResponse = AWSAccountCreateResponse; +//# sourceMappingURL=AWSAccountCreateResponse.js.map + +/***/ }), + +/***/ 11338: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSAccountDeleteRequest = void 0; +/** + * List of AWS accounts to delete. + */ +var AWSAccountDeleteRequest = /** @class */ (function () { + function AWSAccountDeleteRequest() { + } + /** + * @ignore + */ + AWSAccountDeleteRequest.getAttributeTypeMap = function () { + return AWSAccountDeleteRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AWSAccountDeleteRequest.attributeTypeMap = { + accessKeyId: { + baseName: "access_key_id", + type: "string", + }, + accountId: { + baseName: "account_id", + type: "string", + }, + roleName: { + baseName: "role_name", + type: "string", + }, + }; + return AWSAccountDeleteRequest; +}()); +exports.AWSAccountDeleteRequest = AWSAccountDeleteRequest; +//# sourceMappingURL=AWSAccountDeleteRequest.js.map + +/***/ }), + +/***/ 51224: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSAccountListResponse = void 0; +/** + * List of enabled AWS accounts. + */ +var AWSAccountListResponse = /** @class */ (function () { + function AWSAccountListResponse() { + } + /** + * @ignore + */ + AWSAccountListResponse.getAttributeTypeMap = function () { + return AWSAccountListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSAccountListResponse.attributeTypeMap = { + accounts: { + baseName: "accounts", + type: "Array", + }, + }; + return AWSAccountListResponse; +}()); +exports.AWSAccountListResponse = AWSAccountListResponse; +//# sourceMappingURL=AWSAccountListResponse.js.map + +/***/ }), + +/***/ 62953: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsAsyncError = void 0; +/** + * Description of errors. + */ +var AWSLogsAsyncError = /** @class */ (function () { + function AWSLogsAsyncError() { + } + /** + * @ignore + */ + AWSLogsAsyncError.getAttributeTypeMap = function () { + return AWSLogsAsyncError.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsAsyncError.attributeTypeMap = { + code: { + baseName: "code", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + }; + return AWSLogsAsyncError; +}()); +exports.AWSLogsAsyncError = AWSLogsAsyncError; +//# sourceMappingURL=AWSLogsAsyncError.js.map + +/***/ }), + +/***/ 87558: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsAsyncResponse = void 0; +/** + * A list of all Datadog-AWS logs integrations available in your Datadog organization. + */ +var AWSLogsAsyncResponse = /** @class */ (function () { + function AWSLogsAsyncResponse() { + } + /** + * @ignore + */ + AWSLogsAsyncResponse.getAttributeTypeMap = function () { + return AWSLogsAsyncResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsAsyncResponse.attributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + }, + status: { + baseName: "status", + type: "string", + }, + }; + return AWSLogsAsyncResponse; +}()); +exports.AWSLogsAsyncResponse = AWSLogsAsyncResponse; +//# sourceMappingURL=AWSLogsAsyncResponse.js.map + +/***/ }), + +/***/ 99754: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsLambda = void 0; +/** + * Description of the Lambdas. + */ +var AWSLogsLambda = /** @class */ (function () { + function AWSLogsLambda() { + } + /** + * @ignore + */ + AWSLogsLambda.getAttributeTypeMap = function () { + return AWSLogsLambda.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsLambda.attributeTypeMap = { + arn: { + baseName: "arn", + type: "string", + }, + }; + return AWSLogsLambda; +}()); +exports.AWSLogsLambda = AWSLogsLambda; +//# sourceMappingURL=AWSLogsLambda.js.map + +/***/ }), + +/***/ 9120: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsListResponse = void 0; +/** + * A list of all Datadog-AWS logs integrations available in your Datadog organization. + */ +var AWSLogsListResponse = /** @class */ (function () { + function AWSLogsListResponse() { + } + /** + * @ignore + */ + AWSLogsListResponse.getAttributeTypeMap = function () { + return AWSLogsListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsListResponse.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + }, + lambdas: { + baseName: "lambdas", + type: "Array", + }, + services: { + baseName: "services", + type: "Array", + }, + }; + return AWSLogsListResponse; +}()); +exports.AWSLogsListResponse = AWSLogsListResponse; +//# sourceMappingURL=AWSLogsListResponse.js.map + +/***/ }), + +/***/ 77474: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsListServicesResponse = void 0; +/** + * The list of current AWS services for which Datadog offers automatic log collection. + */ +var AWSLogsListServicesResponse = /** @class */ (function () { + function AWSLogsListServicesResponse() { + } + /** + * @ignore + */ + AWSLogsListServicesResponse.getAttributeTypeMap = function () { + return AWSLogsListServicesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsListServicesResponse.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + label: { + baseName: "label", + type: "string", + }, + }; + return AWSLogsListServicesResponse; +}()); +exports.AWSLogsListServicesResponse = AWSLogsListServicesResponse; +//# sourceMappingURL=AWSLogsListServicesResponse.js.map + +/***/ }), + +/***/ 57943: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSLogsServicesRequest = void 0; +/** + * A list of current AWS services for which Datadog offers automatic log collection. + */ +var AWSLogsServicesRequest = /** @class */ (function () { + function AWSLogsServicesRequest() { + } + /** + * @ignore + */ + AWSLogsServicesRequest.getAttributeTypeMap = function () { + return AWSLogsServicesRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AWSLogsServicesRequest.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + required: true, + }, + services: { + baseName: "services", + type: "Array", + required: true, + }, + }; + return AWSLogsServicesRequest; +}()); +exports.AWSLogsServicesRequest = AWSLogsServicesRequest; +//# sourceMappingURL=AWSLogsServicesRequest.js.map + +/***/ }), + +/***/ 26166: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSTagFilter = void 0; +/** + * A tag filter. + */ +var AWSTagFilter = /** @class */ (function () { + function AWSTagFilter() { + } + /** + * @ignore + */ + AWSTagFilter.getAttributeTypeMap = function () { + return AWSTagFilter.attributeTypeMap; + }; + /** + * @ignore + */ + AWSTagFilter.attributeTypeMap = { + namespace: { + baseName: "namespace", + type: "AWSNamespace", + }, + tagFilterStr: { + baseName: "tag_filter_str", + type: "string", + }, + }; + return AWSTagFilter; +}()); +exports.AWSTagFilter = AWSTagFilter; +//# sourceMappingURL=AWSTagFilter.js.map + +/***/ }), + +/***/ 8647: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSTagFilterCreateRequest = void 0; +/** + * The objects used to set an AWS tag filter. + */ +var AWSTagFilterCreateRequest = /** @class */ (function () { + function AWSTagFilterCreateRequest() { + } + /** + * @ignore + */ + AWSTagFilterCreateRequest.getAttributeTypeMap = function () { + return AWSTagFilterCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AWSTagFilterCreateRequest.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + }, + namespace: { + baseName: "namespace", + type: "AWSNamespace", + }, + tagFilterStr: { + baseName: "tag_filter_str", + type: "string", + }, + }; + return AWSTagFilterCreateRequest; +}()); +exports.AWSTagFilterCreateRequest = AWSTagFilterCreateRequest; +//# sourceMappingURL=AWSTagFilterCreateRequest.js.map + +/***/ }), + +/***/ 81212: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSTagFilterDeleteRequest = void 0; +/** + * The objects used to delete an AWS tag filter entry. + */ +var AWSTagFilterDeleteRequest = /** @class */ (function () { + function AWSTagFilterDeleteRequest() { + } + /** + * @ignore + */ + AWSTagFilterDeleteRequest.getAttributeTypeMap = function () { + return AWSTagFilterDeleteRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AWSTagFilterDeleteRequest.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + }, + namespace: { + baseName: "namespace", + type: "AWSNamespace", + }, + }; + return AWSTagFilterDeleteRequest; +}()); +exports.AWSTagFilterDeleteRequest = AWSTagFilterDeleteRequest; +//# sourceMappingURL=AWSTagFilterDeleteRequest.js.map + +/***/ }), + +/***/ 28788: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AWSTagFilterListResponse = void 0; +/** + * An array of tag filter rules by `namespace` and tag filter string. + */ +var AWSTagFilterListResponse = /** @class */ (function () { + function AWSTagFilterListResponse() { + } + /** + * @ignore + */ + AWSTagFilterListResponse.getAttributeTypeMap = function () { + return AWSTagFilterListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AWSTagFilterListResponse.attributeTypeMap = { + filters: { + baseName: "filters", + type: "Array", + }, + }; + return AWSTagFilterListResponse; +}()); +exports.AWSTagFilterListResponse = AWSTagFilterListResponse; +//# sourceMappingURL=AWSTagFilterListResponse.js.map + +/***/ }), + +/***/ 30928: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AlertGraphWidgetDefinition = void 0; +/** + * Alert graphs are timeseries graphs showing the current status of any monitor defined on your system. + */ +var AlertGraphWidgetDefinition = /** @class */ (function () { + function AlertGraphWidgetDefinition() { + } + /** + * @ignore + */ + AlertGraphWidgetDefinition.getAttributeTypeMap = function () { + return AlertGraphWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + AlertGraphWidgetDefinition.attributeTypeMap = { + alertId: { + baseName: "alert_id", + type: "string", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "AlertGraphWidgetDefinitionType", + required: true, + }, + vizType: { + baseName: "viz_type", + type: "WidgetVizType", + required: true, + }, + }; + return AlertGraphWidgetDefinition; +}()); +exports.AlertGraphWidgetDefinition = AlertGraphWidgetDefinition; +//# sourceMappingURL=AlertGraphWidgetDefinition.js.map + +/***/ }), + +/***/ 35622: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AlertValueWidgetDefinition = void 0; +/** + * Alert values are query values showing the current value of the metric in any monitor defined on your system. + */ +var AlertValueWidgetDefinition = /** @class */ (function () { + function AlertValueWidgetDefinition() { + } + /** + * @ignore + */ + AlertValueWidgetDefinition.getAttributeTypeMap = function () { + return AlertValueWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + AlertValueWidgetDefinition.attributeTypeMap = { + alertId: { + baseName: "alert_id", + type: "string", + required: true, + }, + precision: { + baseName: "precision", + type: "number", + format: "int64", + }, + textAlign: { + baseName: "text_align", + type: "WidgetTextAlign", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "AlertValueWidgetDefinitionType", + required: true, + }, + unit: { + baseName: "unit", + type: "string", + }, + }; + return AlertValueWidgetDefinition; +}()); +exports.AlertValueWidgetDefinition = AlertValueWidgetDefinition; +//# sourceMappingURL=AlertValueWidgetDefinition.js.map + +/***/ }), + +/***/ 4583: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApiKey = void 0; +/** + * Datadog API key. + */ +var ApiKey = /** @class */ (function () { + function ApiKey() { + } + /** + * @ignore + */ + ApiKey.getAttributeTypeMap = function () { + return ApiKey.attributeTypeMap; + }; + /** + * @ignore + */ + ApiKey.attributeTypeMap = { + created: { + baseName: "created", + type: "string", + }, + createdBy: { + baseName: "created_by", + type: "string", + }, + key: { + baseName: "key", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return ApiKey; +}()); +exports.ApiKey = ApiKey; +//# sourceMappingURL=ApiKey.js.map + +/***/ }), + +/***/ 7164: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApiKeyListResponse = void 0; +/** + * List of API and application keys available for a given organization. + */ +var ApiKeyListResponse = /** @class */ (function () { + function ApiKeyListResponse() { + } + /** + * @ignore + */ + ApiKeyListResponse.getAttributeTypeMap = function () { + return ApiKeyListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ApiKeyListResponse.attributeTypeMap = { + apiKeys: { + baseName: "api_keys", + type: "Array", + }, + }; + return ApiKeyListResponse; +}()); +exports.ApiKeyListResponse = ApiKeyListResponse; +//# sourceMappingURL=ApiKeyListResponse.js.map + +/***/ }), + +/***/ 82196: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApiKeyResponse = void 0; +/** + * An API key with its associated metadata. + */ +var ApiKeyResponse = /** @class */ (function () { + function ApiKeyResponse() { + } + /** + * @ignore + */ + ApiKeyResponse.getAttributeTypeMap = function () { + return ApiKeyResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ApiKeyResponse.attributeTypeMap = { + apiKey: { + baseName: "api_key", + type: "ApiKey", + }, + }; + return ApiKeyResponse; +}()); +exports.ApiKeyResponse = ApiKeyResponse; +//# sourceMappingURL=ApiKeyResponse.js.map + +/***/ }), + +/***/ 17056: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApmStatsQueryColumnType = void 0; +/** + * Column properties. + */ +var ApmStatsQueryColumnType = /** @class */ (function () { + function ApmStatsQueryColumnType() { + } + /** + * @ignore + */ + ApmStatsQueryColumnType.getAttributeTypeMap = function () { + return ApmStatsQueryColumnType.attributeTypeMap; + }; + /** + * @ignore + */ + ApmStatsQueryColumnType.attributeTypeMap = { + alias: { + baseName: "alias", + type: "string", + }, + cellDisplayMode: { + baseName: "cell_display_mode", + type: "TableWidgetCellDisplayMode", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + order: { + baseName: "order", + type: "WidgetSort", + }, + }; + return ApmStatsQueryColumnType; +}()); +exports.ApmStatsQueryColumnType = ApmStatsQueryColumnType; +//# sourceMappingURL=ApmStatsQueryColumnType.js.map + +/***/ }), + +/***/ 61753: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApmStatsQueryDefinition = void 0; +/** + * The APM stats query for table and distributions widgets. + */ +var ApmStatsQueryDefinition = /** @class */ (function () { + function ApmStatsQueryDefinition() { + } + /** + * @ignore + */ + ApmStatsQueryDefinition.getAttributeTypeMap = function () { + return ApmStatsQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ApmStatsQueryDefinition.attributeTypeMap = { + columns: { + baseName: "columns", + type: "Array", + }, + env: { + baseName: "env", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + primaryTag: { + baseName: "primary_tag", + type: "string", + required: true, + }, + resource: { + baseName: "resource", + type: "string", + }, + rowType: { + baseName: "row_type", + type: "ApmStatsQueryRowType", + required: true, + }, + service: { + baseName: "service", + type: "string", + required: true, + }, + }; + return ApmStatsQueryDefinition; +}()); +exports.ApmStatsQueryDefinition = ApmStatsQueryDefinition; +//# sourceMappingURL=ApmStatsQueryDefinition.js.map + +/***/ }), + +/***/ 12260: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKey = void 0; +/** + * An application key with its associated metadata. + */ +var ApplicationKey = /** @class */ (function () { + function ApplicationKey() { + } + /** + * @ignore + */ + ApplicationKey.getAttributeTypeMap = function () { + return ApplicationKey.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKey.attributeTypeMap = { + hash: { + baseName: "hash", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + owner: { + baseName: "owner", + type: "string", + }, + }; + return ApplicationKey; +}()); +exports.ApplicationKey = ApplicationKey; +//# sourceMappingURL=ApplicationKey.js.map + +/***/ }), + +/***/ 524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyListResponse = void 0; +/** + * An application key response. + */ +var ApplicationKeyListResponse = /** @class */ (function () { + function ApplicationKeyListResponse() { + } + /** + * @ignore + */ + ApplicationKeyListResponse.getAttributeTypeMap = function () { + return ApplicationKeyListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyListResponse.attributeTypeMap = { + applicationKeys: { + baseName: "application_keys", + type: "Array", + }, + }; + return ApplicationKeyListResponse; +}()); +exports.ApplicationKeyListResponse = ApplicationKeyListResponse; +//# sourceMappingURL=ApplicationKeyListResponse.js.map + +/***/ }), + +/***/ 53730: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyResponse = void 0; +/** + * An application key response. + */ +var ApplicationKeyResponse = /** @class */ (function () { + function ApplicationKeyResponse() { + } + /** + * @ignore + */ + ApplicationKeyResponse.getAttributeTypeMap = function () { + return ApplicationKeyResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyResponse.attributeTypeMap = { + applicationKey: { + baseName: "application_key", + type: "ApplicationKey", + }, + }; + return ApplicationKeyResponse; +}()); +exports.ApplicationKeyResponse = ApplicationKeyResponse; +//# sourceMappingURL=ApplicationKeyResponse.js.map + +/***/ }), + +/***/ 11965: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthenticationValidationResponse = void 0; +/** + * Represent validation endpoint responses. + */ +var AuthenticationValidationResponse = /** @class */ (function () { + function AuthenticationValidationResponse() { + } + /** + * @ignore + */ + AuthenticationValidationResponse.getAttributeTypeMap = function () { + return AuthenticationValidationResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AuthenticationValidationResponse.attributeTypeMap = { + valid: { + baseName: "valid", + type: "boolean", + }, + }; + return AuthenticationValidationResponse; +}()); +exports.AuthenticationValidationResponse = AuthenticationValidationResponse; +//# sourceMappingURL=AuthenticationValidationResponse.js.map + +/***/ }), + +/***/ 99096: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AzureAccount = void 0; +/** + * Datadog-Azure integrations configured for your organization. + */ +var AzureAccount = /** @class */ (function () { + function AzureAccount() { + } + /** + * @ignore + */ + AzureAccount.getAttributeTypeMap = function () { + return AzureAccount.attributeTypeMap; + }; + /** + * @ignore + */ + AzureAccount.attributeTypeMap = { + automute: { + baseName: "automute", + type: "boolean", + }, + clientId: { + baseName: "client_id", + type: "string", + }, + clientSecret: { + baseName: "client_secret", + type: "string", + }, + errors: { + baseName: "errors", + type: "Array", + }, + hostFilters: { + baseName: "host_filters", + type: "string", + }, + newClientId: { + baseName: "new_client_id", + type: "string", + }, + newTenantName: { + baseName: "new_tenant_name", + type: "string", + }, + tenantName: { + baseName: "tenant_name", + type: "string", + }, + }; + return AzureAccount; +}()); +exports.AzureAccount = AzureAccount; +//# sourceMappingURL=AzureAccount.js.map + +/***/ }), + +/***/ 30337: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CancelDowntimesByScopeRequest = void 0; +/** + * Cancel downtimes according to scope. + */ +var CancelDowntimesByScopeRequest = /** @class */ (function () { + function CancelDowntimesByScopeRequest() { + } + /** + * @ignore + */ + CancelDowntimesByScopeRequest.getAttributeTypeMap = function () { + return CancelDowntimesByScopeRequest.attributeTypeMap; + }; + /** + * @ignore + */ + CancelDowntimesByScopeRequest.attributeTypeMap = { + scope: { + baseName: "scope", + type: "string", + required: true, + }, + }; + return CancelDowntimesByScopeRequest; +}()); +exports.CancelDowntimesByScopeRequest = CancelDowntimesByScopeRequest; +//# sourceMappingURL=CancelDowntimesByScopeRequest.js.map + +/***/ }), + +/***/ 49157: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CanceledDowntimesIds = void 0; +/** + * Object containing array of IDs of canceled downtimes. + */ +var CanceledDowntimesIds = /** @class */ (function () { + function CanceledDowntimesIds() { + } + /** + * @ignore + */ + CanceledDowntimesIds.getAttributeTypeMap = function () { + return CanceledDowntimesIds.attributeTypeMap; + }; + /** + * @ignore + */ + CanceledDowntimesIds.attributeTypeMap = { + cancelledIds: { + baseName: "cancelled_ids", + type: "Array", + format: "int64", + }, + }; + return CanceledDowntimesIds; +}()); +exports.CanceledDowntimesIds = CanceledDowntimesIds; +//# sourceMappingURL=CanceledDowntimesIds.js.map + +/***/ }), + +/***/ 59016: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChangeWidgetDefinition = void 0; +/** + * The Change graph shows you the change in a value over the time period chosen. + */ +var ChangeWidgetDefinition = /** @class */ (function () { + function ChangeWidgetDefinition() { + } + /** + * @ignore + */ + ChangeWidgetDefinition.getAttributeTypeMap = function () { + return ChangeWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ChangeWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ChangeWidgetDefinitionType", + required: true, + }, + }; + return ChangeWidgetDefinition; +}()); +exports.ChangeWidgetDefinition = ChangeWidgetDefinition; +//# sourceMappingURL=ChangeWidgetDefinition.js.map + +/***/ }), + +/***/ 71103: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChangeWidgetRequest = void 0; +/** + * Updated change widget. + */ +var ChangeWidgetRequest = /** @class */ (function () { + function ChangeWidgetRequest() { + } + /** + * @ignore + */ + ChangeWidgetRequest.getAttributeTypeMap = function () { + return ChangeWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ChangeWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + changeType: { + baseName: "change_type", + type: "WidgetChangeType", + }, + compareTo: { + baseName: "compare_to", + type: "WidgetCompareTo", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + increaseGood: { + baseName: "increase_good", + type: "boolean", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + orderBy: { + baseName: "order_by", + type: "WidgetOrderBy", + }, + orderDir: { + baseName: "order_dir", + type: "WidgetSort", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + showPresent: { + baseName: "show_present", + type: "boolean", + }, + }; + return ChangeWidgetRequest; +}()); +exports.ChangeWidgetRequest = ChangeWidgetRequest; +//# sourceMappingURL=ChangeWidgetRequest.js.map + +/***/ }), + +/***/ 55696: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckCanDeleteMonitorResponse = void 0; +/** + * Response of monitor IDs that can or can't be safely deleted. + */ +var CheckCanDeleteMonitorResponse = /** @class */ (function () { + function CheckCanDeleteMonitorResponse() { + } + /** + * @ignore + */ + CheckCanDeleteMonitorResponse.getAttributeTypeMap = function () { + return CheckCanDeleteMonitorResponse.attributeTypeMap; + }; + /** + * @ignore + */ + CheckCanDeleteMonitorResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "CheckCanDeleteMonitorResponseData", + required: true, + }, + errors: { + baseName: "errors", + type: "{ [key: string]: Array; }", + }, + }; + return CheckCanDeleteMonitorResponse; +}()); +exports.CheckCanDeleteMonitorResponse = CheckCanDeleteMonitorResponse; +//# sourceMappingURL=CheckCanDeleteMonitorResponse.js.map + +/***/ }), + +/***/ 8779: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckCanDeleteMonitorResponseData = void 0; +/** + * Wrapper object with the list of monitor IDs. + */ +var CheckCanDeleteMonitorResponseData = /** @class */ (function () { + function CheckCanDeleteMonitorResponseData() { + } + /** + * @ignore + */ + CheckCanDeleteMonitorResponseData.getAttributeTypeMap = function () { + return CheckCanDeleteMonitorResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + CheckCanDeleteMonitorResponseData.attributeTypeMap = { + ok: { + baseName: "ok", + type: "Array", + format: "int64", + }, + }; + return CheckCanDeleteMonitorResponseData; +}()); +exports.CheckCanDeleteMonitorResponseData = CheckCanDeleteMonitorResponseData; +//# sourceMappingURL=CheckCanDeleteMonitorResponseData.js.map + +/***/ }), + +/***/ 37497: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckCanDeleteSLOResponse = void 0; +/** + * A service level objective response containing the requested object. + */ +var CheckCanDeleteSLOResponse = /** @class */ (function () { + function CheckCanDeleteSLOResponse() { + } + /** + * @ignore + */ + CheckCanDeleteSLOResponse.getAttributeTypeMap = function () { + return CheckCanDeleteSLOResponse.attributeTypeMap; + }; + /** + * @ignore + */ + CheckCanDeleteSLOResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "CheckCanDeleteSLOResponseData", + }, + errors: { + baseName: "errors", + type: "{ [key: string]: string; }", + }, + }; + return CheckCanDeleteSLOResponse; +}()); +exports.CheckCanDeleteSLOResponse = CheckCanDeleteSLOResponse; +//# sourceMappingURL=CheckCanDeleteSLOResponse.js.map + +/***/ }), + +/***/ 45281: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckCanDeleteSLOResponseData = void 0; +/** + * An array of service level objective objects. + */ +var CheckCanDeleteSLOResponseData = /** @class */ (function () { + function CheckCanDeleteSLOResponseData() { + } + /** + * @ignore + */ + CheckCanDeleteSLOResponseData.getAttributeTypeMap = function () { + return CheckCanDeleteSLOResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + CheckCanDeleteSLOResponseData.attributeTypeMap = { + ok: { + baseName: "ok", + type: "Array", + }, + }; + return CheckCanDeleteSLOResponseData; +}()); +exports.CheckCanDeleteSLOResponseData = CheckCanDeleteSLOResponseData; +//# sourceMappingURL=CheckCanDeleteSLOResponseData.js.map + +/***/ }), + +/***/ 92980: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CheckStatusWidgetDefinition = void 0; +/** + * Check status shows the current status or number of results for any check performed. + */ +var CheckStatusWidgetDefinition = /** @class */ (function () { + function CheckStatusWidgetDefinition() { + } + /** + * @ignore + */ + CheckStatusWidgetDefinition.getAttributeTypeMap = function () { + return CheckStatusWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + CheckStatusWidgetDefinition.attributeTypeMap = { + check: { + baseName: "check", + type: "string", + required: true, + }, + group: { + baseName: "group", + type: "string", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + grouping: { + baseName: "grouping", + type: "WidgetGrouping", + required: true, + }, + tags: { + baseName: "tags", + type: "Array", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "CheckStatusWidgetDefinitionType", + required: true, + }, + }; + return CheckStatusWidgetDefinition; +}()); +exports.CheckStatusWidgetDefinition = CheckStatusWidgetDefinition; +//# sourceMappingURL=CheckStatusWidgetDefinition.js.map + +/***/ }), + +/***/ 84519: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Creator = void 0; +/** + * Object describing the creator of the shared element. + */ +var Creator = /** @class */ (function () { + function Creator() { + } + /** + * @ignore + */ + Creator.getAttributeTypeMap = function () { + return Creator.attributeTypeMap; + }; + /** + * @ignore + */ + Creator.attributeTypeMap = { + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return Creator; +}()); +exports.Creator = Creator; +//# sourceMappingURL=Creator.js.map + +/***/ }), + +/***/ 63114: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Dashboard = void 0; +/** + * A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying key performance metrics, which enable you to monitor the health of your infrastructure. + */ +var Dashboard = /** @class */ (function () { + function Dashboard() { + } + /** + * @ignore + */ + Dashboard.getAttributeTypeMap = function () { + return Dashboard.attributeTypeMap; + }; + /** + * @ignore + */ + Dashboard.attributeTypeMap = { + authorHandle: { + baseName: "author_handle", + type: "string", + }, + authorName: { + baseName: "author_name", + type: "string", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + isReadOnly: { + baseName: "is_read_only", + type: "boolean", + }, + layoutType: { + baseName: "layout_type", + type: "DashboardLayoutType", + required: true, + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + notifyList: { + baseName: "notify_list", + type: "Array", + }, + reflowType: { + baseName: "reflow_type", + type: "DashboardReflowType", + }, + restrictedRoles: { + baseName: "restricted_roles", + type: "Array", + }, + templateVariablePresets: { + baseName: "template_variable_presets", + type: "Array", + }, + templateVariables: { + baseName: "template_variables", + type: "Array", + }, + title: { + baseName: "title", + type: "string", + required: true, + }, + url: { + baseName: "url", + type: "string", + }, + widgets: { + baseName: "widgets", + type: "Array", + required: true, + }, + }; + return Dashboard; +}()); +exports.Dashboard = Dashboard; +//# sourceMappingURL=Dashboard.js.map + +/***/ }), + +/***/ 66634: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardBulkActionData = void 0; +/** + * Dashboard bulk action request data. + */ +var DashboardBulkActionData = /** @class */ (function () { + function DashboardBulkActionData() { + } + /** + * @ignore + */ + DashboardBulkActionData.getAttributeTypeMap = function () { + return DashboardBulkActionData.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardBulkActionData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "DashboardResourceType", + required: true, + }, + }; + return DashboardBulkActionData; +}()); +exports.DashboardBulkActionData = DashboardBulkActionData; +//# sourceMappingURL=DashboardBulkActionData.js.map + +/***/ }), + +/***/ 14689: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardBulkDeleteRequest = void 0; +/** + * Dashboard bulk delete request body. + */ +var DashboardBulkDeleteRequest = /** @class */ (function () { + function DashboardBulkDeleteRequest() { + } + /** + * @ignore + */ + DashboardBulkDeleteRequest.getAttributeTypeMap = function () { + return DashboardBulkDeleteRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardBulkDeleteRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return DashboardBulkDeleteRequest; +}()); +exports.DashboardBulkDeleteRequest = DashboardBulkDeleteRequest; +//# sourceMappingURL=DashboardBulkDeleteRequest.js.map + +/***/ }), + +/***/ 22899: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardDeleteResponse = void 0; +/** + * Response from the delete dashboard call. + */ +var DashboardDeleteResponse = /** @class */ (function () { + function DashboardDeleteResponse() { + } + /** + * @ignore + */ + DashboardDeleteResponse.getAttributeTypeMap = function () { + return DashboardDeleteResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardDeleteResponse.attributeTypeMap = { + deletedDashboardId: { + baseName: "deleted_dashboard_id", + type: "string", + }, + }; + return DashboardDeleteResponse; +}()); +exports.DashboardDeleteResponse = DashboardDeleteResponse; +//# sourceMappingURL=DashboardDeleteResponse.js.map + +/***/ }), + +/***/ 37165: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardList = void 0; +/** + * Your Datadog Dashboards. + */ +var DashboardList = /** @class */ (function () { + function DashboardList() { + } + /** + * @ignore + */ + DashboardList.getAttributeTypeMap = function () { + return DashboardList.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardList.attributeTypeMap = { + author: { + baseName: "author", + type: "Creator", + }, + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + dashboardCount: { + baseName: "dashboard_count", + type: "number", + format: "int64", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + isFavorite: { + baseName: "is_favorite", + type: "boolean", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "string", + }, + }; + return DashboardList; +}()); +exports.DashboardList = DashboardList; +//# sourceMappingURL=DashboardList.js.map + +/***/ }), + +/***/ 40167: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListDeleteResponse = void 0; +/** + * Deleted dashboard details. + */ +var DashboardListDeleteResponse = /** @class */ (function () { + function DashboardListDeleteResponse() { + } + /** + * @ignore + */ + DashboardListDeleteResponse.getAttributeTypeMap = function () { + return DashboardListDeleteResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListDeleteResponse.attributeTypeMap = { + deletedDashboardListId: { + baseName: "deleted_dashboard_list_id", + type: "number", + format: "int64", + }, + }; + return DashboardListDeleteResponse; +}()); +exports.DashboardListDeleteResponse = DashboardListDeleteResponse; +//# sourceMappingURL=DashboardListDeleteResponse.js.map + +/***/ }), + +/***/ 18934: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListListResponse = void 0; +/** + * Information on your dashboard lists. + */ +var DashboardListListResponse = /** @class */ (function () { + function DashboardListListResponse() { + } + /** + * @ignore + */ + DashboardListListResponse.getAttributeTypeMap = function () { + return DashboardListListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListListResponse.attributeTypeMap = { + dashboardLists: { + baseName: "dashboard_lists", + type: "Array", + }, + }; + return DashboardListListResponse; +}()); +exports.DashboardListListResponse = DashboardListListResponse; +//# sourceMappingURL=DashboardListListResponse.js.map + +/***/ }), + +/***/ 15827: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardRestoreRequest = void 0; +/** + * Dashboard restore request body. + */ +var DashboardRestoreRequest = /** @class */ (function () { + function DashboardRestoreRequest() { + } + /** + * @ignore + */ + DashboardRestoreRequest.getAttributeTypeMap = function () { + return DashboardRestoreRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardRestoreRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return DashboardRestoreRequest; +}()); +exports.DashboardRestoreRequest = DashboardRestoreRequest; +//# sourceMappingURL=DashboardRestoreRequest.js.map + +/***/ }), + +/***/ 71472: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardSummary = void 0; +/** + * Dashboard summary response. + */ +var DashboardSummary = /** @class */ (function () { + function DashboardSummary() { + } + /** + * @ignore + */ + DashboardSummary.getAttributeTypeMap = function () { + return DashboardSummary.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardSummary.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + }, + }; + return DashboardSummary; +}()); +exports.DashboardSummary = DashboardSummary; +//# sourceMappingURL=DashboardSummary.js.map + +/***/ }), + +/***/ 45087: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardSummaryDefinition = void 0; +/** + * Dashboard definition. + */ +var DashboardSummaryDefinition = /** @class */ (function () { + function DashboardSummaryDefinition() { + } + /** + * @ignore + */ + DashboardSummaryDefinition.getAttributeTypeMap = function () { + return DashboardSummaryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardSummaryDefinition.attributeTypeMap = { + authorHandle: { + baseName: "author_handle", + type: "string", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + isReadOnly: { + baseName: "is_read_only", + type: "boolean", + }, + layoutType: { + baseName: "layout_type", + type: "DashboardLayoutType", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + title: { + baseName: "title", + type: "string", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return DashboardSummaryDefinition; +}()); +exports.DashboardSummaryDefinition = DashboardSummaryDefinition; +//# sourceMappingURL=DashboardSummaryDefinition.js.map + +/***/ }), + +/***/ 99326: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardTemplateVariable = void 0; +/** + * Template variable. + */ +var DashboardTemplateVariable = /** @class */ (function () { + function DashboardTemplateVariable() { + } + /** + * @ignore + */ + DashboardTemplateVariable.getAttributeTypeMap = function () { + return DashboardTemplateVariable.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardTemplateVariable.attributeTypeMap = { + availableValues: { + baseName: "available_values", + type: "Array", + }, + _default: { + baseName: "default", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + prefix: { + baseName: "prefix", + type: "string", + }, + }; + return DashboardTemplateVariable; +}()); +exports.DashboardTemplateVariable = DashboardTemplateVariable; +//# sourceMappingURL=DashboardTemplateVariable.js.map + +/***/ }), + +/***/ 37874: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardTemplateVariablePreset = void 0; +/** + * Template variables saved views. + */ +var DashboardTemplateVariablePreset = /** @class */ (function () { + function DashboardTemplateVariablePreset() { + } + /** + * @ignore + */ + DashboardTemplateVariablePreset.getAttributeTypeMap = function () { + return DashboardTemplateVariablePreset.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardTemplateVariablePreset.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + }, + templateVariables: { + baseName: "template_variables", + type: "Array", + }, + }; + return DashboardTemplateVariablePreset; +}()); +exports.DashboardTemplateVariablePreset = DashboardTemplateVariablePreset; +//# sourceMappingURL=DashboardTemplateVariablePreset.js.map + +/***/ }), + +/***/ 7037: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardTemplateVariablePresetValue = void 0; +/** + * Template variables saved views. + */ +var DashboardTemplateVariablePresetValue = /** @class */ (function () { + function DashboardTemplateVariablePresetValue() { + } + /** + * @ignore + */ + DashboardTemplateVariablePresetValue.getAttributeTypeMap = function () { + return DashboardTemplateVariablePresetValue.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardTemplateVariablePresetValue.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + }, + value: { + baseName: "value", + type: "string", + }, + }; + return DashboardTemplateVariablePresetValue; +}()); +exports.DashboardTemplateVariablePresetValue = DashboardTemplateVariablePresetValue; +//# sourceMappingURL=DashboardTemplateVariablePresetValue.js.map + +/***/ }), + +/***/ 4711: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DeletedMonitor = void 0; +/** + * Response from the delete monitor call. + */ +var DeletedMonitor = /** @class */ (function () { + function DeletedMonitor() { + } + /** + * @ignore + */ + DeletedMonitor.getAttributeTypeMap = function () { + return DeletedMonitor.attributeTypeMap; + }; + /** + * @ignore + */ + DeletedMonitor.attributeTypeMap = { + deletedMonitorId: { + baseName: "deleted_monitor_id", + type: "number", + format: "int64", + }, + }; + return DeletedMonitor; +}()); +exports.DeletedMonitor = DeletedMonitor; +//# sourceMappingURL=DeletedMonitor.js.map + +/***/ }), + +/***/ 88954: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DistributionWidgetDefinition = void 0; +/** + * The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time. + */ +var DistributionWidgetDefinition = /** @class */ (function () { + function DistributionWidgetDefinition() { + } + /** + * @ignore + */ + DistributionWidgetDefinition.getAttributeTypeMap = function () { + return DistributionWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + DistributionWidgetDefinition.attributeTypeMap = { + legendSize: { + baseName: "legend_size", + type: "string", + }, + markers: { + baseName: "markers", + type: "Array", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + showLegend: { + baseName: "show_legend", + type: "boolean", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "DistributionWidgetDefinitionType", + required: true, + }, + xaxis: { + baseName: "xaxis", + type: "DistributionWidgetXAxis", + }, + yaxis: { + baseName: "yaxis", + type: "DistributionWidgetYAxis", + }, + }; + return DistributionWidgetDefinition; +}()); +exports.DistributionWidgetDefinition = DistributionWidgetDefinition; +//# sourceMappingURL=DistributionWidgetDefinition.js.map + +/***/ }), + +/***/ 54139: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DistributionWidgetRequest = void 0; +/** + * Updated distribution widget. + */ +var DistributionWidgetRequest = /** @class */ (function () { + function DistributionWidgetRequest() { + } + /** + * @ignore + */ + DistributionWidgetRequest.getAttributeTypeMap = function () { + return DistributionWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DistributionWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + apmStatsQuery: { + baseName: "apm_stats_query", + type: "ApmStatsQueryDefinition", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + style: { + baseName: "style", + type: "WidgetStyle", + }, + }; + return DistributionWidgetRequest; +}()); +exports.DistributionWidgetRequest = DistributionWidgetRequest; +//# sourceMappingURL=DistributionWidgetRequest.js.map + +/***/ }), + +/***/ 59792: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DistributionWidgetXAxis = void 0; +/** + * X Axis controls for the distribution widget. + */ +var DistributionWidgetXAxis = /** @class */ (function () { + function DistributionWidgetXAxis() { + } + /** + * @ignore + */ + DistributionWidgetXAxis.getAttributeTypeMap = function () { + return DistributionWidgetXAxis.attributeTypeMap; + }; + /** + * @ignore + */ + DistributionWidgetXAxis.attributeTypeMap = { + includeZero: { + baseName: "include_zero", + type: "boolean", + }, + max: { + baseName: "max", + type: "string", + }, + min: { + baseName: "min", + type: "string", + }, + scale: { + baseName: "scale", + type: "string", + }, + }; + return DistributionWidgetXAxis; +}()); +exports.DistributionWidgetXAxis = DistributionWidgetXAxis; +//# sourceMappingURL=DistributionWidgetXAxis.js.map + +/***/ }), + +/***/ 53869: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DistributionWidgetYAxis = void 0; +/** + * Y Axis controls for the distribution widget. + */ +var DistributionWidgetYAxis = /** @class */ (function () { + function DistributionWidgetYAxis() { + } + /** + * @ignore + */ + DistributionWidgetYAxis.getAttributeTypeMap = function () { + return DistributionWidgetYAxis.attributeTypeMap; + }; + /** + * @ignore + */ + DistributionWidgetYAxis.attributeTypeMap = { + includeZero: { + baseName: "include_zero", + type: "boolean", + }, + label: { + baseName: "label", + type: "string", + }, + max: { + baseName: "max", + type: "string", + }, + min: { + baseName: "min", + type: "string", + }, + scale: { + baseName: "scale", + type: "string", + }, + }; + return DistributionWidgetYAxis; +}()); +exports.DistributionWidgetYAxis = DistributionWidgetYAxis; +//# sourceMappingURL=DistributionWidgetYAxis.js.map + +/***/ }), + +/***/ 66345: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Downtime = void 0; +/** + * Downtiming gives you greater control over monitor notifications by allowing you to globally exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times, prevent all alerting related to specified Datadog tags. + */ +var Downtime = /** @class */ (function () { + function Downtime() { + } + /** + * @ignore + */ + Downtime.getAttributeTypeMap = function () { + return Downtime.attributeTypeMap; + }; + /** + * @ignore + */ + Downtime.attributeTypeMap = { + active: { + baseName: "active", + type: "boolean", + }, + activeChild: { + baseName: "active_child", + type: "DowntimeChild", + }, + canceled: { + baseName: "canceled", + type: "number", + format: "int64", + }, + creatorId: { + baseName: "creator_id", + type: "number", + format: "int32", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + downtimeType: { + baseName: "downtime_type", + type: "number", + format: "int32", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + monitorTags: { + baseName: "monitor_tags", + type: "Array", + }, + parentId: { + baseName: "parent_id", + type: "number", + format: "int64", + }, + recurrence: { + baseName: "recurrence", + type: "DowntimeRecurrence", + }, + scope: { + baseName: "scope", + type: "Array", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + updaterId: { + baseName: "updater_id", + type: "number", + format: "int32", + }, + }; + return Downtime; +}()); +exports.Downtime = Downtime; +//# sourceMappingURL=Downtime.js.map + +/***/ }), + +/***/ 36940: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DowntimeChild = void 0; +/** + * The downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes. + */ +var DowntimeChild = /** @class */ (function () { + function DowntimeChild() { + } + /** + * @ignore + */ + DowntimeChild.getAttributeTypeMap = function () { + return DowntimeChild.attributeTypeMap; + }; + /** + * @ignore + */ + DowntimeChild.attributeTypeMap = { + active: { + baseName: "active", + type: "boolean", + }, + canceled: { + baseName: "canceled", + type: "number", + format: "int64", + }, + creatorId: { + baseName: "creator_id", + type: "number", + format: "int32", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + downtimeType: { + baseName: "downtime_type", + type: "number", + format: "int32", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + monitorTags: { + baseName: "monitor_tags", + type: "Array", + }, + parentId: { + baseName: "parent_id", + type: "number", + format: "int64", + }, + recurrence: { + baseName: "recurrence", + type: "DowntimeRecurrence", + }, + scope: { + baseName: "scope", + type: "Array", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + updaterId: { + baseName: "updater_id", + type: "number", + format: "int32", + }, + }; + return DowntimeChild; +}()); +exports.DowntimeChild = DowntimeChild; +//# sourceMappingURL=DowntimeChild.js.map + +/***/ }), + +/***/ 10878: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DowntimeRecurrence = void 0; +/** + * An object defining the recurrence of the downtime. + */ +var DowntimeRecurrence = /** @class */ (function () { + function DowntimeRecurrence() { + } + /** + * @ignore + */ + DowntimeRecurrence.getAttributeTypeMap = function () { + return DowntimeRecurrence.attributeTypeMap; + }; + /** + * @ignore + */ + DowntimeRecurrence.attributeTypeMap = { + period: { + baseName: "period", + type: "number", + format: "int32", + }, + rrule: { + baseName: "rrule", + type: "string", + }, + type: { + baseName: "type", + type: "string", + }, + untilDate: { + baseName: "until_date", + type: "number", + format: "int64", + }, + untilOccurrences: { + baseName: "until_occurrences", + type: "number", + format: "int32", + }, + weekDays: { + baseName: "week_days", + type: "Array", + }, + }; + return DowntimeRecurrence; +}()); +exports.DowntimeRecurrence = DowntimeRecurrence; +//# sourceMappingURL=DowntimeRecurrence.js.map + +/***/ }), + +/***/ 68426: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Event = void 0; +/** + * Object representing an event. + */ +var Event = /** @class */ (function () { + function Event() { + } + /** + * @ignore + */ + Event.getAttributeTypeMap = function () { + return Event.attributeTypeMap; + }; + /** + * @ignore + */ + Event.attributeTypeMap = { + alertType: { + baseName: "alert_type", + type: "EventAlertType", + }, + dateHappened: { + baseName: "date_happened", + type: "number", + format: "int64", + }, + deviceName: { + baseName: "device_name", + type: "string", + }, + host: { + baseName: "host", + type: "string", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + idStr: { + baseName: "id_str", + type: "string", + }, + payload: { + baseName: "payload", + type: "string", + }, + priority: { + baseName: "priority", + type: "EventPriority", + }, + sourceTypeName: { + baseName: "source_type_name", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + text: { + baseName: "text", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return Event; +}()); +exports.Event = Event; +//# sourceMappingURL=Event.js.map + +/***/ }), + +/***/ 98964: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventCreateRequest = void 0; +/** + * Object representing an event. + */ +var EventCreateRequest = /** @class */ (function () { + function EventCreateRequest() { + } + /** + * @ignore + */ + EventCreateRequest.getAttributeTypeMap = function () { + return EventCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + EventCreateRequest.attributeTypeMap = { + aggregationKey: { + baseName: "aggregation_key", + type: "string", + }, + alertType: { + baseName: "alert_type", + type: "EventAlertType", + }, + dateHappened: { + baseName: "date_happened", + type: "number", + format: "int64", + }, + deviceName: { + baseName: "device_name", + type: "string", + }, + host: { + baseName: "host", + type: "string", + }, + priority: { + baseName: "priority", + type: "EventPriority", + }, + relatedEventId: { + baseName: "related_event_id", + type: "number", + format: "int64", + }, + sourceTypeName: { + baseName: "source_type_name", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + text: { + baseName: "text", + type: "string", + required: true, + }, + title: { + baseName: "title", + type: "string", + required: true, + }, + }; + return EventCreateRequest; +}()); +exports.EventCreateRequest = EventCreateRequest; +//# sourceMappingURL=EventCreateRequest.js.map + +/***/ }), + +/***/ 15571: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventCreateResponse = void 0; +/** + * Object containing an event response. + */ +var EventCreateResponse = /** @class */ (function () { + function EventCreateResponse() { + } + /** + * @ignore + */ + EventCreateResponse.getAttributeTypeMap = function () { + return EventCreateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + EventCreateResponse.attributeTypeMap = { + alertType: { + baseName: "alert_type", + type: "EventAlertType", + }, + dateHappened: { + baseName: "date_happened", + type: "number", + format: "int64", + }, + deviceName: { + baseName: "device_name", + type: "string", + }, + host: { + baseName: "host", + type: "string", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + payload: { + baseName: "payload", + type: "string", + }, + priority: { + baseName: "priority", + type: "EventPriority", + }, + relatedEventId: { + baseName: "related_event_id", + type: "number", + format: "int64", + }, + sourceTypeName: { + baseName: "source_type_name", + type: "string", + }, + status: { + baseName: "status", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + text: { + baseName: "text", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return EventCreateResponse; +}()); +exports.EventCreateResponse = EventCreateResponse; +//# sourceMappingURL=EventCreateResponse.js.map + +/***/ }), + +/***/ 64758: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventListResponse = void 0; +/** + * An event list response. + */ +var EventListResponse = /** @class */ (function () { + function EventListResponse() { + } + /** + * @ignore + */ + EventListResponse.getAttributeTypeMap = function () { + return EventListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + EventListResponse.attributeTypeMap = { + events: { + baseName: "events", + type: "Array", + }, + status: { + baseName: "status", + type: "string", + }, + }; + return EventListResponse; +}()); +exports.EventListResponse = EventListResponse; +//# sourceMappingURL=EventListResponse.js.map + +/***/ }), + +/***/ 86630: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventQueryDefinition = void 0; +/** + * The event query. + */ +var EventQueryDefinition = /** @class */ (function () { + function EventQueryDefinition() { + } + /** + * @ignore + */ + EventQueryDefinition.getAttributeTypeMap = function () { + return EventQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + EventQueryDefinition.attributeTypeMap = { + search: { + baseName: "search", + type: "string", + required: true, + }, + tagsExecution: { + baseName: "tags_execution", + type: "string", + required: true, + }, + }; + return EventQueryDefinition; +}()); +exports.EventQueryDefinition = EventQueryDefinition; +//# sourceMappingURL=EventQueryDefinition.js.map + +/***/ }), + +/***/ 57097: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventResponse = void 0; +/** + * Object containing an event response. + */ +var EventResponse = /** @class */ (function () { + function EventResponse() { + } + /** + * @ignore + */ + EventResponse.getAttributeTypeMap = function () { + return EventResponse.attributeTypeMap; + }; + /** + * @ignore + */ + EventResponse.attributeTypeMap = { + event: { + baseName: "event", + type: "Event", + }, + status: { + baseName: "status", + type: "string", + }, + }; + return EventResponse; +}()); +exports.EventResponse = EventResponse; +//# sourceMappingURL=EventResponse.js.map + +/***/ }), + +/***/ 41446: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventStreamWidgetDefinition = void 0; +/** + * The event stream is a widget version of the stream of events on the Event Stream view. Only available on FREE layout dashboards. + */ +var EventStreamWidgetDefinition = /** @class */ (function () { + function EventStreamWidgetDefinition() { + } + /** + * @ignore + */ + EventStreamWidgetDefinition.getAttributeTypeMap = function () { + return EventStreamWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + EventStreamWidgetDefinition.attributeTypeMap = { + eventSize: { + baseName: "event_size", + type: "WidgetEventSize", + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + tagsExecution: { + baseName: "tags_execution", + type: "string", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "EventStreamWidgetDefinitionType", + required: true, + }, + }; + return EventStreamWidgetDefinition; +}()); +exports.EventStreamWidgetDefinition = EventStreamWidgetDefinition; +//# sourceMappingURL=EventStreamWidgetDefinition.js.map + +/***/ }), + +/***/ 5387: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EventTimelineWidgetDefinition = void 0; +/** + * The event timeline is a widget version of the timeline that appears at the top of the Event Stream view. Only available on FREE layout dashboards. + */ +var EventTimelineWidgetDefinition = /** @class */ (function () { + function EventTimelineWidgetDefinition() { + } + /** + * @ignore + */ + EventTimelineWidgetDefinition.getAttributeTypeMap = function () { + return EventTimelineWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + EventTimelineWidgetDefinition.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + required: true, + }, + tagsExecution: { + baseName: "tags_execution", + type: "string", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "EventTimelineWidgetDefinitionType", + required: true, + }, + }; + return EventTimelineWidgetDefinition; +}()); +exports.EventTimelineWidgetDefinition = EventTimelineWidgetDefinition; +//# sourceMappingURL=EventTimelineWidgetDefinition.js.map + +/***/ }), + +/***/ 86280: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionApmDependencyStatsQueryDefinition = void 0; +/** + * A formula and functions APM dependency stats query. + */ +var FormulaAndFunctionApmDependencyStatsQueryDefinition = /** @class */ (function () { + function FormulaAndFunctionApmDependencyStatsQueryDefinition() { + } + /** + * @ignore + */ + FormulaAndFunctionApmDependencyStatsQueryDefinition.getAttributeTypeMap = function () { + return FormulaAndFunctionApmDependencyStatsQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionApmDependencyStatsQueryDefinition.attributeTypeMap = { + dataSource: { + baseName: "data_source", + type: "FormulaAndFunctionApmDependencyStatsDataSource", + required: true, + }, + env: { + baseName: "env", + type: "string", + required: true, + }, + isUpstream: { + baseName: "is_upstream", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + operationName: { + baseName: "operation_name", + type: "string", + required: true, + }, + primaryTagName: { + baseName: "primary_tag_name", + type: "string", + }, + primaryTagValue: { + baseName: "primary_tag_value", + type: "string", + }, + resourceName: { + baseName: "resource_name", + type: "string", + required: true, + }, + service: { + baseName: "service", + type: "string", + required: true, + }, + stat: { + baseName: "stat", + type: "FormulaAndFunctionApmDependencyStatName", + required: true, + }, + }; + return FormulaAndFunctionApmDependencyStatsQueryDefinition; +}()); +exports.FormulaAndFunctionApmDependencyStatsQueryDefinition = FormulaAndFunctionApmDependencyStatsQueryDefinition; +//# sourceMappingURL=FormulaAndFunctionApmDependencyStatsQueryDefinition.js.map + +/***/ }), + +/***/ 38483: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionApmResourceStatsQueryDefinition = void 0; +/** + * APM resource stats query using formulas and functions. + */ +var FormulaAndFunctionApmResourceStatsQueryDefinition = /** @class */ (function () { + function FormulaAndFunctionApmResourceStatsQueryDefinition() { + } + /** + * @ignore + */ + FormulaAndFunctionApmResourceStatsQueryDefinition.getAttributeTypeMap = function () { + return FormulaAndFunctionApmResourceStatsQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionApmResourceStatsQueryDefinition.attributeTypeMap = { + dataSource: { + baseName: "data_source", + type: "FormulaAndFunctionApmResourceStatsDataSource", + required: true, + }, + env: { + baseName: "env", + type: "string", + required: true, + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + operationName: { + baseName: "operation_name", + type: "string", + }, + primaryTagName: { + baseName: "primary_tag_name", + type: "string", + }, + primaryTagValue: { + baseName: "primary_tag_value", + type: "string", + }, + resourceName: { + baseName: "resource_name", + type: "string", + }, + service: { + baseName: "service", + type: "string", + required: true, + }, + stat: { + baseName: "stat", + type: "FormulaAndFunctionApmResourceStatName", + required: true, + }, + }; + return FormulaAndFunctionApmResourceStatsQueryDefinition; +}()); +exports.FormulaAndFunctionApmResourceStatsQueryDefinition = FormulaAndFunctionApmResourceStatsQueryDefinition; +//# sourceMappingURL=FormulaAndFunctionApmResourceStatsQueryDefinition.js.map + +/***/ }), + +/***/ 922: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionEventQueryDefinition = void 0; +/** + * A formula and functions events query. + */ +var FormulaAndFunctionEventQueryDefinition = /** @class */ (function () { + function FormulaAndFunctionEventQueryDefinition() { + } + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinition.getAttributeTypeMap = function () { + return FormulaAndFunctionEventQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinition.attributeTypeMap = { + compute: { + baseName: "compute", + type: "FormulaAndFunctionEventQueryDefinitionCompute", + required: true, + }, + dataSource: { + baseName: "data_source", + type: "FormulaAndFunctionEventsDataSource", + required: true, + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + indexes: { + baseName: "indexes", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + search: { + baseName: "search", + type: "FormulaAndFunctionEventQueryDefinitionSearch", + }, + }; + return FormulaAndFunctionEventQueryDefinition; +}()); +exports.FormulaAndFunctionEventQueryDefinition = FormulaAndFunctionEventQueryDefinition; +//# sourceMappingURL=FormulaAndFunctionEventQueryDefinition.js.map + +/***/ }), + +/***/ 23526: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionEventQueryDefinitionCompute = void 0; +/** + * Compute options. + */ +var FormulaAndFunctionEventQueryDefinitionCompute = /** @class */ (function () { + function FormulaAndFunctionEventQueryDefinitionCompute() { + } + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinitionCompute.getAttributeTypeMap = function () { + return FormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "FormulaAndFunctionEventAggregation", + required: true, + }, + interval: { + baseName: "interval", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + }, + }; + return FormulaAndFunctionEventQueryDefinitionCompute; +}()); +exports.FormulaAndFunctionEventQueryDefinitionCompute = FormulaAndFunctionEventQueryDefinitionCompute; +//# sourceMappingURL=FormulaAndFunctionEventQueryDefinitionCompute.js.map + +/***/ }), + +/***/ 35781: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionEventQueryDefinitionSearch = void 0; +/** + * Search options. + */ +var FormulaAndFunctionEventQueryDefinitionSearch = /** @class */ (function () { + function FormulaAndFunctionEventQueryDefinitionSearch() { + } + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinitionSearch.getAttributeTypeMap = function () { + return FormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return FormulaAndFunctionEventQueryDefinitionSearch; +}()); +exports.FormulaAndFunctionEventQueryDefinitionSearch = FormulaAndFunctionEventQueryDefinitionSearch; +//# sourceMappingURL=FormulaAndFunctionEventQueryDefinitionSearch.js.map + +/***/ }), + +/***/ 40218: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionEventQueryGroupBy = void 0; +/** + * List of objects used to group by. + */ +var FormulaAndFunctionEventQueryGroupBy = /** @class */ (function () { + function FormulaAndFunctionEventQueryGroupBy() { + } + /** + * @ignore + */ + FormulaAndFunctionEventQueryGroupBy.getAttributeTypeMap = function () { + return FormulaAndFunctionEventQueryGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionEventQueryGroupBy.attributeTypeMap = { + facet: { + baseName: "facet", + type: "string", + required: true, + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + sort: { + baseName: "sort", + type: "FormulaAndFunctionEventQueryGroupBySort", + }, + }; + return FormulaAndFunctionEventQueryGroupBy; +}()); +exports.FormulaAndFunctionEventQueryGroupBy = FormulaAndFunctionEventQueryGroupBy; +//# sourceMappingURL=FormulaAndFunctionEventQueryGroupBy.js.map + +/***/ }), + +/***/ 66766: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionEventQueryGroupBySort = void 0; +/** + * Options for sorting group by results. + */ +var FormulaAndFunctionEventQueryGroupBySort = /** @class */ (function () { + function FormulaAndFunctionEventQueryGroupBySort() { + } + /** + * @ignore + */ + FormulaAndFunctionEventQueryGroupBySort.getAttributeTypeMap = function () { + return FormulaAndFunctionEventQueryGroupBySort.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionEventQueryGroupBySort.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "FormulaAndFunctionEventAggregation", + required: true, + }, + metric: { + baseName: "metric", + type: "string", + }, + order: { + baseName: "order", + type: "QuerySortOrder", + }, + }; + return FormulaAndFunctionEventQueryGroupBySort; +}()); +exports.FormulaAndFunctionEventQueryGroupBySort = FormulaAndFunctionEventQueryGroupBySort; +//# sourceMappingURL=FormulaAndFunctionEventQueryGroupBySort.js.map + +/***/ }), + +/***/ 61311: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionMetricQueryDefinition = void 0; +/** + * A formula and functions metrics query. + */ +var FormulaAndFunctionMetricQueryDefinition = /** @class */ (function () { + function FormulaAndFunctionMetricQueryDefinition() { + } + /** + * @ignore + */ + FormulaAndFunctionMetricQueryDefinition.getAttributeTypeMap = function () { + return FormulaAndFunctionMetricQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionMetricQueryDefinition.attributeTypeMap = { + aggregator: { + baseName: "aggregator", + type: "FormulaAndFunctionMetricAggregation", + }, + dataSource: { + baseName: "data_source", + type: "FormulaAndFunctionMetricDataSource", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return FormulaAndFunctionMetricQueryDefinition; +}()); +exports.FormulaAndFunctionMetricQueryDefinition = FormulaAndFunctionMetricQueryDefinition; +//# sourceMappingURL=FormulaAndFunctionMetricQueryDefinition.js.map + +/***/ }), + +/***/ 57572: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FormulaAndFunctionProcessQueryDefinition = void 0; +/** + * Process query using formulas and functions. + */ +var FormulaAndFunctionProcessQueryDefinition = /** @class */ (function () { + function FormulaAndFunctionProcessQueryDefinition() { + } + /** + * @ignore + */ + FormulaAndFunctionProcessQueryDefinition.getAttributeTypeMap = function () { + return FormulaAndFunctionProcessQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FormulaAndFunctionProcessQueryDefinition.attributeTypeMap = { + aggregator: { + baseName: "aggregator", + type: "FormulaAndFunctionMetricAggregation", + }, + dataSource: { + baseName: "data_source", + type: "FormulaAndFunctionProcessQueryDataSource", + required: true, + }, + isNormalizedCpu: { + baseName: "is_normalized_cpu", + type: "boolean", + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + sort: { + baseName: "sort", + type: "QuerySortOrder", + }, + tagFilters: { + baseName: "tag_filters", + type: "Array", + }, + textFilter: { + baseName: "text_filter", + type: "string", + }, + }; + return FormulaAndFunctionProcessQueryDefinition; +}()); +exports.FormulaAndFunctionProcessQueryDefinition = FormulaAndFunctionProcessQueryDefinition; +//# sourceMappingURL=FormulaAndFunctionProcessQueryDefinition.js.map + +/***/ }), + +/***/ 3026: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FreeTextWidgetDefinition = void 0; +/** + * Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards. + */ +var FreeTextWidgetDefinition = /** @class */ (function () { + function FreeTextWidgetDefinition() { + } + /** + * @ignore + */ + FreeTextWidgetDefinition.getAttributeTypeMap = function () { + return FreeTextWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FreeTextWidgetDefinition.attributeTypeMap = { + color: { + baseName: "color", + type: "string", + }, + fontSize: { + baseName: "font_size", + type: "string", + }, + text: { + baseName: "text", + type: "string", + required: true, + }, + textAlign: { + baseName: "text_align", + type: "WidgetTextAlign", + }, + type: { + baseName: "type", + type: "FreeTextWidgetDefinitionType", + required: true, + }, + }; + return FreeTextWidgetDefinition; +}()); +exports.FreeTextWidgetDefinition = FreeTextWidgetDefinition; +//# sourceMappingURL=FreeTextWidgetDefinition.js.map + +/***/ }), + +/***/ 87832: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FunnelQuery = void 0; +/** + * Updated funnel widget. + */ +var FunnelQuery = /** @class */ (function () { + function FunnelQuery() { + } + /** + * @ignore + */ + FunnelQuery.getAttributeTypeMap = function () { + return FunnelQuery.attributeTypeMap; + }; + /** + * @ignore + */ + FunnelQuery.attributeTypeMap = { + dataSource: { + baseName: "data_source", + type: "FunnelSource", + required: true, + }, + queryString: { + baseName: "query_string", + type: "string", + required: true, + }, + steps: { + baseName: "steps", + type: "Array", + required: true, + }, + }; + return FunnelQuery; +}()); +exports.FunnelQuery = FunnelQuery; +//# sourceMappingURL=FunnelQuery.js.map + +/***/ }), + +/***/ 15073: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FunnelStep = void 0; +/** + * The funnel step. + */ +var FunnelStep = /** @class */ (function () { + function FunnelStep() { + } + /** + * @ignore + */ + FunnelStep.getAttributeTypeMap = function () { + return FunnelStep.attributeTypeMap; + }; + /** + * @ignore + */ + FunnelStep.attributeTypeMap = { + facet: { + baseName: "facet", + type: "string", + required: true, + }, + value: { + baseName: "value", + type: "string", + required: true, + }, + }; + return FunnelStep; +}()); +exports.FunnelStep = FunnelStep; +//# sourceMappingURL=FunnelStep.js.map + +/***/ }), + +/***/ 20000: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FunnelWidgetDefinition = void 0; +/** + * The funnel visualization displays a funnel of user sessions that maps a sequence of view navigation and user interaction in your application. + */ +var FunnelWidgetDefinition = /** @class */ (function () { + function FunnelWidgetDefinition() { + } + /** + * @ignore + */ + FunnelWidgetDefinition.getAttributeTypeMap = function () { + return FunnelWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + FunnelWidgetDefinition.attributeTypeMap = { + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "FunnelWidgetDefinitionType", + required: true, + }, + }; + return FunnelWidgetDefinition; +}()); +exports.FunnelWidgetDefinition = FunnelWidgetDefinition; +//# sourceMappingURL=FunnelWidgetDefinition.js.map + +/***/ }), + +/***/ 75402: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FunnelWidgetRequest = void 0; +/** + * Updated funnel widget. + */ +var FunnelWidgetRequest = /** @class */ (function () { + function FunnelWidgetRequest() { + } + /** + * @ignore + */ + FunnelWidgetRequest.getAttributeTypeMap = function () { + return FunnelWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + FunnelWidgetRequest.attributeTypeMap = { + query: { + baseName: "query", + type: "FunnelQuery", + required: true, + }, + requestType: { + baseName: "request_type", + type: "FunnelRequestType", + required: true, + }, + }; + return FunnelWidgetRequest; +}()); +exports.FunnelWidgetRequest = FunnelWidgetRequest; +//# sourceMappingURL=FunnelWidgetRequest.js.map + +/***/ }), + +/***/ 78369: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GCPAccount = void 0; +/** + * Your Google Cloud Platform Account. + */ +var GCPAccount = /** @class */ (function () { + function GCPAccount() { + } + /** + * @ignore + */ + GCPAccount.getAttributeTypeMap = function () { + return GCPAccount.attributeTypeMap; + }; + /** + * @ignore + */ + GCPAccount.attributeTypeMap = { + authProviderX509CertUrl: { + baseName: "auth_provider_x509_cert_url", + type: "string", + }, + authUri: { + baseName: "auth_uri", + type: "string", + }, + automute: { + baseName: "automute", + type: "boolean", + }, + clientEmail: { + baseName: "client_email", + type: "string", + }, + clientId: { + baseName: "client_id", + type: "string", + }, + clientX509CertUrl: { + baseName: "client_x509_cert_url", + type: "string", + }, + errors: { + baseName: "errors", + type: "Array", + }, + hostFilters: { + baseName: "host_filters", + type: "string", + }, + privateKey: { + baseName: "private_key", + type: "string", + }, + privateKeyId: { + baseName: "private_key_id", + type: "string", + }, + projectId: { + baseName: "project_id", + type: "string", + }, + tokenUri: { + baseName: "token_uri", + type: "string", + }, + type: { + baseName: "type", + type: "string", + }, + }; + return GCPAccount; +}()); +exports.GCPAccount = GCPAccount; +//# sourceMappingURL=GCPAccount.js.map + +/***/ }), + +/***/ 919: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GeomapWidgetDefinition = void 0; +/** + * This visualization displays a series of values by country on a world map. + */ +var GeomapWidgetDefinition = /** @class */ (function () { + function GeomapWidgetDefinition() { + } + /** + * @ignore + */ + GeomapWidgetDefinition.getAttributeTypeMap = function () { + return GeomapWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + GeomapWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + style: { + baseName: "style", + type: "GeomapWidgetDefinitionStyle", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "GeomapWidgetDefinitionType", + required: true, + }, + view: { + baseName: "view", + type: "GeomapWidgetDefinitionView", + required: true, + }, + }; + return GeomapWidgetDefinition; +}()); +exports.GeomapWidgetDefinition = GeomapWidgetDefinition; +//# sourceMappingURL=GeomapWidgetDefinition.js.map + +/***/ }), + +/***/ 42280: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GeomapWidgetDefinitionStyle = void 0; +/** + * The style to apply to the widget. + */ +var GeomapWidgetDefinitionStyle = /** @class */ (function () { + function GeomapWidgetDefinitionStyle() { + } + /** + * @ignore + */ + GeomapWidgetDefinitionStyle.getAttributeTypeMap = function () { + return GeomapWidgetDefinitionStyle.attributeTypeMap; + }; + /** + * @ignore + */ + GeomapWidgetDefinitionStyle.attributeTypeMap = { + palette: { + baseName: "palette", + type: "string", + required: true, + }, + paletteFlip: { + baseName: "palette_flip", + type: "boolean", + required: true, + }, + }; + return GeomapWidgetDefinitionStyle; +}()); +exports.GeomapWidgetDefinitionStyle = GeomapWidgetDefinitionStyle; +//# sourceMappingURL=GeomapWidgetDefinitionStyle.js.map + +/***/ }), + +/***/ 92237: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GeomapWidgetDefinitionView = void 0; +/** + * The view of the world that the map should render. + */ +var GeomapWidgetDefinitionView = /** @class */ (function () { + function GeomapWidgetDefinitionView() { + } + /** + * @ignore + */ + GeomapWidgetDefinitionView.getAttributeTypeMap = function () { + return GeomapWidgetDefinitionView.attributeTypeMap; + }; + /** + * @ignore + */ + GeomapWidgetDefinitionView.attributeTypeMap = { + focus: { + baseName: "focus", + type: "string", + required: true, + }, + }; + return GeomapWidgetDefinitionView; +}()); +exports.GeomapWidgetDefinitionView = GeomapWidgetDefinitionView; +//# sourceMappingURL=GeomapWidgetDefinitionView.js.map + +/***/ }), + +/***/ 47862: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GeomapWidgetRequest = void 0; +/** + * An updated geomap widget. + */ +var GeomapWidgetRequest = /** @class */ (function () { + function GeomapWidgetRequest() { + } + /** + * @ignore + */ + GeomapWidgetRequest.getAttributeTypeMap = function () { + return GeomapWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + GeomapWidgetRequest.attributeTypeMap = { + formulas: { + baseName: "formulas", + type: "Array", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return GeomapWidgetRequest; +}()); +exports.GeomapWidgetRequest = GeomapWidgetRequest; +//# sourceMappingURL=GeomapWidgetRequest.js.map + +/***/ }), + +/***/ 13325: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GraphSnapshot = void 0; +/** + * Object representing a graph snapshot. + */ +var GraphSnapshot = /** @class */ (function () { + function GraphSnapshot() { + } + /** + * @ignore + */ + GraphSnapshot.getAttributeTypeMap = function () { + return GraphSnapshot.attributeTypeMap; + }; + /** + * @ignore + */ + GraphSnapshot.attributeTypeMap = { + graphDef: { + baseName: "graph_def", + type: "string", + }, + metricQuery: { + baseName: "metric_query", + type: "string", + }, + snapshotUrl: { + baseName: "snapshot_url", + type: "string", + }, + }; + return GraphSnapshot; +}()); +exports.GraphSnapshot = GraphSnapshot; +//# sourceMappingURL=GraphSnapshot.js.map + +/***/ }), + +/***/ 82330: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.GroupWidgetDefinition = void 0; +/** + * The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible. + */ +var GroupWidgetDefinition = /** @class */ (function () { + function GroupWidgetDefinition() { + } + /** + * @ignore + */ + GroupWidgetDefinition.getAttributeTypeMap = function () { + return GroupWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + GroupWidgetDefinition.attributeTypeMap = { + backgroundColor: { + baseName: "background_color", + type: "string", + }, + bannerImg: { + baseName: "banner_img", + type: "string", + }, + layoutType: { + baseName: "layout_type", + type: "WidgetLayoutType", + required: true, + }, + showTitle: { + baseName: "show_title", + type: "boolean", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + type: { + baseName: "type", + type: "GroupWidgetDefinitionType", + required: true, + }, + widgets: { + baseName: "widgets", + type: "Array", + required: true, + }, + }; + return GroupWidgetDefinition; +}()); +exports.GroupWidgetDefinition = GroupWidgetDefinition; +//# sourceMappingURL=GroupWidgetDefinition.js.map + +/***/ }), + +/***/ 81263: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HTTPLogError = void 0; +/** + * Invalid query performed. + */ +var HTTPLogError = /** @class */ (function () { + function HTTPLogError() { + } + /** + * @ignore + */ + HTTPLogError.getAttributeTypeMap = function () { + return HTTPLogError.attributeTypeMap; + }; + /** + * @ignore + */ + HTTPLogError.attributeTypeMap = { + code: { + baseName: "code", + type: "number", + required: true, + format: "int32", + }, + message: { + baseName: "message", + type: "string", + required: true, + }, + }; + return HTTPLogError; +}()); +exports.HTTPLogError = HTTPLogError; +//# sourceMappingURL=HTTPLogError.js.map + +/***/ }), + +/***/ 19674: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HTTPLogItem = void 0; +/** + * Logs that are sent over HTTP. + */ +var HTTPLogItem = /** @class */ (function () { + function HTTPLogItem() { + } + /** + * @ignore + */ + HTTPLogItem.getAttributeTypeMap = function () { + return HTTPLogItem.attributeTypeMap; + }; + /** + * @ignore + */ + HTTPLogItem.attributeTypeMap = { + ddsource: { + baseName: "ddsource", + type: "string", + }, + ddtags: { + baseName: "ddtags", + type: "string", + }, + hostname: { + baseName: "hostname", + type: "string", + }, + message: { + baseName: "message", + type: "string", + required: true, + }, + service: { + baseName: "service", + type: "string", + }, + }; + return HTTPLogItem; +}()); +exports.HTTPLogItem = HTTPLogItem; +//# sourceMappingURL=HTTPLogItem.js.map + +/***/ }), + +/***/ 84622: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HeatMapWidgetDefinition = void 0; +/** + * The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is. + */ +var HeatMapWidgetDefinition = /** @class */ (function () { + function HeatMapWidgetDefinition() { + } + /** + * @ignore + */ + HeatMapWidgetDefinition.getAttributeTypeMap = function () { + return HeatMapWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + HeatMapWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + events: { + baseName: "events", + type: "Array", + }, + legendSize: { + baseName: "legend_size", + type: "string", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + showLegend: { + baseName: "show_legend", + type: "boolean", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "HeatMapWidgetDefinitionType", + required: true, + }, + yaxis: { + baseName: "yaxis", + type: "WidgetAxis", + }, + }; + return HeatMapWidgetDefinition; +}()); +exports.HeatMapWidgetDefinition = HeatMapWidgetDefinition; +//# sourceMappingURL=HeatMapWidgetDefinition.js.map + +/***/ }), + +/***/ 82293: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HeatMapWidgetRequest = void 0; +/** + * Updated heat map widget. + */ +var HeatMapWidgetRequest = /** @class */ (function () { + function HeatMapWidgetRequest() { + } + /** + * @ignore + */ + HeatMapWidgetRequest.getAttributeTypeMap = function () { + return HeatMapWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + HeatMapWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + eventQuery: { + baseName: "event_query", + type: "EventQueryDefinition", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + style: { + baseName: "style", + type: "WidgetStyle", + }, + }; + return HeatMapWidgetRequest; +}()); +exports.HeatMapWidgetRequest = HeatMapWidgetRequest; +//# sourceMappingURL=HeatMapWidgetRequest.js.map + +/***/ }), + +/***/ 49556: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Host = void 0; +/** + * Object representing a host. + */ +var Host = /** @class */ (function () { + function Host() { + } + /** + * @ignore + */ + Host.getAttributeTypeMap = function () { + return Host.attributeTypeMap; + }; + /** + * @ignore + */ + Host.attributeTypeMap = { + aliases: { + baseName: "aliases", + type: "Array", + }, + apps: { + baseName: "apps", + type: "Array", + }, + awsName: { + baseName: "aws_name", + type: "string", + }, + hostName: { + baseName: "host_name", + type: "string", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + isMuted: { + baseName: "is_muted", + type: "boolean", + }, + lastReportedTime: { + baseName: "last_reported_time", + type: "number", + format: "int64", + }, + meta: { + baseName: "meta", + type: "HostMeta", + }, + metrics: { + baseName: "metrics", + type: "HostMetrics", + }, + muteTimeout: { + baseName: "mute_timeout", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + }, + tagsBySource: { + baseName: "tags_by_source", + type: "{ [key: string]: Array; }", + }, + up: { + baseName: "up", + type: "boolean", + }, + }; + return Host; +}()); +exports.Host = Host; +//# sourceMappingURL=Host.js.map + +/***/ }), + +/***/ 16915: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostListResponse = void 0; +/** + * Response with Host information from Datadog. + */ +var HostListResponse = /** @class */ (function () { + function HostListResponse() { + } + /** + * @ignore + */ + HostListResponse.getAttributeTypeMap = function () { + return HostListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + HostListResponse.attributeTypeMap = { + hostList: { + baseName: "host_list", + type: "Array", + }, + totalMatching: { + baseName: "total_matching", + type: "number", + format: "int64", + }, + totalReturned: { + baseName: "total_returned", + type: "number", + format: "int64", + }, + }; + return HostListResponse; +}()); +exports.HostListResponse = HostListResponse; +//# sourceMappingURL=HostListResponse.js.map + +/***/ }), + +/***/ 25910: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMapRequest = void 0; +/** + * Updated host map. + */ +var HostMapRequest = /** @class */ (function () { + function HostMapRequest() { + } + /** + * @ignore + */ + HostMapRequest.getAttributeTypeMap = function () { + return HostMapRequest.attributeTypeMap; + }; + /** + * @ignore + */ + HostMapRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return HostMapRequest; +}()); +exports.HostMapRequest = HostMapRequest; +//# sourceMappingURL=HostMapRequest.js.map + +/***/ }), + +/***/ 59477: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMapWidgetDefinition = void 0; +/** + * The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page. + */ +var HostMapWidgetDefinition = /** @class */ (function () { + function HostMapWidgetDefinition() { + } + /** + * @ignore + */ + HostMapWidgetDefinition.getAttributeTypeMap = function () { + return HostMapWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + HostMapWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + group: { + baseName: "group", + type: "Array", + }, + noGroupHosts: { + baseName: "no_group_hosts", + type: "boolean", + }, + noMetricHosts: { + baseName: "no_metric_hosts", + type: "boolean", + }, + nodeType: { + baseName: "node_type", + type: "WidgetNodeType", + }, + notes: { + baseName: "notes", + type: "string", + }, + requests: { + baseName: "requests", + type: "HostMapWidgetDefinitionRequests", + required: true, + }, + scope: { + baseName: "scope", + type: "Array", + }, + style: { + baseName: "style", + type: "HostMapWidgetDefinitionStyle", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "HostMapWidgetDefinitionType", + required: true, + }, + }; + return HostMapWidgetDefinition; +}()); +exports.HostMapWidgetDefinition = HostMapWidgetDefinition; +//# sourceMappingURL=HostMapWidgetDefinition.js.map + +/***/ }), + +/***/ 80831: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMapWidgetDefinitionRequests = void 0; +/** + * List of definitions. + */ +var HostMapWidgetDefinitionRequests = /** @class */ (function () { + function HostMapWidgetDefinitionRequests() { + } + /** + * @ignore + */ + HostMapWidgetDefinitionRequests.getAttributeTypeMap = function () { + return HostMapWidgetDefinitionRequests.attributeTypeMap; + }; + /** + * @ignore + */ + HostMapWidgetDefinitionRequests.attributeTypeMap = { + fill: { + baseName: "fill", + type: "HostMapRequest", + }, + size: { + baseName: "size", + type: "HostMapRequest", + }, + }; + return HostMapWidgetDefinitionRequests; +}()); +exports.HostMapWidgetDefinitionRequests = HostMapWidgetDefinitionRequests; +//# sourceMappingURL=HostMapWidgetDefinitionRequests.js.map + +/***/ }), + +/***/ 42370: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMapWidgetDefinitionStyle = void 0; +/** + * The style to apply to the widget. + */ +var HostMapWidgetDefinitionStyle = /** @class */ (function () { + function HostMapWidgetDefinitionStyle() { + } + /** + * @ignore + */ + HostMapWidgetDefinitionStyle.getAttributeTypeMap = function () { + return HostMapWidgetDefinitionStyle.attributeTypeMap; + }; + /** + * @ignore + */ + HostMapWidgetDefinitionStyle.attributeTypeMap = { + fillMax: { + baseName: "fill_max", + type: "string", + }, + fillMin: { + baseName: "fill_min", + type: "string", + }, + palette: { + baseName: "palette", + type: "string", + }, + paletteFlip: { + baseName: "palette_flip", + type: "boolean", + }, + }; + return HostMapWidgetDefinitionStyle; +}()); +exports.HostMapWidgetDefinitionStyle = HostMapWidgetDefinitionStyle; +//# sourceMappingURL=HostMapWidgetDefinitionStyle.js.map + +/***/ }), + +/***/ 48137: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMeta = void 0; +/** + * Metadata associated with your host. + */ +var HostMeta = /** @class */ (function () { + function HostMeta() { + } + /** + * @ignore + */ + HostMeta.getAttributeTypeMap = function () { + return HostMeta.attributeTypeMap; + }; + /** + * @ignore + */ + HostMeta.attributeTypeMap = { + agentChecks: { + baseName: "agent_checks", + type: "Array>", + }, + agentVersion: { + baseName: "agent_version", + type: "string", + }, + cpuCores: { + baseName: "cpuCores", + type: "number", + format: "int64", + }, + fbsdV: { + baseName: "fbsdV", + type: "Array", + }, + gohai: { + baseName: "gohai", + type: "string", + }, + installMethod: { + baseName: "install_method", + type: "HostMetaInstallMethod", + }, + macV: { + baseName: "macV", + type: "Array", + }, + machine: { + baseName: "machine", + type: "string", + }, + nixV: { + baseName: "nixV", + type: "Array", + }, + platform: { + baseName: "platform", + type: "string", + }, + processor: { + baseName: "processor", + type: "string", + }, + pythonV: { + baseName: "pythonV", + type: "string", + }, + socketFqdn: { + baseName: "socket-fqdn", + type: "string", + }, + socketHostname: { + baseName: "socket-hostname", + type: "string", + }, + winV: { + baseName: "winV", + type: "Array", + }, + }; + return HostMeta; +}()); +exports.HostMeta = HostMeta; +//# sourceMappingURL=HostMeta.js.map + +/***/ }), + +/***/ 33508: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMetaInstallMethod = void 0; +/** + * Agent install method. + */ +var HostMetaInstallMethod = /** @class */ (function () { + function HostMetaInstallMethod() { + } + /** + * @ignore + */ + HostMetaInstallMethod.getAttributeTypeMap = function () { + return HostMetaInstallMethod.attributeTypeMap; + }; + /** + * @ignore + */ + HostMetaInstallMethod.attributeTypeMap = { + installerVersion: { + baseName: "installer_version", + type: "string", + }, + tool: { + baseName: "tool", + type: "string", + }, + toolVersion: { + baseName: "tool_version", + type: "string", + }, + }; + return HostMetaInstallMethod; +}()); +exports.HostMetaInstallMethod = HostMetaInstallMethod; +//# sourceMappingURL=HostMetaInstallMethod.js.map + +/***/ }), + +/***/ 70176: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMetrics = void 0; +/** + * Host Metrics collected. + */ +var HostMetrics = /** @class */ (function () { + function HostMetrics() { + } + /** + * @ignore + */ + HostMetrics.getAttributeTypeMap = function () { + return HostMetrics.attributeTypeMap; + }; + /** + * @ignore + */ + HostMetrics.attributeTypeMap = { + cpu: { + baseName: "cpu", + type: "number", + format: "double", + }, + iowait: { + baseName: "iowait", + type: "number", + format: "double", + }, + load: { + baseName: "load", + type: "number", + format: "double", + }, + }; + return HostMetrics; +}()); +exports.HostMetrics = HostMetrics; +//# sourceMappingURL=HostMetrics.js.map + +/***/ }), + +/***/ 43814: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMuteResponse = void 0; +/** + * Response with the list of muted host for your organization. + */ +var HostMuteResponse = /** @class */ (function () { + function HostMuteResponse() { + } + /** + * @ignore + */ + HostMuteResponse.getAttributeTypeMap = function () { + return HostMuteResponse.attributeTypeMap; + }; + /** + * @ignore + */ + HostMuteResponse.attributeTypeMap = { + action: { + baseName: "action", + type: "string", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + hostname: { + baseName: "hostname", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + }; + return HostMuteResponse; +}()); +exports.HostMuteResponse = HostMuteResponse; +//# sourceMappingURL=HostMuteResponse.js.map + +/***/ }), + +/***/ 52003: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostMuteSettings = void 0; +/** + * Combination of settings to mute a host. + */ +var HostMuteSettings = /** @class */ (function () { + function HostMuteSettings() { + } + /** + * @ignore + */ + HostMuteSettings.getAttributeTypeMap = function () { + return HostMuteSettings.attributeTypeMap; + }; + /** + * @ignore + */ + HostMuteSettings.attributeTypeMap = { + end: { + baseName: "end", + type: "number", + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + override: { + baseName: "override", + type: "boolean", + }, + }; + return HostMuteSettings; +}()); +exports.HostMuteSettings = HostMuteSettings; +//# sourceMappingURL=HostMuteSettings.js.map + +/***/ }), + +/***/ 14891: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostTags = void 0; +/** + * Set of tags to associate with your host. + */ +var HostTags = /** @class */ (function () { + function HostTags() { + } + /** + * @ignore + */ + HostTags.getAttributeTypeMap = function () { + return HostTags.attributeTypeMap; + }; + /** + * @ignore + */ + HostTags.attributeTypeMap = { + host: { + baseName: "host", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return HostTags; +}()); +exports.HostTags = HostTags; +//# sourceMappingURL=HostTags.js.map + +/***/ }), + +/***/ 78002: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HostTotals = void 0; +/** + * Total number of host currently monitored by Datadog. + */ +var HostTotals = /** @class */ (function () { + function HostTotals() { + } + /** + * @ignore + */ + HostTotals.getAttributeTypeMap = function () { + return HostTotals.attributeTypeMap; + }; + /** + * @ignore + */ + HostTotals.attributeTypeMap = { + totalActive: { + baseName: "total_active", + type: "number", + format: "int64", + }, + totalUp: { + baseName: "total_up", + type: "number", + format: "int64", + }, + }; + return HostTotals; +}()); +exports.HostTotals = HostTotals; +//# sourceMappingURL=HostTotals.js.map + +/***/ }), + +/***/ 60079: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HourlyUsageAttributionBody = void 0; +/** + * The usage for one set of tags for one hour. + */ +var HourlyUsageAttributionBody = /** @class */ (function () { + function HourlyUsageAttributionBody() { + } + /** + * @ignore + */ + HourlyUsageAttributionBody.getAttributeTypeMap = function () { + return HourlyUsageAttributionBody.attributeTypeMap; + }; + /** + * @ignore + */ + HourlyUsageAttributionBody.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + tagConfigSource: { + baseName: "tag_config_source", + type: "string", + }, + tags: { + baseName: "tags", + type: "{ [key: string]: Array; }", + }, + totalUsageSum: { + baseName: "total_usage_sum", + type: "number", + format: "double", + }, + updatedAt: { + baseName: "updated_at", + type: "string", + }, + usageType: { + baseName: "usage_type", + type: "HourlyUsageAttributionUsageType", + }, + }; + return HourlyUsageAttributionBody; +}()); +exports.HourlyUsageAttributionBody = HourlyUsageAttributionBody; +//# sourceMappingURL=HourlyUsageAttributionBody.js.map + +/***/ }), + +/***/ 46590: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HourlyUsageAttributionMetadata = void 0; +/** + * The object containing document metadata. + */ +var HourlyUsageAttributionMetadata = /** @class */ (function () { + function HourlyUsageAttributionMetadata() { + } + /** + * @ignore + */ + HourlyUsageAttributionMetadata.getAttributeTypeMap = function () { + return HourlyUsageAttributionMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + HourlyUsageAttributionMetadata.attributeTypeMap = { + pagination: { + baseName: "pagination", + type: "HourlyUsageAttributionPagination", + }, + }; + return HourlyUsageAttributionMetadata; +}()); +exports.HourlyUsageAttributionMetadata = HourlyUsageAttributionMetadata; +//# sourceMappingURL=HourlyUsageAttributionMetadata.js.map + +/***/ }), + +/***/ 73798: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HourlyUsageAttributionPagination = void 0; +/** + * The metadata for the current pagination. + */ +var HourlyUsageAttributionPagination = /** @class */ (function () { + function HourlyUsageAttributionPagination() { + } + /** + * @ignore + */ + HourlyUsageAttributionPagination.getAttributeTypeMap = function () { + return HourlyUsageAttributionPagination.attributeTypeMap; + }; + /** + * @ignore + */ + HourlyUsageAttributionPagination.attributeTypeMap = { + nextRecordId: { + baseName: "next_record_id", + type: "string", + }, + }; + return HourlyUsageAttributionPagination; +}()); +exports.HourlyUsageAttributionPagination = HourlyUsageAttributionPagination; +//# sourceMappingURL=HourlyUsageAttributionPagination.js.map + +/***/ }), + +/***/ 81641: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HourlyUsageAttributionResponse = void 0; +/** + * Response containing the hourly usage attribution by tag(s). + */ +var HourlyUsageAttributionResponse = /** @class */ (function () { + function HourlyUsageAttributionResponse() { + } + /** + * @ignore + */ + HourlyUsageAttributionResponse.getAttributeTypeMap = function () { + return HourlyUsageAttributionResponse.attributeTypeMap; + }; + /** + * @ignore + */ + HourlyUsageAttributionResponse.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "HourlyUsageAttributionMetadata", + }, + usage: { + baseName: "usage", + type: "Array", + }, + }; + return HourlyUsageAttributionResponse; +}()); +exports.HourlyUsageAttributionResponse = HourlyUsageAttributionResponse; +//# sourceMappingURL=HourlyUsageAttributionResponse.js.map + +/***/ }), + +/***/ 26242: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IFrameWidgetDefinition = void 0; +/** + * The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. + */ +var IFrameWidgetDefinition = /** @class */ (function () { + function IFrameWidgetDefinition() { + } + /** + * @ignore + */ + IFrameWidgetDefinition.getAttributeTypeMap = function () { + return IFrameWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + IFrameWidgetDefinition.attributeTypeMap = { + type: { + baseName: "type", + type: "IFrameWidgetDefinitionType", + required: true, + }, + url: { + baseName: "url", + type: "string", + required: true, + }, + }; + return IFrameWidgetDefinition; +}()); +exports.IFrameWidgetDefinition = IFrameWidgetDefinition; +//# sourceMappingURL=IFrameWidgetDefinition.js.map + +/***/ }), + +/***/ 9737: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesAPI = void 0; +/** + * Available prefix information for the API endpoints. + */ +var IPPrefixesAPI = /** @class */ (function () { + function IPPrefixesAPI() { + } + /** + * @ignore + */ + IPPrefixesAPI.getAttributeTypeMap = function () { + return IPPrefixesAPI.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesAPI.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesAPI; +}()); +exports.IPPrefixesAPI = IPPrefixesAPI; +//# sourceMappingURL=IPPrefixesAPI.js.map + +/***/ }), + +/***/ 51806: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesAPM = void 0; +/** + * Available prefix information for the APM endpoints. + */ +var IPPrefixesAPM = /** @class */ (function () { + function IPPrefixesAPM() { + } + /** + * @ignore + */ + IPPrefixesAPM.getAttributeTypeMap = function () { + return IPPrefixesAPM.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesAPM.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesAPM; +}()); +exports.IPPrefixesAPM = IPPrefixesAPM; +//# sourceMappingURL=IPPrefixesAPM.js.map + +/***/ }), + +/***/ 15536: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesAgents = void 0; +/** + * Available prefix information for the Agent endpoints. + */ +var IPPrefixesAgents = /** @class */ (function () { + function IPPrefixesAgents() { + } + /** + * @ignore + */ + IPPrefixesAgents.getAttributeTypeMap = function () { + return IPPrefixesAgents.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesAgents.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesAgents; +}()); +exports.IPPrefixesAgents = IPPrefixesAgents; +//# sourceMappingURL=IPPrefixesAgents.js.map + +/***/ }), + +/***/ 50334: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesLogs = void 0; +/** + * Available prefix information for the Logs endpoints. + */ +var IPPrefixesLogs = /** @class */ (function () { + function IPPrefixesLogs() { + } + /** + * @ignore + */ + IPPrefixesLogs.getAttributeTypeMap = function () { + return IPPrefixesLogs.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesLogs.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesLogs; +}()); +exports.IPPrefixesLogs = IPPrefixesLogs; +//# sourceMappingURL=IPPrefixesLogs.js.map + +/***/ }), + +/***/ 16605: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesProcess = void 0; +/** + * Available prefix information for the Process endpoints. + */ +var IPPrefixesProcess = /** @class */ (function () { + function IPPrefixesProcess() { + } + /** + * @ignore + */ + IPPrefixesProcess.getAttributeTypeMap = function () { + return IPPrefixesProcess.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesProcess.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesProcess; +}()); +exports.IPPrefixesProcess = IPPrefixesProcess; +//# sourceMappingURL=IPPrefixesProcess.js.map + +/***/ }), + +/***/ 31933: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesSynthetics = void 0; +/** + * Available prefix information for the Synthetics endpoints. + */ +var IPPrefixesSynthetics = /** @class */ (function () { + function IPPrefixesSynthetics() { + } + /** + * @ignore + */ + IPPrefixesSynthetics.getAttributeTypeMap = function () { + return IPPrefixesSynthetics.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesSynthetics.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv4ByLocation: { + baseName: "prefixes_ipv4_by_location", + type: "{ [key: string]: Array; }", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + prefixesIpv6ByLocation: { + baseName: "prefixes_ipv6_by_location", + type: "{ [key: string]: Array; }", + }, + }; + return IPPrefixesSynthetics; +}()); +exports.IPPrefixesSynthetics = IPPrefixesSynthetics; +//# sourceMappingURL=IPPrefixesSynthetics.js.map + +/***/ }), + +/***/ 61031: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPPrefixesWebhooks = void 0; +/** + * Available prefix information for the Webhook endpoints. + */ +var IPPrefixesWebhooks = /** @class */ (function () { + function IPPrefixesWebhooks() { + } + /** + * @ignore + */ + IPPrefixesWebhooks.getAttributeTypeMap = function () { + return IPPrefixesWebhooks.attributeTypeMap; + }; + /** + * @ignore + */ + IPPrefixesWebhooks.attributeTypeMap = { + prefixesIpv4: { + baseName: "prefixes_ipv4", + type: "Array", + }, + prefixesIpv6: { + baseName: "prefixes_ipv6", + type: "Array", + }, + }; + return IPPrefixesWebhooks; +}()); +exports.IPPrefixesWebhooks = IPPrefixesWebhooks; +//# sourceMappingURL=IPPrefixesWebhooks.js.map + +/***/ }), + +/***/ 28956: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IPRanges = void 0; +/** + * IP ranges. + */ +var IPRanges = /** @class */ (function () { + function IPRanges() { + } + /** + * @ignore + */ + IPRanges.getAttributeTypeMap = function () { + return IPRanges.attributeTypeMap; + }; + /** + * @ignore + */ + IPRanges.attributeTypeMap = { + agents: { + baseName: "agents", + type: "IPPrefixesAgents", + }, + api: { + baseName: "api", + type: "IPPrefixesAPI", + }, + apm: { + baseName: "apm", + type: "IPPrefixesAPM", + }, + logs: { + baseName: "logs", + type: "IPPrefixesLogs", + }, + modified: { + baseName: "modified", + type: "string", + }, + process: { + baseName: "process", + type: "IPPrefixesProcess", + }, + synthetics: { + baseName: "synthetics", + type: "IPPrefixesSynthetics", + }, + version: { + baseName: "version", + type: "number", + format: "int64", + }, + webhooks: { + baseName: "webhooks", + type: "IPPrefixesWebhooks", + }, + }; + return IPRanges; +}()); +exports.IPRanges = IPRanges; +//# sourceMappingURL=IPRanges.js.map + +/***/ }), + +/***/ 43719: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IdpFormData = void 0; +/** + * Object describing the IdP configuration. + */ +var IdpFormData = /** @class */ (function () { + function IdpFormData() { + } + /** + * @ignore + */ + IdpFormData.getAttributeTypeMap = function () { + return IdpFormData.attributeTypeMap; + }; + /** + * @ignore + */ + IdpFormData.attributeTypeMap = { + idpFile: { + baseName: "idp_file", + type: "HttpFile", + required: true, + format: "binary", + }, + }; + return IdpFormData; +}()); +exports.IdpFormData = IdpFormData; +//# sourceMappingURL=IdpFormData.js.map + +/***/ }), + +/***/ 91992: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IdpResponse = void 0; +/** + * The IdP response object. + */ +var IdpResponse = /** @class */ (function () { + function IdpResponse() { + } + /** + * @ignore + */ + IdpResponse.getAttributeTypeMap = function () { + return IdpResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IdpResponse.attributeTypeMap = { + message: { + baseName: "message", + type: "string", + required: true, + }, + }; + return IdpResponse; +}()); +exports.IdpResponse = IdpResponse; +//# sourceMappingURL=IdpResponse.js.map + +/***/ }), + +/***/ 86051: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ImageWidgetDefinition = void 0; +/** + * The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards. + */ +var ImageWidgetDefinition = /** @class */ (function () { + function ImageWidgetDefinition() { + } + /** + * @ignore + */ + ImageWidgetDefinition.getAttributeTypeMap = function () { + return ImageWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ImageWidgetDefinition.attributeTypeMap = { + hasBackground: { + baseName: "has_background", + type: "boolean", + }, + hasBorder: { + baseName: "has_border", + type: "boolean", + }, + horizontalAlign: { + baseName: "horizontal_align", + type: "WidgetHorizontalAlign", + }, + margin: { + baseName: "margin", + type: "WidgetMargin", + }, + sizing: { + baseName: "sizing", + type: "WidgetImageSizing", + }, + type: { + baseName: "type", + type: "ImageWidgetDefinitionType", + required: true, + }, + url: { + baseName: "url", + type: "string", + required: true, + }, + urlDarkTheme: { + baseName: "url_dark_theme", + type: "string", + }, + verticalAlign: { + baseName: "vertical_align", + type: "WidgetVerticalAlign", + }, + }; + return ImageWidgetDefinition; +}()); +exports.ImageWidgetDefinition = ImageWidgetDefinition; +//# sourceMappingURL=ImageWidgetDefinition.js.map + +/***/ }), + +/***/ 71328: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IntakePayloadAccepted = void 0; +/** + * The payload accepted for intake. + */ +var IntakePayloadAccepted = /** @class */ (function () { + function IntakePayloadAccepted() { + } + /** + * @ignore + */ + IntakePayloadAccepted.getAttributeTypeMap = function () { + return IntakePayloadAccepted.attributeTypeMap; + }; + /** + * @ignore + */ + IntakePayloadAccepted.attributeTypeMap = { + status: { + baseName: "status", + type: "string", + }, + }; + return IntakePayloadAccepted; +}()); +exports.IntakePayloadAccepted = IntakePayloadAccepted; +//# sourceMappingURL=IntakePayloadAccepted.js.map + +/***/ }), + +/***/ 91106: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ListStreamColumn = void 0; +/** + * Widget column. + */ +var ListStreamColumn = /** @class */ (function () { + function ListStreamColumn() { + } + /** + * @ignore + */ + ListStreamColumn.getAttributeTypeMap = function () { + return ListStreamColumn.attributeTypeMap; + }; + /** + * @ignore + */ + ListStreamColumn.attributeTypeMap = { + field: { + baseName: "field", + type: "string", + required: true, + }, + width: { + baseName: "width", + type: "ListStreamColumnWidth", + required: true, + }, + }; + return ListStreamColumn; +}()); +exports.ListStreamColumn = ListStreamColumn; +//# sourceMappingURL=ListStreamColumn.js.map + +/***/ }), + +/***/ 44439: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ListStreamQuery = void 0; +/** + * Updated list stream widget. + */ +var ListStreamQuery = /** @class */ (function () { + function ListStreamQuery() { + } + /** + * @ignore + */ + ListStreamQuery.getAttributeTypeMap = function () { + return ListStreamQuery.attributeTypeMap; + }; + /** + * @ignore + */ + ListStreamQuery.attributeTypeMap = { + dataSource: { + baseName: "data_source", + type: "ListStreamSource", + required: true, + }, + indexes: { + baseName: "indexes", + type: "Array", + }, + queryString: { + baseName: "query_string", + type: "string", + required: true, + }, + }; + return ListStreamQuery; +}()); +exports.ListStreamQuery = ListStreamQuery; +//# sourceMappingURL=ListStreamQuery.js.map + +/***/ }), + +/***/ 49497: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ListStreamWidgetDefinition = void 0; +/** + * The list stream visualization displays a table of recent events in your application that match a search criteria using user-defined columns. + */ +var ListStreamWidgetDefinition = /** @class */ (function () { + function ListStreamWidgetDefinition() { + } + /** + * @ignore + */ + ListStreamWidgetDefinition.getAttributeTypeMap = function () { + return ListStreamWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ListStreamWidgetDefinition.attributeTypeMap = { + legendSize: { + baseName: "legend_size", + type: "string", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + showLegend: { + baseName: "show_legend", + type: "boolean", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ListStreamWidgetDefinitionType", + required: true, + }, + }; + return ListStreamWidgetDefinition; +}()); +exports.ListStreamWidgetDefinition = ListStreamWidgetDefinition; +//# sourceMappingURL=ListStreamWidgetDefinition.js.map + +/***/ }), + +/***/ 80951: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ListStreamWidgetRequest = void 0; +/** + * Updated list stream widget. + */ +var ListStreamWidgetRequest = /** @class */ (function () { + function ListStreamWidgetRequest() { + } + /** + * @ignore + */ + ListStreamWidgetRequest.getAttributeTypeMap = function () { + return ListStreamWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ListStreamWidgetRequest.attributeTypeMap = { + columns: { + baseName: "columns", + type: "Array", + required: true, + }, + query: { + baseName: "query", + type: "ListStreamQuery", + required: true, + }, + responseFormat: { + baseName: "response_format", + type: "ListStreamResponseFormat", + required: true, + }, + }; + return ListStreamWidgetRequest; +}()); +exports.ListStreamWidgetRequest = ListStreamWidgetRequest; +//# sourceMappingURL=ListStreamWidgetRequest.js.map + +/***/ }), + +/***/ 83438: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Log = void 0; +/** + * Object describing a log after being processed and stored by Datadog. + */ +var Log = /** @class */ (function () { + function Log() { + } + /** + * @ignore + */ + Log.getAttributeTypeMap = function () { + return Log.attributeTypeMap; + }; + /** + * @ignore + */ + Log.attributeTypeMap = { + content: { + baseName: "content", + type: "LogContent", + }, + id: { + baseName: "id", + type: "string", + }, + }; + return Log; +}()); +exports.Log = Log; +//# sourceMappingURL=Log.js.map + +/***/ }), + +/***/ 67704: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogContent = void 0; +/** + * JSON object containing all log attributes and their associated values. + */ +var LogContent = /** @class */ (function () { + function LogContent() { + } + /** + * @ignore + */ + LogContent.getAttributeTypeMap = function () { + return LogContent.attributeTypeMap; + }; + /** + * @ignore + */ + LogContent.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "{ [key: string]: any; }", + }, + host: { + baseName: "host", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + service: { + baseName: "service", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + format: "string", + }, + timestamp: { + baseName: "timestamp", + type: "Date", + format: "date-time", + }, + }; + return LogContent; +}()); +exports.LogContent = LogContent; +//# sourceMappingURL=LogContent.js.map + +/***/ }), + +/***/ 12197: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogQueryDefinition = void 0; +/** + * The log query. + */ +var LogQueryDefinition = /** @class */ (function () { + function LogQueryDefinition() { + } + /** + * @ignore + */ + LogQueryDefinition.getAttributeTypeMap = function () { + return LogQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + LogQueryDefinition.attributeTypeMap = { + compute: { + baseName: "compute", + type: "LogsQueryCompute", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + index: { + baseName: "index", + type: "string", + }, + multiCompute: { + baseName: "multi_compute", + type: "Array", + }, + search: { + baseName: "search", + type: "LogQueryDefinitionSearch", + }, + }; + return LogQueryDefinition; +}()); +exports.LogQueryDefinition = LogQueryDefinition; +//# sourceMappingURL=LogQueryDefinition.js.map + +/***/ }), + +/***/ 54246: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogQueryDefinitionGroupBy = void 0; +/** + * Defined items in the group. + */ +var LogQueryDefinitionGroupBy = /** @class */ (function () { + function LogQueryDefinitionGroupBy() { + } + /** + * @ignore + */ + LogQueryDefinitionGroupBy.getAttributeTypeMap = function () { + return LogQueryDefinitionGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + LogQueryDefinitionGroupBy.attributeTypeMap = { + facet: { + baseName: "facet", + type: "string", + required: true, + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + sort: { + baseName: "sort", + type: "LogQueryDefinitionGroupBySort", + }, + }; + return LogQueryDefinitionGroupBy; +}()); +exports.LogQueryDefinitionGroupBy = LogQueryDefinitionGroupBy; +//# sourceMappingURL=LogQueryDefinitionGroupBy.js.map + +/***/ }), + +/***/ 37827: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogQueryDefinitionGroupBySort = void 0; +/** + * Define a sorting method. + */ +var LogQueryDefinitionGroupBySort = /** @class */ (function () { + function LogQueryDefinitionGroupBySort() { + } + /** + * @ignore + */ + LogQueryDefinitionGroupBySort.getAttributeTypeMap = function () { + return LogQueryDefinitionGroupBySort.attributeTypeMap; + }; + /** + * @ignore + */ + LogQueryDefinitionGroupBySort.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "string", + required: true, + }, + facet: { + baseName: "facet", + type: "string", + }, + order: { + baseName: "order", + type: "WidgetSort", + required: true, + }, + }; + return LogQueryDefinitionGroupBySort; +}()); +exports.LogQueryDefinitionGroupBySort = LogQueryDefinitionGroupBySort; +//# sourceMappingURL=LogQueryDefinitionGroupBySort.js.map + +/***/ }), + +/***/ 20235: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogQueryDefinitionSearch = void 0; +/** + * The query being made on the logs. + */ +var LogQueryDefinitionSearch = /** @class */ (function () { + function LogQueryDefinitionSearch() { + } + /** + * @ignore + */ + LogQueryDefinitionSearch.getAttributeTypeMap = function () { + return LogQueryDefinitionSearch.attributeTypeMap; + }; + /** + * @ignore + */ + LogQueryDefinitionSearch.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return LogQueryDefinitionSearch; +}()); +exports.LogQueryDefinitionSearch = LogQueryDefinitionSearch; +//# sourceMappingURL=LogQueryDefinitionSearch.js.map + +/***/ }), + +/***/ 76959: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogStreamWidgetDefinition = void 0; +/** + * The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards. + */ +var LogStreamWidgetDefinition = /** @class */ (function () { + function LogStreamWidgetDefinition() { + } + /** + * @ignore + */ + LogStreamWidgetDefinition.getAttributeTypeMap = function () { + return LogStreamWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + LogStreamWidgetDefinition.attributeTypeMap = { + columns: { + baseName: "columns", + type: "Array", + }, + indexes: { + baseName: "indexes", + type: "Array", + }, + logset: { + baseName: "logset", + type: "string", + }, + messageDisplay: { + baseName: "message_display", + type: "WidgetMessageDisplay", + }, + query: { + baseName: "query", + type: "string", + }, + showDateColumn: { + baseName: "show_date_column", + type: "boolean", + }, + showMessageColumn: { + baseName: "show_message_column", + type: "boolean", + }, + sort: { + baseName: "sort", + type: "WidgetFieldSort", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "LogStreamWidgetDefinitionType", + required: true, + }, + }; + return LogStreamWidgetDefinition; +}()); +exports.LogStreamWidgetDefinition = LogStreamWidgetDefinition; +//# sourceMappingURL=LogStreamWidgetDefinition.js.map + +/***/ }), + +/***/ 27806: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAPIError = void 0; +/** + * Error returned by the Logs API + */ +var LogsAPIError = /** @class */ (function () { + function LogsAPIError() { + } + /** + * @ignore + */ + LogsAPIError.getAttributeTypeMap = function () { + return LogsAPIError.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAPIError.attributeTypeMap = { + code: { + baseName: "code", + type: "string", + }, + details: { + baseName: "details", + type: "Array", + }, + message: { + baseName: "message", + type: "string", + }, + }; + return LogsAPIError; +}()); +exports.LogsAPIError = LogsAPIError; +//# sourceMappingURL=LogsAPIError.js.map + +/***/ }), + +/***/ 25074: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAPIErrorResponse = void 0; +/** + * Response returned by the Logs API when errors occur. + */ +var LogsAPIErrorResponse = /** @class */ (function () { + function LogsAPIErrorResponse() { + } + /** + * @ignore + */ + LogsAPIErrorResponse.getAttributeTypeMap = function () { + return LogsAPIErrorResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAPIErrorResponse.attributeTypeMap = { + error: { + baseName: "error", + type: "LogsAPIError", + }, + }; + return LogsAPIErrorResponse; +}()); +exports.LogsAPIErrorResponse = LogsAPIErrorResponse; +//# sourceMappingURL=LogsAPIErrorResponse.js.map + +/***/ }), + +/***/ 15426: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArithmeticProcessor = void 0; +/** + * Use the Arithmetic Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log with the result of the provided formula. This enables you to remap different time attributes with different units into a single attribute, or to compute operations on attributes within the same log. The formula can use parentheses and the basic arithmetic operators `-`, `+`, `*`, `/`. By default, the calculation is skipped if an attribute is missing. Select “Replace missing attribute by 0” to automatically populate missing attribute values with 0 to ensure that the calculation is done. An attribute is missing if it is not found in the log attributes, or if it cannot be converted to a number. *Notes*: - The operator `-` needs to be space split in the formula as it can also be contained in attribute names. - If the target attribute already exists, it is overwritten by the result of the formula. - Results are rounded up to the 9th decimal. For example, if the result of the formula is `0.1234567891`, the actual value stored for the attribute is `0.123456789`. - If you need to scale a unit of measure, see [Scale Filter](https://docs.datadoghq.com/logs/log_configuration/parsing/?tab=filter#matcher-and-filter). + */ +var LogsArithmeticProcessor = /** @class */ (function () { + function LogsArithmeticProcessor() { + } + /** + * @ignore + */ + LogsArithmeticProcessor.getAttributeTypeMap = function () { + return LogsArithmeticProcessor.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArithmeticProcessor.attributeTypeMap = { + expression: { + baseName: "expression", + type: "string", + required: true, + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + isReplaceMissing: { + baseName: "is_replace_missing", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsArithmeticProcessorType", + required: true, + }, + }; + return LogsArithmeticProcessor; +}()); +exports.LogsArithmeticProcessor = LogsArithmeticProcessor; +//# sourceMappingURL=LogsArithmeticProcessor.js.map + +/***/ }), + +/***/ 70365: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAttributeRemapper = void 0; +/** + * The remapper processor remaps any source attribute(s) or tag to another target attribute or tag. Constraints on the tag/attribute name are explained in the [Tag Best Practice documentation](https://docs.datadoghq.com/logs/guide/log-parsing-best-practice). Some additional constraints are applied as `:` or `,` are not allowed in the target tag/attribute name. + */ +var LogsAttributeRemapper = /** @class */ (function () { + function LogsAttributeRemapper() { + } + /** + * @ignore + */ + LogsAttributeRemapper.getAttributeTypeMap = function () { + return LogsAttributeRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAttributeRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + overrideOnConflict: { + baseName: "override_on_conflict", + type: "boolean", + }, + preserveSource: { + baseName: "preserve_source", + type: "boolean", + }, + sourceType: { + baseName: "source_type", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + targetFormat: { + baseName: "target_format", + type: "TargetFormatType", + }, + targetType: { + baseName: "target_type", + type: "string", + }, + type: { + baseName: "type", + type: "LogsAttributeRemapperType", + required: true, + }, + }; + return LogsAttributeRemapper; +}()); +exports.LogsAttributeRemapper = LogsAttributeRemapper; +//# sourceMappingURL=LogsAttributeRemapper.js.map + +/***/ }), + +/***/ 97769: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsByRetention = void 0; +/** + * Object containing logs usage data broken down by retention period. + */ +var LogsByRetention = /** @class */ (function () { + function LogsByRetention() { + } + /** + * @ignore + */ + LogsByRetention.getAttributeTypeMap = function () { + return LogsByRetention.attributeTypeMap; + }; + /** + * @ignore + */ + LogsByRetention.attributeTypeMap = { + orgs: { + baseName: "orgs", + type: "LogsByRetentionOrgs", + }, + usage: { + baseName: "usage", + type: "Array", + }, + usageByMonth: { + baseName: "usage_by_month", + type: "LogsByRetentionMonthlyUsage", + }, + }; + return LogsByRetention; +}()); +exports.LogsByRetention = LogsByRetention; +//# sourceMappingURL=LogsByRetention.js.map + +/***/ }), + +/***/ 96594: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsByRetentionMonthlyUsage = void 0; +/** + * Object containing a summary of indexed logs usage by retention period for a single month. + */ +var LogsByRetentionMonthlyUsage = /** @class */ (function () { + function LogsByRetentionMonthlyUsage() { + } + /** + * @ignore + */ + LogsByRetentionMonthlyUsage.getAttributeTypeMap = function () { + return LogsByRetentionMonthlyUsage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsByRetentionMonthlyUsage.attributeTypeMap = { + date: { + baseName: "date", + type: "string", + format: "datetime", + }, + usage: { + baseName: "usage", + type: "Array", + }, + }; + return LogsByRetentionMonthlyUsage; +}()); +exports.LogsByRetentionMonthlyUsage = LogsByRetentionMonthlyUsage; +//# sourceMappingURL=LogsByRetentionMonthlyUsage.js.map + +/***/ }), + +/***/ 79667: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsByRetentionOrgUsage = void 0; +/** + * Indexed logs usage by retention for a single organization. + */ +var LogsByRetentionOrgUsage = /** @class */ (function () { + function LogsByRetentionOrgUsage() { + } + /** + * @ignore + */ + LogsByRetentionOrgUsage.getAttributeTypeMap = function () { + return LogsByRetentionOrgUsage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsByRetentionOrgUsage.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return LogsByRetentionOrgUsage; +}()); +exports.LogsByRetentionOrgUsage = LogsByRetentionOrgUsage; +//# sourceMappingURL=LogsByRetentionOrgUsage.js.map + +/***/ }), + +/***/ 45185: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsByRetentionOrgs = void 0; +/** + * Indexed logs usage summary for each organization for each retention period with usage. + */ +var LogsByRetentionOrgs = /** @class */ (function () { + function LogsByRetentionOrgs() { + } + /** + * @ignore + */ + LogsByRetentionOrgs.getAttributeTypeMap = function () { + return LogsByRetentionOrgs.attributeTypeMap; + }; + /** + * @ignore + */ + LogsByRetentionOrgs.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return LogsByRetentionOrgs; +}()); +exports.LogsByRetentionOrgs = LogsByRetentionOrgs; +//# sourceMappingURL=LogsByRetentionOrgs.js.map + +/***/ }), + +/***/ 40573: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsCategoryProcessor = void 0; +/** + * Use the Category Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log matching a provided search query. Use categories to create groups for an analytical view. For example, URL groups, machine groups, environments, and response time buckets. **Notes**: - The syntax of the query is the one of Logs Explorer search bar. The query can be done on any log attribute or tag, whether it is a facet or not. Wildcards can also be used inside your query. - Once the log has matched one of the Processor queries, it stops. Make sure they are properly ordered in case a log could match several queries. - The names of the categories must be unique. - Once defined in the Category Processor, you can map categories to log status using the Log Status Remapper. + */ +var LogsCategoryProcessor = /** @class */ (function () { + function LogsCategoryProcessor() { + } + /** + * @ignore + */ + LogsCategoryProcessor.getAttributeTypeMap = function () { + return LogsCategoryProcessor.attributeTypeMap; + }; + /** + * @ignore + */ + LogsCategoryProcessor.attributeTypeMap = { + categories: { + baseName: "categories", + type: "Array", + required: true, + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsCategoryProcessorType", + required: true, + }, + }; + return LogsCategoryProcessor; +}()); +exports.LogsCategoryProcessor = LogsCategoryProcessor; +//# sourceMappingURL=LogsCategoryProcessor.js.map + +/***/ }), + +/***/ 10242: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsCategoryProcessorCategory = void 0; +/** + * Object describing the logs filter. + */ +var LogsCategoryProcessorCategory = /** @class */ (function () { + function LogsCategoryProcessorCategory() { + } + /** + * @ignore + */ + LogsCategoryProcessorCategory.getAttributeTypeMap = function () { + return LogsCategoryProcessorCategory.attributeTypeMap; + }; + /** + * @ignore + */ + LogsCategoryProcessorCategory.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsFilter", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return LogsCategoryProcessorCategory; +}()); +exports.LogsCategoryProcessorCategory = LogsCategoryProcessorCategory; +//# sourceMappingURL=LogsCategoryProcessorCategory.js.map + +/***/ }), + +/***/ 34468: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsDateRemapper = void 0; +/** + * As Datadog receives logs, it timestamps them using the value(s) from any of these default attributes. - `timestamp` - `date` - `_timestamp` - `Timestamp` - `eventTime` - `published_date` If your logs put their dates in an attribute not in this list, use the log date Remapper Processor to define their date attribute as the official log timestamp. The recognized date formats are ISO8601, UNIX (the milliseconds EPOCH format), and RFC3164. **Note:** If your logs don’t contain any of the default attributes and you haven’t defined your own date attribute, Datadog timestamps the logs with the date it received them. If multiple log date remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account. + */ +var LogsDateRemapper = /** @class */ (function () { + function LogsDateRemapper() { + } + /** + * @ignore + */ + LogsDateRemapper.getAttributeTypeMap = function () { + return LogsDateRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsDateRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "LogsDateRemapperType", + required: true, + }, + }; + return LogsDateRemapper; +}()); +exports.LogsDateRemapper = LogsDateRemapper; +//# sourceMappingURL=LogsDateRemapper.js.map + +/***/ }), + +/***/ 78203: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsExclusion = void 0; +/** + * Represents the index exclusion filter object from configuration API. + */ +var LogsExclusion = /** @class */ (function () { + function LogsExclusion() { + } + /** + * @ignore + */ + LogsExclusion.getAttributeTypeMap = function () { + return LogsExclusion.attributeTypeMap; + }; + /** + * @ignore + */ + LogsExclusion.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsExclusionFilter", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return LogsExclusion; +}()); +exports.LogsExclusion = LogsExclusion; +//# sourceMappingURL=LogsExclusion.js.map + +/***/ }), + +/***/ 73573: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsExclusionFilter = void 0; +/** + * Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle. + */ +var LogsExclusionFilter = /** @class */ (function () { + function LogsExclusionFilter() { + } + /** + * @ignore + */ + LogsExclusionFilter.getAttributeTypeMap = function () { + return LogsExclusionFilter.attributeTypeMap; + }; + /** + * @ignore + */ + LogsExclusionFilter.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + }, + sampleRate: { + baseName: "sample_rate", + type: "number", + required: true, + format: "double", + }, + }; + return LogsExclusionFilter; +}()); +exports.LogsExclusionFilter = LogsExclusionFilter; +//# sourceMappingURL=LogsExclusionFilter.js.map + +/***/ }), + +/***/ 96533: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsFilter = void 0; +/** + * Filter for logs. + */ +var LogsFilter = /** @class */ (function () { + function LogsFilter() { + } + /** + * @ignore + */ + LogsFilter.getAttributeTypeMap = function () { + return LogsFilter.attributeTypeMap; + }; + /** + * @ignore + */ + LogsFilter.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + }, + }; + return LogsFilter; +}()); +exports.LogsFilter = LogsFilter; +//# sourceMappingURL=LogsFilter.js.map + +/***/ }), + +/***/ 30810: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsGeoIPParser = void 0; +/** + * The GeoIP parser takes an IP address attribute and extracts if available the Continent, Country, Subdivision, and City information in the target attribute path. + */ +var LogsGeoIPParser = /** @class */ (function () { + function LogsGeoIPParser() { + } + /** + * @ignore + */ + LogsGeoIPParser.getAttributeTypeMap = function () { + return LogsGeoIPParser.attributeTypeMap; + }; + /** + * @ignore + */ + LogsGeoIPParser.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsGeoIPParserType", + required: true, + }, + }; + return LogsGeoIPParser; +}()); +exports.LogsGeoIPParser = LogsGeoIPParser; +//# sourceMappingURL=LogsGeoIPParser.js.map + +/***/ }), + +/***/ 86255: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsGrokParser = void 0; +/** + * Create custom grok rules to parse the full message or [a specific attribute of your raw event](https://docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings). For more information, see the [parsing section](https://docs.datadoghq.com/logs/log_configuration/parsing). + */ +var LogsGrokParser = /** @class */ (function () { + function LogsGrokParser() { + } + /** + * @ignore + */ + LogsGrokParser.getAttributeTypeMap = function () { + return LogsGrokParser.attributeTypeMap; + }; + /** + * @ignore + */ + LogsGrokParser.attributeTypeMap = { + grok: { + baseName: "grok", + type: "LogsGrokParserRules", + required: true, + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + samples: { + baseName: "samples", + type: "Array", + }, + source: { + baseName: "source", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsGrokParserType", + required: true, + }, + }; + return LogsGrokParser; +}()); +exports.LogsGrokParser = LogsGrokParser; +//# sourceMappingURL=LogsGrokParser.js.map + +/***/ }), + +/***/ 17200: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsGrokParserRules = void 0; +/** + * Set of rules for the grok parser. + */ +var LogsGrokParserRules = /** @class */ (function () { + function LogsGrokParserRules() { + } + /** + * @ignore + */ + LogsGrokParserRules.getAttributeTypeMap = function () { + return LogsGrokParserRules.attributeTypeMap; + }; + /** + * @ignore + */ + LogsGrokParserRules.attributeTypeMap = { + matchRules: { + baseName: "match_rules", + type: "string", + required: true, + }, + supportRules: { + baseName: "support_rules", + type: "string", + }, + }; + return LogsGrokParserRules; +}()); +exports.LogsGrokParserRules = LogsGrokParserRules; +//# sourceMappingURL=LogsGrokParserRules.js.map + +/***/ }), + +/***/ 67826: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsIndex = void 0; +/** + * Object describing a Datadog Log index. + */ +var LogsIndex = /** @class */ (function () { + function LogsIndex() { + } + /** + * @ignore + */ + LogsIndex.getAttributeTypeMap = function () { + return LogsIndex.attributeTypeMap; + }; + /** + * @ignore + */ + LogsIndex.attributeTypeMap = { + dailyLimit: { + baseName: "daily_limit", + type: "number", + format: "int64", + }, + exclusionFilters: { + baseName: "exclusion_filters", + type: "Array", + }, + filter: { + baseName: "filter", + type: "LogsFilter", + required: true, + }, + isRateLimited: { + baseName: "is_rate_limited", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + numRetentionDays: { + baseName: "num_retention_days", + type: "number", + format: "int64", + }, + }; + return LogsIndex; +}()); +exports.LogsIndex = LogsIndex; +//# sourceMappingURL=LogsIndex.js.map + +/***/ }), + +/***/ 32099: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsIndexListResponse = void 0; +/** + * Object with all Index configurations for a given organization. + */ +var LogsIndexListResponse = /** @class */ (function () { + function LogsIndexListResponse() { + } + /** + * @ignore + */ + LogsIndexListResponse.getAttributeTypeMap = function () { + return LogsIndexListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsIndexListResponse.attributeTypeMap = { + indexes: { + baseName: "indexes", + type: "Array", + }, + }; + return LogsIndexListResponse; +}()); +exports.LogsIndexListResponse = LogsIndexListResponse; +//# sourceMappingURL=LogsIndexListResponse.js.map + +/***/ }), + +/***/ 60006: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsIndexUpdateRequest = void 0; +/** + * Object for updating a Datadog Log index. + */ +var LogsIndexUpdateRequest = /** @class */ (function () { + function LogsIndexUpdateRequest() { + } + /** + * @ignore + */ + LogsIndexUpdateRequest.getAttributeTypeMap = function () { + return LogsIndexUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsIndexUpdateRequest.attributeTypeMap = { + dailyLimit: { + baseName: "daily_limit", + type: "number", + format: "int64", + }, + disableDailyLimit: { + baseName: "disable_daily_limit", + type: "boolean", + }, + exclusionFilters: { + baseName: "exclusion_filters", + type: "Array", + }, + filter: { + baseName: "filter", + type: "LogsFilter", + required: true, + }, + numRetentionDays: { + baseName: "num_retention_days", + type: "number", + format: "int64", + }, + }; + return LogsIndexUpdateRequest; +}()); +exports.LogsIndexUpdateRequest = LogsIndexUpdateRequest; +//# sourceMappingURL=LogsIndexUpdateRequest.js.map + +/***/ }), + +/***/ 10785: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsIndexesOrder = void 0; +/** + * Object containing the ordered list of log index names. + */ +var LogsIndexesOrder = /** @class */ (function () { + function LogsIndexesOrder() { + } + /** + * @ignore + */ + LogsIndexesOrder.getAttributeTypeMap = function () { + return LogsIndexesOrder.attributeTypeMap; + }; + /** + * @ignore + */ + LogsIndexesOrder.attributeTypeMap = { + indexNames: { + baseName: "index_names", + type: "Array", + required: true, + }, + }; + return LogsIndexesOrder; +}()); +exports.LogsIndexesOrder = LogsIndexesOrder; +//# sourceMappingURL=LogsIndexesOrder.js.map + +/***/ }), + +/***/ 98514: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListRequest = void 0; +/** + * Object to send with the request to retrieve a list of logs from your Organization. + */ +var LogsListRequest = /** @class */ (function () { + function LogsListRequest() { + } + /** + * @ignore + */ + LogsListRequest.getAttributeTypeMap = function () { + return LogsListRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListRequest.attributeTypeMap = { + index: { + baseName: "index", + type: "string", + }, + limit: { + baseName: "limit", + type: "number", + format: "int32", + }, + query: { + baseName: "query", + type: "string", + }, + sort: { + baseName: "sort", + type: "LogsSort", + }, + startAt: { + baseName: "startAt", + type: "string", + }, + time: { + baseName: "time", + type: "LogsListRequestTime", + required: true, + }, + }; + return LogsListRequest; +}()); +exports.LogsListRequest = LogsListRequest; +//# sourceMappingURL=LogsListRequest.js.map + +/***/ }), + +/***/ 21905: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListRequestTime = void 0; +/** + * Timeframe to retrieve the log from. + */ +var LogsListRequestTime = /** @class */ (function () { + function LogsListRequestTime() { + } + /** + * @ignore + */ + LogsListRequestTime.getAttributeTypeMap = function () { + return LogsListRequestTime.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListRequestTime.attributeTypeMap = { + from: { + baseName: "from", + type: "Date", + required: true, + format: "date-time", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + to: { + baseName: "to", + type: "Date", + required: true, + format: "date-time", + }, + }; + return LogsListRequestTime; +}()); +exports.LogsListRequestTime = LogsListRequestTime; +//# sourceMappingURL=LogsListRequestTime.js.map + +/***/ }), + +/***/ 49469: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListResponse = void 0; +/** + * Response object with all logs matching the request and pagination information. + */ +var LogsListResponse = /** @class */ (function () { + function LogsListResponse() { + } + /** + * @ignore + */ + LogsListResponse.getAttributeTypeMap = function () { + return LogsListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListResponse.attributeTypeMap = { + logs: { + baseName: "logs", + type: "Array", + }, + nextLogId: { + baseName: "nextLogId", + type: "string", + }, + status: { + baseName: "status", + type: "string", + }, + }; + return LogsListResponse; +}()); +exports.LogsListResponse = LogsListResponse; +//# sourceMappingURL=LogsListResponse.js.map + +/***/ }), + +/***/ 36335: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsLookupProcessor = void 0; +/** + * Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in the processors mapping table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines. + */ +var LogsLookupProcessor = /** @class */ (function () { + function LogsLookupProcessor() { + } + /** + * @ignore + */ + LogsLookupProcessor.getAttributeTypeMap = function () { + return LogsLookupProcessor.attributeTypeMap; + }; + /** + * @ignore + */ + LogsLookupProcessor.attributeTypeMap = { + defaultLookup: { + baseName: "default_lookup", + type: "string", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + lookupTable: { + baseName: "lookup_table", + type: "Array", + required: true, + }, + name: { + baseName: "name", + type: "string", + }, + source: { + baseName: "source", + type: "string", + required: true, + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsLookupProcessorType", + required: true, + }, + }; + return LogsLookupProcessor; +}()); +exports.LogsLookupProcessor = LogsLookupProcessor; +//# sourceMappingURL=LogsLookupProcessor.js.map + +/***/ }), + +/***/ 1148: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMessageRemapper = void 0; +/** + * The message is a key attribute in Datadog. It is displayed in the message column of the Log Explorer and you can do full string search on it. Use this Processor to define one or more attributes as the official log message. **Note:** If multiple log message remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account. + */ +var LogsMessageRemapper = /** @class */ (function () { + function LogsMessageRemapper() { + } + /** + * @ignore + */ + LogsMessageRemapper.getAttributeTypeMap = function () { + return LogsMessageRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMessageRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "LogsMessageRemapperType", + required: true, + }, + }; + return LogsMessageRemapper; +}()); +exports.LogsMessageRemapper = LogsMessageRemapper; +//# sourceMappingURL=LogsMessageRemapper.js.map + +/***/ }), + +/***/ 62446: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsPipeline = void 0; +/** + * Pipelines and processors operate on incoming logs, parsing and transforming them into structured attributes for easier querying. **Note**: These endpoints are only available for admin users. Make sure to use an application key created by an admin. + */ +var LogsPipeline = /** @class */ (function () { + function LogsPipeline() { + } + /** + * @ignore + */ + LogsPipeline.getAttributeTypeMap = function () { + return LogsPipeline.attributeTypeMap; + }; + /** + * @ignore + */ + LogsPipeline.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsFilter", + }, + id: { + baseName: "id", + type: "string", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + isReadOnly: { + baseName: "is_read_only", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + processors: { + baseName: "processors", + type: "Array", + }, + type: { + baseName: "type", + type: "string", + }, + }; + return LogsPipeline; +}()); +exports.LogsPipeline = LogsPipeline; +//# sourceMappingURL=LogsPipeline.js.map + +/***/ }), + +/***/ 93445: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsPipelineProcessor = void 0; +/** + * Nested Pipelines are pipelines within a pipeline. Use Nested Pipelines to split the processing into two steps. For example, first use a high-level filtering such as team and then a second level of filtering based on the integration, service, or any other tag or attribute. A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors. + */ +var LogsPipelineProcessor = /** @class */ (function () { + function LogsPipelineProcessor() { + } + /** + * @ignore + */ + LogsPipelineProcessor.getAttributeTypeMap = function () { + return LogsPipelineProcessor.attributeTypeMap; + }; + /** + * @ignore + */ + LogsPipelineProcessor.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsFilter", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + processors: { + baseName: "processors", + type: "Array", + }, + type: { + baseName: "type", + type: "LogsPipelineProcessorType", + required: true, + }, + }; + return LogsPipelineProcessor; +}()); +exports.LogsPipelineProcessor = LogsPipelineProcessor; +//# sourceMappingURL=LogsPipelineProcessor.js.map + +/***/ }), + +/***/ 53880: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsPipelinesOrder = void 0; +/** + * Object containing the ordered list of pipeline IDs. + */ +var LogsPipelinesOrder = /** @class */ (function () { + function LogsPipelinesOrder() { + } + /** + * @ignore + */ + LogsPipelinesOrder.getAttributeTypeMap = function () { + return LogsPipelinesOrder.attributeTypeMap; + }; + /** + * @ignore + */ + LogsPipelinesOrder.attributeTypeMap = { + pipelineIds: { + baseName: "pipeline_ids", + type: "Array", + required: true, + }, + }; + return LogsPipelinesOrder; +}()); +exports.LogsPipelinesOrder = LogsPipelinesOrder; +//# sourceMappingURL=LogsPipelinesOrder.js.map + +/***/ }), + +/***/ 6239: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsQueryCompute = void 0; +/** + * Define computation for a log query. + */ +var LogsQueryCompute = /** @class */ (function () { + function LogsQueryCompute() { + } + /** + * @ignore + */ + LogsQueryCompute.getAttributeTypeMap = function () { + return LogsQueryCompute.attributeTypeMap; + }; + /** + * @ignore + */ + LogsQueryCompute.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "string", + required: true, + }, + facet: { + baseName: "facet", + type: "string", + }, + interval: { + baseName: "interval", + type: "number", + format: "int64", + }, + }; + return LogsQueryCompute; +}()); +exports.LogsQueryCompute = LogsQueryCompute; +//# sourceMappingURL=LogsQueryCompute.js.map + +/***/ }), + +/***/ 59107: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsRetentionAggSumUsage = void 0; +/** + * Object containing indexed logs usage aggregated across organizations and months for a retention period. + */ +var LogsRetentionAggSumUsage = /** @class */ (function () { + function LogsRetentionAggSumUsage() { + } + /** + * @ignore + */ + LogsRetentionAggSumUsage.getAttributeTypeMap = function () { + return LogsRetentionAggSumUsage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsRetentionAggSumUsage.attributeTypeMap = { + logsIndexedLogsUsageAggSum: { + baseName: "logs_indexed_logs_usage_agg_sum", + type: "number", + format: "int64", + }, + logsLiveIndexedLogsUsageAggSum: { + baseName: "logs_live_indexed_logs_usage_agg_sum", + type: "number", + format: "int64", + }, + logsRehydratedIndexedLogsUsageAggSum: { + baseName: "logs_rehydrated_indexed_logs_usage_agg_sum", + type: "number", + format: "int64", + }, + retention: { + baseName: "retention", + type: "string", + }, + }; + return LogsRetentionAggSumUsage; +}()); +exports.LogsRetentionAggSumUsage = LogsRetentionAggSumUsage; +//# sourceMappingURL=LogsRetentionAggSumUsage.js.map + +/***/ }), + +/***/ 93863: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsRetentionSumUsage = void 0; +/** + * Object containing indexed logs usage grouped by retention period and summed. + */ +var LogsRetentionSumUsage = /** @class */ (function () { + function LogsRetentionSumUsage() { + } + /** + * @ignore + */ + LogsRetentionSumUsage.getAttributeTypeMap = function () { + return LogsRetentionSumUsage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsRetentionSumUsage.attributeTypeMap = { + logsIndexedLogsUsageSum: { + baseName: "logs_indexed_logs_usage_sum", + type: "number", + format: "int64", + }, + logsLiveIndexedLogsUsageSum: { + baseName: "logs_live_indexed_logs_usage_sum", + type: "number", + format: "int64", + }, + logsRehydratedIndexedLogsUsageSum: { + baseName: "logs_rehydrated_indexed_logs_usage_sum", + type: "number", + format: "int64", + }, + retention: { + baseName: "retention", + type: "string", + }, + }; + return LogsRetentionSumUsage; +}()); +exports.LogsRetentionSumUsage = LogsRetentionSumUsage; +//# sourceMappingURL=LogsRetentionSumUsage.js.map + +/***/ }), + +/***/ 73178: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsServiceRemapper = void 0; +/** + * Use this processor if you want to assign one or more attributes as the official service. **Note:** If multiple service remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account. + */ +var LogsServiceRemapper = /** @class */ (function () { + function LogsServiceRemapper() { + } + /** + * @ignore + */ + LogsServiceRemapper.getAttributeTypeMap = function () { + return LogsServiceRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsServiceRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "LogsServiceRemapperType", + required: true, + }, + }; + return LogsServiceRemapper; +}()); +exports.LogsServiceRemapper = LogsServiceRemapper; +//# sourceMappingURL=LogsServiceRemapper.js.map + +/***/ }), + +/***/ 6206: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsStatusRemapper = void 0; +/** + * Use this Processor if you want to assign some attributes as the official status. Each incoming status value is mapped as follows. - Integers from 0 to 7 map to the Syslog severity standards - Strings beginning with `emerg` or f (case-insensitive) map to `emerg` (0) - Strings beginning with `a` (case-insensitive) map to `alert` (1) - Strings beginning with `c` (case-insensitive) map to `critical` (2) - Strings beginning with `err` (case-insensitive) map to `error` (3) - Strings beginning with `w` (case-insensitive) map to `warning` (4) - Strings beginning with `n` (case-insensitive) map to `notice` (5) - Strings beginning with `i` (case-insensitive) map to `info` (6) - Strings beginning with `d`, `trace` or `verbose` (case-insensitive) map to `debug` (7) - Strings beginning with `o` or matching `OK` or `Success` (case-insensitive) map to OK - All others map to `info` (6) **Note:** If multiple log status remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account. + */ +var LogsStatusRemapper = /** @class */ (function () { + function LogsStatusRemapper() { + } + /** + * @ignore + */ + LogsStatusRemapper.getAttributeTypeMap = function () { + return LogsStatusRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsStatusRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "LogsStatusRemapperType", + required: true, + }, + }; + return LogsStatusRemapper; +}()); +exports.LogsStatusRemapper = LogsStatusRemapper; +//# sourceMappingURL=LogsStatusRemapper.js.map + +/***/ }), + +/***/ 54184: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsStringBuilderProcessor = void 0; +/** + * Use the string builder processor to add a new attribute (without spaces or special characters) to a log with the result of the provided template. This enables aggregation of different attributes or raw strings into a single attribute. The template is defined by both raw text and blocks with the syntax `%{attribute_path}`. **Notes**: - The processor only accepts attributes with values or an array of values in the blocks. - If an attribute cannot be used (object or array of object), it is replaced by an empty string or the entire operation is skipped depending on your selection. - If the target attribute already exists, it is overwritten by the result of the template. - Results of the template cannot exceed 256 characters. + */ +var LogsStringBuilderProcessor = /** @class */ (function () { + function LogsStringBuilderProcessor() { + } + /** + * @ignore + */ + LogsStringBuilderProcessor.getAttributeTypeMap = function () { + return LogsStringBuilderProcessor.attributeTypeMap; + }; + /** + * @ignore + */ + LogsStringBuilderProcessor.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + isReplaceMissing: { + baseName: "is_replace_missing", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + template: { + baseName: "template", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsStringBuilderProcessorType", + required: true, + }, + }; + return LogsStringBuilderProcessor; +}()); +exports.LogsStringBuilderProcessor = LogsStringBuilderProcessor; +//# sourceMappingURL=LogsStringBuilderProcessor.js.map + +/***/ }), + +/***/ 69922: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsTraceRemapper = void 0; +/** + * There are two ways to improve correlation between application traces and logs. 1. Follow the documentation on [how to inject a trace ID in the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces) and by default log integrations take care of all the rest of the setup. 2. Use the Trace remapper processor to define a log attribute as its associated trace ID. + */ +var LogsTraceRemapper = /** @class */ (function () { + function LogsTraceRemapper() { + } + /** + * @ignore + */ + LogsTraceRemapper.getAttributeTypeMap = function () { + return LogsTraceRemapper.attributeTypeMap; + }; + /** + * @ignore + */ + LogsTraceRemapper.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + }, + type: { + baseName: "type", + type: "LogsTraceRemapperType", + required: true, + }, + }; + return LogsTraceRemapper; +}()); +exports.LogsTraceRemapper = LogsTraceRemapper; +//# sourceMappingURL=LogsTraceRemapper.js.map + +/***/ }), + +/***/ 16650: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsURLParser = void 0; +/** + * This processor extracts query parameters and other important parameters from a URL. + */ +var LogsURLParser = /** @class */ (function () { + function LogsURLParser() { + } + /** + * @ignore + */ + LogsURLParser.getAttributeTypeMap = function () { + return LogsURLParser.attributeTypeMap; + }; + /** + * @ignore + */ + LogsURLParser.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + normalizeEndingSlashes: { + baseName: "normalize_ending_slashes", + type: "boolean", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsURLParserType", + required: true, + }, + }; + return LogsURLParser; +}()); +exports.LogsURLParser = LogsURLParser; +//# sourceMappingURL=LogsURLParser.js.map + +/***/ }), + +/***/ 62792: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsUserAgentParser = void 0; +/** + * The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing. + */ +var LogsUserAgentParser = /** @class */ (function () { + function LogsUserAgentParser() { + } + /** + * @ignore + */ + LogsUserAgentParser.getAttributeTypeMap = function () { + return LogsUserAgentParser.attributeTypeMap; + }; + /** + * @ignore + */ + LogsUserAgentParser.attributeTypeMap = { + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + isEncoded: { + baseName: "is_encoded", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + sources: { + baseName: "sources", + type: "Array", + required: true, + }, + target: { + baseName: "target", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsUserAgentParserType", + required: true, + }, + }; + return LogsUserAgentParser; +}()); +exports.LogsUserAgentParser = LogsUserAgentParser; +//# sourceMappingURL=LogsUserAgentParser.js.map + +/***/ }), + +/***/ 91082: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricMetadata = void 0; +/** + * Object with all metric related metadata. + */ +var MetricMetadata = /** @class */ (function () { + function MetricMetadata() { + } + /** + * @ignore + */ + MetricMetadata.getAttributeTypeMap = function () { + return MetricMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + MetricMetadata.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + integration: { + baseName: "integration", + type: "string", + }, + perUnit: { + baseName: "per_unit", + type: "string", + }, + shortName: { + baseName: "short_name", + type: "string", + }, + statsdInterval: { + baseName: "statsd_interval", + type: "number", + format: "int64", + }, + type: { + baseName: "type", + type: "string", + }, + unit: { + baseName: "unit", + type: "string", + }, + }; + return MetricMetadata; +}()); +exports.MetricMetadata = MetricMetadata; +//# sourceMappingURL=MetricMetadata.js.map + +/***/ }), + +/***/ 5629: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricSearchResponse = void 0; +/** + * Object containing the list of metrics matching the search query. + */ +var MetricSearchResponse = /** @class */ (function () { + function MetricSearchResponse() { + } + /** + * @ignore + */ + MetricSearchResponse.getAttributeTypeMap = function () { + return MetricSearchResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricSearchResponse.attributeTypeMap = { + results: { + baseName: "results", + type: "MetricSearchResponseResults", + }, + }; + return MetricSearchResponse; +}()); +exports.MetricSearchResponse = MetricSearchResponse; +//# sourceMappingURL=MetricSearchResponse.js.map + +/***/ }), + +/***/ 32036: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricSearchResponseResults = void 0; +/** + * Search result. + */ +var MetricSearchResponseResults = /** @class */ (function () { + function MetricSearchResponseResults() { + } + /** + * @ignore + */ + MetricSearchResponseResults.getAttributeTypeMap = function () { + return MetricSearchResponseResults.attributeTypeMap; + }; + /** + * @ignore + */ + MetricSearchResponseResults.attributeTypeMap = { + metrics: { + baseName: "metrics", + type: "Array", + }, + }; + return MetricSearchResponseResults; +}()); +exports.MetricSearchResponseResults = MetricSearchResponseResults; +//# sourceMappingURL=MetricSearchResponseResults.js.map + +/***/ }), + +/***/ 36562: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsListResponse = void 0; +/** + * Object listing all metric names stored by Datadog since a given time. + */ +var MetricsListResponse = /** @class */ (function () { + function MetricsListResponse() { + } + /** + * @ignore + */ + MetricsListResponse.getAttributeTypeMap = function () { + return MetricsListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsListResponse.attributeTypeMap = { + from: { + baseName: "from", + type: "string", + }, + metrics: { + baseName: "metrics", + type: "Array", + }, + }; + return MetricsListResponse; +}()); +exports.MetricsListResponse = MetricsListResponse; +//# sourceMappingURL=MetricsListResponse.js.map + +/***/ }), + +/***/ 18312: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsPayload = void 0; +/** + * The metrics' payload. + */ +var MetricsPayload = /** @class */ (function () { + function MetricsPayload() { + } + /** + * @ignore + */ + MetricsPayload.getAttributeTypeMap = function () { + return MetricsPayload.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsPayload.attributeTypeMap = { + series: { + baseName: "series", + type: "Array", + required: true, + }, + }; + return MetricsPayload; +}()); +exports.MetricsPayload = MetricsPayload; +//# sourceMappingURL=MetricsPayload.js.map + +/***/ }), + +/***/ 94266: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsQueryMetadata = void 0; +/** + * Object containing all metric names returned and their associated metadata. + */ +var MetricsQueryMetadata = /** @class */ (function () { + function MetricsQueryMetadata() { + } + /** + * @ignore + */ + MetricsQueryMetadata.getAttributeTypeMap = function () { + return MetricsQueryMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsQueryMetadata.attributeTypeMap = { + aggr: { + baseName: "aggr", + type: "string", + }, + displayName: { + baseName: "display_name", + type: "string", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + expression: { + baseName: "expression", + type: "string", + }, + interval: { + baseName: "interval", + type: "number", + format: "int64", + }, + length: { + baseName: "length", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + }, + pointlist: { + baseName: "pointlist", + type: "Array>", + format: "double", + }, + queryIndex: { + baseName: "query_index", + type: "number", + format: "int64", + }, + scope: { + baseName: "scope", + type: "string", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + tagSet: { + baseName: "tag_set", + type: "Array", + }, + unit: { + baseName: "unit", + type: "Array", + }, + }; + return MetricsQueryMetadata; +}()); +exports.MetricsQueryMetadata = MetricsQueryMetadata; +//# sourceMappingURL=MetricsQueryMetadata.js.map + +/***/ }), + +/***/ 10574: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsQueryResponse = void 0; +/** + * Response Object that includes your query and the list of metrics retrieved. + */ +var MetricsQueryResponse = /** @class */ (function () { + function MetricsQueryResponse() { + } + /** + * @ignore + */ + MetricsQueryResponse.getAttributeTypeMap = function () { + return MetricsQueryResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsQueryResponse.attributeTypeMap = { + error: { + baseName: "error", + type: "string", + }, + fromDate: { + baseName: "from_date", + type: "number", + format: "int64", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + message: { + baseName: "message", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + resType: { + baseName: "res_type", + type: "string", + }, + series: { + baseName: "series", + type: "Array", + }, + status: { + baseName: "status", + type: "string", + }, + toDate: { + baseName: "to_date", + type: "number", + format: "int64", + }, + }; + return MetricsQueryResponse; +}()); +exports.MetricsQueryResponse = MetricsQueryResponse; +//# sourceMappingURL=MetricsQueryResponse.js.map + +/***/ }), + +/***/ 54581: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsQueryUnit = void 0; +/** + * Object containing the metric unit family, scale factor, name, and short name. + */ +var MetricsQueryUnit = /** @class */ (function () { + function MetricsQueryUnit() { + } + /** + * @ignore + */ + MetricsQueryUnit.getAttributeTypeMap = function () { + return MetricsQueryUnit.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsQueryUnit.attributeTypeMap = { + family: { + baseName: "family", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + plural: { + baseName: "plural", + type: "string", + }, + scaleFactor: { + baseName: "scale_factor", + type: "number", + format: "double", + }, + shortName: { + baseName: "short_name", + type: "string", + }, + }; + return MetricsQueryUnit; +}()); +exports.MetricsQueryUnit = MetricsQueryUnit; +//# sourceMappingURL=MetricsQueryUnit.js.map + +/***/ }), + +/***/ 45685: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Monitor = void 0; +/** + * Object describing a monitor. + */ +var Monitor = /** @class */ (function () { + function Monitor() { + } + /** + * @ignore + */ + Monitor.getAttributeTypeMap = function () { + return Monitor.attributeTypeMap; + }; + /** + * @ignore + */ + Monitor.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + deleted: { + baseName: "deleted", + type: "Date", + format: "date-time", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + multi: { + baseName: "multi", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + options: { + baseName: "options", + type: "MonitorOptions", + }, + overallState: { + baseName: "overall_state", + type: "MonitorOverallStates", + }, + priority: { + baseName: "priority", + type: "number", + format: "int64", + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + restrictedRoles: { + baseName: "restricted_roles", + type: "Array", + }, + state: { + baseName: "state", + type: "MonitorState", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "MonitorType", + required: true, + }, + }; + return Monitor; +}()); +exports.Monitor = Monitor; +//# sourceMappingURL=Monitor.js.map + +/***/ }), + +/***/ 58983: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorFormulaAndFunctionEventQueryDefinition = void 0; +/** + * A formula and functions events query. + */ +var MonitorFormulaAndFunctionEventQueryDefinition = /** @class */ (function () { + function MonitorFormulaAndFunctionEventQueryDefinition() { + } + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinition.getAttributeTypeMap = function () { + return MonitorFormulaAndFunctionEventQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinition.attributeTypeMap = { + compute: { + baseName: "compute", + type: "MonitorFormulaAndFunctionEventQueryDefinitionCompute", + required: true, + }, + dataSource: { + baseName: "data_source", + type: "MonitorFormulaAndFunctionEventsDataSource", + required: true, + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + indexes: { + baseName: "indexes", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + search: { + baseName: "search", + type: "MonitorFormulaAndFunctionEventQueryDefinitionSearch", + }, + }; + return MonitorFormulaAndFunctionEventQueryDefinition; +}()); +exports.MonitorFormulaAndFunctionEventQueryDefinition = MonitorFormulaAndFunctionEventQueryDefinition; +//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinition.js.map + +/***/ }), + +/***/ 18547: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = void 0; +/** + * Compute options. + */ +var MonitorFormulaAndFunctionEventQueryDefinitionCompute = /** @class */ (function () { + function MonitorFormulaAndFunctionEventQueryDefinitionCompute() { + } + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinitionCompute.getAttributeTypeMap = function () { + return MonitorFormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "MonitorFormulaAndFunctionEventAggregation", + required: true, + }, + interval: { + baseName: "interval", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + }, + }; + return MonitorFormulaAndFunctionEventQueryDefinitionCompute; +}()); +exports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = MonitorFormulaAndFunctionEventQueryDefinitionCompute; +//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinitionCompute.js.map + +/***/ }), + +/***/ 22864: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = void 0; +/** + * Search options. + */ +var MonitorFormulaAndFunctionEventQueryDefinitionSearch = /** @class */ (function () { + function MonitorFormulaAndFunctionEventQueryDefinitionSearch() { + } + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinitionSearch.getAttributeTypeMap = function () { + return MonitorFormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return MonitorFormulaAndFunctionEventQueryDefinitionSearch; +}()); +exports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = MonitorFormulaAndFunctionEventQueryDefinitionSearch; +//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinitionSearch.js.map + +/***/ }), + +/***/ 23168: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorFormulaAndFunctionEventQueryGroupBy = void 0; +/** + * List of objects used to group by. + */ +var MonitorFormulaAndFunctionEventQueryGroupBy = /** @class */ (function () { + function MonitorFormulaAndFunctionEventQueryGroupBy() { + } + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryGroupBy.getAttributeTypeMap = function () { + return MonitorFormulaAndFunctionEventQueryGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryGroupBy.attributeTypeMap = { + facet: { + baseName: "facet", + type: "string", + required: true, + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + sort: { + baseName: "sort", + type: "MonitorFormulaAndFunctionEventQueryGroupBySort", + }, + }; + return MonitorFormulaAndFunctionEventQueryGroupBy; +}()); +exports.MonitorFormulaAndFunctionEventQueryGroupBy = MonitorFormulaAndFunctionEventQueryGroupBy; +//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryGroupBy.js.map + +/***/ }), + +/***/ 45798: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorFormulaAndFunctionEventQueryGroupBySort = void 0; +/** + * Options for sorting group by results. + */ +var MonitorFormulaAndFunctionEventQueryGroupBySort = /** @class */ (function () { + function MonitorFormulaAndFunctionEventQueryGroupBySort() { + } + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryGroupBySort.getAttributeTypeMap = function () { + return MonitorFormulaAndFunctionEventQueryGroupBySort.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorFormulaAndFunctionEventQueryGroupBySort.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "MonitorFormulaAndFunctionEventAggregation", + required: true, + }, + metric: { + baseName: "metric", + type: "string", + }, + order: { + baseName: "order", + type: "QuerySortOrder", + }, + }; + return MonitorFormulaAndFunctionEventQueryGroupBySort; +}()); +exports.MonitorFormulaAndFunctionEventQueryGroupBySort = MonitorFormulaAndFunctionEventQueryGroupBySort; +//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryGroupBySort.js.map + +/***/ }), + +/***/ 25941: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorGroupSearchResponse = void 0; +/** + * The response of a monitor group search. + */ +var MonitorGroupSearchResponse = /** @class */ (function () { + function MonitorGroupSearchResponse() { + } + /** + * @ignore + */ + MonitorGroupSearchResponse.getAttributeTypeMap = function () { + return MonitorGroupSearchResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorGroupSearchResponse.attributeTypeMap = { + counts: { + baseName: "counts", + type: "MonitorGroupSearchResponseCounts", + }, + groups: { + baseName: "groups", + type: "Array", + }, + metadata: { + baseName: "metadata", + type: "MonitorSearchResponseMetadata", + }, + }; + return MonitorGroupSearchResponse; +}()); +exports.MonitorGroupSearchResponse = MonitorGroupSearchResponse; +//# sourceMappingURL=MonitorGroupSearchResponse.js.map + +/***/ }), + +/***/ 6527: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorGroupSearchResponseCounts = void 0; +/** + * The counts of monitor groups per different criteria. + */ +var MonitorGroupSearchResponseCounts = /** @class */ (function () { + function MonitorGroupSearchResponseCounts() { + } + /** + * @ignore + */ + MonitorGroupSearchResponseCounts.getAttributeTypeMap = function () { + return MonitorGroupSearchResponseCounts.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorGroupSearchResponseCounts.attributeTypeMap = { + status: { + baseName: "status", + type: "Array", + }, + type: { + baseName: "type", + type: "Array", + }, + }; + return MonitorGroupSearchResponseCounts; +}()); +exports.MonitorGroupSearchResponseCounts = MonitorGroupSearchResponseCounts; +//# sourceMappingURL=MonitorGroupSearchResponseCounts.js.map + +/***/ }), + +/***/ 55041: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorGroupSearchResult = void 0; +/** + * A single monitor group search result. + */ +var MonitorGroupSearchResult = /** @class */ (function () { + function MonitorGroupSearchResult() { + } + /** + * @ignore + */ + MonitorGroupSearchResult.getAttributeTypeMap = function () { + return MonitorGroupSearchResult.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorGroupSearchResult.attributeTypeMap = { + group: { + baseName: "group", + type: "string", + }, + groupTags: { + baseName: "group_tags", + type: "Array", + }, + lastNodataTs: { + baseName: "last_nodata_ts", + type: "number", + format: "int64", + }, + lastTriggeredTs: { + baseName: "last_triggered_ts", + type: "number", + format: "int64", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + monitorName: { + baseName: "monitor_name", + type: "string", + }, + status: { + baseName: "status", + type: "MonitorOverallStates", + }, + }; + return MonitorGroupSearchResult; +}()); +exports.MonitorGroupSearchResult = MonitorGroupSearchResult; +//# sourceMappingURL=MonitorGroupSearchResult.js.map + +/***/ }), + +/***/ 48231: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorOptions = void 0; +/** + * List of options associated with your monitor. + */ +var MonitorOptions = /** @class */ (function () { + function MonitorOptions() { + } + /** + * @ignore + */ + MonitorOptions.getAttributeTypeMap = function () { + return MonitorOptions.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorOptions.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "MonitorOptionsAggregation", + }, + deviceIds: { + baseName: "device_ids", + type: "Array", + }, + enableLogsSample: { + baseName: "enable_logs_sample", + type: "boolean", + }, + escalationMessage: { + baseName: "escalation_message", + type: "string", + }, + evaluationDelay: { + baseName: "evaluation_delay", + type: "number", + format: "int64", + }, + groupbySimpleMonitor: { + baseName: "groupby_simple_monitor", + type: "boolean", + }, + includeTags: { + baseName: "include_tags", + type: "boolean", + }, + locked: { + baseName: "locked", + type: "boolean", + }, + minFailureDuration: { + baseName: "min_failure_duration", + type: "number", + format: "int64", + }, + minLocationFailed: { + baseName: "min_location_failed", + type: "number", + format: "int64", + }, + newGroupDelay: { + baseName: "new_group_delay", + type: "number", + format: "int64", + }, + newHostDelay: { + baseName: "new_host_delay", + type: "number", + format: "int64", + }, + noDataTimeframe: { + baseName: "no_data_timeframe", + type: "number", + format: "int64", + }, + notifyAudit: { + baseName: "notify_audit", + type: "boolean", + }, + notifyNoData: { + baseName: "notify_no_data", + type: "boolean", + }, + renotifyInterval: { + baseName: "renotify_interval", + type: "number", + format: "int64", + }, + renotifyOccurrences: { + baseName: "renotify_occurrences", + type: "number", + format: "int64", + }, + renotifyStatuses: { + baseName: "renotify_statuses", + type: "Array", + }, + requireFullWindow: { + baseName: "require_full_window", + type: "boolean", + }, + silenced: { + baseName: "silenced", + type: "{ [key: string]: number; }", + format: "int64", + }, + syntheticsCheckId: { + baseName: "synthetics_check_id", + type: "string", + }, + thresholdWindows: { + baseName: "threshold_windows", + type: "MonitorThresholdWindowOptions", + }, + thresholds: { + baseName: "thresholds", + type: "MonitorThresholds", + }, + timeoutH: { + baseName: "timeout_h", + type: "number", + format: "int64", + }, + variables: { + baseName: "variables", + type: "Array", + }, + }; + return MonitorOptions; +}()); +exports.MonitorOptions = MonitorOptions; +//# sourceMappingURL=MonitorOptions.js.map + +/***/ }), + +/***/ 48316: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorOptionsAggregation = void 0; +/** + * Type of aggregation performed in the monitor query. + */ +var MonitorOptionsAggregation = /** @class */ (function () { + function MonitorOptionsAggregation() { + } + /** + * @ignore + */ + MonitorOptionsAggregation.getAttributeTypeMap = function () { + return MonitorOptionsAggregation.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorOptionsAggregation.attributeTypeMap = { + groupBy: { + baseName: "group_by", + type: "string", + }, + metric: { + baseName: "metric", + type: "string", + }, + type: { + baseName: "type", + type: "string", + }, + }; + return MonitorOptionsAggregation; +}()); +exports.MonitorOptionsAggregation = MonitorOptionsAggregation; +//# sourceMappingURL=MonitorOptionsAggregation.js.map + +/***/ }), + +/***/ 40893: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSearchResponse = void 0; +/** + * The response form a monitor search. + */ +var MonitorSearchResponse = /** @class */ (function () { + function MonitorSearchResponse() { + } + /** + * @ignore + */ + MonitorSearchResponse.getAttributeTypeMap = function () { + return MonitorSearchResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSearchResponse.attributeTypeMap = { + counts: { + baseName: "counts", + type: "MonitorSearchResponseCounts", + }, + metadata: { + baseName: "metadata", + type: "MonitorSearchResponseMetadata", + }, + monitors: { + baseName: "monitors", + type: "Array", + }, + }; + return MonitorSearchResponse; +}()); +exports.MonitorSearchResponse = MonitorSearchResponse; +//# sourceMappingURL=MonitorSearchResponse.js.map + +/***/ }), + +/***/ 80198: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSearchResponseCounts = void 0; +/** + * The counts of monitors per different criteria. + */ +var MonitorSearchResponseCounts = /** @class */ (function () { + function MonitorSearchResponseCounts() { + } + /** + * @ignore + */ + MonitorSearchResponseCounts.getAttributeTypeMap = function () { + return MonitorSearchResponseCounts.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSearchResponseCounts.attributeTypeMap = { + muted: { + baseName: "muted", + type: "Array", + }, + status: { + baseName: "status", + type: "Array", + }, + tag: { + baseName: "tag", + type: "Array", + }, + type: { + baseName: "type", + type: "Array", + }, + }; + return MonitorSearchResponseCounts; +}()); +exports.MonitorSearchResponseCounts = MonitorSearchResponseCounts; +//# sourceMappingURL=MonitorSearchResponseCounts.js.map + +/***/ }), + +/***/ 78696: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSearchResponseMetadata = void 0; +/** + * Metadata about the response. + */ +var MonitorSearchResponseMetadata = /** @class */ (function () { + function MonitorSearchResponseMetadata() { + } + /** + * @ignore + */ + MonitorSearchResponseMetadata.getAttributeTypeMap = function () { + return MonitorSearchResponseMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSearchResponseMetadata.attributeTypeMap = { + page: { + baseName: "page", + type: "number", + format: "int64", + }, + pageCount: { + baseName: "page_count", + type: "number", + format: "int64", + }, + perPage: { + baseName: "per_page", + type: "number", + format: "int64", + }, + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + }; + return MonitorSearchResponseMetadata; +}()); +exports.MonitorSearchResponseMetadata = MonitorSearchResponseMetadata; +//# sourceMappingURL=MonitorSearchResponseMetadata.js.map + +/***/ }), + +/***/ 14120: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSearchResult = void 0; +/** + * Holds search results. + */ +var MonitorSearchResult = /** @class */ (function () { + function MonitorSearchResult() { + } + /** + * @ignore + */ + MonitorSearchResult.getAttributeTypeMap = function () { + return MonitorSearchResult.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSearchResult.attributeTypeMap = { + classification: { + baseName: "classification", + type: "string", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + lastTriggeredTs: { + baseName: "last_triggered_ts", + type: "number", + format: "int64", + }, + metrics: { + baseName: "metrics", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + }, + notifications: { + baseName: "notifications", + type: "Array", + }, + orgId: { + baseName: "org_id", + type: "number", + format: "int64", + }, + query: { + baseName: "query", + type: "string", + }, + scopes: { + baseName: "scopes", + type: "Array", + }, + status: { + baseName: "status", + type: "MonitorOverallStates", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "MonitorType", + }, + }; + return MonitorSearchResult; +}()); +exports.MonitorSearchResult = MonitorSearchResult; +//# sourceMappingURL=MonitorSearchResult.js.map + +/***/ }), + +/***/ 17402: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSearchResultNotification = void 0; +/** + * A notification triggered by the monitor. + */ +var MonitorSearchResultNotification = /** @class */ (function () { + function MonitorSearchResultNotification() { + } + /** + * @ignore + */ + MonitorSearchResultNotification.getAttributeTypeMap = function () { + return MonitorSearchResultNotification.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSearchResultNotification.attributeTypeMap = { + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return MonitorSearchResultNotification; +}()); +exports.MonitorSearchResultNotification = MonitorSearchResultNotification; +//# sourceMappingURL=MonitorSearchResultNotification.js.map + +/***/ }), + +/***/ 27789: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorState = void 0; +/** + * Wrapper object with the different monitor states. + */ +var MonitorState = /** @class */ (function () { + function MonitorState() { + } + /** + * @ignore + */ + MonitorState.getAttributeTypeMap = function () { + return MonitorState.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorState.attributeTypeMap = { + groups: { + baseName: "groups", + type: "{ [key: string]: MonitorStateGroup; }", + }, + }; + return MonitorState; +}()); +exports.MonitorState = MonitorState; +//# sourceMappingURL=MonitorState.js.map + +/***/ }), + +/***/ 68737: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorStateGroup = void 0; +/** + * Monitor state for a single group. + */ +var MonitorStateGroup = /** @class */ (function () { + function MonitorStateGroup() { + } + /** + * @ignore + */ + MonitorStateGroup.getAttributeTypeMap = function () { + return MonitorStateGroup.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorStateGroup.attributeTypeMap = { + lastNodataTs: { + baseName: "last_nodata_ts", + type: "number", + format: "int64", + }, + lastNotifiedTs: { + baseName: "last_notified_ts", + type: "number", + format: "int64", + }, + lastResolvedTs: { + baseName: "last_resolved_ts", + type: "number", + format: "int64", + }, + lastTriggeredTs: { + baseName: "last_triggered_ts", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + status: { + baseName: "status", + type: "MonitorOverallStates", + }, + }; + return MonitorStateGroup; +}()); +exports.MonitorStateGroup = MonitorStateGroup; +//# sourceMappingURL=MonitorStateGroup.js.map + +/***/ }), + +/***/ 22788: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorSummaryWidgetDefinition = void 0; +/** + * The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards. + */ +var MonitorSummaryWidgetDefinition = /** @class */ (function () { + function MonitorSummaryWidgetDefinition() { + } + /** + * @ignore + */ + MonitorSummaryWidgetDefinition.getAttributeTypeMap = function () { + return MonitorSummaryWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorSummaryWidgetDefinition.attributeTypeMap = { + colorPreference: { + baseName: "color_preference", + type: "WidgetColorPreference", + }, + count: { + baseName: "count", + type: "number", + format: "int64", + }, + displayFormat: { + baseName: "display_format", + type: "WidgetMonitorSummaryDisplayFormat", + }, + hideZeroCounts: { + baseName: "hide_zero_counts", + type: "boolean", + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + showLastTriggered: { + baseName: "show_last_triggered", + type: "boolean", + }, + sort: { + baseName: "sort", + type: "WidgetMonitorSummarySort", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + summaryType: { + baseName: "summary_type", + type: "WidgetSummaryType", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "MonitorSummaryWidgetDefinitionType", + required: true, + }, + }; + return MonitorSummaryWidgetDefinition; +}()); +exports.MonitorSummaryWidgetDefinition = MonitorSummaryWidgetDefinition; +//# sourceMappingURL=MonitorSummaryWidgetDefinition.js.map + +/***/ }), + +/***/ 12780: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorThresholdWindowOptions = void 0; +/** + * Alerting time window options. + */ +var MonitorThresholdWindowOptions = /** @class */ (function () { + function MonitorThresholdWindowOptions() { + } + /** + * @ignore + */ + MonitorThresholdWindowOptions.getAttributeTypeMap = function () { + return MonitorThresholdWindowOptions.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorThresholdWindowOptions.attributeTypeMap = { + recoveryWindow: { + baseName: "recovery_window", + type: "string", + }, + triggerWindow: { + baseName: "trigger_window", + type: "string", + }, + }; + return MonitorThresholdWindowOptions; +}()); +exports.MonitorThresholdWindowOptions = MonitorThresholdWindowOptions; +//# sourceMappingURL=MonitorThresholdWindowOptions.js.map + +/***/ }), + +/***/ 28522: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorThresholds = void 0; +/** + * List of the different monitor threshold available. + */ +var MonitorThresholds = /** @class */ (function () { + function MonitorThresholds() { + } + /** + * @ignore + */ + MonitorThresholds.getAttributeTypeMap = function () { + return MonitorThresholds.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorThresholds.attributeTypeMap = { + critical: { + baseName: "critical", + type: "number", + format: "double", + }, + criticalRecovery: { + baseName: "critical_recovery", + type: "number", + format: "double", + }, + ok: { + baseName: "ok", + type: "number", + format: "double", + }, + unknown: { + baseName: "unknown", + type: "number", + format: "double", + }, + warning: { + baseName: "warning", + type: "number", + format: "double", + }, + warningRecovery: { + baseName: "warning_recovery", + type: "number", + format: "double", + }, + }; + return MonitorThresholds; +}()); +exports.MonitorThresholds = MonitorThresholds; +//# sourceMappingURL=MonitorThresholds.js.map + +/***/ }), + +/***/ 77039: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonitorUpdateRequest = void 0; +/** + * Object describing a monitor update request. + */ +var MonitorUpdateRequest = /** @class */ (function () { + function MonitorUpdateRequest() { + } + /** + * @ignore + */ + MonitorUpdateRequest.getAttributeTypeMap = function () { + return MonitorUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + MonitorUpdateRequest.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + deleted: { + baseName: "deleted", + type: "Date", + format: "date-time", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + multi: { + baseName: "multi", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + options: { + baseName: "options", + type: "MonitorOptions", + }, + overallState: { + baseName: "overall_state", + type: "MonitorOverallStates", + }, + priority: { + baseName: "priority", + type: "number", + format: "int64", + }, + query: { + baseName: "query", + type: "string", + }, + restrictedRoles: { + baseName: "restricted_roles", + type: "Array", + }, + state: { + baseName: "state", + type: "MonitorState", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "MonitorType", + }, + }; + return MonitorUpdateRequest; +}()); +exports.MonitorUpdateRequest = MonitorUpdateRequest; +//# sourceMappingURL=MonitorUpdateRequest.js.map + +/***/ }), + +/***/ 22537: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonthlyUsageAttributionBody = void 0; +/** + * Usage Summary by tag for a given organization. + */ +var MonthlyUsageAttributionBody = /** @class */ (function () { + function MonthlyUsageAttributionBody() { + } + /** + * @ignore + */ + MonthlyUsageAttributionBody.getAttributeTypeMap = function () { + return MonthlyUsageAttributionBody.attributeTypeMap; + }; + /** + * @ignore + */ + MonthlyUsageAttributionBody.attributeTypeMap = { + month: { + baseName: "month", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + tagConfigSource: { + baseName: "tag_config_source", + type: "string", + }, + tags: { + baseName: "tags", + type: "{ [key: string]: Array; }", + }, + updatedAt: { + baseName: "updated_at", + type: "Date", + format: "date-time", + }, + values: { + baseName: "values", + type: "MonthlyUsageAttributionValues", + }, + }; + return MonthlyUsageAttributionBody; +}()); +exports.MonthlyUsageAttributionBody = MonthlyUsageAttributionBody; +//# sourceMappingURL=MonthlyUsageAttributionBody.js.map + +/***/ }), + +/***/ 25116: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonthlyUsageAttributionMetadata = void 0; +/** + * The object containing document metadata. + */ +var MonthlyUsageAttributionMetadata = /** @class */ (function () { + function MonthlyUsageAttributionMetadata() { + } + /** + * @ignore + */ + MonthlyUsageAttributionMetadata.getAttributeTypeMap = function () { + return MonthlyUsageAttributionMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + MonthlyUsageAttributionMetadata.attributeTypeMap = { + aggregates: { + baseName: "aggregates", + type: "Array", + }, + pagination: { + baseName: "pagination", + type: "MonthlyUsageAttributionPagination", + }, + }; + return MonthlyUsageAttributionMetadata; +}()); +exports.MonthlyUsageAttributionMetadata = MonthlyUsageAttributionMetadata; +//# sourceMappingURL=MonthlyUsageAttributionMetadata.js.map + +/***/ }), + +/***/ 73712: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonthlyUsageAttributionPagination = void 0; +/** + * The metadata for the current pagination. + */ +var MonthlyUsageAttributionPagination = /** @class */ (function () { + function MonthlyUsageAttributionPagination() { + } + /** + * @ignore + */ + MonthlyUsageAttributionPagination.getAttributeTypeMap = function () { + return MonthlyUsageAttributionPagination.attributeTypeMap; + }; + /** + * @ignore + */ + MonthlyUsageAttributionPagination.attributeTypeMap = { + nextRecordId: { + baseName: "next_record_id", + type: "string", + }, + }; + return MonthlyUsageAttributionPagination; +}()); +exports.MonthlyUsageAttributionPagination = MonthlyUsageAttributionPagination; +//# sourceMappingURL=MonthlyUsageAttributionPagination.js.map + +/***/ }), + +/***/ 95112: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonthlyUsageAttributionResponse = void 0; +/** + * Response containing the monthly Usage Summary by tag(s). + */ +var MonthlyUsageAttributionResponse = /** @class */ (function () { + function MonthlyUsageAttributionResponse() { + } + /** + * @ignore + */ + MonthlyUsageAttributionResponse.getAttributeTypeMap = function () { + return MonthlyUsageAttributionResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MonthlyUsageAttributionResponse.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "MonthlyUsageAttributionMetadata", + }, + usage: { + baseName: "usage", + type: "Array", + }, + }; + return MonthlyUsageAttributionResponse; +}()); +exports.MonthlyUsageAttributionResponse = MonthlyUsageAttributionResponse; +//# sourceMappingURL=MonthlyUsageAttributionResponse.js.map + +/***/ }), + +/***/ 80336: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MonthlyUsageAttributionValues = void 0; +/** + * Fields in Usage Summary by tag(s). + */ +var MonthlyUsageAttributionValues = /** @class */ (function () { + function MonthlyUsageAttributionValues() { + } + /** + * @ignore + */ + MonthlyUsageAttributionValues.getAttributeTypeMap = function () { + return MonthlyUsageAttributionValues.attributeTypeMap; + }; + /** + * @ignore + */ + MonthlyUsageAttributionValues.attributeTypeMap = { + apiPercentage: { + baseName: "api_percentage", + type: "number", + format: "double", + }, + apiUsage: { + baseName: "api_usage", + type: "number", + format: "double", + }, + apmHostPercentage: { + baseName: "apm_host_percentage", + type: "number", + format: "double", + }, + apmHostUsage: { + baseName: "apm_host_usage", + type: "number", + format: "double", + }, + browserPercentage: { + baseName: "browser_percentage", + type: "number", + format: "double", + }, + browserUsage: { + baseName: "browser_usage", + type: "number", + format: "double", + }, + containerPercentage: { + baseName: "container_percentage", + type: "number", + format: "double", + }, + containerUsage: { + baseName: "container_usage", + type: "number", + format: "double", + }, + customTimeseriesPercentage: { + baseName: "custom_timeseries_percentage", + type: "number", + format: "double", + }, + customTimeseriesUsage: { + baseName: "custom_timeseries_usage", + type: "number", + format: "double", + }, + estimatedIndexedLogsPercentage: { + baseName: "estimated_indexed_logs_percentage", + type: "number", + format: "double", + }, + estimatedIndexedLogsUsage: { + baseName: "estimated_indexed_logs_usage", + type: "number", + format: "double", + }, + fargatePercentage: { + baseName: "fargate_percentage", + type: "number", + format: "double", + }, + fargateUsage: { + baseName: "fargate_usage", + type: "number", + format: "double", + }, + functionsPercentage: { + baseName: "functions_percentage", + type: "number", + format: "double", + }, + functionsUsage: { + baseName: "functions_usage", + type: "number", + format: "double", + }, + indexedLogsPercentage: { + baseName: "indexed_logs_percentage", + type: "number", + format: "double", + }, + indexedLogsUsage: { + baseName: "indexed_logs_usage", + type: "number", + format: "double", + }, + infraHostPercentage: { + baseName: "infra_host_percentage", + type: "number", + format: "double", + }, + infraHostUsage: { + baseName: "infra_host_usage", + type: "number", + format: "double", + }, + invocationsPercentage: { + baseName: "invocations_percentage", + type: "number", + format: "double", + }, + invocationsUsage: { + baseName: "invocations_usage", + type: "number", + format: "double", + }, + npmHostPercentage: { + baseName: "npm_host_percentage", + type: "number", + format: "double", + }, + npmHostUsage: { + baseName: "npm_host_usage", + type: "number", + format: "double", + }, + profiledContainerPercentage: { + baseName: "profiled_container_percentage", + type: "number", + format: "double", + }, + profiledContainerUsage: { + baseName: "profiled_container_usage", + type: "number", + format: "double", + }, + profiledHostPercentage: { + baseName: "profiled_host_percentage", + type: "number", + format: "double", + }, + profiledHostUsage: { + baseName: "profiled_host_usage", + type: "number", + format: "double", + }, + snmpPercentage: { + baseName: "snmp_percentage", + type: "number", + format: "double", + }, + snmpUsage: { + baseName: "snmp_usage", + type: "number", + format: "double", + }, + }; + return MonthlyUsageAttributionValues; +}()); +exports.MonthlyUsageAttributionValues = MonthlyUsageAttributionValues; +//# sourceMappingURL=MonthlyUsageAttributionValues.js.map + +/***/ }), + +/***/ 35355: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NoteWidgetDefinition = void 0; +/** + * The notes and links widget is similar to free text widget, but allows for more formatting options. + */ +var NoteWidgetDefinition = /** @class */ (function () { + function NoteWidgetDefinition() { + } + /** + * @ignore + */ + NoteWidgetDefinition.getAttributeTypeMap = function () { + return NoteWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + NoteWidgetDefinition.attributeTypeMap = { + backgroundColor: { + baseName: "background_color", + type: "string", + }, + content: { + baseName: "content", + type: "string", + required: true, + }, + fontSize: { + baseName: "font_size", + type: "string", + }, + hasPadding: { + baseName: "has_padding", + type: "boolean", + }, + showTick: { + baseName: "show_tick", + type: "boolean", + }, + textAlign: { + baseName: "text_align", + type: "WidgetTextAlign", + }, + tickEdge: { + baseName: "tick_edge", + type: "WidgetTickEdge", + }, + tickPos: { + baseName: "tick_pos", + type: "string", + }, + type: { + baseName: "type", + type: "NoteWidgetDefinitionType", + required: true, + }, + verticalAlign: { + baseName: "vertical_align", + type: "WidgetVerticalAlign", + }, + }; + return NoteWidgetDefinition; +}()); +exports.NoteWidgetDefinition = NoteWidgetDefinition; +//# sourceMappingURL=NoteWidgetDefinition.js.map + +/***/ }), + +/***/ 65962: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookAbsoluteTime = void 0; +/** + * Absolute timeframe. + */ +var NotebookAbsoluteTime = /** @class */ (function () { + function NotebookAbsoluteTime() { + } + /** + * @ignore + */ + NotebookAbsoluteTime.getAttributeTypeMap = function () { + return NotebookAbsoluteTime.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookAbsoluteTime.attributeTypeMap = { + end: { + baseName: "end", + type: "Date", + required: true, + format: "date-time", + }, + live: { + baseName: "live", + type: "boolean", + }, + start: { + baseName: "start", + type: "Date", + required: true, + format: "date-time", + }, + }; + return NotebookAbsoluteTime; +}()); +exports.NotebookAbsoluteTime = NotebookAbsoluteTime; +//# sourceMappingURL=NotebookAbsoluteTime.js.map + +/***/ }), + +/***/ 90658: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookAuthor = void 0; +/** + * Attributes of user object returned by the API. + */ +var NotebookAuthor = /** @class */ (function () { + function NotebookAuthor() { + } + /** + * @ignore + */ + NotebookAuthor.getAttributeTypeMap = function () { + return NotebookAuthor.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookAuthor.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + icon: { + baseName: "icon", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + status: { + baseName: "status", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + verified: { + baseName: "verified", + type: "boolean", + }, + }; + return NotebookAuthor; +}()); +exports.NotebookAuthor = NotebookAuthor; +//# sourceMappingURL=NotebookAuthor.js.map + +/***/ }), + +/***/ 62235: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCellCreateRequest = void 0; +/** + * The description of a notebook cell create request. + */ +var NotebookCellCreateRequest = /** @class */ (function () { + function NotebookCellCreateRequest() { + } + /** + * @ignore + */ + NotebookCellCreateRequest.getAttributeTypeMap = function () { + return NotebookCellCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCellCreateRequest.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookCellCreateRequestAttributes", + required: true, + }, + type: { + baseName: "type", + type: "NotebookCellResourceType", + required: true, + }, + }; + return NotebookCellCreateRequest; +}()); +exports.NotebookCellCreateRequest = NotebookCellCreateRequest; +//# sourceMappingURL=NotebookCellCreateRequest.js.map + +/***/ }), + +/***/ 84386: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCellResponse = void 0; +/** + * The description of a notebook cell response. + */ +var NotebookCellResponse = /** @class */ (function () { + function NotebookCellResponse() { + } + /** + * @ignore + */ + NotebookCellResponse.getAttributeTypeMap = function () { + return NotebookCellResponse.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCellResponse.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookCellResponseAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "NotebookCellResourceType", + required: true, + }, + }; + return NotebookCellResponse; +}()); +exports.NotebookCellResponse = NotebookCellResponse; +//# sourceMappingURL=NotebookCellResponse.js.map + +/***/ }), + +/***/ 99902: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCellUpdateRequest = void 0; +/** + * The description of a notebook cell update request. + */ +var NotebookCellUpdateRequest = /** @class */ (function () { + function NotebookCellUpdateRequest() { + } + /** + * @ignore + */ + NotebookCellUpdateRequest.getAttributeTypeMap = function () { + return NotebookCellUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCellUpdateRequest.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookCellUpdateRequestAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "NotebookCellResourceType", + required: true, + }, + }; + return NotebookCellUpdateRequest; +}()); +exports.NotebookCellUpdateRequest = NotebookCellUpdateRequest; +//# sourceMappingURL=NotebookCellUpdateRequest.js.map + +/***/ }), + +/***/ 42541: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCreateData = void 0; +/** + * The data for a notebook create request. + */ +var NotebookCreateData = /** @class */ (function () { + function NotebookCreateData() { + } + /** + * @ignore + */ + NotebookCreateData.getAttributeTypeMap = function () { + return NotebookCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookCreateDataAttributes", + required: true, + }, + type: { + baseName: "type", + type: "NotebookResourceType", + required: true, + }, + }; + return NotebookCreateData; +}()); +exports.NotebookCreateData = NotebookCreateData; +//# sourceMappingURL=NotebookCreateData.js.map + +/***/ }), + +/***/ 52931: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCreateDataAttributes = void 0; +/** + * The data attributes of a notebook. + */ +var NotebookCreateDataAttributes = /** @class */ (function () { + function NotebookCreateDataAttributes() { + } + /** + * @ignore + */ + NotebookCreateDataAttributes.getAttributeTypeMap = function () { + return NotebookCreateDataAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCreateDataAttributes.attributeTypeMap = { + cells: { + baseName: "cells", + type: "Array", + required: true, + }, + metadata: { + baseName: "metadata", + type: "NotebookMetadata", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + status: { + baseName: "status", + type: "NotebookStatus", + }, + time: { + baseName: "time", + type: "NotebookGlobalTime", + required: true, + }, + }; + return NotebookCreateDataAttributes; +}()); +exports.NotebookCreateDataAttributes = NotebookCreateDataAttributes; +//# sourceMappingURL=NotebookCreateDataAttributes.js.map + +/***/ }), + +/***/ 82520: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookCreateRequest = void 0; +/** + * The description of a notebook create request. + */ +var NotebookCreateRequest = /** @class */ (function () { + function NotebookCreateRequest() { + } + /** + * @ignore + */ + NotebookCreateRequest.getAttributeTypeMap = function () { + return NotebookCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "NotebookCreateData", + required: true, + }, + }; + return NotebookCreateRequest; +}()); +exports.NotebookCreateRequest = NotebookCreateRequest; +//# sourceMappingURL=NotebookCreateRequest.js.map + +/***/ }), + +/***/ 87594: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookDistributionCellAttributes = void 0; +/** + * The attributes of a notebook `distribution` cell. + */ +var NotebookDistributionCellAttributes = /** @class */ (function () { + function NotebookDistributionCellAttributes() { + } + /** + * @ignore + */ + NotebookDistributionCellAttributes.getAttributeTypeMap = function () { + return NotebookDistributionCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookDistributionCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "DistributionWidgetDefinition", + required: true, + }, + graphSize: { + baseName: "graph_size", + type: "NotebookGraphSize", + }, + splitBy: { + baseName: "split_by", + type: "NotebookSplitBy", + }, + time: { + baseName: "time", + type: "NotebookCellTime", + }, + }; + return NotebookDistributionCellAttributes; +}()); +exports.NotebookDistributionCellAttributes = NotebookDistributionCellAttributes; +//# sourceMappingURL=NotebookDistributionCellAttributes.js.map + +/***/ }), + +/***/ 81974: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookHeatMapCellAttributes = void 0; +/** + * The attributes of a notebook `heatmap` cell. + */ +var NotebookHeatMapCellAttributes = /** @class */ (function () { + function NotebookHeatMapCellAttributes() { + } + /** + * @ignore + */ + NotebookHeatMapCellAttributes.getAttributeTypeMap = function () { + return NotebookHeatMapCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookHeatMapCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "HeatMapWidgetDefinition", + required: true, + }, + graphSize: { + baseName: "graph_size", + type: "NotebookGraphSize", + }, + splitBy: { + baseName: "split_by", + type: "NotebookSplitBy", + }, + time: { + baseName: "time", + type: "NotebookCellTime", + }, + }; + return NotebookHeatMapCellAttributes; +}()); +exports.NotebookHeatMapCellAttributes = NotebookHeatMapCellAttributes; +//# sourceMappingURL=NotebookHeatMapCellAttributes.js.map + +/***/ }), + +/***/ 60761: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookLogStreamCellAttributes = void 0; +/** + * The attributes of a notebook `log_stream` cell. + */ +var NotebookLogStreamCellAttributes = /** @class */ (function () { + function NotebookLogStreamCellAttributes() { + } + /** + * @ignore + */ + NotebookLogStreamCellAttributes.getAttributeTypeMap = function () { + return NotebookLogStreamCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookLogStreamCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "LogStreamWidgetDefinition", + required: true, + }, + graphSize: { + baseName: "graph_size", + type: "NotebookGraphSize", + }, + time: { + baseName: "time", + type: "NotebookCellTime", + }, + }; + return NotebookLogStreamCellAttributes; +}()); +exports.NotebookLogStreamCellAttributes = NotebookLogStreamCellAttributes; +//# sourceMappingURL=NotebookLogStreamCellAttributes.js.map + +/***/ }), + +/***/ 3567: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookMarkdownCellAttributes = void 0; +/** + * The attributes of a notebook `markdown` cell. + */ +var NotebookMarkdownCellAttributes = /** @class */ (function () { + function NotebookMarkdownCellAttributes() { + } + /** + * @ignore + */ + NotebookMarkdownCellAttributes.getAttributeTypeMap = function () { + return NotebookMarkdownCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookMarkdownCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "NotebookMarkdownCellDefinition", + required: true, + }, + }; + return NotebookMarkdownCellAttributes; +}()); +exports.NotebookMarkdownCellAttributes = NotebookMarkdownCellAttributes; +//# sourceMappingURL=NotebookMarkdownCellAttributes.js.map + +/***/ }), + +/***/ 12035: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookMarkdownCellDefinition = void 0; +/** + * Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks. + */ +var NotebookMarkdownCellDefinition = /** @class */ (function () { + function NotebookMarkdownCellDefinition() { + } + /** + * @ignore + */ + NotebookMarkdownCellDefinition.getAttributeTypeMap = function () { + return NotebookMarkdownCellDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookMarkdownCellDefinition.attributeTypeMap = { + text: { + baseName: "text", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "NotebookMarkdownCellDefinitionType", + required: true, + }, + }; + return NotebookMarkdownCellDefinition; +}()); +exports.NotebookMarkdownCellDefinition = NotebookMarkdownCellDefinition; +//# sourceMappingURL=NotebookMarkdownCellDefinition.js.map + +/***/ }), + +/***/ 34078: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookMetadata = void 0; +/** + * Metadata associated with the notebook. + */ +var NotebookMetadata = /** @class */ (function () { + function NotebookMetadata() { + } + /** + * @ignore + */ + NotebookMetadata.getAttributeTypeMap = function () { + return NotebookMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookMetadata.attributeTypeMap = { + isTemplate: { + baseName: "is_template", + type: "boolean", + }, + takeSnapshots: { + baseName: "take_snapshots", + type: "boolean", + }, + type: { + baseName: "type", + type: "NotebookMetadataType", + }, + }; + return NotebookMetadata; +}()); +exports.NotebookMetadata = NotebookMetadata; +//# sourceMappingURL=NotebookMetadata.js.map + +/***/ }), + +/***/ 94586: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookRelativeTime = void 0; +/** + * Relative timeframe. + */ +var NotebookRelativeTime = /** @class */ (function () { + function NotebookRelativeTime() { + } + /** + * @ignore + */ + NotebookRelativeTime.getAttributeTypeMap = function () { + return NotebookRelativeTime.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookRelativeTime.attributeTypeMap = { + liveSpan: { + baseName: "live_span", + type: "WidgetLiveSpan", + required: true, + }, + }; + return NotebookRelativeTime; +}()); +exports.NotebookRelativeTime = NotebookRelativeTime; +//# sourceMappingURL=NotebookRelativeTime.js.map + +/***/ }), + +/***/ 43296: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookResponse = void 0; +/** + * The description of a notebook response. + */ +var NotebookResponse = /** @class */ (function () { + function NotebookResponse() { + } + /** + * @ignore + */ + NotebookResponse.getAttributeTypeMap = function () { + return NotebookResponse.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "NotebookResponseData", + }, + }; + return NotebookResponse; +}()); +exports.NotebookResponse = NotebookResponse; +//# sourceMappingURL=NotebookResponse.js.map + +/***/ }), + +/***/ 59227: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookResponseData = void 0; +/** + * The data for a notebook. + */ +var NotebookResponseData = /** @class */ (function () { + function NotebookResponseData() { + } + /** + * @ignore + */ + NotebookResponseData.getAttributeTypeMap = function () { + return NotebookResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookResponseDataAttributes", + required: true, + }, + id: { + baseName: "id", + type: "number", + required: true, + format: "int64", + }, + type: { + baseName: "type", + type: "NotebookResourceType", + required: true, + }, + }; + return NotebookResponseData; +}()); +exports.NotebookResponseData = NotebookResponseData; +//# sourceMappingURL=NotebookResponseData.js.map + +/***/ }), + +/***/ 59433: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookResponseDataAttributes = void 0; +/** + * The attributes of a notebook. + */ +var NotebookResponseDataAttributes = /** @class */ (function () { + function NotebookResponseDataAttributes() { + } + /** + * @ignore + */ + NotebookResponseDataAttributes.getAttributeTypeMap = function () { + return NotebookResponseDataAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookResponseDataAttributes.attributeTypeMap = { + author: { + baseName: "author", + type: "NotebookAuthor", + }, + cells: { + baseName: "cells", + type: "Array", + required: true, + }, + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + metadata: { + baseName: "metadata", + type: "NotebookMetadata", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + status: { + baseName: "status", + type: "NotebookStatus", + }, + time: { + baseName: "time", + type: "NotebookGlobalTime", + required: true, + }, + }; + return NotebookResponseDataAttributes; +}()); +exports.NotebookResponseDataAttributes = NotebookResponseDataAttributes; +//# sourceMappingURL=NotebookResponseDataAttributes.js.map + +/***/ }), + +/***/ 17911: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookSplitBy = void 0; +/** + * Object describing how to split the graph to display multiple visualizations per request. + */ +var NotebookSplitBy = /** @class */ (function () { + function NotebookSplitBy() { + } + /** + * @ignore + */ + NotebookSplitBy.getAttributeTypeMap = function () { + return NotebookSplitBy.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookSplitBy.attributeTypeMap = { + keys: { + baseName: "keys", + type: "Array", + required: true, + }, + tags: { + baseName: "tags", + type: "Array", + required: true, + }, + }; + return NotebookSplitBy; +}()); +exports.NotebookSplitBy = NotebookSplitBy; +//# sourceMappingURL=NotebookSplitBy.js.map + +/***/ }), + +/***/ 38581: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookTimeseriesCellAttributes = void 0; +/** + * The attributes of a notebook `timeseries` cell. + */ +var NotebookTimeseriesCellAttributes = /** @class */ (function () { + function NotebookTimeseriesCellAttributes() { + } + /** + * @ignore + */ + NotebookTimeseriesCellAttributes.getAttributeTypeMap = function () { + return NotebookTimeseriesCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookTimeseriesCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "TimeseriesWidgetDefinition", + required: true, + }, + graphSize: { + baseName: "graph_size", + type: "NotebookGraphSize", + }, + splitBy: { + baseName: "split_by", + type: "NotebookSplitBy", + }, + time: { + baseName: "time", + type: "NotebookCellTime", + }, + }; + return NotebookTimeseriesCellAttributes; +}()); +exports.NotebookTimeseriesCellAttributes = NotebookTimeseriesCellAttributes; +//# sourceMappingURL=NotebookTimeseriesCellAttributes.js.map + +/***/ }), + +/***/ 45652: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookToplistCellAttributes = void 0; +/** + * The attributes of a notebook `toplist` cell. + */ +var NotebookToplistCellAttributes = /** @class */ (function () { + function NotebookToplistCellAttributes() { + } + /** + * @ignore + */ + NotebookToplistCellAttributes.getAttributeTypeMap = function () { + return NotebookToplistCellAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookToplistCellAttributes.attributeTypeMap = { + definition: { + baseName: "definition", + type: "ToplistWidgetDefinition", + required: true, + }, + graphSize: { + baseName: "graph_size", + type: "NotebookGraphSize", + }, + splitBy: { + baseName: "split_by", + type: "NotebookSplitBy", + }, + time: { + baseName: "time", + type: "NotebookCellTime", + }, + }; + return NotebookToplistCellAttributes; +}()); +exports.NotebookToplistCellAttributes = NotebookToplistCellAttributes; +//# sourceMappingURL=NotebookToplistCellAttributes.js.map + +/***/ }), + +/***/ 31500: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookUpdateData = void 0; +/** + * The data for a notebook update request. + */ +var NotebookUpdateData = /** @class */ (function () { + function NotebookUpdateData() { + } + /** + * @ignore + */ + NotebookUpdateData.getAttributeTypeMap = function () { + return NotebookUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebookUpdateDataAttributes", + required: true, + }, + type: { + baseName: "type", + type: "NotebookResourceType", + required: true, + }, + }; + return NotebookUpdateData; +}()); +exports.NotebookUpdateData = NotebookUpdateData; +//# sourceMappingURL=NotebookUpdateData.js.map + +/***/ }), + +/***/ 39612: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookUpdateDataAttributes = void 0; +/** + * The data attributes of a notebook. + */ +var NotebookUpdateDataAttributes = /** @class */ (function () { + function NotebookUpdateDataAttributes() { + } + /** + * @ignore + */ + NotebookUpdateDataAttributes.getAttributeTypeMap = function () { + return NotebookUpdateDataAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookUpdateDataAttributes.attributeTypeMap = { + cells: { + baseName: "cells", + type: "Array", + required: true, + }, + metadata: { + baseName: "metadata", + type: "NotebookMetadata", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + status: { + baseName: "status", + type: "NotebookStatus", + }, + time: { + baseName: "time", + type: "NotebookGlobalTime", + required: true, + }, + }; + return NotebookUpdateDataAttributes; +}()); +exports.NotebookUpdateDataAttributes = NotebookUpdateDataAttributes; +//# sourceMappingURL=NotebookUpdateDataAttributes.js.map + +/***/ }), + +/***/ 57229: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebookUpdateRequest = void 0; +/** + * The description of a notebook update request. + */ +var NotebookUpdateRequest = /** @class */ (function () { + function NotebookUpdateRequest() { + } + /** + * @ignore + */ + NotebookUpdateRequest.getAttributeTypeMap = function () { + return NotebookUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + NotebookUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "NotebookUpdateData", + required: true, + }, + }; + return NotebookUpdateRequest; +}()); +exports.NotebookUpdateRequest = NotebookUpdateRequest; +//# sourceMappingURL=NotebookUpdateRequest.js.map + +/***/ }), + +/***/ 34680: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksResponse = void 0; +/** + * Notebooks get all response. + */ +var NotebooksResponse = /** @class */ (function () { + function NotebooksResponse() { + } + /** + * @ignore + */ + NotebooksResponse.getAttributeTypeMap = function () { + return NotebooksResponse.attributeTypeMap; + }; + /** + * @ignore + */ + NotebooksResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "NotebooksResponseMeta", + }, + }; + return NotebooksResponse; +}()); +exports.NotebooksResponse = NotebooksResponse; +//# sourceMappingURL=NotebooksResponse.js.map + +/***/ }), + +/***/ 92333: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksResponseData = void 0; +/** + * The data for a notebook in get all response. + */ +var NotebooksResponseData = /** @class */ (function () { + function NotebooksResponseData() { + } + /** + * @ignore + */ + NotebooksResponseData.getAttributeTypeMap = function () { + return NotebooksResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + NotebooksResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "NotebooksResponseDataAttributes", + required: true, + }, + id: { + baseName: "id", + type: "number", + required: true, + format: "int64", + }, + type: { + baseName: "type", + type: "NotebookResourceType", + required: true, + }, + }; + return NotebooksResponseData; +}()); +exports.NotebooksResponseData = NotebooksResponseData; +//# sourceMappingURL=NotebooksResponseData.js.map + +/***/ }), + +/***/ 67182: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksResponseDataAttributes = void 0; +/** + * The attributes of a notebook in get all response. + */ +var NotebooksResponseDataAttributes = /** @class */ (function () { + function NotebooksResponseDataAttributes() { + } + /** + * @ignore + */ + NotebooksResponseDataAttributes.getAttributeTypeMap = function () { + return NotebooksResponseDataAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + NotebooksResponseDataAttributes.attributeTypeMap = { + author: { + baseName: "author", + type: "NotebookAuthor", + }, + cells: { + baseName: "cells", + type: "Array", + }, + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + metadata: { + baseName: "metadata", + type: "NotebookMetadata", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + status: { + baseName: "status", + type: "NotebookStatus", + }, + time: { + baseName: "time", + type: "NotebookGlobalTime", + }, + }; + return NotebooksResponseDataAttributes; +}()); +exports.NotebooksResponseDataAttributes = NotebooksResponseDataAttributes; +//# sourceMappingURL=NotebooksResponseDataAttributes.js.map + +/***/ }), + +/***/ 91514: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksResponseMeta = void 0; +/** + * Searches metadata returned by the API. + */ +var NotebooksResponseMeta = /** @class */ (function () { + function NotebooksResponseMeta() { + } + /** + * @ignore + */ + NotebooksResponseMeta.getAttributeTypeMap = function () { + return NotebooksResponseMeta.attributeTypeMap; + }; + /** + * @ignore + */ + NotebooksResponseMeta.attributeTypeMap = { + page: { + baseName: "page", + type: "NotebooksResponsePage", + }, + }; + return NotebooksResponseMeta; +}()); +exports.NotebooksResponseMeta = NotebooksResponseMeta; +//# sourceMappingURL=NotebooksResponseMeta.js.map + +/***/ }), + +/***/ 29365: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NotebooksResponsePage = void 0; +/** + * Pagination metadata returned by the API. + */ +var NotebooksResponsePage = /** @class */ (function () { + function NotebooksResponsePage() { + } + /** + * @ignore + */ + NotebooksResponsePage.getAttributeTypeMap = function () { + return NotebooksResponsePage.attributeTypeMap; + }; + /** + * @ignore + */ + NotebooksResponsePage.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + totalFilteredCount: { + baseName: "total_filtered_count", + type: "number", + format: "int64", + }, + }; + return NotebooksResponsePage; +}()); +exports.NotebooksResponsePage = NotebooksResponsePage; +//# sourceMappingURL=NotebooksResponsePage.js.map + +/***/ }), + +/***/ 52674: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UnparsedObject = exports.ObjectSerializer = void 0; +var APIErrorResponse_1 = __nccwpck_require__(94187); +var AWSAccount_1 = __nccwpck_require__(75107); +var AWSAccountAndLambdaRequest_1 = __nccwpck_require__(79616); +var AWSAccountCreateResponse_1 = __nccwpck_require__(205); +var AWSAccountDeleteRequest_1 = __nccwpck_require__(11338); +var AWSAccountListResponse_1 = __nccwpck_require__(51224); +var AWSLogsAsyncError_1 = __nccwpck_require__(62953); +var AWSLogsAsyncResponse_1 = __nccwpck_require__(87558); +var AWSLogsLambda_1 = __nccwpck_require__(99754); +var AWSLogsListResponse_1 = __nccwpck_require__(9120); +var AWSLogsListServicesResponse_1 = __nccwpck_require__(77474); +var AWSLogsServicesRequest_1 = __nccwpck_require__(57943); +var AWSTagFilter_1 = __nccwpck_require__(26166); +var AWSTagFilterCreateRequest_1 = __nccwpck_require__(8647); +var AWSTagFilterDeleteRequest_1 = __nccwpck_require__(81212); +var AWSTagFilterListResponse_1 = __nccwpck_require__(28788); +var AlertGraphWidgetDefinition_1 = __nccwpck_require__(30928); +var AlertValueWidgetDefinition_1 = __nccwpck_require__(35622); +var ApiKey_1 = __nccwpck_require__(4583); +var ApiKeyListResponse_1 = __nccwpck_require__(7164); +var ApiKeyResponse_1 = __nccwpck_require__(82196); +var ApmStatsQueryColumnType_1 = __nccwpck_require__(17056); +var ApmStatsQueryDefinition_1 = __nccwpck_require__(61753); +var ApplicationKey_1 = __nccwpck_require__(12260); +var ApplicationKeyListResponse_1 = __nccwpck_require__(524); +var ApplicationKeyResponse_1 = __nccwpck_require__(53730); +var AuthenticationValidationResponse_1 = __nccwpck_require__(11965); +var AzureAccount_1 = __nccwpck_require__(99096); +var CancelDowntimesByScopeRequest_1 = __nccwpck_require__(30337); +var CanceledDowntimesIds_1 = __nccwpck_require__(49157); +var ChangeWidgetDefinition_1 = __nccwpck_require__(59016); +var ChangeWidgetRequest_1 = __nccwpck_require__(71103); +var CheckCanDeleteMonitorResponse_1 = __nccwpck_require__(55696); +var CheckCanDeleteMonitorResponseData_1 = __nccwpck_require__(8779); +var CheckCanDeleteSLOResponse_1 = __nccwpck_require__(37497); +var CheckCanDeleteSLOResponseData_1 = __nccwpck_require__(45281); +var CheckStatusWidgetDefinition_1 = __nccwpck_require__(92980); +var Creator_1 = __nccwpck_require__(84519); +var Dashboard_1 = __nccwpck_require__(63114); +var DashboardBulkActionData_1 = __nccwpck_require__(66634); +var DashboardBulkDeleteRequest_1 = __nccwpck_require__(14689); +var DashboardDeleteResponse_1 = __nccwpck_require__(22899); +var DashboardList_1 = __nccwpck_require__(37165); +var DashboardListDeleteResponse_1 = __nccwpck_require__(40167); +var DashboardListListResponse_1 = __nccwpck_require__(18934); +var DashboardRestoreRequest_1 = __nccwpck_require__(15827); +var DashboardSummary_1 = __nccwpck_require__(71472); +var DashboardSummaryDefinition_1 = __nccwpck_require__(45087); +var DashboardTemplateVariable_1 = __nccwpck_require__(99326); +var DashboardTemplateVariablePreset_1 = __nccwpck_require__(37874); +var DashboardTemplateVariablePresetValue_1 = __nccwpck_require__(7037); +var DeletedMonitor_1 = __nccwpck_require__(4711); +var DistributionWidgetDefinition_1 = __nccwpck_require__(88954); +var DistributionWidgetRequest_1 = __nccwpck_require__(54139); +var DistributionWidgetXAxis_1 = __nccwpck_require__(59792); +var DistributionWidgetYAxis_1 = __nccwpck_require__(53869); +var Downtime_1 = __nccwpck_require__(66345); +var DowntimeChild_1 = __nccwpck_require__(36940); +var DowntimeRecurrence_1 = __nccwpck_require__(10878); +var Event_1 = __nccwpck_require__(68426); +var EventCreateRequest_1 = __nccwpck_require__(98964); +var EventCreateResponse_1 = __nccwpck_require__(15571); +var EventListResponse_1 = __nccwpck_require__(64758); +var EventQueryDefinition_1 = __nccwpck_require__(86630); +var EventResponse_1 = __nccwpck_require__(57097); +var EventStreamWidgetDefinition_1 = __nccwpck_require__(41446); +var EventTimelineWidgetDefinition_1 = __nccwpck_require__(5387); +var FormulaAndFunctionApmDependencyStatsQueryDefinition_1 = __nccwpck_require__(86280); +var FormulaAndFunctionApmResourceStatsQueryDefinition_1 = __nccwpck_require__(38483); +var FormulaAndFunctionEventQueryDefinition_1 = __nccwpck_require__(922); +var FormulaAndFunctionEventQueryDefinitionCompute_1 = __nccwpck_require__(23526); +var FormulaAndFunctionEventQueryDefinitionSearch_1 = __nccwpck_require__(35781); +var FormulaAndFunctionEventQueryGroupBy_1 = __nccwpck_require__(40218); +var FormulaAndFunctionEventQueryGroupBySort_1 = __nccwpck_require__(66766); +var FormulaAndFunctionMetricQueryDefinition_1 = __nccwpck_require__(61311); +var FormulaAndFunctionProcessQueryDefinition_1 = __nccwpck_require__(57572); +var FreeTextWidgetDefinition_1 = __nccwpck_require__(3026); +var FunnelQuery_1 = __nccwpck_require__(87832); +var FunnelStep_1 = __nccwpck_require__(15073); +var FunnelWidgetDefinition_1 = __nccwpck_require__(20000); +var FunnelWidgetRequest_1 = __nccwpck_require__(75402); +var GCPAccount_1 = __nccwpck_require__(78369); +var GeomapWidgetDefinition_1 = __nccwpck_require__(919); +var GeomapWidgetDefinitionStyle_1 = __nccwpck_require__(42280); +var GeomapWidgetDefinitionView_1 = __nccwpck_require__(92237); +var GeomapWidgetRequest_1 = __nccwpck_require__(47862); +var GraphSnapshot_1 = __nccwpck_require__(13325); +var GroupWidgetDefinition_1 = __nccwpck_require__(82330); +var HTTPLogError_1 = __nccwpck_require__(81263); +var HTTPLogItem_1 = __nccwpck_require__(19674); +var HeatMapWidgetDefinition_1 = __nccwpck_require__(84622); +var HeatMapWidgetRequest_1 = __nccwpck_require__(82293); +var Host_1 = __nccwpck_require__(49556); +var HostListResponse_1 = __nccwpck_require__(16915); +var HostMapRequest_1 = __nccwpck_require__(25910); +var HostMapWidgetDefinition_1 = __nccwpck_require__(59477); +var HostMapWidgetDefinitionRequests_1 = __nccwpck_require__(80831); +var HostMapWidgetDefinitionStyle_1 = __nccwpck_require__(42370); +var HostMeta_1 = __nccwpck_require__(48137); +var HostMetaInstallMethod_1 = __nccwpck_require__(33508); +var HostMetrics_1 = __nccwpck_require__(70176); +var HostMuteResponse_1 = __nccwpck_require__(43814); +var HostMuteSettings_1 = __nccwpck_require__(52003); +var HostTags_1 = __nccwpck_require__(14891); +var HostTotals_1 = __nccwpck_require__(78002); +var HourlyUsageAttributionBody_1 = __nccwpck_require__(60079); +var HourlyUsageAttributionMetadata_1 = __nccwpck_require__(46590); +var HourlyUsageAttributionPagination_1 = __nccwpck_require__(73798); +var HourlyUsageAttributionResponse_1 = __nccwpck_require__(81641); +var IFrameWidgetDefinition_1 = __nccwpck_require__(26242); +var IPPrefixesAPI_1 = __nccwpck_require__(9737); +var IPPrefixesAPM_1 = __nccwpck_require__(51806); +var IPPrefixesAgents_1 = __nccwpck_require__(15536); +var IPPrefixesLogs_1 = __nccwpck_require__(50334); +var IPPrefixesProcess_1 = __nccwpck_require__(16605); +var IPPrefixesSynthetics_1 = __nccwpck_require__(31933); +var IPPrefixesWebhooks_1 = __nccwpck_require__(61031); +var IPRanges_1 = __nccwpck_require__(28956); +var IdpFormData_1 = __nccwpck_require__(43719); +var IdpResponse_1 = __nccwpck_require__(91992); +var ImageWidgetDefinition_1 = __nccwpck_require__(86051); +var IntakePayloadAccepted_1 = __nccwpck_require__(71328); +var ListStreamColumn_1 = __nccwpck_require__(91106); +var ListStreamQuery_1 = __nccwpck_require__(44439); +var ListStreamWidgetDefinition_1 = __nccwpck_require__(49497); +var ListStreamWidgetRequest_1 = __nccwpck_require__(80951); +var Log_1 = __nccwpck_require__(83438); +var LogContent_1 = __nccwpck_require__(67704); +var LogQueryDefinition_1 = __nccwpck_require__(12197); +var LogQueryDefinitionGroupBy_1 = __nccwpck_require__(54246); +var LogQueryDefinitionGroupBySort_1 = __nccwpck_require__(37827); +var LogQueryDefinitionSearch_1 = __nccwpck_require__(20235); +var LogStreamWidgetDefinition_1 = __nccwpck_require__(76959); +var LogsAPIError_1 = __nccwpck_require__(27806); +var LogsAPIErrorResponse_1 = __nccwpck_require__(25074); +var LogsArithmeticProcessor_1 = __nccwpck_require__(15426); +var LogsAttributeRemapper_1 = __nccwpck_require__(70365); +var LogsByRetention_1 = __nccwpck_require__(97769); +var LogsByRetentionMonthlyUsage_1 = __nccwpck_require__(96594); +var LogsByRetentionOrgUsage_1 = __nccwpck_require__(79667); +var LogsByRetentionOrgs_1 = __nccwpck_require__(45185); +var LogsCategoryProcessor_1 = __nccwpck_require__(40573); +var LogsCategoryProcessorCategory_1 = __nccwpck_require__(10242); +var LogsDateRemapper_1 = __nccwpck_require__(34468); +var LogsExclusion_1 = __nccwpck_require__(78203); +var LogsExclusionFilter_1 = __nccwpck_require__(73573); +var LogsFilter_1 = __nccwpck_require__(96533); +var LogsGeoIPParser_1 = __nccwpck_require__(30810); +var LogsGrokParser_1 = __nccwpck_require__(86255); +var LogsGrokParserRules_1 = __nccwpck_require__(17200); +var LogsIndex_1 = __nccwpck_require__(67826); +var LogsIndexListResponse_1 = __nccwpck_require__(32099); +var LogsIndexUpdateRequest_1 = __nccwpck_require__(60006); +var LogsIndexesOrder_1 = __nccwpck_require__(10785); +var LogsListRequest_1 = __nccwpck_require__(98514); +var LogsListRequestTime_1 = __nccwpck_require__(21905); +var LogsListResponse_1 = __nccwpck_require__(49469); +var LogsLookupProcessor_1 = __nccwpck_require__(36335); +var LogsMessageRemapper_1 = __nccwpck_require__(1148); +var LogsPipeline_1 = __nccwpck_require__(62446); +var LogsPipelineProcessor_1 = __nccwpck_require__(93445); +var LogsPipelinesOrder_1 = __nccwpck_require__(53880); +var LogsQueryCompute_1 = __nccwpck_require__(6239); +var LogsRetentionAggSumUsage_1 = __nccwpck_require__(59107); +var LogsRetentionSumUsage_1 = __nccwpck_require__(93863); +var LogsServiceRemapper_1 = __nccwpck_require__(73178); +var LogsStatusRemapper_1 = __nccwpck_require__(6206); +var LogsStringBuilderProcessor_1 = __nccwpck_require__(54184); +var LogsTraceRemapper_1 = __nccwpck_require__(69922); +var LogsURLParser_1 = __nccwpck_require__(16650); +var LogsUserAgentParser_1 = __nccwpck_require__(62792); +var MetricMetadata_1 = __nccwpck_require__(91082); +var MetricSearchResponse_1 = __nccwpck_require__(5629); +var MetricSearchResponseResults_1 = __nccwpck_require__(32036); +var MetricsListResponse_1 = __nccwpck_require__(36562); +var MetricsPayload_1 = __nccwpck_require__(18312); +var MetricsQueryMetadata_1 = __nccwpck_require__(94266); +var MetricsQueryResponse_1 = __nccwpck_require__(10574); +var MetricsQueryUnit_1 = __nccwpck_require__(54581); +var Monitor_1 = __nccwpck_require__(45685); +var MonitorFormulaAndFunctionEventQueryDefinition_1 = __nccwpck_require__(58983); +var MonitorFormulaAndFunctionEventQueryDefinitionCompute_1 = __nccwpck_require__(18547); +var MonitorFormulaAndFunctionEventQueryDefinitionSearch_1 = __nccwpck_require__(22864); +var MonitorFormulaAndFunctionEventQueryGroupBy_1 = __nccwpck_require__(23168); +var MonitorFormulaAndFunctionEventQueryGroupBySort_1 = __nccwpck_require__(45798); +var MonitorGroupSearchResponse_1 = __nccwpck_require__(25941); +var MonitorGroupSearchResponseCounts_1 = __nccwpck_require__(6527); +var MonitorGroupSearchResult_1 = __nccwpck_require__(55041); +var MonitorOptions_1 = __nccwpck_require__(48231); +var MonitorOptionsAggregation_1 = __nccwpck_require__(48316); +var MonitorSearchResponse_1 = __nccwpck_require__(40893); +var MonitorSearchResponseCounts_1 = __nccwpck_require__(80198); +var MonitorSearchResponseMetadata_1 = __nccwpck_require__(78696); +var MonitorSearchResult_1 = __nccwpck_require__(14120); +var MonitorSearchResultNotification_1 = __nccwpck_require__(17402); +var MonitorState_1 = __nccwpck_require__(27789); +var MonitorStateGroup_1 = __nccwpck_require__(68737); +var MonitorSummaryWidgetDefinition_1 = __nccwpck_require__(22788); +var MonitorThresholdWindowOptions_1 = __nccwpck_require__(12780); +var MonitorThresholds_1 = __nccwpck_require__(28522); +var MonitorUpdateRequest_1 = __nccwpck_require__(77039); +var MonthlyUsageAttributionBody_1 = __nccwpck_require__(22537); +var MonthlyUsageAttributionMetadata_1 = __nccwpck_require__(25116); +var MonthlyUsageAttributionPagination_1 = __nccwpck_require__(73712); +var MonthlyUsageAttributionResponse_1 = __nccwpck_require__(95112); +var MonthlyUsageAttributionValues_1 = __nccwpck_require__(80336); +var NoteWidgetDefinition_1 = __nccwpck_require__(35355); +var NotebookAbsoluteTime_1 = __nccwpck_require__(65962); +var NotebookAuthor_1 = __nccwpck_require__(90658); +var NotebookCellCreateRequest_1 = __nccwpck_require__(62235); +var NotebookCellResponse_1 = __nccwpck_require__(84386); +var NotebookCellUpdateRequest_1 = __nccwpck_require__(99902); +var NotebookCreateData_1 = __nccwpck_require__(42541); +var NotebookCreateDataAttributes_1 = __nccwpck_require__(52931); +var NotebookCreateRequest_1 = __nccwpck_require__(82520); +var NotebookDistributionCellAttributes_1 = __nccwpck_require__(87594); +var NotebookHeatMapCellAttributes_1 = __nccwpck_require__(81974); +var NotebookLogStreamCellAttributes_1 = __nccwpck_require__(60761); +var NotebookMarkdownCellAttributes_1 = __nccwpck_require__(3567); +var NotebookMarkdownCellDefinition_1 = __nccwpck_require__(12035); +var NotebookMetadata_1 = __nccwpck_require__(34078); +var NotebookRelativeTime_1 = __nccwpck_require__(94586); +var NotebookResponse_1 = __nccwpck_require__(43296); +var NotebookResponseData_1 = __nccwpck_require__(59227); +var NotebookResponseDataAttributes_1 = __nccwpck_require__(59433); +var NotebookSplitBy_1 = __nccwpck_require__(17911); +var NotebookTimeseriesCellAttributes_1 = __nccwpck_require__(38581); +var NotebookToplistCellAttributes_1 = __nccwpck_require__(45652); +var NotebookUpdateData_1 = __nccwpck_require__(31500); +var NotebookUpdateDataAttributes_1 = __nccwpck_require__(39612); +var NotebookUpdateRequest_1 = __nccwpck_require__(57229); +var NotebooksResponse_1 = __nccwpck_require__(34680); +var NotebooksResponseData_1 = __nccwpck_require__(92333); +var NotebooksResponseDataAttributes_1 = __nccwpck_require__(67182); +var NotebooksResponseMeta_1 = __nccwpck_require__(91514); +var NotebooksResponsePage_1 = __nccwpck_require__(29365); +var Organization_1 = __nccwpck_require__(5080); +var OrganizationBilling_1 = __nccwpck_require__(89008); +var OrganizationCreateBody_1 = __nccwpck_require__(16132); +var OrganizationCreateResponse_1 = __nccwpck_require__(24007); +var OrganizationListResponse_1 = __nccwpck_require__(67823); +var OrganizationResponse_1 = __nccwpck_require__(58106); +var OrganizationSettings_1 = __nccwpck_require__(49434); +var OrganizationSettingsSaml_1 = __nccwpck_require__(23808); +var OrganizationSettingsSamlAutocreateUsersDomains_1 = __nccwpck_require__(83448); +var OrganizationSettingsSamlIdpInitiatedLogin_1 = __nccwpck_require__(79957); +var OrganizationSettingsSamlStrictMode_1 = __nccwpck_require__(21101); +var OrganizationSubscription_1 = __nccwpck_require__(75122); +var PagerDutyService_1 = __nccwpck_require__(99433); +var PagerDutyServiceKey_1 = __nccwpck_require__(32766); +var PagerDutyServiceName_1 = __nccwpck_require__(44198); +var Pagination_1 = __nccwpck_require__(97834); +var ProcessQueryDefinition_1 = __nccwpck_require__(96386); +var QueryValueWidgetDefinition_1 = __nccwpck_require__(78268); +var QueryValueWidgetRequest_1 = __nccwpck_require__(10384); +var ResponseMetaAttributes_1 = __nccwpck_require__(44993); +var SLOBulkDeleteError_1 = __nccwpck_require__(6307); +var SLOBulkDeleteResponse_1 = __nccwpck_require__(53119); +var SLOBulkDeleteResponseData_1 = __nccwpck_require__(28093); +var SLOCorrection_1 = __nccwpck_require__(2852); +var SLOCorrectionCreateData_1 = __nccwpck_require__(43215); +var SLOCorrectionCreateRequest_1 = __nccwpck_require__(87152); +var SLOCorrectionCreateRequestAttributes_1 = __nccwpck_require__(26204); +var SLOCorrectionListResponse_1 = __nccwpck_require__(12062); +var SLOCorrectionResponse_1 = __nccwpck_require__(26986); +var SLOCorrectionResponseAttributes_1 = __nccwpck_require__(35052); +var SLOCorrectionResponseAttributesModifier_1 = __nccwpck_require__(88857); +var SLOCorrectionUpdateData_1 = __nccwpck_require__(99745); +var SLOCorrectionUpdateRequest_1 = __nccwpck_require__(77273); +var SLOCorrectionUpdateRequestAttributes_1 = __nccwpck_require__(75164); +var SLODeleteResponse_1 = __nccwpck_require__(47941); +var SLOHistoryMetrics_1 = __nccwpck_require__(55029); +var SLOHistoryMetricsSeries_1 = __nccwpck_require__(96132); +var SLOHistoryMetricsSeriesMetadata_1 = __nccwpck_require__(83288); +var SLOHistoryMetricsSeriesMetadataUnit_1 = __nccwpck_require__(67323); +var SLOHistoryMonitor_1 = __nccwpck_require__(62797); +var SLOHistoryResponse_1 = __nccwpck_require__(27297); +var SLOHistoryResponseData_1 = __nccwpck_require__(81357); +var SLOHistoryResponseError_1 = __nccwpck_require__(30144); +var SLOHistoryResponseErrorWithType_1 = __nccwpck_require__(58524); +var SLOHistorySLIData_1 = __nccwpck_require__(6636); +var SLOListResponse_1 = __nccwpck_require__(19477); +var SLOListResponseMetadata_1 = __nccwpck_require__(95727); +var SLOListResponseMetadataPage_1 = __nccwpck_require__(559); +var SLOResponse_1 = __nccwpck_require__(58530); +var SLOResponseData_1 = __nccwpck_require__(98608); +var SLOThreshold_1 = __nccwpck_require__(96548); +var SLOWidgetDefinition_1 = __nccwpck_require__(32026); +var ScatterPlotRequest_1 = __nccwpck_require__(90691); +var ScatterPlotWidgetDefinition_1 = __nccwpck_require__(85820); +var ScatterPlotWidgetDefinitionRequests_1 = __nccwpck_require__(6095); +var ScatterplotTableRequest_1 = __nccwpck_require__(95803); +var ScatterplotWidgetFormula_1 = __nccwpck_require__(36910); +var Series_1 = __nccwpck_require__(47757); +var ServiceCheck_1 = __nccwpck_require__(87544); +var ServiceLevelObjective_1 = __nccwpck_require__(43228); +var ServiceLevelObjectiveQuery_1 = __nccwpck_require__(72178); +var ServiceLevelObjectiveRequest_1 = __nccwpck_require__(20112); +var ServiceMapWidgetDefinition_1 = __nccwpck_require__(96744); +var ServiceSummaryWidgetDefinition_1 = __nccwpck_require__(15351); +var SlackIntegrationChannel_1 = __nccwpck_require__(96032); +var SlackIntegrationChannelDisplay_1 = __nccwpck_require__(7456); +var SunburstWidgetDefinition_1 = __nccwpck_require__(20775); +var SunburstWidgetLegendInlineAutomatic_1 = __nccwpck_require__(1527); +var SunburstWidgetLegendTable_1 = __nccwpck_require__(42284); +var SunburstWidgetRequest_1 = __nccwpck_require__(60511); +var SyntheticsAPIStep_1 = __nccwpck_require__(4175); +var SyntheticsAPITest_1 = __nccwpck_require__(3433); +var SyntheticsAPITestConfig_1 = __nccwpck_require__(60634); +var SyntheticsAPITestResultData_1 = __nccwpck_require__(21132); +var SyntheticsAPITestResultFull_1 = __nccwpck_require__(92111); +var SyntheticsAPITestResultFullCheck_1 = __nccwpck_require__(81032); +var SyntheticsAPITestResultShort_1 = __nccwpck_require__(2048); +var SyntheticsAPITestResultShortResult_1 = __nccwpck_require__(85380); +var SyntheticsApiTestResultFailure_1 = __nccwpck_require__(42098); +var SyntheticsAssertionJSONPathTarget_1 = __nccwpck_require__(14493); +var SyntheticsAssertionJSONPathTargetTarget_1 = __nccwpck_require__(46885); +var SyntheticsAssertionTarget_1 = __nccwpck_require__(11801); +var SyntheticsBasicAuthNTLM_1 = __nccwpck_require__(82481); +var SyntheticsBasicAuthSigv4_1 = __nccwpck_require__(30084); +var SyntheticsBasicAuthWeb_1 = __nccwpck_require__(82117); +var SyntheticsBatchDetails_1 = __nccwpck_require__(82598); +var SyntheticsBatchDetailsData_1 = __nccwpck_require__(47215); +var SyntheticsBatchResult_1 = __nccwpck_require__(8974); +var SyntheticsBrowserError_1 = __nccwpck_require__(7593); +var SyntheticsBrowserTest_1 = __nccwpck_require__(44771); +var SyntheticsBrowserTestConfig_1 = __nccwpck_require__(73455); +var SyntheticsBrowserTestResultData_1 = __nccwpck_require__(9337); +var SyntheticsBrowserTestResultFailure_1 = __nccwpck_require__(80686); +var SyntheticsBrowserTestResultFull_1 = __nccwpck_require__(88630); +var SyntheticsBrowserTestResultFullCheck_1 = __nccwpck_require__(32340); +var SyntheticsBrowserTestResultShort_1 = __nccwpck_require__(2904); +var SyntheticsBrowserTestResultShortResult_1 = __nccwpck_require__(58505); +var SyntheticsBrowserVariable_1 = __nccwpck_require__(35642); +var SyntheticsCIBatchMetadata_1 = __nccwpck_require__(12212); +var SyntheticsCIBatchMetadataCI_1 = __nccwpck_require__(20102); +var SyntheticsCIBatchMetadataGit_1 = __nccwpck_require__(72392); +var SyntheticsCIBatchMetadataPipeline_1 = __nccwpck_require__(31619); +var SyntheticsCIBatchMetadataProvider_1 = __nccwpck_require__(75363); +var SyntheticsCITest_1 = __nccwpck_require__(56409); +var SyntheticsCITestBody_1 = __nccwpck_require__(32615); +var SyntheticsConfigVariable_1 = __nccwpck_require__(24023); +var SyntheticsCoreWebVitals_1 = __nccwpck_require__(67701); +var SyntheticsDeleteTestsPayload_1 = __nccwpck_require__(60972); +var SyntheticsDeleteTestsResponse_1 = __nccwpck_require__(80634); +var SyntheticsDeletedTest_1 = __nccwpck_require__(7885); +var SyntheticsDevice_1 = __nccwpck_require__(6906); +var SyntheticsGetAPITestLatestResultsResponse_1 = __nccwpck_require__(42609); +var SyntheticsGetBrowserTestLatestResultsResponse_1 = __nccwpck_require__(73873); +var SyntheticsGlobalVariable_1 = __nccwpck_require__(10404); +var SyntheticsGlobalVariableAttributes_1 = __nccwpck_require__(2156); +var SyntheticsGlobalVariableParseTestOptions_1 = __nccwpck_require__(60172); +var SyntheticsGlobalVariableValue_1 = __nccwpck_require__(50263); +var SyntheticsListGlobalVariablesResponse_1 = __nccwpck_require__(51341); +var SyntheticsListTestsResponse_1 = __nccwpck_require__(46280); +var SyntheticsLocation_1 = __nccwpck_require__(36515); +var SyntheticsLocations_1 = __nccwpck_require__(9091); +var SyntheticsParsingOptions_1 = __nccwpck_require__(5015); +var SyntheticsPrivateLocation_1 = __nccwpck_require__(6991); +var SyntheticsPrivateLocationCreationResponse_1 = __nccwpck_require__(31386); +var SyntheticsPrivateLocationCreationResponseResultEncryption_1 = __nccwpck_require__(16331); +var SyntheticsPrivateLocationSecrets_1 = __nccwpck_require__(91325); +var SyntheticsPrivateLocationSecretsAuthentication_1 = __nccwpck_require__(26886); +var SyntheticsPrivateLocationSecretsConfigDecryption_1 = __nccwpck_require__(24829); +var SyntheticsSSLCertificate_1 = __nccwpck_require__(24211); +var SyntheticsSSLCertificateIssuer_1 = __nccwpck_require__(70007); +var SyntheticsSSLCertificateSubject_1 = __nccwpck_require__(75798); +var SyntheticsStep_1 = __nccwpck_require__(96180); +var SyntheticsStepDetail_1 = __nccwpck_require__(86493); +var SyntheticsStepDetailWarning_1 = __nccwpck_require__(86754); +var SyntheticsTestConfig_1 = __nccwpck_require__(91535); +var SyntheticsTestDetails_1 = __nccwpck_require__(22701); +var SyntheticsTestOptions_1 = __nccwpck_require__(55515); +var SyntheticsTestOptionsMonitorOptions_1 = __nccwpck_require__(37717); +var SyntheticsTestOptionsRetry_1 = __nccwpck_require__(76723); +var SyntheticsTestRequest_1 = __nccwpck_require__(7105); +var SyntheticsTestRequestCertificate_1 = __nccwpck_require__(86420); +var SyntheticsTestRequestCertificateItem_1 = __nccwpck_require__(77558); +var SyntheticsTestRequestProxy_1 = __nccwpck_require__(57736); +var SyntheticsTiming_1 = __nccwpck_require__(30782); +var SyntheticsTriggerBody_1 = __nccwpck_require__(20524); +var SyntheticsTriggerCITestLocation_1 = __nccwpck_require__(88420); +var SyntheticsTriggerCITestRunResult_1 = __nccwpck_require__(63605); +var SyntheticsTriggerCITestsResponse_1 = __nccwpck_require__(35779); +var SyntheticsTriggerTest_1 = __nccwpck_require__(24099); +var SyntheticsUpdateTestPauseStatusPayload_1 = __nccwpck_require__(41655); +var SyntheticsVariableParser_1 = __nccwpck_require__(74500); +var TableWidgetDefinition_1 = __nccwpck_require__(17750); +var TableWidgetRequest_1 = __nccwpck_require__(24403); +var TagToHosts_1 = __nccwpck_require__(94643); +var TimeseriesWidgetDefinition_1 = __nccwpck_require__(50074); +var TimeseriesWidgetExpressionAlias_1 = __nccwpck_require__(91672); +var TimeseriesWidgetRequest_1 = __nccwpck_require__(10800); +var ToplistWidgetDefinition_1 = __nccwpck_require__(61970); +var ToplistWidgetRequest_1 = __nccwpck_require__(89181); +var TreeMapWidgetDefinition_1 = __nccwpck_require__(84230); +var TreeMapWidgetRequest_1 = __nccwpck_require__(32930); +var UsageAnalyzedLogsHour_1 = __nccwpck_require__(46989); +var UsageAnalyzedLogsResponse_1 = __nccwpck_require__(18830); +var UsageAttributionAggregatesBody_1 = __nccwpck_require__(17881); +var UsageAttributionBody_1 = __nccwpck_require__(15656); +var UsageAttributionMetadata_1 = __nccwpck_require__(93350); +var UsageAttributionPagination_1 = __nccwpck_require__(72584); +var UsageAttributionResponse_1 = __nccwpck_require__(45011); +var UsageAttributionValues_1 = __nccwpck_require__(61746); +var UsageAuditLogsHour_1 = __nccwpck_require__(59268); +var UsageAuditLogsResponse_1 = __nccwpck_require__(89238); +var UsageBillableSummaryBody_1 = __nccwpck_require__(17329); +var UsageBillableSummaryHour_1 = __nccwpck_require__(52813); +var UsageBillableSummaryKeys_1 = __nccwpck_require__(35118); +var UsageBillableSummaryResponse_1 = __nccwpck_require__(84619); +var UsageCWSHour_1 = __nccwpck_require__(18482); +var UsageCWSResponse_1 = __nccwpck_require__(22674); +var UsageCloudSecurityPostureManagementHour_1 = __nccwpck_require__(75358); +var UsageCloudSecurityPostureManagementResponse_1 = __nccwpck_require__(87374); +var UsageCustomReportsAttributes_1 = __nccwpck_require__(47558); +var UsageCustomReportsData_1 = __nccwpck_require__(88385); +var UsageCustomReportsMeta_1 = __nccwpck_require__(63185); +var UsageCustomReportsPage_1 = __nccwpck_require__(54974); +var UsageCustomReportsResponse_1 = __nccwpck_require__(55902); +var UsageDBMHour_1 = __nccwpck_require__(68808); +var UsageDBMResponse_1 = __nccwpck_require__(2026); +var UsageFargateHour_1 = __nccwpck_require__(57386); +var UsageFargateResponse_1 = __nccwpck_require__(48053); +var UsageHostHour_1 = __nccwpck_require__(22603); +var UsageHostsResponse_1 = __nccwpck_require__(31325); +var UsageIncidentManagementHour_1 = __nccwpck_require__(40048); +var UsageIncidentManagementResponse_1 = __nccwpck_require__(98434); +var UsageIndexedSpansHour_1 = __nccwpck_require__(66099); +var UsageIndexedSpansResponse_1 = __nccwpck_require__(7275); +var UsageIngestedSpansHour_1 = __nccwpck_require__(72078); +var UsageIngestedSpansResponse_1 = __nccwpck_require__(52819); +var UsageIoTHour_1 = __nccwpck_require__(45137); +var UsageIoTResponse_1 = __nccwpck_require__(73096); +var UsageLambdaHour_1 = __nccwpck_require__(97435); +var UsageLambdaResponse_1 = __nccwpck_require__(95231); +var UsageLogsByIndexHour_1 = __nccwpck_require__(48710); +var UsageLogsByIndexResponse_1 = __nccwpck_require__(18950); +var UsageLogsByRetentionHour_1 = __nccwpck_require__(51648); +var UsageLogsByRetentionResponse_1 = __nccwpck_require__(62783); +var UsageLogsHour_1 = __nccwpck_require__(52600); +var UsageLogsResponse_1 = __nccwpck_require__(1375); +var UsageNetworkFlowsHour_1 = __nccwpck_require__(97327); +var UsageNetworkFlowsResponse_1 = __nccwpck_require__(66234); +var UsageNetworkHostsHour_1 = __nccwpck_require__(5620); +var UsageNetworkHostsResponse_1 = __nccwpck_require__(4994); +var UsageProfilingHour_1 = __nccwpck_require__(66510); +var UsageProfilingResponse_1 = __nccwpck_require__(82060); +var UsageRumSessionsHour_1 = __nccwpck_require__(105); +var UsageRumSessionsResponse_1 = __nccwpck_require__(6633); +var UsageRumUnitsHour_1 = __nccwpck_require__(8936); +var UsageRumUnitsResponse_1 = __nccwpck_require__(537); +var UsageSDSHour_1 = __nccwpck_require__(40876); +var UsageSDSResponse_1 = __nccwpck_require__(96687); +var UsageSNMPHour_1 = __nccwpck_require__(39577); +var UsageSNMPResponse_1 = __nccwpck_require__(82210); +var UsageSpecifiedCustomReportsAttributes_1 = __nccwpck_require__(38724); +var UsageSpecifiedCustomReportsData_1 = __nccwpck_require__(47586); +var UsageSpecifiedCustomReportsMeta_1 = __nccwpck_require__(75435); +var UsageSpecifiedCustomReportsPage_1 = __nccwpck_require__(60544); +var UsageSpecifiedCustomReportsResponse_1 = __nccwpck_require__(47226); +var UsageSummaryDate_1 = __nccwpck_require__(72971); +var UsageSummaryDateOrg_1 = __nccwpck_require__(31308); +var UsageSummaryResponse_1 = __nccwpck_require__(61378); +var UsageSyntheticsAPIHour_1 = __nccwpck_require__(80931); +var UsageSyntheticsAPIResponse_1 = __nccwpck_require__(36143); +var UsageSyntheticsBrowserHour_1 = __nccwpck_require__(68362); +var UsageSyntheticsBrowserResponse_1 = __nccwpck_require__(95322); +var UsageSyntheticsHour_1 = __nccwpck_require__(60809); +var UsageSyntheticsResponse_1 = __nccwpck_require__(46862); +var UsageTimeseriesHour_1 = __nccwpck_require__(4062); +var UsageTimeseriesResponse_1 = __nccwpck_require__(2516); +var UsageTopAvgMetricsHour_1 = __nccwpck_require__(62000); +var UsageTopAvgMetricsMetadata_1 = __nccwpck_require__(57758); +var UsageTopAvgMetricsResponse_1 = __nccwpck_require__(5587); +var User_1 = __nccwpck_require__(65582); +var UserDisableResponse_1 = __nccwpck_require__(97395); +var UserListResponse_1 = __nccwpck_require__(56284); +var UserResponse_1 = __nccwpck_require__(73865); +var WebhooksIntegration_1 = __nccwpck_require__(54773); +var WebhooksIntegrationCustomVariable_1 = __nccwpck_require__(67832); +var WebhooksIntegrationCustomVariableResponse_1 = __nccwpck_require__(25545); +var WebhooksIntegrationCustomVariableUpdateRequest_1 = __nccwpck_require__(66363); +var WebhooksIntegrationUpdateRequest_1 = __nccwpck_require__(86321); +var Widget_1 = __nccwpck_require__(6000); +var WidgetAxis_1 = __nccwpck_require__(36356); +var WidgetConditionalFormat_1 = __nccwpck_require__(68824); +var WidgetCustomLink_1 = __nccwpck_require__(83892); +var WidgetEvent_1 = __nccwpck_require__(27093); +var WidgetFieldSort_1 = __nccwpck_require__(95452); +var WidgetFormula_1 = __nccwpck_require__(96398); +var WidgetFormulaLimit_1 = __nccwpck_require__(16658); +var WidgetLayout_1 = __nccwpck_require__(29557); +var WidgetMarker_1 = __nccwpck_require__(35484); +var WidgetRequestStyle_1 = __nccwpck_require__(87457); +var WidgetStyle_1 = __nccwpck_require__(49795); +var WidgetTime_1 = __nccwpck_require__(39079); +var index_1 = __nccwpck_require__(53128); +var primitives = [ + "string", + "boolean", + "double", + "integer", + "long", + "float", + "number", + "any", +]; +var ARRAY_PREFIX = "Array<"; +var MAP_PREFIX = "{ [key: string]: "; +var supportedMediaTypes = { + "application/json": Infinity, + "text/json": 100, + "application/octet-stream": 0, +}; +var enumsMap = { + AWSNamespace: [ + "elb", + "application_elb", + "sqs", + "rds", + "custom", + "network_elb", + "lambda", + ], + AccessRole: ["st", "adm", "ro", "ERROR"], + AlertGraphWidgetDefinitionType: ["alert_graph"], + AlertValueWidgetDefinitionType: ["alert_value"], + ApmStatsQueryRowType: ["service", "resource", "span"], + ChangeWidgetDefinitionType: ["change"], + CheckStatusWidgetDefinitionType: ["check_status"], + ContentEncoding: ["gzip", "deflate"], + DashboardLayoutType: ["ordered", "free"], + DashboardReflowType: ["auto", "fixed"], + DashboardResourceType: ["dashboard"], + DistributionWidgetDefinitionType: ["distribution"], + EventAlertType: [ + "error", + "warning", + "info", + "success", + "user_update", + "recommendation", + "snapshot", + ], + EventPriority: ["normal", "low"], + EventStreamWidgetDefinitionType: ["event_stream"], + EventTimelineWidgetDefinitionType: ["event_timeline"], + FormulaAndFunctionApmDependencyStatName: [ + "avg_duration", + "avg_root_duration", + "avg_spans_per_trace", + "error_rate", + "pct_exec_time", + "pct_of_traces", + "total_traces_count", + ], + FormulaAndFunctionApmDependencyStatsDataSource: ["apm_dependency_stats"], + FormulaAndFunctionApmResourceStatName: [ + "errors", + "error_rate", + "hits", + "latency_avg", + "latency_max", + "latency_p50", + "latency_p75", + "latency_p90", + "latency_p95", + "latency_p99", + ], + FormulaAndFunctionApmResourceStatsDataSource: ["apm_resource_stats"], + FormulaAndFunctionEventAggregation: [ + "count", + "cardinality", + "median", + "pc75", + "pc90", + "pc95", + "pc98", + "pc99", + "sum", + "min", + "max", + "avg", + ], + FormulaAndFunctionEventsDataSource: [ + "logs", + "spans", + "network", + "rum", + "security_signals", + "profiles", + "audit", + "events", + ], + FormulaAndFunctionMetricAggregation: [ + "avg", + "min", + "max", + "sum", + "last", + "area", + "l2norm", + "percentile", + ], + FormulaAndFunctionMetricDataSource: ["metrics"], + FormulaAndFunctionProcessQueryDataSource: ["process", "container"], + FormulaAndFunctionResponseFormat: ["timeseries", "scalar"], + FreeTextWidgetDefinitionType: ["free_text"], + FunnelRequestType: ["funnel"], + FunnelSource: ["rum"], + FunnelWidgetDefinitionType: ["funnel"], + GeomapWidgetDefinitionType: ["geomap"], + GroupWidgetDefinitionType: ["group"], + HTTPMethod: ["GET", "POST", "PATCH", "PUT", "DELETE", "HEAD", "OPTIONS"], + HeatMapWidgetDefinitionType: ["heatmap"], + HostMapWidgetDefinitionType: ["hostmap"], + HourlyUsageAttributionUsageType: [ + "api_usage", + "apm_host_usage", + "browser_usage", + "container_usage", + "custom_timeseries_usage", + "estimated_indexed_logs_usage", + "fargate_usage", + "functions_usage", + "indexed_logs_usage", + "infra_host_usage", + "invocations_usage", + "npm_host_usage", + "profiled_container_usage", + "profiled_host_usage", + "snmp_usage", + ], + IFrameWidgetDefinitionType: ["iframe"], + ImageWidgetDefinitionType: ["image"], + ListStreamColumnWidth: ["auto", "compact", "full"], + ListStreamResponseFormat: ["event_list"], + ListStreamSource: ["issue_stream", "logs_stream", "audit_stream"], + ListStreamWidgetDefinitionType: ["list_stream"], + LogStreamWidgetDefinitionType: ["log_stream"], + LogsArithmeticProcessorType: ["arithmetic-processor"], + LogsAttributeRemapperType: ["attribute-remapper"], + LogsCategoryProcessorType: ["category-processor"], + LogsDateRemapperType: ["date-remapper"], + LogsGeoIPParserType: ["geo-ip-parser"], + LogsGrokParserType: ["grok-parser"], + LogsLookupProcessorType: ["lookup-processor"], + LogsMessageRemapperType: ["message-remapper"], + LogsPipelineProcessorType: ["pipeline"], + LogsServiceRemapperType: ["service-remapper"], + LogsSort: ["asc", "desc"], + LogsStatusRemapperType: ["status-remapper"], + LogsStringBuilderProcessorType: ["string-builder-processor"], + LogsTraceRemapperType: ["trace-id-remapper"], + LogsURLParserType: ["url-parser"], + LogsUserAgentParserType: ["user-agent-parser"], + MetricContentEncoding: ["deflate"], + MonitorDeviceID: [ + "laptop_large", + "tablet", + "mobile_small", + "chrome.laptop_large", + "chrome.tablet", + "chrome.mobile_small", + "firefox.laptop_large", + "firefox.tablet", + "firefox.mobile_small", + ], + MonitorFormulaAndFunctionEventAggregation: [ + "count", + "cardinality", + "median", + "pc75", + "pc90", + "pc95", + "pc98", + "pc99", + "sum", + "min", + "max", + "avg", + ], + MonitorFormulaAndFunctionEventsDataSource: ["rum"], + MonitorOverallStates: [ + "Alert", + "Ignored", + "No Data", + "OK", + "Skipped", + "Unknown", + "Warn", + ], + MonitorRenotifyStatusType: ["alert", "warn", "no data"], + MonitorSummaryWidgetDefinitionType: ["manage_status"], + MonitorType: [ + "composite", + "event alert", + "log alert", + "metric alert", + "process alert", + "query alert", + "rum alert", + "service check", + "synthetics alert", + "trace-analytics alert", + "slo alert", + "event-v2 alert", + "audit alert", + "ci-pipelines alert", + ], + MonthlyUsageAttributionSupportedMetrics: [ + "api_usage", + "api_percentage", + "apm_host_usage", + "apm_host_percentage", + "browser_usage", + "browser_percentage", + "container_usage", + "container_percentage", + "custom_timeseries_usage", + "custom_timeseries_percentage", + "estimated_indexed_logs_usage", + "estimated_indexed_logs_percentage", + "fargate_usage", + "fargate_percentage", + "functions_usage", + "functions_percentage", + "indexed_logs_usage", + "indexed_logs_percentage", + "infra_host_usage", + "infra_host_percentage", + "invocations_usage", + "invocations_percentage", + "npm_host_usage", + "npm_host_percentage", + "profiled_container_usage", + "profiled_container_percentage", + "profiled_host_usage", + "profiled_host_percentage", + "snmp_usage", + "snmp_percentage", + "*", + ], + NoteWidgetDefinitionType: ["note"], + NotebookCellResourceType: ["notebook_cells"], + NotebookGraphSize: ["xs", "s", "m", "l", "xl"], + NotebookMarkdownCellDefinitionType: ["markdown"], + NotebookMetadataType: [ + "postmortem", + "runbook", + "investigation", + "documentation", + "report", + ], + NotebookResourceType: ["notebooks"], + NotebookStatus: ["published"], + QuerySortOrder: ["asc", "desc"], + QueryValueWidgetDefinitionType: ["query_value"], + SLOCorrectionCategory: [ + "Scheduled Maintenance", + "Outside Business Hours", + "Deployment", + "Other", + ], + SLOCorrectionType: ["correction"], + SLOErrorTimeframe: ["7d", "30d", "90d", "all"], + SLOTimeframe: ["7d", "30d", "90d", "custom"], + SLOType: ["metric", "monitor"], + SLOTypeNumeric: [0, 1], + SLOWidgetDefinitionType: ["slo"], + ScatterPlotWidgetDefinitionType: ["scatterplot"], + ScatterplotDimension: ["x", "y", "radius", "color"], + ScatterplotWidgetAggregator: ["avg", "last", "max", "min", "sum"], + ServiceCheckStatus: [0, 1, 2, 3], + ServiceMapWidgetDefinitionType: ["servicemap"], + ServiceSummaryWidgetDefinitionType: ["trace_service"], + SunburstWidgetDefinitionType: ["sunburst"], + SunburstWidgetLegendInlineAutomaticType: ["inline", "automatic"], + SunburstWidgetLegendTableType: ["table", "none"], + SyntheticsAPIStepSubtype: ["http"], + SyntheticsAPITestType: ["api"], + SyntheticsApiTestFailureCode: [ + "BODY_TOO_LARGE", + "DENIED", + "TOO_MANY_REDIRECTS", + "AUTHENTICATION_ERROR", + "DECRYPTION", + "INVALID_CHAR_IN_HEADER", + "HEADER_TOO_LARGE", + "HEADERS_INCOMPATIBLE_CONTENT_LENGTH", + "INVALID_REQUEST", + "REQUIRES_UPDATE", + "UNESCAPED_CHARACTERS_IN_REQUEST_PATH", + "MALFORMED_RESPONSE", + "INCORRECT_ASSERTION", + "CONNREFUSED", + "CONNRESET", + "DNS", + "HOSTUNREACH", + "NETUNREACH", + "TIMEOUT", + "SSL", + "OCSP", + "INVALID_TEST", + "TUNNEL", + "WEBSOCKET", + "UNKNOWN", + "INTERNAL_ERROR", + ], + SyntheticsAssertionJSONPathOperator: ["validatesJSONPath"], + SyntheticsAssertionOperator: [ + "contains", + "doesNotContain", + "is", + "isNot", + "lessThan", + "lessThanOrEqual", + "moreThan", + "moreThanOrEqual", + "matches", + "doesNotMatch", + "validates", + "isInMoreThan", + "isInLessThan", + ], + SyntheticsAssertionType: [ + "body", + "header", + "statusCode", + "certificate", + "responseTime", + "property", + "recordEvery", + "recordSome", + "tlsVersion", + "minTlsVersion", + "latency", + "packetLossPercentage", + "packetsReceived", + "networkHop", + "receivedMessage", + ], + SyntheticsBasicAuthNTLMType: ["ntlm"], + SyntheticsBasicAuthSigv4Type: ["sigv4"], + SyntheticsBasicAuthWebType: ["web"], + SyntheticsBrowserErrorType: ["network", "js"], + SyntheticsBrowserTestFailureCode: [ + "API_REQUEST_FAILURE", + "ASSERTION_FAILURE", + "DOWNLOAD_FILE_TOO_LARGE", + "ELEMENT_NOT_INTERACTABLE", + "EMAIL_VARIABLE_NOT_DEFINED", + "EVALUATE_JAVASCRIPT", + "EVALUATE_JAVASCRIPT_CONTEXT", + "EXTRACT_VARIABLE", + "FORBIDDEN_URL", + "FRAME_DETACHED", + "INCONSISTENCIES", + "INTERNAL_ERROR", + "INVALID_TYPE_TEXT_DELAY", + "INVALID_URL", + "INVALID_VARIABLE_PATTERN", + "INVISIBLE_ELEMENT", + "LOCATE_ELEMENT", + "NAVIGATE_TO_LINK", + "OPEN_URL", + "PRESS_KEY", + "SERVER_CERTIFICATE", + "SELECT_OPTION", + "STEP_TIMEOUT", + "SUB_TEST_NOT_PASSED", + "TEST_TIMEOUT", + "TOO_MANY_HTTP_REQUESTS", + "UNAVAILABLE_BROWSER", + "UNKNOWN", + "UNSUPPORTED_AUTH_SCHEMA", + "UPLOAD_FILES_ELEMENT_TYPE", + "UPLOAD_FILES_DIALOG", + "UPLOAD_FILES_DYNAMIC_ELEMENT", + "UPLOAD_FILES_NAME", + ], + SyntheticsBrowserTestType: ["browser"], + SyntheticsBrowserVariableType: [ + "element", + "email", + "global", + "javascript", + "text", + ], + SyntheticsCheckType: [ + "equals", + "notEquals", + "contains", + "notContains", + "startsWith", + "notStartsWith", + "greater", + "lower", + "greaterEquals", + "lowerEquals", + "matchRegex", + "between", + "isEmpty", + "notIsEmpty", + ], + SyntheticsConfigVariableType: ["global", "text"], + SyntheticsDeviceID: [ + "laptop_large", + "tablet", + "mobile_small", + "chrome.laptop_large", + "chrome.tablet", + "chrome.mobile_small", + "firefox.laptop_large", + "firefox.tablet", + "firefox.mobile_small", + "edge.laptop_large", + "edge.tablet", + "edge.mobile_small", + ], + SyntheticsGlobalVariableParseTestOptionsType: ["http_body", "http_header"], + SyntheticsGlobalVariableParserType: ["raw", "json_path", "regex", "x_path"], + SyntheticsPlayingTab: [-1, 0, 1, 2, 3], + SyntheticsStatus: ["passed", "skipped", "failed"], + SyntheticsStepType: [ + "assertCurrentUrl", + "assertElementAttribute", + "assertElementContent", + "assertElementPresent", + "assertEmail", + "assertFileDownload", + "assertFromJavascript", + "assertPageContains", + "assertPageLacks", + "click", + "extractFromJavascript", + "extractVariable", + "goToEmailLink", + "goToUrl", + "goToUrlAndMeasureTti", + "hover", + "playSubTest", + "pressKey", + "refresh", + "runApiTest", + "scroll", + "selectOption", + "typeText", + "uploadFiles", + "wait", + ], + SyntheticsTestDetailsSubType: [ + "http", + "ssl", + "tcp", + "dns", + "multi", + "icmp", + "udp", + "websocket", + ], + SyntheticsTestDetailsType: ["api", "browser"], + SyntheticsTestExecutionRule: ["blocking", "non_blocking", "skipped"], + SyntheticsTestMonitorStatus: [0, 1, 2], + SyntheticsTestPauseStatus: ["live", "paused"], + SyntheticsTestProcessStatus: [ + "not_scheduled", + "scheduled", + "started", + "finished", + "finished_with_error", + ], + SyntheticsWarningType: ["user_locator"], + TableWidgetCellDisplayMode: ["number", "bar"], + TableWidgetDefinitionType: ["query_table"], + TableWidgetHasSearchBar: ["always", "never", "auto"], + TargetFormatType: ["auto", "string", "integer", "double"], + TimeseriesWidgetDefinitionType: ["timeseries"], + TimeseriesWidgetLegendColumn: ["value", "avg", "sum", "min", "max"], + TimeseriesWidgetLegendLayout: ["auto", "horizontal", "vertical"], + ToplistWidgetDefinitionType: ["toplist"], + TreeMapColorBy: ["user"], + TreeMapGroupBy: ["user", "family", "process"], + TreeMapSizeBy: ["pct_cpu", "pct_mem"], + TreeMapWidgetDefinitionType: ["treemap"], + UsageAttributionSort: [ + "api_percentage", + "snmp_usage", + "apm_host_usage", + "api_usage", + "container_usage", + "custom_timeseries_percentage", + "container_percentage", + "apm_host_percentage", + "npm_host_percentage", + "browser_percentage", + "browser_usage", + "infra_host_percentage", + "snmp_percentage", + "npm_host_usage", + "infra_host_usage", + "custom_timeseries_usage", + "lambda_functions_usage", + "lambda_functions_percentage", + "lambda_invocations_usage", + "lambda_invocations_percentage", + "lambda_usage", + "lambda_percentage", + "estimated_indexed_logs_usage", + "estimated_indexed_logs_percentage", + ], + UsageAttributionSupportedMetrics: [ + "custom_timeseries_usage", + "container_usage", + "snmp_percentage", + "apm_host_usage", + "browser_usage", + "npm_host_percentage", + "infra_host_usage", + "custom_timeseries_percentage", + "container_percentage", + "lambda_usage", + "api_usage", + "apm_host_percentage", + "infra_host_percentage", + "snmp_usage", + "browser_percentage", + "api_percentage", + "lambda_percentage", + "npm_host_usage", + "lambda_functions_usage", + "lambda_functions_percentage", + "lambda_invocations_usage", + "lambda_invocations_percentage", + "fargate_usage", + "fargate_percentage", + "profiled_host_usage", + "profiled_host_percentage", + "profiled_container_usage", + "profiled_container_percentage", + "dbm_hosts_usage", + "dbm_hosts_percentage", + "dbm_queries_usage", + "dbm_queries_percentage", + "estimated_indexed_logs_usage", + "estimated_indexed_logs_percentage", + "*", + ], + UsageMetricCategory: ["standard", "custom"], + UsageReportsType: ["reports"], + UsageSort: ["computed_on", "size", "start_date", "end_date"], + UsageSortDirection: ["desc", "asc"], + WebhooksIntegrationEncoding: ["json", "form"], + WidgetAggregator: ["avg", "last", "max", "min", "sum", "percentile"], + WidgetChangeType: ["absolute", "relative"], + WidgetColorPreference: ["background", "text"], + WidgetComparator: [">", ">=", "<", "<="], + WidgetCompareTo: ["hour_before", "day_before", "week_before", "month_before"], + WidgetDisplayType: ["area", "bars", "line"], + WidgetEventSize: ["s", "l"], + WidgetGrouping: ["check", "cluster"], + WidgetHorizontalAlign: ["center", "left", "right"], + WidgetImageSizing: [ + "fill", + "contain", + "cover", + "none", + "scale-down", + "zoom", + "fit", + "center", + ], + WidgetLayoutType: ["ordered"], + WidgetLineType: ["dashed", "dotted", "solid"], + WidgetLineWidth: ["normal", "thick", "thin"], + WidgetLiveSpan: [ + "1m", + "5m", + "10m", + "15m", + "30m", + "1h", + "4h", + "1d", + "2d", + "1w", + "1mo", + "3mo", + "6mo", + "1y", + "alert", + ], + WidgetMargin: ["sm", "md", "lg", "small", "large"], + WidgetMessageDisplay: ["inline", "expanded-md", "expanded-lg"], + WidgetMonitorSummaryDisplayFormat: ["counts", "countsAndList", "list"], + WidgetMonitorSummarySort: [ + "name", + "group", + "status", + "tags", + "triggered", + "group,asc", + "group,desc", + "name,asc", + "name,desc", + "status,asc", + "status,desc", + "tags,asc", + "tags,desc", + "triggered,asc", + "triggered,desc", + ], + WidgetNodeType: ["host", "container"], + WidgetOrderBy: ["change", "name", "present", "past"], + WidgetPalette: [ + "blue", + "custom_bg", + "custom_image", + "custom_text", + "gray_on_white", + "grey", + "green", + "orange", + "red", + "red_on_white", + "white_on_gray", + "white_on_green", + "green_on_white", + "white_on_red", + "white_on_yellow", + "yellow_on_white", + "black_on_light_yellow", + "black_on_light_green", + "black_on_light_red", + ], + WidgetServiceSummaryDisplayFormat: [ + "one_column", + "two_column", + "three_column", + ], + WidgetSizeFormat: ["small", "medium", "large"], + WidgetSort: ["asc", "desc"], + WidgetSummaryType: ["monitors", "groups", "combined"], + WidgetTextAlign: ["center", "left", "right"], + WidgetTickEdge: ["bottom", "left", "right", "top"], + WidgetTimeWindows: [ + "7d", + "30d", + "90d", + "week_to_date", + "previous_week", + "month_to_date", + "previous_month", + "global_time", + ], + WidgetVerticalAlign: ["center", "top", "bottom"], + WidgetViewMode: ["overall", "component", "both"], + WidgetVizType: ["timeseries", "toplist"], +}; +var typeMap = { + APIErrorResponse: APIErrorResponse_1.APIErrorResponse, + AWSAccount: AWSAccount_1.AWSAccount, + AWSAccountAndLambdaRequest: AWSAccountAndLambdaRequest_1.AWSAccountAndLambdaRequest, + AWSAccountCreateResponse: AWSAccountCreateResponse_1.AWSAccountCreateResponse, + AWSAccountDeleteRequest: AWSAccountDeleteRequest_1.AWSAccountDeleteRequest, + AWSAccountListResponse: AWSAccountListResponse_1.AWSAccountListResponse, + AWSLogsAsyncError: AWSLogsAsyncError_1.AWSLogsAsyncError, + AWSLogsAsyncResponse: AWSLogsAsyncResponse_1.AWSLogsAsyncResponse, + AWSLogsLambda: AWSLogsLambda_1.AWSLogsLambda, + AWSLogsListResponse: AWSLogsListResponse_1.AWSLogsListResponse, + AWSLogsListServicesResponse: AWSLogsListServicesResponse_1.AWSLogsListServicesResponse, + AWSLogsServicesRequest: AWSLogsServicesRequest_1.AWSLogsServicesRequest, + AWSTagFilter: AWSTagFilter_1.AWSTagFilter, + AWSTagFilterCreateRequest: AWSTagFilterCreateRequest_1.AWSTagFilterCreateRequest, + AWSTagFilterDeleteRequest: AWSTagFilterDeleteRequest_1.AWSTagFilterDeleteRequest, + AWSTagFilterListResponse: AWSTagFilterListResponse_1.AWSTagFilterListResponse, + AlertGraphWidgetDefinition: AlertGraphWidgetDefinition_1.AlertGraphWidgetDefinition, + AlertValueWidgetDefinition: AlertValueWidgetDefinition_1.AlertValueWidgetDefinition, + ApiKey: ApiKey_1.ApiKey, + ApiKeyListResponse: ApiKeyListResponse_1.ApiKeyListResponse, + ApiKeyResponse: ApiKeyResponse_1.ApiKeyResponse, + ApmStatsQueryColumnType: ApmStatsQueryColumnType_1.ApmStatsQueryColumnType, + ApmStatsQueryDefinition: ApmStatsQueryDefinition_1.ApmStatsQueryDefinition, + ApplicationKey: ApplicationKey_1.ApplicationKey, + ApplicationKeyListResponse: ApplicationKeyListResponse_1.ApplicationKeyListResponse, + ApplicationKeyResponse: ApplicationKeyResponse_1.ApplicationKeyResponse, + AuthenticationValidationResponse: AuthenticationValidationResponse_1.AuthenticationValidationResponse, + AzureAccount: AzureAccount_1.AzureAccount, + CancelDowntimesByScopeRequest: CancelDowntimesByScopeRequest_1.CancelDowntimesByScopeRequest, + CanceledDowntimesIds: CanceledDowntimesIds_1.CanceledDowntimesIds, + ChangeWidgetDefinition: ChangeWidgetDefinition_1.ChangeWidgetDefinition, + ChangeWidgetRequest: ChangeWidgetRequest_1.ChangeWidgetRequest, + CheckCanDeleteMonitorResponse: CheckCanDeleteMonitorResponse_1.CheckCanDeleteMonitorResponse, + CheckCanDeleteMonitorResponseData: CheckCanDeleteMonitorResponseData_1.CheckCanDeleteMonitorResponseData, + CheckCanDeleteSLOResponse: CheckCanDeleteSLOResponse_1.CheckCanDeleteSLOResponse, + CheckCanDeleteSLOResponseData: CheckCanDeleteSLOResponseData_1.CheckCanDeleteSLOResponseData, + CheckStatusWidgetDefinition: CheckStatusWidgetDefinition_1.CheckStatusWidgetDefinition, + Creator: Creator_1.Creator, + Dashboard: Dashboard_1.Dashboard, + DashboardBulkActionData: DashboardBulkActionData_1.DashboardBulkActionData, + DashboardBulkDeleteRequest: DashboardBulkDeleteRequest_1.DashboardBulkDeleteRequest, + DashboardDeleteResponse: DashboardDeleteResponse_1.DashboardDeleteResponse, + DashboardList: DashboardList_1.DashboardList, + DashboardListDeleteResponse: DashboardListDeleteResponse_1.DashboardListDeleteResponse, + DashboardListListResponse: DashboardListListResponse_1.DashboardListListResponse, + DashboardRestoreRequest: DashboardRestoreRequest_1.DashboardRestoreRequest, + DashboardSummary: DashboardSummary_1.DashboardSummary, + DashboardSummaryDefinition: DashboardSummaryDefinition_1.DashboardSummaryDefinition, + DashboardTemplateVariable: DashboardTemplateVariable_1.DashboardTemplateVariable, + DashboardTemplateVariablePreset: DashboardTemplateVariablePreset_1.DashboardTemplateVariablePreset, + DashboardTemplateVariablePresetValue: DashboardTemplateVariablePresetValue_1.DashboardTemplateVariablePresetValue, + DeletedMonitor: DeletedMonitor_1.DeletedMonitor, + DistributionWidgetDefinition: DistributionWidgetDefinition_1.DistributionWidgetDefinition, + DistributionWidgetRequest: DistributionWidgetRequest_1.DistributionWidgetRequest, + DistributionWidgetXAxis: DistributionWidgetXAxis_1.DistributionWidgetXAxis, + DistributionWidgetYAxis: DistributionWidgetYAxis_1.DistributionWidgetYAxis, + Downtime: Downtime_1.Downtime, + DowntimeChild: DowntimeChild_1.DowntimeChild, + DowntimeRecurrence: DowntimeRecurrence_1.DowntimeRecurrence, + Event: Event_1.Event, + EventCreateRequest: EventCreateRequest_1.EventCreateRequest, + EventCreateResponse: EventCreateResponse_1.EventCreateResponse, + EventListResponse: EventListResponse_1.EventListResponse, + EventQueryDefinition: EventQueryDefinition_1.EventQueryDefinition, + EventResponse: EventResponse_1.EventResponse, + EventStreamWidgetDefinition: EventStreamWidgetDefinition_1.EventStreamWidgetDefinition, + EventTimelineWidgetDefinition: EventTimelineWidgetDefinition_1.EventTimelineWidgetDefinition, + FormulaAndFunctionApmDependencyStatsQueryDefinition: FormulaAndFunctionApmDependencyStatsQueryDefinition_1.FormulaAndFunctionApmDependencyStatsQueryDefinition, + FormulaAndFunctionApmResourceStatsQueryDefinition: FormulaAndFunctionApmResourceStatsQueryDefinition_1.FormulaAndFunctionApmResourceStatsQueryDefinition, + FormulaAndFunctionEventQueryDefinition: FormulaAndFunctionEventQueryDefinition_1.FormulaAndFunctionEventQueryDefinition, + FormulaAndFunctionEventQueryDefinitionCompute: FormulaAndFunctionEventQueryDefinitionCompute_1.FormulaAndFunctionEventQueryDefinitionCompute, + FormulaAndFunctionEventQueryDefinitionSearch: FormulaAndFunctionEventQueryDefinitionSearch_1.FormulaAndFunctionEventQueryDefinitionSearch, + FormulaAndFunctionEventQueryGroupBy: FormulaAndFunctionEventQueryGroupBy_1.FormulaAndFunctionEventQueryGroupBy, + FormulaAndFunctionEventQueryGroupBySort: FormulaAndFunctionEventQueryGroupBySort_1.FormulaAndFunctionEventQueryGroupBySort, + FormulaAndFunctionMetricQueryDefinition: FormulaAndFunctionMetricQueryDefinition_1.FormulaAndFunctionMetricQueryDefinition, + FormulaAndFunctionProcessQueryDefinition: FormulaAndFunctionProcessQueryDefinition_1.FormulaAndFunctionProcessQueryDefinition, + FreeTextWidgetDefinition: FreeTextWidgetDefinition_1.FreeTextWidgetDefinition, + FunnelQuery: FunnelQuery_1.FunnelQuery, + FunnelStep: FunnelStep_1.FunnelStep, + FunnelWidgetDefinition: FunnelWidgetDefinition_1.FunnelWidgetDefinition, + FunnelWidgetRequest: FunnelWidgetRequest_1.FunnelWidgetRequest, + GCPAccount: GCPAccount_1.GCPAccount, + GeomapWidgetDefinition: GeomapWidgetDefinition_1.GeomapWidgetDefinition, + GeomapWidgetDefinitionStyle: GeomapWidgetDefinitionStyle_1.GeomapWidgetDefinitionStyle, + GeomapWidgetDefinitionView: GeomapWidgetDefinitionView_1.GeomapWidgetDefinitionView, + GeomapWidgetRequest: GeomapWidgetRequest_1.GeomapWidgetRequest, + GraphSnapshot: GraphSnapshot_1.GraphSnapshot, + GroupWidgetDefinition: GroupWidgetDefinition_1.GroupWidgetDefinition, + HTTPLogError: HTTPLogError_1.HTTPLogError, + HTTPLogItem: HTTPLogItem_1.HTTPLogItem, + HeatMapWidgetDefinition: HeatMapWidgetDefinition_1.HeatMapWidgetDefinition, + HeatMapWidgetRequest: HeatMapWidgetRequest_1.HeatMapWidgetRequest, + Host: Host_1.Host, + HostListResponse: HostListResponse_1.HostListResponse, + HostMapRequest: HostMapRequest_1.HostMapRequest, + HostMapWidgetDefinition: HostMapWidgetDefinition_1.HostMapWidgetDefinition, + HostMapWidgetDefinitionRequests: HostMapWidgetDefinitionRequests_1.HostMapWidgetDefinitionRequests, + HostMapWidgetDefinitionStyle: HostMapWidgetDefinitionStyle_1.HostMapWidgetDefinitionStyle, + HostMeta: HostMeta_1.HostMeta, + HostMetaInstallMethod: HostMetaInstallMethod_1.HostMetaInstallMethod, + HostMetrics: HostMetrics_1.HostMetrics, + HostMuteResponse: HostMuteResponse_1.HostMuteResponse, + HostMuteSettings: HostMuteSettings_1.HostMuteSettings, + HostTags: HostTags_1.HostTags, + HostTotals: HostTotals_1.HostTotals, + HourlyUsageAttributionBody: HourlyUsageAttributionBody_1.HourlyUsageAttributionBody, + HourlyUsageAttributionMetadata: HourlyUsageAttributionMetadata_1.HourlyUsageAttributionMetadata, + HourlyUsageAttributionPagination: HourlyUsageAttributionPagination_1.HourlyUsageAttributionPagination, + HourlyUsageAttributionResponse: HourlyUsageAttributionResponse_1.HourlyUsageAttributionResponse, + IFrameWidgetDefinition: IFrameWidgetDefinition_1.IFrameWidgetDefinition, + IPPrefixesAPI: IPPrefixesAPI_1.IPPrefixesAPI, + IPPrefixesAPM: IPPrefixesAPM_1.IPPrefixesAPM, + IPPrefixesAgents: IPPrefixesAgents_1.IPPrefixesAgents, + IPPrefixesLogs: IPPrefixesLogs_1.IPPrefixesLogs, + IPPrefixesProcess: IPPrefixesProcess_1.IPPrefixesProcess, + IPPrefixesSynthetics: IPPrefixesSynthetics_1.IPPrefixesSynthetics, + IPPrefixesWebhooks: IPPrefixesWebhooks_1.IPPrefixesWebhooks, + IPRanges: IPRanges_1.IPRanges, + IdpFormData: IdpFormData_1.IdpFormData, + IdpResponse: IdpResponse_1.IdpResponse, + ImageWidgetDefinition: ImageWidgetDefinition_1.ImageWidgetDefinition, + IntakePayloadAccepted: IntakePayloadAccepted_1.IntakePayloadAccepted, + ListStreamColumn: ListStreamColumn_1.ListStreamColumn, + ListStreamQuery: ListStreamQuery_1.ListStreamQuery, + ListStreamWidgetDefinition: ListStreamWidgetDefinition_1.ListStreamWidgetDefinition, + ListStreamWidgetRequest: ListStreamWidgetRequest_1.ListStreamWidgetRequest, + Log: Log_1.Log, + LogContent: LogContent_1.LogContent, + LogQueryDefinition: LogQueryDefinition_1.LogQueryDefinition, + LogQueryDefinitionGroupBy: LogQueryDefinitionGroupBy_1.LogQueryDefinitionGroupBy, + LogQueryDefinitionGroupBySort: LogQueryDefinitionGroupBySort_1.LogQueryDefinitionGroupBySort, + LogQueryDefinitionSearch: LogQueryDefinitionSearch_1.LogQueryDefinitionSearch, + LogStreamWidgetDefinition: LogStreamWidgetDefinition_1.LogStreamWidgetDefinition, + LogsAPIError: LogsAPIError_1.LogsAPIError, + LogsAPIErrorResponse: LogsAPIErrorResponse_1.LogsAPIErrorResponse, + LogsArithmeticProcessor: LogsArithmeticProcessor_1.LogsArithmeticProcessor, + LogsAttributeRemapper: LogsAttributeRemapper_1.LogsAttributeRemapper, + LogsByRetention: LogsByRetention_1.LogsByRetention, + LogsByRetentionMonthlyUsage: LogsByRetentionMonthlyUsage_1.LogsByRetentionMonthlyUsage, + LogsByRetentionOrgUsage: LogsByRetentionOrgUsage_1.LogsByRetentionOrgUsage, + LogsByRetentionOrgs: LogsByRetentionOrgs_1.LogsByRetentionOrgs, + LogsCategoryProcessor: LogsCategoryProcessor_1.LogsCategoryProcessor, + LogsCategoryProcessorCategory: LogsCategoryProcessorCategory_1.LogsCategoryProcessorCategory, + LogsDateRemapper: LogsDateRemapper_1.LogsDateRemapper, + LogsExclusion: LogsExclusion_1.LogsExclusion, + LogsExclusionFilter: LogsExclusionFilter_1.LogsExclusionFilter, + LogsFilter: LogsFilter_1.LogsFilter, + LogsGeoIPParser: LogsGeoIPParser_1.LogsGeoIPParser, + LogsGrokParser: LogsGrokParser_1.LogsGrokParser, + LogsGrokParserRules: LogsGrokParserRules_1.LogsGrokParserRules, + LogsIndex: LogsIndex_1.LogsIndex, + LogsIndexListResponse: LogsIndexListResponse_1.LogsIndexListResponse, + LogsIndexUpdateRequest: LogsIndexUpdateRequest_1.LogsIndexUpdateRequest, + LogsIndexesOrder: LogsIndexesOrder_1.LogsIndexesOrder, + LogsListRequest: LogsListRequest_1.LogsListRequest, + LogsListRequestTime: LogsListRequestTime_1.LogsListRequestTime, + LogsListResponse: LogsListResponse_1.LogsListResponse, + LogsLookupProcessor: LogsLookupProcessor_1.LogsLookupProcessor, + LogsMessageRemapper: LogsMessageRemapper_1.LogsMessageRemapper, + LogsPipeline: LogsPipeline_1.LogsPipeline, + LogsPipelineProcessor: LogsPipelineProcessor_1.LogsPipelineProcessor, + LogsPipelinesOrder: LogsPipelinesOrder_1.LogsPipelinesOrder, + LogsQueryCompute: LogsQueryCompute_1.LogsQueryCompute, + LogsRetentionAggSumUsage: LogsRetentionAggSumUsage_1.LogsRetentionAggSumUsage, + LogsRetentionSumUsage: LogsRetentionSumUsage_1.LogsRetentionSumUsage, + LogsServiceRemapper: LogsServiceRemapper_1.LogsServiceRemapper, + LogsStatusRemapper: LogsStatusRemapper_1.LogsStatusRemapper, + LogsStringBuilderProcessor: LogsStringBuilderProcessor_1.LogsStringBuilderProcessor, + LogsTraceRemapper: LogsTraceRemapper_1.LogsTraceRemapper, + LogsURLParser: LogsURLParser_1.LogsURLParser, + LogsUserAgentParser: LogsUserAgentParser_1.LogsUserAgentParser, + MetricMetadata: MetricMetadata_1.MetricMetadata, + MetricSearchResponse: MetricSearchResponse_1.MetricSearchResponse, + MetricSearchResponseResults: MetricSearchResponseResults_1.MetricSearchResponseResults, + MetricsListResponse: MetricsListResponse_1.MetricsListResponse, + MetricsPayload: MetricsPayload_1.MetricsPayload, + MetricsQueryMetadata: MetricsQueryMetadata_1.MetricsQueryMetadata, + MetricsQueryResponse: MetricsQueryResponse_1.MetricsQueryResponse, + MetricsQueryUnit: MetricsQueryUnit_1.MetricsQueryUnit, + Monitor: Monitor_1.Monitor, + MonitorFormulaAndFunctionEventQueryDefinition: MonitorFormulaAndFunctionEventQueryDefinition_1.MonitorFormulaAndFunctionEventQueryDefinition, + MonitorFormulaAndFunctionEventQueryDefinitionCompute: MonitorFormulaAndFunctionEventQueryDefinitionCompute_1.MonitorFormulaAndFunctionEventQueryDefinitionCompute, + MonitorFormulaAndFunctionEventQueryDefinitionSearch: MonitorFormulaAndFunctionEventQueryDefinitionSearch_1.MonitorFormulaAndFunctionEventQueryDefinitionSearch, + MonitorFormulaAndFunctionEventQueryGroupBy: MonitorFormulaAndFunctionEventQueryGroupBy_1.MonitorFormulaAndFunctionEventQueryGroupBy, + MonitorFormulaAndFunctionEventQueryGroupBySort: MonitorFormulaAndFunctionEventQueryGroupBySort_1.MonitorFormulaAndFunctionEventQueryGroupBySort, + MonitorGroupSearchResponse: MonitorGroupSearchResponse_1.MonitorGroupSearchResponse, + MonitorGroupSearchResponseCounts: MonitorGroupSearchResponseCounts_1.MonitorGroupSearchResponseCounts, + MonitorGroupSearchResult: MonitorGroupSearchResult_1.MonitorGroupSearchResult, + MonitorOptions: MonitorOptions_1.MonitorOptions, + MonitorOptionsAggregation: MonitorOptionsAggregation_1.MonitorOptionsAggregation, + MonitorSearchResponse: MonitorSearchResponse_1.MonitorSearchResponse, + MonitorSearchResponseCounts: MonitorSearchResponseCounts_1.MonitorSearchResponseCounts, + MonitorSearchResponseMetadata: MonitorSearchResponseMetadata_1.MonitorSearchResponseMetadata, + MonitorSearchResult: MonitorSearchResult_1.MonitorSearchResult, + MonitorSearchResultNotification: MonitorSearchResultNotification_1.MonitorSearchResultNotification, + MonitorState: MonitorState_1.MonitorState, + MonitorStateGroup: MonitorStateGroup_1.MonitorStateGroup, + MonitorSummaryWidgetDefinition: MonitorSummaryWidgetDefinition_1.MonitorSummaryWidgetDefinition, + MonitorThresholdWindowOptions: MonitorThresholdWindowOptions_1.MonitorThresholdWindowOptions, + MonitorThresholds: MonitorThresholds_1.MonitorThresholds, + MonitorUpdateRequest: MonitorUpdateRequest_1.MonitorUpdateRequest, + MonthlyUsageAttributionBody: MonthlyUsageAttributionBody_1.MonthlyUsageAttributionBody, + MonthlyUsageAttributionMetadata: MonthlyUsageAttributionMetadata_1.MonthlyUsageAttributionMetadata, + MonthlyUsageAttributionPagination: MonthlyUsageAttributionPagination_1.MonthlyUsageAttributionPagination, + MonthlyUsageAttributionResponse: MonthlyUsageAttributionResponse_1.MonthlyUsageAttributionResponse, + MonthlyUsageAttributionValues: MonthlyUsageAttributionValues_1.MonthlyUsageAttributionValues, + NoteWidgetDefinition: NoteWidgetDefinition_1.NoteWidgetDefinition, + NotebookAbsoluteTime: NotebookAbsoluteTime_1.NotebookAbsoluteTime, + NotebookAuthor: NotebookAuthor_1.NotebookAuthor, + NotebookCellCreateRequest: NotebookCellCreateRequest_1.NotebookCellCreateRequest, + NotebookCellResponse: NotebookCellResponse_1.NotebookCellResponse, + NotebookCellUpdateRequest: NotebookCellUpdateRequest_1.NotebookCellUpdateRequest, + NotebookCreateData: NotebookCreateData_1.NotebookCreateData, + NotebookCreateDataAttributes: NotebookCreateDataAttributes_1.NotebookCreateDataAttributes, + NotebookCreateRequest: NotebookCreateRequest_1.NotebookCreateRequest, + NotebookDistributionCellAttributes: NotebookDistributionCellAttributes_1.NotebookDistributionCellAttributes, + NotebookHeatMapCellAttributes: NotebookHeatMapCellAttributes_1.NotebookHeatMapCellAttributes, + NotebookLogStreamCellAttributes: NotebookLogStreamCellAttributes_1.NotebookLogStreamCellAttributes, + NotebookMarkdownCellAttributes: NotebookMarkdownCellAttributes_1.NotebookMarkdownCellAttributes, + NotebookMarkdownCellDefinition: NotebookMarkdownCellDefinition_1.NotebookMarkdownCellDefinition, + NotebookMetadata: NotebookMetadata_1.NotebookMetadata, + NotebookRelativeTime: NotebookRelativeTime_1.NotebookRelativeTime, + NotebookResponse: NotebookResponse_1.NotebookResponse, + NotebookResponseData: NotebookResponseData_1.NotebookResponseData, + NotebookResponseDataAttributes: NotebookResponseDataAttributes_1.NotebookResponseDataAttributes, + NotebookSplitBy: NotebookSplitBy_1.NotebookSplitBy, + NotebookTimeseriesCellAttributes: NotebookTimeseriesCellAttributes_1.NotebookTimeseriesCellAttributes, + NotebookToplistCellAttributes: NotebookToplistCellAttributes_1.NotebookToplistCellAttributes, + NotebookUpdateData: NotebookUpdateData_1.NotebookUpdateData, + NotebookUpdateDataAttributes: NotebookUpdateDataAttributes_1.NotebookUpdateDataAttributes, + NotebookUpdateRequest: NotebookUpdateRequest_1.NotebookUpdateRequest, + NotebooksResponse: NotebooksResponse_1.NotebooksResponse, + NotebooksResponseData: NotebooksResponseData_1.NotebooksResponseData, + NotebooksResponseDataAttributes: NotebooksResponseDataAttributes_1.NotebooksResponseDataAttributes, + NotebooksResponseMeta: NotebooksResponseMeta_1.NotebooksResponseMeta, + NotebooksResponsePage: NotebooksResponsePage_1.NotebooksResponsePage, + Organization: Organization_1.Organization, + OrganizationBilling: OrganizationBilling_1.OrganizationBilling, + OrganizationCreateBody: OrganizationCreateBody_1.OrganizationCreateBody, + OrganizationCreateResponse: OrganizationCreateResponse_1.OrganizationCreateResponse, + OrganizationListResponse: OrganizationListResponse_1.OrganizationListResponse, + OrganizationResponse: OrganizationResponse_1.OrganizationResponse, + OrganizationSettings: OrganizationSettings_1.OrganizationSettings, + OrganizationSettingsSaml: OrganizationSettingsSaml_1.OrganizationSettingsSaml, + OrganizationSettingsSamlAutocreateUsersDomains: OrganizationSettingsSamlAutocreateUsersDomains_1.OrganizationSettingsSamlAutocreateUsersDomains, + OrganizationSettingsSamlIdpInitiatedLogin: OrganizationSettingsSamlIdpInitiatedLogin_1.OrganizationSettingsSamlIdpInitiatedLogin, + OrganizationSettingsSamlStrictMode: OrganizationSettingsSamlStrictMode_1.OrganizationSettingsSamlStrictMode, + OrganizationSubscription: OrganizationSubscription_1.OrganizationSubscription, + PagerDutyService: PagerDutyService_1.PagerDutyService, + PagerDutyServiceKey: PagerDutyServiceKey_1.PagerDutyServiceKey, + PagerDutyServiceName: PagerDutyServiceName_1.PagerDutyServiceName, + Pagination: Pagination_1.Pagination, + ProcessQueryDefinition: ProcessQueryDefinition_1.ProcessQueryDefinition, + QueryValueWidgetDefinition: QueryValueWidgetDefinition_1.QueryValueWidgetDefinition, + QueryValueWidgetRequest: QueryValueWidgetRequest_1.QueryValueWidgetRequest, + ResponseMetaAttributes: ResponseMetaAttributes_1.ResponseMetaAttributes, + SLOBulkDeleteError: SLOBulkDeleteError_1.SLOBulkDeleteError, + SLOBulkDeleteResponse: SLOBulkDeleteResponse_1.SLOBulkDeleteResponse, + SLOBulkDeleteResponseData: SLOBulkDeleteResponseData_1.SLOBulkDeleteResponseData, + SLOCorrection: SLOCorrection_1.SLOCorrection, + SLOCorrectionCreateData: SLOCorrectionCreateData_1.SLOCorrectionCreateData, + SLOCorrectionCreateRequest: SLOCorrectionCreateRequest_1.SLOCorrectionCreateRequest, + SLOCorrectionCreateRequestAttributes: SLOCorrectionCreateRequestAttributes_1.SLOCorrectionCreateRequestAttributes, + SLOCorrectionListResponse: SLOCorrectionListResponse_1.SLOCorrectionListResponse, + SLOCorrectionResponse: SLOCorrectionResponse_1.SLOCorrectionResponse, + SLOCorrectionResponseAttributes: SLOCorrectionResponseAttributes_1.SLOCorrectionResponseAttributes, + SLOCorrectionResponseAttributesModifier: SLOCorrectionResponseAttributesModifier_1.SLOCorrectionResponseAttributesModifier, + SLOCorrectionUpdateData: SLOCorrectionUpdateData_1.SLOCorrectionUpdateData, + SLOCorrectionUpdateRequest: SLOCorrectionUpdateRequest_1.SLOCorrectionUpdateRequest, + SLOCorrectionUpdateRequestAttributes: SLOCorrectionUpdateRequestAttributes_1.SLOCorrectionUpdateRequestAttributes, + SLODeleteResponse: SLODeleteResponse_1.SLODeleteResponse, + SLOHistoryMetrics: SLOHistoryMetrics_1.SLOHistoryMetrics, + SLOHistoryMetricsSeries: SLOHistoryMetricsSeries_1.SLOHistoryMetricsSeries, + SLOHistoryMetricsSeriesMetadata: SLOHistoryMetricsSeriesMetadata_1.SLOHistoryMetricsSeriesMetadata, + SLOHistoryMetricsSeriesMetadataUnit: SLOHistoryMetricsSeriesMetadataUnit_1.SLOHistoryMetricsSeriesMetadataUnit, + SLOHistoryMonitor: SLOHistoryMonitor_1.SLOHistoryMonitor, + SLOHistoryResponse: SLOHistoryResponse_1.SLOHistoryResponse, + SLOHistoryResponseData: SLOHistoryResponseData_1.SLOHistoryResponseData, + SLOHistoryResponseError: SLOHistoryResponseError_1.SLOHistoryResponseError, + SLOHistoryResponseErrorWithType: SLOHistoryResponseErrorWithType_1.SLOHistoryResponseErrorWithType, + SLOHistorySLIData: SLOHistorySLIData_1.SLOHistorySLIData, + SLOListResponse: SLOListResponse_1.SLOListResponse, + SLOListResponseMetadata: SLOListResponseMetadata_1.SLOListResponseMetadata, + SLOListResponseMetadataPage: SLOListResponseMetadataPage_1.SLOListResponseMetadataPage, + SLOResponse: SLOResponse_1.SLOResponse, + SLOResponseData: SLOResponseData_1.SLOResponseData, + SLOThreshold: SLOThreshold_1.SLOThreshold, + SLOWidgetDefinition: SLOWidgetDefinition_1.SLOWidgetDefinition, + ScatterPlotRequest: ScatterPlotRequest_1.ScatterPlotRequest, + ScatterPlotWidgetDefinition: ScatterPlotWidgetDefinition_1.ScatterPlotWidgetDefinition, + ScatterPlotWidgetDefinitionRequests: ScatterPlotWidgetDefinitionRequests_1.ScatterPlotWidgetDefinitionRequests, + ScatterplotTableRequest: ScatterplotTableRequest_1.ScatterplotTableRequest, + ScatterplotWidgetFormula: ScatterplotWidgetFormula_1.ScatterplotWidgetFormula, + Series: Series_1.Series, + ServiceCheck: ServiceCheck_1.ServiceCheck, + ServiceLevelObjective: ServiceLevelObjective_1.ServiceLevelObjective, + ServiceLevelObjectiveQuery: ServiceLevelObjectiveQuery_1.ServiceLevelObjectiveQuery, + ServiceLevelObjectiveRequest: ServiceLevelObjectiveRequest_1.ServiceLevelObjectiveRequest, + ServiceMapWidgetDefinition: ServiceMapWidgetDefinition_1.ServiceMapWidgetDefinition, + ServiceSummaryWidgetDefinition: ServiceSummaryWidgetDefinition_1.ServiceSummaryWidgetDefinition, + SlackIntegrationChannel: SlackIntegrationChannel_1.SlackIntegrationChannel, + SlackIntegrationChannelDisplay: SlackIntegrationChannelDisplay_1.SlackIntegrationChannelDisplay, + SunburstWidgetDefinition: SunburstWidgetDefinition_1.SunburstWidgetDefinition, + SunburstWidgetLegendInlineAutomatic: SunburstWidgetLegendInlineAutomatic_1.SunburstWidgetLegendInlineAutomatic, + SunburstWidgetLegendTable: SunburstWidgetLegendTable_1.SunburstWidgetLegendTable, + SunburstWidgetRequest: SunburstWidgetRequest_1.SunburstWidgetRequest, + SyntheticsAPIStep: SyntheticsAPIStep_1.SyntheticsAPIStep, + SyntheticsAPITest: SyntheticsAPITest_1.SyntheticsAPITest, + SyntheticsAPITestConfig: SyntheticsAPITestConfig_1.SyntheticsAPITestConfig, + SyntheticsAPITestResultData: SyntheticsAPITestResultData_1.SyntheticsAPITestResultData, + SyntheticsAPITestResultFull: SyntheticsAPITestResultFull_1.SyntheticsAPITestResultFull, + SyntheticsAPITestResultFullCheck: SyntheticsAPITestResultFullCheck_1.SyntheticsAPITestResultFullCheck, + SyntheticsAPITestResultShort: SyntheticsAPITestResultShort_1.SyntheticsAPITestResultShort, + SyntheticsAPITestResultShortResult: SyntheticsAPITestResultShortResult_1.SyntheticsAPITestResultShortResult, + SyntheticsApiTestResultFailure: SyntheticsApiTestResultFailure_1.SyntheticsApiTestResultFailure, + SyntheticsAssertionJSONPathTarget: SyntheticsAssertionJSONPathTarget_1.SyntheticsAssertionJSONPathTarget, + SyntheticsAssertionJSONPathTargetTarget: SyntheticsAssertionJSONPathTargetTarget_1.SyntheticsAssertionJSONPathTargetTarget, + SyntheticsAssertionTarget: SyntheticsAssertionTarget_1.SyntheticsAssertionTarget, + SyntheticsBasicAuthNTLM: SyntheticsBasicAuthNTLM_1.SyntheticsBasicAuthNTLM, + SyntheticsBasicAuthSigv4: SyntheticsBasicAuthSigv4_1.SyntheticsBasicAuthSigv4, + SyntheticsBasicAuthWeb: SyntheticsBasicAuthWeb_1.SyntheticsBasicAuthWeb, + SyntheticsBatchDetails: SyntheticsBatchDetails_1.SyntheticsBatchDetails, + SyntheticsBatchDetailsData: SyntheticsBatchDetailsData_1.SyntheticsBatchDetailsData, + SyntheticsBatchResult: SyntheticsBatchResult_1.SyntheticsBatchResult, + SyntheticsBrowserError: SyntheticsBrowserError_1.SyntheticsBrowserError, + SyntheticsBrowserTest: SyntheticsBrowserTest_1.SyntheticsBrowserTest, + SyntheticsBrowserTestConfig: SyntheticsBrowserTestConfig_1.SyntheticsBrowserTestConfig, + SyntheticsBrowserTestResultData: SyntheticsBrowserTestResultData_1.SyntheticsBrowserTestResultData, + SyntheticsBrowserTestResultFailure: SyntheticsBrowserTestResultFailure_1.SyntheticsBrowserTestResultFailure, + SyntheticsBrowserTestResultFull: SyntheticsBrowserTestResultFull_1.SyntheticsBrowserTestResultFull, + SyntheticsBrowserTestResultFullCheck: SyntheticsBrowserTestResultFullCheck_1.SyntheticsBrowserTestResultFullCheck, + SyntheticsBrowserTestResultShort: SyntheticsBrowserTestResultShort_1.SyntheticsBrowserTestResultShort, + SyntheticsBrowserTestResultShortResult: SyntheticsBrowserTestResultShortResult_1.SyntheticsBrowserTestResultShortResult, + SyntheticsBrowserVariable: SyntheticsBrowserVariable_1.SyntheticsBrowserVariable, + SyntheticsCIBatchMetadata: SyntheticsCIBatchMetadata_1.SyntheticsCIBatchMetadata, + SyntheticsCIBatchMetadataCI: SyntheticsCIBatchMetadataCI_1.SyntheticsCIBatchMetadataCI, + SyntheticsCIBatchMetadataGit: SyntheticsCIBatchMetadataGit_1.SyntheticsCIBatchMetadataGit, + SyntheticsCIBatchMetadataPipeline: SyntheticsCIBatchMetadataPipeline_1.SyntheticsCIBatchMetadataPipeline, + SyntheticsCIBatchMetadataProvider: SyntheticsCIBatchMetadataProvider_1.SyntheticsCIBatchMetadataProvider, + SyntheticsCITest: SyntheticsCITest_1.SyntheticsCITest, + SyntheticsCITestBody: SyntheticsCITestBody_1.SyntheticsCITestBody, + SyntheticsConfigVariable: SyntheticsConfigVariable_1.SyntheticsConfigVariable, + SyntheticsCoreWebVitals: SyntheticsCoreWebVitals_1.SyntheticsCoreWebVitals, + SyntheticsDeleteTestsPayload: SyntheticsDeleteTestsPayload_1.SyntheticsDeleteTestsPayload, + SyntheticsDeleteTestsResponse: SyntheticsDeleteTestsResponse_1.SyntheticsDeleteTestsResponse, + SyntheticsDeletedTest: SyntheticsDeletedTest_1.SyntheticsDeletedTest, + SyntheticsDevice: SyntheticsDevice_1.SyntheticsDevice, + SyntheticsGetAPITestLatestResultsResponse: SyntheticsGetAPITestLatestResultsResponse_1.SyntheticsGetAPITestLatestResultsResponse, + SyntheticsGetBrowserTestLatestResultsResponse: SyntheticsGetBrowserTestLatestResultsResponse_1.SyntheticsGetBrowserTestLatestResultsResponse, + SyntheticsGlobalVariable: SyntheticsGlobalVariable_1.SyntheticsGlobalVariable, + SyntheticsGlobalVariableAttributes: SyntheticsGlobalVariableAttributes_1.SyntheticsGlobalVariableAttributes, + SyntheticsGlobalVariableParseTestOptions: SyntheticsGlobalVariableParseTestOptions_1.SyntheticsGlobalVariableParseTestOptions, + SyntheticsGlobalVariableValue: SyntheticsGlobalVariableValue_1.SyntheticsGlobalVariableValue, + SyntheticsListGlobalVariablesResponse: SyntheticsListGlobalVariablesResponse_1.SyntheticsListGlobalVariablesResponse, + SyntheticsListTestsResponse: SyntheticsListTestsResponse_1.SyntheticsListTestsResponse, + SyntheticsLocation: SyntheticsLocation_1.SyntheticsLocation, + SyntheticsLocations: SyntheticsLocations_1.SyntheticsLocations, + SyntheticsParsingOptions: SyntheticsParsingOptions_1.SyntheticsParsingOptions, + SyntheticsPrivateLocation: SyntheticsPrivateLocation_1.SyntheticsPrivateLocation, + SyntheticsPrivateLocationCreationResponse: SyntheticsPrivateLocationCreationResponse_1.SyntheticsPrivateLocationCreationResponse, + SyntheticsPrivateLocationCreationResponseResultEncryption: SyntheticsPrivateLocationCreationResponseResultEncryption_1.SyntheticsPrivateLocationCreationResponseResultEncryption, + SyntheticsPrivateLocationSecrets: SyntheticsPrivateLocationSecrets_1.SyntheticsPrivateLocationSecrets, + SyntheticsPrivateLocationSecretsAuthentication: SyntheticsPrivateLocationSecretsAuthentication_1.SyntheticsPrivateLocationSecretsAuthentication, + SyntheticsPrivateLocationSecretsConfigDecryption: SyntheticsPrivateLocationSecretsConfigDecryption_1.SyntheticsPrivateLocationSecretsConfigDecryption, + SyntheticsSSLCertificate: SyntheticsSSLCertificate_1.SyntheticsSSLCertificate, + SyntheticsSSLCertificateIssuer: SyntheticsSSLCertificateIssuer_1.SyntheticsSSLCertificateIssuer, + SyntheticsSSLCertificateSubject: SyntheticsSSLCertificateSubject_1.SyntheticsSSLCertificateSubject, + SyntheticsStep: SyntheticsStep_1.SyntheticsStep, + SyntheticsStepDetail: SyntheticsStepDetail_1.SyntheticsStepDetail, + SyntheticsStepDetailWarning: SyntheticsStepDetailWarning_1.SyntheticsStepDetailWarning, + SyntheticsTestConfig: SyntheticsTestConfig_1.SyntheticsTestConfig, + SyntheticsTestDetails: SyntheticsTestDetails_1.SyntheticsTestDetails, + SyntheticsTestOptions: SyntheticsTestOptions_1.SyntheticsTestOptions, + SyntheticsTestOptionsMonitorOptions: SyntheticsTestOptionsMonitorOptions_1.SyntheticsTestOptionsMonitorOptions, + SyntheticsTestOptionsRetry: SyntheticsTestOptionsRetry_1.SyntheticsTestOptionsRetry, + SyntheticsTestRequest: SyntheticsTestRequest_1.SyntheticsTestRequest, + SyntheticsTestRequestCertificate: SyntheticsTestRequestCertificate_1.SyntheticsTestRequestCertificate, + SyntheticsTestRequestCertificateItem: SyntheticsTestRequestCertificateItem_1.SyntheticsTestRequestCertificateItem, + SyntheticsTestRequestProxy: SyntheticsTestRequestProxy_1.SyntheticsTestRequestProxy, + SyntheticsTiming: SyntheticsTiming_1.SyntheticsTiming, + SyntheticsTriggerBody: SyntheticsTriggerBody_1.SyntheticsTriggerBody, + SyntheticsTriggerCITestLocation: SyntheticsTriggerCITestLocation_1.SyntheticsTriggerCITestLocation, + SyntheticsTriggerCITestRunResult: SyntheticsTriggerCITestRunResult_1.SyntheticsTriggerCITestRunResult, + SyntheticsTriggerCITestsResponse: SyntheticsTriggerCITestsResponse_1.SyntheticsTriggerCITestsResponse, + SyntheticsTriggerTest: SyntheticsTriggerTest_1.SyntheticsTriggerTest, + SyntheticsUpdateTestPauseStatusPayload: SyntheticsUpdateTestPauseStatusPayload_1.SyntheticsUpdateTestPauseStatusPayload, + SyntheticsVariableParser: SyntheticsVariableParser_1.SyntheticsVariableParser, + TableWidgetDefinition: TableWidgetDefinition_1.TableWidgetDefinition, + TableWidgetRequest: TableWidgetRequest_1.TableWidgetRequest, + TagToHosts: TagToHosts_1.TagToHosts, + TimeseriesWidgetDefinition: TimeseriesWidgetDefinition_1.TimeseriesWidgetDefinition, + TimeseriesWidgetExpressionAlias: TimeseriesWidgetExpressionAlias_1.TimeseriesWidgetExpressionAlias, + TimeseriesWidgetRequest: TimeseriesWidgetRequest_1.TimeseriesWidgetRequest, + ToplistWidgetDefinition: ToplistWidgetDefinition_1.ToplistWidgetDefinition, + ToplistWidgetRequest: ToplistWidgetRequest_1.ToplistWidgetRequest, + TreeMapWidgetDefinition: TreeMapWidgetDefinition_1.TreeMapWidgetDefinition, + TreeMapWidgetRequest: TreeMapWidgetRequest_1.TreeMapWidgetRequest, + UsageAnalyzedLogsHour: UsageAnalyzedLogsHour_1.UsageAnalyzedLogsHour, + UsageAnalyzedLogsResponse: UsageAnalyzedLogsResponse_1.UsageAnalyzedLogsResponse, + UsageAttributionAggregatesBody: UsageAttributionAggregatesBody_1.UsageAttributionAggregatesBody, + UsageAttributionBody: UsageAttributionBody_1.UsageAttributionBody, + UsageAttributionMetadata: UsageAttributionMetadata_1.UsageAttributionMetadata, + UsageAttributionPagination: UsageAttributionPagination_1.UsageAttributionPagination, + UsageAttributionResponse: UsageAttributionResponse_1.UsageAttributionResponse, + UsageAttributionValues: UsageAttributionValues_1.UsageAttributionValues, + UsageAuditLogsHour: UsageAuditLogsHour_1.UsageAuditLogsHour, + UsageAuditLogsResponse: UsageAuditLogsResponse_1.UsageAuditLogsResponse, + UsageBillableSummaryBody: UsageBillableSummaryBody_1.UsageBillableSummaryBody, + UsageBillableSummaryHour: UsageBillableSummaryHour_1.UsageBillableSummaryHour, + UsageBillableSummaryKeys: UsageBillableSummaryKeys_1.UsageBillableSummaryKeys, + UsageBillableSummaryResponse: UsageBillableSummaryResponse_1.UsageBillableSummaryResponse, + UsageCWSHour: UsageCWSHour_1.UsageCWSHour, + UsageCWSResponse: UsageCWSResponse_1.UsageCWSResponse, + UsageCloudSecurityPostureManagementHour: UsageCloudSecurityPostureManagementHour_1.UsageCloudSecurityPostureManagementHour, + UsageCloudSecurityPostureManagementResponse: UsageCloudSecurityPostureManagementResponse_1.UsageCloudSecurityPostureManagementResponse, + UsageCustomReportsAttributes: UsageCustomReportsAttributes_1.UsageCustomReportsAttributes, + UsageCustomReportsData: UsageCustomReportsData_1.UsageCustomReportsData, + UsageCustomReportsMeta: UsageCustomReportsMeta_1.UsageCustomReportsMeta, + UsageCustomReportsPage: UsageCustomReportsPage_1.UsageCustomReportsPage, + UsageCustomReportsResponse: UsageCustomReportsResponse_1.UsageCustomReportsResponse, + UsageDBMHour: UsageDBMHour_1.UsageDBMHour, + UsageDBMResponse: UsageDBMResponse_1.UsageDBMResponse, + UsageFargateHour: UsageFargateHour_1.UsageFargateHour, + UsageFargateResponse: UsageFargateResponse_1.UsageFargateResponse, + UsageHostHour: UsageHostHour_1.UsageHostHour, + UsageHostsResponse: UsageHostsResponse_1.UsageHostsResponse, + UsageIncidentManagementHour: UsageIncidentManagementHour_1.UsageIncidentManagementHour, + UsageIncidentManagementResponse: UsageIncidentManagementResponse_1.UsageIncidentManagementResponse, + UsageIndexedSpansHour: UsageIndexedSpansHour_1.UsageIndexedSpansHour, + UsageIndexedSpansResponse: UsageIndexedSpansResponse_1.UsageIndexedSpansResponse, + UsageIngestedSpansHour: UsageIngestedSpansHour_1.UsageIngestedSpansHour, + UsageIngestedSpansResponse: UsageIngestedSpansResponse_1.UsageIngestedSpansResponse, + UsageIoTHour: UsageIoTHour_1.UsageIoTHour, + UsageIoTResponse: UsageIoTResponse_1.UsageIoTResponse, + UsageLambdaHour: UsageLambdaHour_1.UsageLambdaHour, + UsageLambdaResponse: UsageLambdaResponse_1.UsageLambdaResponse, + UsageLogsByIndexHour: UsageLogsByIndexHour_1.UsageLogsByIndexHour, + UsageLogsByIndexResponse: UsageLogsByIndexResponse_1.UsageLogsByIndexResponse, + UsageLogsByRetentionHour: UsageLogsByRetentionHour_1.UsageLogsByRetentionHour, + UsageLogsByRetentionResponse: UsageLogsByRetentionResponse_1.UsageLogsByRetentionResponse, + UsageLogsHour: UsageLogsHour_1.UsageLogsHour, + UsageLogsResponse: UsageLogsResponse_1.UsageLogsResponse, + UsageNetworkFlowsHour: UsageNetworkFlowsHour_1.UsageNetworkFlowsHour, + UsageNetworkFlowsResponse: UsageNetworkFlowsResponse_1.UsageNetworkFlowsResponse, + UsageNetworkHostsHour: UsageNetworkHostsHour_1.UsageNetworkHostsHour, + UsageNetworkHostsResponse: UsageNetworkHostsResponse_1.UsageNetworkHostsResponse, + UsageProfilingHour: UsageProfilingHour_1.UsageProfilingHour, + UsageProfilingResponse: UsageProfilingResponse_1.UsageProfilingResponse, + UsageRumSessionsHour: UsageRumSessionsHour_1.UsageRumSessionsHour, + UsageRumSessionsResponse: UsageRumSessionsResponse_1.UsageRumSessionsResponse, + UsageRumUnitsHour: UsageRumUnitsHour_1.UsageRumUnitsHour, + UsageRumUnitsResponse: UsageRumUnitsResponse_1.UsageRumUnitsResponse, + UsageSDSHour: UsageSDSHour_1.UsageSDSHour, + UsageSDSResponse: UsageSDSResponse_1.UsageSDSResponse, + UsageSNMPHour: UsageSNMPHour_1.UsageSNMPHour, + UsageSNMPResponse: UsageSNMPResponse_1.UsageSNMPResponse, + UsageSpecifiedCustomReportsAttributes: UsageSpecifiedCustomReportsAttributes_1.UsageSpecifiedCustomReportsAttributes, + UsageSpecifiedCustomReportsData: UsageSpecifiedCustomReportsData_1.UsageSpecifiedCustomReportsData, + UsageSpecifiedCustomReportsMeta: UsageSpecifiedCustomReportsMeta_1.UsageSpecifiedCustomReportsMeta, + UsageSpecifiedCustomReportsPage: UsageSpecifiedCustomReportsPage_1.UsageSpecifiedCustomReportsPage, + UsageSpecifiedCustomReportsResponse: UsageSpecifiedCustomReportsResponse_1.UsageSpecifiedCustomReportsResponse, + UsageSummaryDate: UsageSummaryDate_1.UsageSummaryDate, + UsageSummaryDateOrg: UsageSummaryDateOrg_1.UsageSummaryDateOrg, + UsageSummaryResponse: UsageSummaryResponse_1.UsageSummaryResponse, + UsageSyntheticsAPIHour: UsageSyntheticsAPIHour_1.UsageSyntheticsAPIHour, + UsageSyntheticsAPIResponse: UsageSyntheticsAPIResponse_1.UsageSyntheticsAPIResponse, + UsageSyntheticsBrowserHour: UsageSyntheticsBrowserHour_1.UsageSyntheticsBrowserHour, + UsageSyntheticsBrowserResponse: UsageSyntheticsBrowserResponse_1.UsageSyntheticsBrowserResponse, + UsageSyntheticsHour: UsageSyntheticsHour_1.UsageSyntheticsHour, + UsageSyntheticsResponse: UsageSyntheticsResponse_1.UsageSyntheticsResponse, + UsageTimeseriesHour: UsageTimeseriesHour_1.UsageTimeseriesHour, + UsageTimeseriesResponse: UsageTimeseriesResponse_1.UsageTimeseriesResponse, + UsageTopAvgMetricsHour: UsageTopAvgMetricsHour_1.UsageTopAvgMetricsHour, + UsageTopAvgMetricsMetadata: UsageTopAvgMetricsMetadata_1.UsageTopAvgMetricsMetadata, + UsageTopAvgMetricsResponse: UsageTopAvgMetricsResponse_1.UsageTopAvgMetricsResponse, + User: User_1.User, + UserDisableResponse: UserDisableResponse_1.UserDisableResponse, + UserListResponse: UserListResponse_1.UserListResponse, + UserResponse: UserResponse_1.UserResponse, + WebhooksIntegration: WebhooksIntegration_1.WebhooksIntegration, + WebhooksIntegrationCustomVariable: WebhooksIntegrationCustomVariable_1.WebhooksIntegrationCustomVariable, + WebhooksIntegrationCustomVariableResponse: WebhooksIntegrationCustomVariableResponse_1.WebhooksIntegrationCustomVariableResponse, + WebhooksIntegrationCustomVariableUpdateRequest: WebhooksIntegrationCustomVariableUpdateRequest_1.WebhooksIntegrationCustomVariableUpdateRequest, + WebhooksIntegrationUpdateRequest: WebhooksIntegrationUpdateRequest_1.WebhooksIntegrationUpdateRequest, + Widget: Widget_1.Widget, + WidgetAxis: WidgetAxis_1.WidgetAxis, + WidgetConditionalFormat: WidgetConditionalFormat_1.WidgetConditionalFormat, + WidgetCustomLink: WidgetCustomLink_1.WidgetCustomLink, + WidgetEvent: WidgetEvent_1.WidgetEvent, + WidgetFieldSort: WidgetFieldSort_1.WidgetFieldSort, + WidgetFormula: WidgetFormula_1.WidgetFormula, + WidgetFormulaLimit: WidgetFormulaLimit_1.WidgetFormulaLimit, + WidgetLayout: WidgetLayout_1.WidgetLayout, + WidgetMarker: WidgetMarker_1.WidgetMarker, + WidgetRequestStyle: WidgetRequestStyle_1.WidgetRequestStyle, + WidgetStyle: WidgetStyle_1.WidgetStyle, + WidgetTime: WidgetTime_1.WidgetTime, +}; +var oneOfMap = { + FormulaAndFunctionQueryDefinition: [ + "FormulaAndFunctionApmDependencyStatsQueryDefinition", + "FormulaAndFunctionApmResourceStatsQueryDefinition", + "FormulaAndFunctionEventQueryDefinition", + "FormulaAndFunctionMetricQueryDefinition", + "FormulaAndFunctionProcessQueryDefinition", + ], + LogsProcessor: [ + "LogsArithmeticProcessor", + "LogsAttributeRemapper", + "LogsCategoryProcessor", + "LogsDateRemapper", + "LogsGeoIPParser", + "LogsGrokParser", + "LogsLookupProcessor", + "LogsMessageRemapper", + "LogsPipelineProcessor", + "LogsServiceRemapper", + "LogsStatusRemapper", + "LogsStringBuilderProcessor", + "LogsTraceRemapper", + "LogsURLParser", + "LogsUserAgentParser", + ], + MonitorFormulaAndFunctionQueryDefinition: [ + "MonitorFormulaAndFunctionEventQueryDefinition", + ], + NotebookCellCreateRequestAttributes: [ + "NotebookDistributionCellAttributes", + "NotebookHeatMapCellAttributes", + "NotebookLogStreamCellAttributes", + "NotebookMarkdownCellAttributes", + "NotebookTimeseriesCellAttributes", + "NotebookToplistCellAttributes", + ], + NotebookCellResponseAttributes: [ + "NotebookDistributionCellAttributes", + "NotebookHeatMapCellAttributes", + "NotebookLogStreamCellAttributes", + "NotebookMarkdownCellAttributes", + "NotebookTimeseriesCellAttributes", + "NotebookToplistCellAttributes", + ], + NotebookCellTime: ["NotebookAbsoluteTime", "NotebookRelativeTime"], + NotebookCellUpdateRequestAttributes: [ + "NotebookDistributionCellAttributes", + "NotebookHeatMapCellAttributes", + "NotebookLogStreamCellAttributes", + "NotebookMarkdownCellAttributes", + "NotebookTimeseriesCellAttributes", + "NotebookToplistCellAttributes", + ], + NotebookGlobalTime: ["NotebookAbsoluteTime", "NotebookRelativeTime"], + NotebookUpdateCell: [ + "NotebookCellCreateRequest", + "NotebookCellUpdateRequest", + ], + SunburstWidgetLegend: [ + "SunburstWidgetLegendInlineAutomatic", + "SunburstWidgetLegendTable", + ], + SyntheticsAssertion: [ + "SyntheticsAssertionJSONPathTarget", + "SyntheticsAssertionTarget", + ], + SyntheticsBasicAuth: [ + "SyntheticsBasicAuthNTLM", + "SyntheticsBasicAuthSigv4", + "SyntheticsBasicAuthWeb", + ], + WidgetDefinition: [ + "AlertGraphWidgetDefinition", + "AlertValueWidgetDefinition", + "ChangeWidgetDefinition", + "CheckStatusWidgetDefinition", + "DistributionWidgetDefinition", + "EventStreamWidgetDefinition", + "EventTimelineWidgetDefinition", + "FreeTextWidgetDefinition", + "FunnelWidgetDefinition", + "GeomapWidgetDefinition", + "GroupWidgetDefinition", + "HeatMapWidgetDefinition", + "HostMapWidgetDefinition", + "IFrameWidgetDefinition", + "ImageWidgetDefinition", + "ListStreamWidgetDefinition", + "LogStreamWidgetDefinition", + "MonitorSummaryWidgetDefinition", + "NoteWidgetDefinition", + "QueryValueWidgetDefinition", + "SLOWidgetDefinition", + "ScatterPlotWidgetDefinition", + "ServiceMapWidgetDefinition", + "ServiceSummaryWidgetDefinition", + "SunburstWidgetDefinition", + "TableWidgetDefinition", + "TimeseriesWidgetDefinition", + "ToplistWidgetDefinition", + "TreeMapWidgetDefinition", + ], +}; +var ObjectSerializer = /** @class */ (function () { + function ObjectSerializer() { + } + ObjectSerializer.serialize = function (data, type, format) { + if (data == undefined) { + return data; + } + else if (primitives.includes(type.toLowerCase())) { + return data; + } + else if (type.startsWith(ARRAY_PREFIX)) { + // Array => Type + var subType = type.substring(ARRAY_PREFIX.length, type.length - 1); + var transformedData = []; + for (var _i = 0, data_1 = data; _i < data_1.length; _i++) { + var element = data_1[_i]; + transformedData.push(ObjectSerializer.serialize(element, subType, format)); + } + return transformedData; + } + else if (type.startsWith(MAP_PREFIX)) { + // { [key: string]: Type; } => Type + var subType = type.substring(MAP_PREFIX.length, type.length - 3); + var transformedData = {}; + for (var key in data) { + transformedData[key] = ObjectSerializer.serialize(data[key], subType, format); + } + return transformedData; + } + else if (type === "Date") { + if ("string" == typeof data) { + return data; + } + if (format == "date") { + var month = data.getMonth() + 1; + month = month < 10 ? "0" + month.toString() : month.toString(); + var day = data.getDate(); + day = day < 10 ? "0" + day.toString() : day.toString(); + return data.getFullYear() + "-" + month + "-" + day; + } + else { + return data.toISOString(); + } + } + else { + if (enumsMap[type]) { + if (enumsMap[type].includes(data)) { + return data; + } + throw new TypeError("unknown enum value '".concat(data, "'")); + } + if (oneOfMap[type]) { + var oneOfs = []; + for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) { + var oneOf = _b[_a]; + try { + oneOfs.push(ObjectSerializer.serialize(data, oneOf, format)); + } + catch (e) { + index_1.logger.debug("could not serialize ".concat(oneOf, " (").concat(e, ")")); + } + } + if (oneOfs.length > 1) { + throw new TypeError("".concat(data, " matches multiple types from ").concat(oneOfMap[type], " ").concat(oneOfs)); + } + if (oneOfs.length == 0) { + throw new TypeError("".concat(data, " doesn't match any type from ").concat(oneOfMap[type], " ").concat(oneOfs)); + } + return oneOfs[0]; + } + if (!typeMap[type]) { + // dont know the type + throw new TypeError("unknown type '".concat(type, "'")); + } + // get the map for the correct type. + var attributesMap = typeMap[type].getAttributeTypeMap(); + var instance = {}; + for (var attributeName in attributesMap) { + var attributeObj = attributesMap[attributeName]; + instance[attributeObj.baseName] = ObjectSerializer.serialize(data[attributeName], attributeObj.type, attributeObj.format); + // check for required properties + if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && + instance[attributeObj.baseName] === undefined) { + throw new Error("missing required property '".concat(attributeObj.baseName, "'")); + } + if (enumsMap[attributeObj.type] && + !enumsMap[attributeObj.type].includes(instance[attributeObj.baseName])) { + instance.unparsedObject = instance[attributeObj.baseName]; + } + } + return instance; + } + }; + ObjectSerializer.deserialize = function (data, type, format) { + if (format === void 0) { format = ""; } + if (data == undefined) { + return data; + } + else if (primitives.includes(type.toLowerCase())) { + return data; + } + else if (type.startsWith(ARRAY_PREFIX)) { + // Array => Type + var subType = type.substring(ARRAY_PREFIX.length, type.length - 1); + var transformedData = []; + for (var _i = 0, data_2 = data; _i < data_2.length; _i++) { + var element = data_2[_i]; + transformedData.push(ObjectSerializer.deserialize(element, subType, format)); + } + return transformedData; + } + else if (type.startsWith(MAP_PREFIX)) { + // { [key: string]: Type; } => Type + var subType = type.substring(MAP_PREFIX.length, type.length - 3); + var transformedData = {}; + for (var key in data) { + transformedData[key] = ObjectSerializer.deserialize(data[key], subType, format); + } + return transformedData; + } + else if (type === "Date") { + return new Date(data); + } + else { + if (enumsMap[type]) { + return data; + } + if (oneOfMap[type]) { + var oneOfs = []; + for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) { + var oneOf = _b[_a]; + try { + var d = ObjectSerializer.deserialize(data, oneOf, format); + if ((d === null || d === void 0 ? void 0 : d.unparsedObject) === undefined) { + oneOfs.push(d); + } + } + catch (e) { + index_1.logger.debug("could not deserialize ".concat(oneOf, " (").concat(e, ")")); + } + } + if (oneOfs.length != 1) { + return new UnparsedObject(data); + } + return oneOfs[0]; + } + if (!typeMap[type]) { + // dont know the type + throw new TypeError("unknown type '".concat(type, "'")); + } + var instance = new typeMap[type](); + var attributesMap = typeMap[type].getAttributeTypeMap(); + for (var attributeName in attributesMap) { + var attributeObj = attributesMap[attributeName]; + instance[attributeName] = ObjectSerializer.deserialize(data[attributeObj.baseName], attributeObj.type, attributeObj.format); + // check for required properties + if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && instance[attributeName] === undefined) { + throw new Error("missing required property '".concat(attributeName, "'")); + } + // check for enum values + if (enumsMap[attributeObj.type] && + !enumsMap[attributeObj.type].includes(instance[attributeName])) { + instance.unparsedObject = instance[attributeName]; + } + } + return instance; + } + }; + /** + * Normalize media type + * + * We currently do not handle any media types attributes, i.e. anything + * after a semicolon. All content is assumed to be UTF-8 compatible. + */ + ObjectSerializer.normalizeMediaType = function (mediaType) { + if (mediaType === undefined) { + return undefined; + } + return mediaType.split(";")[0].trim().toLowerCase(); + }; + /** + * From a list of possible media types, choose the one we can handle best. + * + * The order of the given media types does not have any impact on the choice + * made. + */ + ObjectSerializer.getPreferredMediaType = function (mediaTypes) { + /** According to OAS 3 we should default to json */ + if (!mediaTypes) { + return "application/json"; + } + var normalMediaTypes = mediaTypes.map(this.normalizeMediaType); + var selectedMediaType = undefined; + var selectedRank = -Infinity; + for (var _i = 0, normalMediaTypes_1 = normalMediaTypes; _i < normalMediaTypes_1.length; _i++) { + var mediaType = normalMediaTypes_1[_i]; + if (mediaType === undefined) { + continue; + } + var supported = supportedMediaTypes[mediaType]; + if (supported !== undefined && supported > selectedRank) { + selectedMediaType = mediaType; + selectedRank = supported; + } + } + if (selectedMediaType === undefined) { + throw new Error("None of the given media types are supported: " + mediaTypes.join(", ")); + } + return selectedMediaType; + }; + /** + * Convert data to a string according the given media type + */ + ObjectSerializer.stringify = function (data, mediaType) { + if (mediaType === "application/json" || mediaType === "text/json") { + return JSON.stringify(data); + } + throw new Error("The mediaType " + + mediaType + + " is not supported by ObjectSerializer.stringify."); + }; + /** + * Parse data from a string according to the given media type + */ + ObjectSerializer.parse = function (rawData, mediaType) { + try { + return JSON.parse(rawData); + } + catch (error) { + index_1.logger.debug("could not parse ".concat(mediaType, ": ").concat(error)); + return rawData; + } + }; + return ObjectSerializer; +}()); +exports.ObjectSerializer = ObjectSerializer; +var UnparsedObject = /** @class */ (function () { + function UnparsedObject(data) { + this.unparsedObject = data; + } + return UnparsedObject; +}()); +exports.UnparsedObject = UnparsedObject; +//# sourceMappingURL=ObjectSerializer.js.map + +/***/ }), + +/***/ 5080: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Organization = void 0; +/** + * Create, edit, and manage organizations. + */ +var Organization = /** @class */ (function () { + function Organization() { + } + /** + * @ignore + */ + Organization.getAttributeTypeMap = function () { + return Organization.attributeTypeMap; + }; + /** + * @ignore + */ + Organization.attributeTypeMap = { + billing: { + baseName: "billing", + type: "OrganizationBilling", + }, + created: { + baseName: "created", + type: "string", + }, + description: { + baseName: "description", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + settings: { + baseName: "settings", + type: "OrganizationSettings", + }, + subscription: { + baseName: "subscription", + type: "OrganizationSubscription", + }, + }; + return Organization; +}()); +exports.Organization = Organization; +//# sourceMappingURL=Organization.js.map + +/***/ }), + +/***/ 89008: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationBilling = void 0; +/** + * A JSON array of billing type. + */ +var OrganizationBilling = /** @class */ (function () { + function OrganizationBilling() { + } + /** + * @ignore + */ + OrganizationBilling.getAttributeTypeMap = function () { + return OrganizationBilling.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationBilling.attributeTypeMap = { + type: { + baseName: "type", + type: "string", + }, + }; + return OrganizationBilling; +}()); +exports.OrganizationBilling = OrganizationBilling; +//# sourceMappingURL=OrganizationBilling.js.map + +/***/ }), + +/***/ 16132: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationCreateBody = void 0; +/** + * Object describing an organization to create. + */ +var OrganizationCreateBody = /** @class */ (function () { + function OrganizationCreateBody() { + } + /** + * @ignore + */ + OrganizationCreateBody.getAttributeTypeMap = function () { + return OrganizationCreateBody.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationCreateBody.attributeTypeMap = { + billing: { + baseName: "billing", + type: "OrganizationBilling", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + subscription: { + baseName: "subscription", + type: "OrganizationSubscription", + }, + }; + return OrganizationCreateBody; +}()); +exports.OrganizationCreateBody = OrganizationCreateBody; +//# sourceMappingURL=OrganizationCreateBody.js.map + +/***/ }), + +/***/ 24007: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationCreateResponse = void 0; +/** + * Response object for an organization creation. + */ +var OrganizationCreateResponse = /** @class */ (function () { + function OrganizationCreateResponse() { + } + /** + * @ignore + */ + OrganizationCreateResponse.getAttributeTypeMap = function () { + return OrganizationCreateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationCreateResponse.attributeTypeMap = { + apiKey: { + baseName: "api_key", + type: "ApiKey", + }, + applicationKey: { + baseName: "application_key", + type: "ApplicationKey", + }, + org: { + baseName: "org", + type: "Organization", + }, + user: { + baseName: "user", + type: "User", + }, + }; + return OrganizationCreateResponse; +}()); +exports.OrganizationCreateResponse = OrganizationCreateResponse; +//# sourceMappingURL=OrganizationCreateResponse.js.map + +/***/ }), + +/***/ 67823: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationListResponse = void 0; +/** + * Response with the list of organizations. + */ +var OrganizationListResponse = /** @class */ (function () { + function OrganizationListResponse() { + } + /** + * @ignore + */ + OrganizationListResponse.getAttributeTypeMap = function () { + return OrganizationListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationListResponse.attributeTypeMap = { + orgs: { + baseName: "orgs", + type: "Array", + }, + }; + return OrganizationListResponse; +}()); +exports.OrganizationListResponse = OrganizationListResponse; +//# sourceMappingURL=OrganizationListResponse.js.map + +/***/ }), + +/***/ 58106: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationResponse = void 0; +/** + * Response with an organization. + */ +var OrganizationResponse = /** @class */ (function () { + function OrganizationResponse() { + } + /** + * @ignore + */ + OrganizationResponse.getAttributeTypeMap = function () { + return OrganizationResponse.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationResponse.attributeTypeMap = { + org: { + baseName: "org", + type: "Organization", + }, + }; + return OrganizationResponse; +}()); +exports.OrganizationResponse = OrganizationResponse; +//# sourceMappingURL=OrganizationResponse.js.map + +/***/ }), + +/***/ 49434: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSettings = void 0; +/** + * A JSON array of settings. + */ +var OrganizationSettings = /** @class */ (function () { + function OrganizationSettings() { + } + /** + * @ignore + */ + OrganizationSettings.getAttributeTypeMap = function () { + return OrganizationSettings.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSettings.attributeTypeMap = { + privateWidgetShare: { + baseName: "private_widget_share", + type: "boolean", + }, + saml: { + baseName: "saml", + type: "OrganizationSettingsSaml", + }, + samlAutocreateAccessRole: { + baseName: "saml_autocreate_access_role", + type: "AccessRole", + }, + samlAutocreateUsersDomains: { + baseName: "saml_autocreate_users_domains", + type: "OrganizationSettingsSamlAutocreateUsersDomains", + }, + samlCanBeEnabled: { + baseName: "saml_can_be_enabled", + type: "boolean", + }, + samlIdpEndpoint: { + baseName: "saml_idp_endpoint", + type: "string", + }, + samlIdpInitiatedLogin: { + baseName: "saml_idp_initiated_login", + type: "OrganizationSettingsSamlIdpInitiatedLogin", + }, + samlIdpMetadataUploaded: { + baseName: "saml_idp_metadata_uploaded", + type: "boolean", + }, + samlLoginUrl: { + baseName: "saml_login_url", + type: "string", + }, + samlStrictMode: { + baseName: "saml_strict_mode", + type: "OrganizationSettingsSamlStrictMode", + }, + }; + return OrganizationSettings; +}()); +exports.OrganizationSettings = OrganizationSettings; +//# sourceMappingURL=OrganizationSettings.js.map + +/***/ }), + +/***/ 23808: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSettingsSaml = void 0; +/** + * Set the boolean property enabled to enable or disable single sign on with SAML. See the SAML documentation for more information about all SAML settings. + */ +var OrganizationSettingsSaml = /** @class */ (function () { + function OrganizationSettingsSaml() { + } + /** + * @ignore + */ + OrganizationSettingsSaml.getAttributeTypeMap = function () { + return OrganizationSettingsSaml.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSettingsSaml.attributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + }; + return OrganizationSettingsSaml; +}()); +exports.OrganizationSettingsSaml = OrganizationSettingsSaml; +//# sourceMappingURL=OrganizationSettingsSaml.js.map + +/***/ }), + +/***/ 83448: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSettingsSamlAutocreateUsersDomains = void 0; +/** + * Has two properties, `enabled` (boolean) and `domains`, which is a list of domains without the @ symbol. + */ +var OrganizationSettingsSamlAutocreateUsersDomains = /** @class */ (function () { + function OrganizationSettingsSamlAutocreateUsersDomains() { + } + /** + * @ignore + */ + OrganizationSettingsSamlAutocreateUsersDomains.getAttributeTypeMap = function () { + return OrganizationSettingsSamlAutocreateUsersDomains.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSettingsSamlAutocreateUsersDomains.attributeTypeMap = { + domains: { + baseName: "domains", + type: "Array", + }, + enabled: { + baseName: "enabled", + type: "boolean", + }, + }; + return OrganizationSettingsSamlAutocreateUsersDomains; +}()); +exports.OrganizationSettingsSamlAutocreateUsersDomains = OrganizationSettingsSamlAutocreateUsersDomains; +//# sourceMappingURL=OrganizationSettingsSamlAutocreateUsersDomains.js.map + +/***/ }), + +/***/ 79957: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSettingsSamlIdpInitiatedLogin = void 0; +/** + * Has one property enabled (boolean). + */ +var OrganizationSettingsSamlIdpInitiatedLogin = /** @class */ (function () { + function OrganizationSettingsSamlIdpInitiatedLogin() { + } + /** + * @ignore + */ + OrganizationSettingsSamlIdpInitiatedLogin.getAttributeTypeMap = function () { + return OrganizationSettingsSamlIdpInitiatedLogin.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSettingsSamlIdpInitiatedLogin.attributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + }; + return OrganizationSettingsSamlIdpInitiatedLogin; +}()); +exports.OrganizationSettingsSamlIdpInitiatedLogin = OrganizationSettingsSamlIdpInitiatedLogin; +//# sourceMappingURL=OrganizationSettingsSamlIdpInitiatedLogin.js.map + +/***/ }), + +/***/ 21101: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSettingsSamlStrictMode = void 0; +/** + * Has one property enabled (boolean). + */ +var OrganizationSettingsSamlStrictMode = /** @class */ (function () { + function OrganizationSettingsSamlStrictMode() { + } + /** + * @ignore + */ + OrganizationSettingsSamlStrictMode.getAttributeTypeMap = function () { + return OrganizationSettingsSamlStrictMode.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSettingsSamlStrictMode.attributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + }; + return OrganizationSettingsSamlStrictMode; +}()); +exports.OrganizationSettingsSamlStrictMode = OrganizationSettingsSamlStrictMode; +//# sourceMappingURL=OrganizationSettingsSamlStrictMode.js.map + +/***/ }), + +/***/ 75122: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationSubscription = void 0; +/** + * Subscription definition. + */ +var OrganizationSubscription = /** @class */ (function () { + function OrganizationSubscription() { + } + /** + * @ignore + */ + OrganizationSubscription.getAttributeTypeMap = function () { + return OrganizationSubscription.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationSubscription.attributeTypeMap = { + type: { + baseName: "type", + type: "string", + }, + }; + return OrganizationSubscription; +}()); +exports.OrganizationSubscription = OrganizationSubscription; +//# sourceMappingURL=OrganizationSubscription.js.map + +/***/ }), + +/***/ 99433: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PagerDutyService = void 0; +/** + * The PagerDuty service that is available for integration with Datadog. + */ +var PagerDutyService = /** @class */ (function () { + function PagerDutyService() { + } + /** + * @ignore + */ + PagerDutyService.getAttributeTypeMap = function () { + return PagerDutyService.attributeTypeMap; + }; + /** + * @ignore + */ + PagerDutyService.attributeTypeMap = { + serviceKey: { + baseName: "service_key", + type: "string", + required: true, + }, + serviceName: { + baseName: "service_name", + type: "string", + required: true, + }, + }; + return PagerDutyService; +}()); +exports.PagerDutyService = PagerDutyService; +//# sourceMappingURL=PagerDutyService.js.map + +/***/ }), + +/***/ 32766: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PagerDutyServiceKey = void 0; +/** + * PagerDuty service object key. + */ +var PagerDutyServiceKey = /** @class */ (function () { + function PagerDutyServiceKey() { + } + /** + * @ignore + */ + PagerDutyServiceKey.getAttributeTypeMap = function () { + return PagerDutyServiceKey.attributeTypeMap; + }; + /** + * @ignore + */ + PagerDutyServiceKey.attributeTypeMap = { + serviceKey: { + baseName: "service_key", + type: "string", + required: true, + }, + }; + return PagerDutyServiceKey; +}()); +exports.PagerDutyServiceKey = PagerDutyServiceKey; +//# sourceMappingURL=PagerDutyServiceKey.js.map + +/***/ }), + +/***/ 44198: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PagerDutyServiceName = void 0; +/** + * PagerDuty service object name. + */ +var PagerDutyServiceName = /** @class */ (function () { + function PagerDutyServiceName() { + } + /** + * @ignore + */ + PagerDutyServiceName.getAttributeTypeMap = function () { + return PagerDutyServiceName.attributeTypeMap; + }; + /** + * @ignore + */ + PagerDutyServiceName.attributeTypeMap = { + serviceName: { + baseName: "service_name", + type: "string", + required: true, + }, + }; + return PagerDutyServiceName; +}()); +exports.PagerDutyServiceName = PagerDutyServiceName; +//# sourceMappingURL=PagerDutyServiceName.js.map + +/***/ }), + +/***/ 97834: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Pagination = void 0; +/** + * Pagination object. + */ +var Pagination = /** @class */ (function () { + function Pagination() { + } + /** + * @ignore + */ + Pagination.getAttributeTypeMap = function () { + return Pagination.attributeTypeMap; + }; + /** + * @ignore + */ + Pagination.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + totalFilteredCount: { + baseName: "total_filtered_count", + type: "number", + format: "int64", + }, + }; + return Pagination; +}()); +exports.Pagination = Pagination; +//# sourceMappingURL=Pagination.js.map + +/***/ }), + +/***/ 96386: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessQueryDefinition = void 0; +/** + * The process query to use in the widget. + */ +var ProcessQueryDefinition = /** @class */ (function () { + function ProcessQueryDefinition() { + } + /** + * @ignore + */ + ProcessQueryDefinition.getAttributeTypeMap = function () { + return ProcessQueryDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessQueryDefinition.attributeTypeMap = { + filterBy: { + baseName: "filter_by", + type: "Array", + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + required: true, + }, + searchBy: { + baseName: "search_by", + type: "string", + }, + }; + return ProcessQueryDefinition; +}()); +exports.ProcessQueryDefinition = ProcessQueryDefinition; +//# sourceMappingURL=ProcessQueryDefinition.js.map + +/***/ }), + +/***/ 78268: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.QueryValueWidgetDefinition = void 0; +/** + * Query values display the current value of a given metric, APM, or log query. + */ +var QueryValueWidgetDefinition = /** @class */ (function () { + function QueryValueWidgetDefinition() { + } + /** + * @ignore + */ + QueryValueWidgetDefinition.getAttributeTypeMap = function () { + return QueryValueWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + QueryValueWidgetDefinition.attributeTypeMap = { + autoscale: { + baseName: "autoscale", + type: "boolean", + }, + customLinks: { + baseName: "custom_links", + type: "Array", + }, + customUnit: { + baseName: "custom_unit", + type: "string", + }, + precision: { + baseName: "precision", + type: "number", + format: "int64", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + textAlign: { + baseName: "text_align", + type: "WidgetTextAlign", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "QueryValueWidgetDefinitionType", + required: true, + }, + }; + return QueryValueWidgetDefinition; +}()); +exports.QueryValueWidgetDefinition = QueryValueWidgetDefinition; +//# sourceMappingURL=QueryValueWidgetDefinition.js.map + +/***/ }), + +/***/ 10384: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.QueryValueWidgetRequest = void 0; +/** + * Updated query value widget. + */ +var QueryValueWidgetRequest = /** @class */ (function () { + function QueryValueWidgetRequest() { + } + /** + * @ignore + */ + QueryValueWidgetRequest.getAttributeTypeMap = function () { + return QueryValueWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + QueryValueWidgetRequest.attributeTypeMap = { + aggregator: { + baseName: "aggregator", + type: "WidgetAggregator", + }, + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + auditQuery: { + baseName: "audit_query", + type: "LogQueryDefinition", + }, + conditionalFormats: { + baseName: "conditional_formats", + type: "Array", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return QueryValueWidgetRequest; +}()); +exports.QueryValueWidgetRequest = QueryValueWidgetRequest; +//# sourceMappingURL=QueryValueWidgetRequest.js.map + +/***/ }), + +/***/ 44993: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ResponseMetaAttributes = void 0; +/** + * Object describing meta attributes of response. + */ +var ResponseMetaAttributes = /** @class */ (function () { + function ResponseMetaAttributes() { + } + /** + * @ignore + */ + ResponseMetaAttributes.getAttributeTypeMap = function () { + return ResponseMetaAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ResponseMetaAttributes.attributeTypeMap = { + page: { + baseName: "page", + type: "Pagination", + }, + }; + return ResponseMetaAttributes; +}()); +exports.ResponseMetaAttributes = ResponseMetaAttributes; +//# sourceMappingURL=ResponseMetaAttributes.js.map + +/***/ }), + +/***/ 6307: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOBulkDeleteError = void 0; +/** + * Object describing the error. + */ +var SLOBulkDeleteError = /** @class */ (function () { + function SLOBulkDeleteError() { + } + /** + * @ignore + */ + SLOBulkDeleteError.getAttributeTypeMap = function () { + return SLOBulkDeleteError.attributeTypeMap; + }; + /** + * @ignore + */ + SLOBulkDeleteError.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + message: { + baseName: "message", + type: "string", + required: true, + }, + timeframe: { + baseName: "timeframe", + type: "SLOErrorTimeframe", + required: true, + }, + }; + return SLOBulkDeleteError; +}()); +exports.SLOBulkDeleteError = SLOBulkDeleteError; +//# sourceMappingURL=SLOBulkDeleteError.js.map + +/***/ }), + +/***/ 53119: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOBulkDeleteResponse = void 0; +/** + * The bulk partial delete service level objective object endpoint response. This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the \"data\" and \"error\" fields in this response indicate which deletions succeeded and failed. + */ +var SLOBulkDeleteResponse = /** @class */ (function () { + function SLOBulkDeleteResponse() { + } + /** + * @ignore + */ + SLOBulkDeleteResponse.getAttributeTypeMap = function () { + return SLOBulkDeleteResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOBulkDeleteResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOBulkDeleteResponseData", + }, + errors: { + baseName: "errors", + type: "Array", + }, + }; + return SLOBulkDeleteResponse; +}()); +exports.SLOBulkDeleteResponse = SLOBulkDeleteResponse; +//# sourceMappingURL=SLOBulkDeleteResponse.js.map + +/***/ }), + +/***/ 28093: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOBulkDeleteResponseData = void 0; +/** + * An array of service level objective objects. + */ +var SLOBulkDeleteResponseData = /** @class */ (function () { + function SLOBulkDeleteResponseData() { + } + /** + * @ignore + */ + SLOBulkDeleteResponseData.getAttributeTypeMap = function () { + return SLOBulkDeleteResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOBulkDeleteResponseData.attributeTypeMap = { + deleted: { + baseName: "deleted", + type: "Array", + }, + updated: { + baseName: "updated", + type: "Array", + }, + }; + return SLOBulkDeleteResponseData; +}()); +exports.SLOBulkDeleteResponseData = SLOBulkDeleteResponseData; +//# sourceMappingURL=SLOBulkDeleteResponseData.js.map + +/***/ }), + +/***/ 2852: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrection = void 0; +/** + * The response object of a list of SLO corrections. + */ +var SLOCorrection = /** @class */ (function () { + function SLOCorrection() { + } + /** + * @ignore + */ + SLOCorrection.getAttributeTypeMap = function () { + return SLOCorrection.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrection.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SLOCorrectionResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "SLOCorrectionType", + }, + }; + return SLOCorrection; +}()); +exports.SLOCorrection = SLOCorrection; +//# sourceMappingURL=SLOCorrection.js.map + +/***/ }), + +/***/ 43215: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionCreateData = void 0; +/** + * The data object associated with the SLO correction to be created. + */ +var SLOCorrectionCreateData = /** @class */ (function () { + function SLOCorrectionCreateData() { + } + /** + * @ignore + */ + SLOCorrectionCreateData.getAttributeTypeMap = function () { + return SLOCorrectionCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SLOCorrectionCreateRequestAttributes", + }, + type: { + baseName: "type", + type: "SLOCorrectionType", + required: true, + }, + }; + return SLOCorrectionCreateData; +}()); +exports.SLOCorrectionCreateData = SLOCorrectionCreateData; +//# sourceMappingURL=SLOCorrectionCreateData.js.map + +/***/ }), + +/***/ 87152: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionCreateRequest = void 0; +/** + * An object that defines a correction to be applied to an SLO. + */ +var SLOCorrectionCreateRequest = /** @class */ (function () { + function SLOCorrectionCreateRequest() { + } + /** + * @ignore + */ + SLOCorrectionCreateRequest.getAttributeTypeMap = function () { + return SLOCorrectionCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOCorrectionCreateData", + }, + }; + return SLOCorrectionCreateRequest; +}()); +exports.SLOCorrectionCreateRequest = SLOCorrectionCreateRequest; +//# sourceMappingURL=SLOCorrectionCreateRequest.js.map + +/***/ }), + +/***/ 26204: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionCreateRequestAttributes = void 0; +/** + * The attribute object associated with the SLO correction to be created. + */ +var SLOCorrectionCreateRequestAttributes = /** @class */ (function () { + function SLOCorrectionCreateRequestAttributes() { + } + /** + * @ignore + */ + SLOCorrectionCreateRequestAttributes.getAttributeTypeMap = function () { + return SLOCorrectionCreateRequestAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionCreateRequestAttributes.attributeTypeMap = { + category: { + baseName: "category", + type: "SLOCorrectionCategory", + required: true, + }, + description: { + baseName: "description", + type: "string", + }, + duration: { + baseName: "duration", + type: "number", + format: "int64", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + rrule: { + baseName: "rrule", + type: "string", + }, + sloId: { + baseName: "slo_id", + type: "string", + required: true, + }, + start: { + baseName: "start", + type: "number", + required: true, + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + }; + return SLOCorrectionCreateRequestAttributes; +}()); +exports.SLOCorrectionCreateRequestAttributes = SLOCorrectionCreateRequestAttributes; +//# sourceMappingURL=SLOCorrectionCreateRequestAttributes.js.map + +/***/ }), + +/***/ 12062: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionListResponse = void 0; +/** + * A list of SLO correction objects. + */ +var SLOCorrectionListResponse = /** @class */ (function () { + function SLOCorrectionListResponse() { + } + /** + * @ignore + */ + SLOCorrectionListResponse.getAttributeTypeMap = function () { + return SLOCorrectionListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionListResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ResponseMetaAttributes", + }, + }; + return SLOCorrectionListResponse; +}()); +exports.SLOCorrectionListResponse = SLOCorrectionListResponse; +//# sourceMappingURL=SLOCorrectionListResponse.js.map + +/***/ }), + +/***/ 26986: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionResponse = void 0; +/** + * The response object of an SLO correction. + */ +var SLOCorrectionResponse = /** @class */ (function () { + function SLOCorrectionResponse() { + } + /** + * @ignore + */ + SLOCorrectionResponse.getAttributeTypeMap = function () { + return SLOCorrectionResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOCorrection", + }, + }; + return SLOCorrectionResponse; +}()); +exports.SLOCorrectionResponse = SLOCorrectionResponse; +//# sourceMappingURL=SLOCorrectionResponse.js.map + +/***/ }), + +/***/ 35052: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionResponseAttributes = void 0; +/** + * The attribute object associated with the SLO correction. + */ +var SLOCorrectionResponseAttributes = /** @class */ (function () { + function SLOCorrectionResponseAttributes() { + } + /** + * @ignore + */ + SLOCorrectionResponseAttributes.getAttributeTypeMap = function () { + return SLOCorrectionResponseAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionResponseAttributes.attributeTypeMap = { + category: { + baseName: "category", + type: "SLOCorrectionCategory", + }, + createdAt: { + baseName: "created_at", + type: "number", + format: "int64", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + description: { + baseName: "description", + type: "string", + }, + duration: { + baseName: "duration", + type: "number", + format: "int64", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + modifiedAt: { + baseName: "modified_at", + type: "number", + format: "int64", + }, + modifier: { + baseName: "modifier", + type: "SLOCorrectionResponseAttributesModifier", + }, + rrule: { + baseName: "rrule", + type: "string", + }, + sloId: { + baseName: "slo_id", + type: "string", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + }; + return SLOCorrectionResponseAttributes; +}()); +exports.SLOCorrectionResponseAttributes = SLOCorrectionResponseAttributes; +//# sourceMappingURL=SLOCorrectionResponseAttributes.js.map + +/***/ }), + +/***/ 88857: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionResponseAttributesModifier = void 0; +/** + * Modifier of the object. + */ +var SLOCorrectionResponseAttributesModifier = /** @class */ (function () { + function SLOCorrectionResponseAttributesModifier() { + } + /** + * @ignore + */ + SLOCorrectionResponseAttributesModifier.getAttributeTypeMap = function () { + return SLOCorrectionResponseAttributesModifier.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionResponseAttributesModifier.attributeTypeMap = { + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return SLOCorrectionResponseAttributesModifier; +}()); +exports.SLOCorrectionResponseAttributesModifier = SLOCorrectionResponseAttributesModifier; +//# sourceMappingURL=SLOCorrectionResponseAttributesModifier.js.map + +/***/ }), + +/***/ 99745: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionUpdateData = void 0; +/** + * The data object associated with the SLO correction to be updated. + */ +var SLOCorrectionUpdateData = /** @class */ (function () { + function SLOCorrectionUpdateData() { + } + /** + * @ignore + */ + SLOCorrectionUpdateData.getAttributeTypeMap = function () { + return SLOCorrectionUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SLOCorrectionUpdateRequestAttributes", + }, + type: { + baseName: "type", + type: "SLOCorrectionType", + }, + }; + return SLOCorrectionUpdateData; +}()); +exports.SLOCorrectionUpdateData = SLOCorrectionUpdateData; +//# sourceMappingURL=SLOCorrectionUpdateData.js.map + +/***/ }), + +/***/ 77273: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionUpdateRequest = void 0; +/** + * An object that defines a correction to be applied to an SLO. + */ +var SLOCorrectionUpdateRequest = /** @class */ (function () { + function SLOCorrectionUpdateRequest() { + } + /** + * @ignore + */ + SLOCorrectionUpdateRequest.getAttributeTypeMap = function () { + return SLOCorrectionUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOCorrectionUpdateData", + }, + }; + return SLOCorrectionUpdateRequest; +}()); +exports.SLOCorrectionUpdateRequest = SLOCorrectionUpdateRequest; +//# sourceMappingURL=SLOCorrectionUpdateRequest.js.map + +/***/ }), + +/***/ 75164: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOCorrectionUpdateRequestAttributes = void 0; +/** + * The attribute object associated with the SLO correction to be updated. + */ +var SLOCorrectionUpdateRequestAttributes = /** @class */ (function () { + function SLOCorrectionUpdateRequestAttributes() { + } + /** + * @ignore + */ + SLOCorrectionUpdateRequestAttributes.getAttributeTypeMap = function () { + return SLOCorrectionUpdateRequestAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SLOCorrectionUpdateRequestAttributes.attributeTypeMap = { + category: { + baseName: "category", + type: "SLOCorrectionCategory", + }, + description: { + baseName: "description", + type: "string", + }, + duration: { + baseName: "duration", + type: "number", + format: "int64", + }, + end: { + baseName: "end", + type: "number", + format: "int64", + }, + rrule: { + baseName: "rrule", + type: "string", + }, + start: { + baseName: "start", + type: "number", + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + }; + return SLOCorrectionUpdateRequestAttributes; +}()); +exports.SLOCorrectionUpdateRequestAttributes = SLOCorrectionUpdateRequestAttributes; +//# sourceMappingURL=SLOCorrectionUpdateRequestAttributes.js.map + +/***/ }), + +/***/ 47941: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLODeleteResponse = void 0; +/** + * A response list of all service level objective deleted. + */ +var SLODeleteResponse = /** @class */ (function () { + function SLODeleteResponse() { + } + /** + * @ignore + */ + SLODeleteResponse.getAttributeTypeMap = function () { + return SLODeleteResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLODeleteResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + errors: { + baseName: "errors", + type: "{ [key: string]: string; }", + }, + }; + return SLODeleteResponse; +}()); +exports.SLODeleteResponse = SLODeleteResponse; +//# sourceMappingURL=SLODeleteResponse.js.map + +/***/ }), + +/***/ 55029: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryMetrics = void 0; +/** + * A `metric` based SLO history response. This is not included in responses for `monitor` based SLOs. + */ +var SLOHistoryMetrics = /** @class */ (function () { + function SLOHistoryMetrics() { + } + /** + * @ignore + */ + SLOHistoryMetrics.getAttributeTypeMap = function () { + return SLOHistoryMetrics.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryMetrics.attributeTypeMap = { + denominator: { + baseName: "denominator", + type: "SLOHistoryMetricsSeries", + required: true, + }, + interval: { + baseName: "interval", + type: "number", + required: true, + format: "int64", + }, + message: { + baseName: "message", + type: "string", + }, + numerator: { + baseName: "numerator", + type: "SLOHistoryMetricsSeries", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + resType: { + baseName: "res_type", + type: "string", + required: true, + }, + respVersion: { + baseName: "resp_version", + type: "number", + required: true, + format: "int64", + }, + times: { + baseName: "times", + type: "Array", + required: true, + format: "double", + }, + }; + return SLOHistoryMetrics; +}()); +exports.SLOHistoryMetrics = SLOHistoryMetrics; +//# sourceMappingURL=SLOHistoryMetrics.js.map + +/***/ }), + +/***/ 96132: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryMetricsSeries = void 0; +/** + * A representation of `metric` based SLO time series for the provided queries. This is the same response type from `batch_query` endpoint. + */ +var SLOHistoryMetricsSeries = /** @class */ (function () { + function SLOHistoryMetricsSeries() { + } + /** + * @ignore + */ + SLOHistoryMetricsSeries.getAttributeTypeMap = function () { + return SLOHistoryMetricsSeries.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryMetricsSeries.attributeTypeMap = { + count: { + baseName: "count", + type: "number", + required: true, + format: "int64", + }, + metadata: { + baseName: "metadata", + type: "SLOHistoryMetricsSeriesMetadata", + }, + sum: { + baseName: "sum", + type: "number", + required: true, + format: "double", + }, + values: { + baseName: "values", + type: "Array", + required: true, + format: "double", + }, + }; + return SLOHistoryMetricsSeries; +}()); +exports.SLOHistoryMetricsSeries = SLOHistoryMetricsSeries; +//# sourceMappingURL=SLOHistoryMetricsSeries.js.map + +/***/ }), + +/***/ 83288: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryMetricsSeriesMetadata = void 0; +/** + * Query metadata. + */ +var SLOHistoryMetricsSeriesMetadata = /** @class */ (function () { + function SLOHistoryMetricsSeriesMetadata() { + } + /** + * @ignore + */ + SLOHistoryMetricsSeriesMetadata.getAttributeTypeMap = function () { + return SLOHistoryMetricsSeriesMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryMetricsSeriesMetadata.attributeTypeMap = { + aggr: { + baseName: "aggr", + type: "string", + }, + expression: { + baseName: "expression", + type: "string", + }, + metric: { + baseName: "metric", + type: "string", + }, + queryIndex: { + baseName: "query_index", + type: "number", + format: "int64", + }, + scope: { + baseName: "scope", + type: "string", + }, + unit: { + baseName: "unit", + type: "Array", + }, + }; + return SLOHistoryMetricsSeriesMetadata; +}()); +exports.SLOHistoryMetricsSeriesMetadata = SLOHistoryMetricsSeriesMetadata; +//# sourceMappingURL=SLOHistoryMetricsSeriesMetadata.js.map + +/***/ }), + +/***/ 67323: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryMetricsSeriesMetadataUnit = void 0; +/** + * An Object of metric units. + */ +var SLOHistoryMetricsSeriesMetadataUnit = /** @class */ (function () { + function SLOHistoryMetricsSeriesMetadataUnit() { + } + /** + * @ignore + */ + SLOHistoryMetricsSeriesMetadataUnit.getAttributeTypeMap = function () { + return SLOHistoryMetricsSeriesMetadataUnit.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryMetricsSeriesMetadataUnit.attributeTypeMap = { + family: { + baseName: "family", + type: "string", + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + plural: { + baseName: "plural", + type: "string", + }, + scaleFactor: { + baseName: "scale_factor", + type: "number", + format: "double", + }, + shortName: { + baseName: "short_name", + type: "string", + }, + }; + return SLOHistoryMetricsSeriesMetadataUnit; +}()); +exports.SLOHistoryMetricsSeriesMetadataUnit = SLOHistoryMetricsSeriesMetadataUnit; +//# sourceMappingURL=SLOHistoryMetricsSeriesMetadataUnit.js.map + +/***/ }), + +/***/ 62797: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryMonitor = void 0; +/** + * An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs. + */ +var SLOHistoryMonitor = /** @class */ (function () { + function SLOHistoryMonitor() { + } + /** + * @ignore + */ + SLOHistoryMonitor.getAttributeTypeMap = function () { + return SLOHistoryMonitor.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryMonitor.attributeTypeMap = { + errorBudgetRemaining: { + baseName: "error_budget_remaining", + type: "{ [key: string]: number; }", + format: "double", + }, + errors: { + baseName: "errors", + type: "Array", + }, + group: { + baseName: "group", + type: "string", + }, + history: { + baseName: "history", + type: "Array>", + format: "double", + }, + monitorModified: { + baseName: "monitor_modified", + type: "number", + format: "int64", + }, + monitorType: { + baseName: "monitor_type", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + precision: { + baseName: "precision", + type: "number", + format: "double", + }, + preview: { + baseName: "preview", + type: "boolean", + }, + sliValue: { + baseName: "sli_value", + type: "number", + format: "double", + }, + spanPrecision: { + baseName: "span_precision", + type: "number", + format: "double", + }, + uptime: { + baseName: "uptime", + type: "number", + format: "double", + }, + }; + return SLOHistoryMonitor; +}()); +exports.SLOHistoryMonitor = SLOHistoryMonitor; +//# sourceMappingURL=SLOHistoryMonitor.js.map + +/***/ }), + +/***/ 27297: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryResponse = void 0; +/** + * A service level objective history response. + */ +var SLOHistoryResponse = /** @class */ (function () { + function SLOHistoryResponse() { + } + /** + * @ignore + */ + SLOHistoryResponse.getAttributeTypeMap = function () { + return SLOHistoryResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOHistoryResponseData", + }, + errors: { + baseName: "errors", + type: "Array", + }, + }; + return SLOHistoryResponse; +}()); +exports.SLOHistoryResponse = SLOHistoryResponse; +//# sourceMappingURL=SLOHistoryResponse.js.map + +/***/ }), + +/***/ 81357: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryResponseData = void 0; +/** + * An array of service level objective objects. + */ +var SLOHistoryResponseData = /** @class */ (function () { + function SLOHistoryResponseData() { + } + /** + * @ignore + */ + SLOHistoryResponseData.getAttributeTypeMap = function () { + return SLOHistoryResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryResponseData.attributeTypeMap = { + fromTs: { + baseName: "from_ts", + type: "number", + format: "int64", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + groups: { + baseName: "groups", + type: "Array", + }, + monitors: { + baseName: "monitors", + type: "Array", + }, + overall: { + baseName: "overall", + type: "SLOHistorySLIData", + }, + series: { + baseName: "series", + type: "SLOHistoryMetrics", + }, + thresholds: { + baseName: "thresholds", + type: "{ [key: string]: SLOThreshold; }", + }, + toTs: { + baseName: "to_ts", + type: "number", + format: "int64", + }, + type: { + baseName: "type", + type: "SLOType", + }, + typeId: { + baseName: "type_id", + type: "SLOTypeNumeric", + }, + }; + return SLOHistoryResponseData; +}()); +exports.SLOHistoryResponseData = SLOHistoryResponseData; +//# sourceMappingURL=SLOHistoryResponseData.js.map + +/***/ }), + +/***/ 30144: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryResponseError = void 0; +/** + * A list of errors while querying the history data for the service level objective. + */ +var SLOHistoryResponseError = /** @class */ (function () { + function SLOHistoryResponseError() { + } + /** + * @ignore + */ + SLOHistoryResponseError.getAttributeTypeMap = function () { + return SLOHistoryResponseError.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryResponseError.attributeTypeMap = { + error: { + baseName: "error", + type: "string", + }, + }; + return SLOHistoryResponseError; +}()); +exports.SLOHistoryResponseError = SLOHistoryResponseError; +//# sourceMappingURL=SLOHistoryResponseError.js.map + +/***/ }), + +/***/ 58524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistoryResponseErrorWithType = void 0; +/** + * An object describing the error with error type and error message. + */ +var SLOHistoryResponseErrorWithType = /** @class */ (function () { + function SLOHistoryResponseErrorWithType() { + } + /** + * @ignore + */ + SLOHistoryResponseErrorWithType.getAttributeTypeMap = function () { + return SLOHistoryResponseErrorWithType.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistoryResponseErrorWithType.attributeTypeMap = { + errorMessage: { + baseName: "error_message", + type: "string", + required: true, + }, + errorType: { + baseName: "error_type", + type: "string", + required: true, + }, + }; + return SLOHistoryResponseErrorWithType; +}()); +exports.SLOHistoryResponseErrorWithType = SLOHistoryResponseErrorWithType; +//# sourceMappingURL=SLOHistoryResponseErrorWithType.js.map + +/***/ }), + +/***/ 6636: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOHistorySLIData = void 0; +/** + * An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs. + */ +var SLOHistorySLIData = /** @class */ (function () { + function SLOHistorySLIData() { + } + /** + * @ignore + */ + SLOHistorySLIData.getAttributeTypeMap = function () { + return SLOHistorySLIData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOHistorySLIData.attributeTypeMap = { + errorBudgetRemaining: { + baseName: "error_budget_remaining", + type: "{ [key: string]: number; }", + format: "double", + }, + errors: { + baseName: "errors", + type: "Array", + }, + group: { + baseName: "group", + type: "string", + }, + history: { + baseName: "history", + type: "Array>", + format: "double", + }, + monitorModified: { + baseName: "monitor_modified", + type: "number", + format: "int64", + }, + monitorType: { + baseName: "monitor_type", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + precision: { + baseName: "precision", + type: "{ [key: string]: number; }", + format: "double", + }, + preview: { + baseName: "preview", + type: "boolean", + }, + sliValue: { + baseName: "sli_value", + type: "number", + format: "double", + }, + spanPrecision: { + baseName: "span_precision", + type: "number", + format: "double", + }, + uptime: { + baseName: "uptime", + type: "number", + format: "double", + }, + }; + return SLOHistorySLIData; +}()); +exports.SLOHistorySLIData = SLOHistorySLIData; +//# sourceMappingURL=SLOHistorySLIData.js.map + +/***/ }), + +/***/ 19477: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOListResponse = void 0; +/** + * A response with one or more service level objective. + */ +var SLOListResponse = /** @class */ (function () { + function SLOListResponse() { + } + /** + * @ignore + */ + SLOListResponse.getAttributeTypeMap = function () { + return SLOListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOListResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + errors: { + baseName: "errors", + type: "Array", + }, + metadata: { + baseName: "metadata", + type: "SLOListResponseMetadata", + }, + }; + return SLOListResponse; +}()); +exports.SLOListResponse = SLOListResponse; +//# sourceMappingURL=SLOListResponse.js.map + +/***/ }), + +/***/ 95727: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOListResponseMetadata = void 0; +/** + * The metadata object containing additional information about the list of SLOs. + */ +var SLOListResponseMetadata = /** @class */ (function () { + function SLOListResponseMetadata() { + } + /** + * @ignore + */ + SLOListResponseMetadata.getAttributeTypeMap = function () { + return SLOListResponseMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + SLOListResponseMetadata.attributeTypeMap = { + page: { + baseName: "page", + type: "SLOListResponseMetadataPage", + }, + }; + return SLOListResponseMetadata; +}()); +exports.SLOListResponseMetadata = SLOListResponseMetadata; +//# sourceMappingURL=SLOListResponseMetadata.js.map + +/***/ }), + +/***/ 559: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOListResponseMetadataPage = void 0; +/** + * The object containing information about the pages of the list of SLOs. + */ +var SLOListResponseMetadataPage = /** @class */ (function () { + function SLOListResponseMetadataPage() { + } + /** + * @ignore + */ + SLOListResponseMetadataPage.getAttributeTypeMap = function () { + return SLOListResponseMetadataPage.attributeTypeMap; + }; + /** + * @ignore + */ + SLOListResponseMetadataPage.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + totalFilteredCount: { + baseName: "total_filtered_count", + type: "number", + format: "int64", + }, + }; + return SLOListResponseMetadataPage; +}()); +exports.SLOListResponseMetadataPage = SLOListResponseMetadataPage; +//# sourceMappingURL=SLOListResponseMetadataPage.js.map + +/***/ }), + +/***/ 58530: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOResponse = void 0; +/** + * A service level objective response containing a single service level objective. + */ +var SLOResponse = /** @class */ (function () { + function SLOResponse() { + } + /** + * @ignore + */ + SLOResponse.getAttributeTypeMap = function () { + return SLOResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SLOResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "SLOResponseData", + }, + errors: { + baseName: "errors", + type: "Array", + }, + }; + return SLOResponse; +}()); +exports.SLOResponse = SLOResponse; +//# sourceMappingURL=SLOResponse.js.map + +/***/ }), + +/***/ 98608: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOResponseData = void 0; +/** + * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). + */ +var SLOResponseData = /** @class */ (function () { + function SLOResponseData() { + } + /** + * @ignore + */ + SLOResponseData.getAttributeTypeMap = function () { + return SLOResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + SLOResponseData.attributeTypeMap = { + configuredAlertIds: { + baseName: "configured_alert_ids", + type: "Array", + format: "int64", + }, + createdAt: { + baseName: "created_at", + type: "number", + format: "int64", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + description: { + baseName: "description", + type: "string", + }, + groups: { + baseName: "groups", + type: "Array", + }, + id: { + baseName: "id", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "number", + format: "int64", + }, + monitorIds: { + baseName: "monitor_ids", + type: "Array", + format: "int64", + }, + monitorTags: { + baseName: "monitor_tags", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "ServiceLevelObjectiveQuery", + }, + tags: { + baseName: "tags", + type: "Array", + }, + thresholds: { + baseName: "thresholds", + type: "Array", + }, + type: { + baseName: "type", + type: "SLOType", + }, + }; + return SLOResponseData; +}()); +exports.SLOResponseData = SLOResponseData; +//# sourceMappingURL=SLOResponseData.js.map + +/***/ }), + +/***/ 96548: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOThreshold = void 0; +/** + * SLO thresholds (target and optionally warning) for a single time window. + */ +var SLOThreshold = /** @class */ (function () { + function SLOThreshold() { + } + /** + * @ignore + */ + SLOThreshold.getAttributeTypeMap = function () { + return SLOThreshold.attributeTypeMap; + }; + /** + * @ignore + */ + SLOThreshold.attributeTypeMap = { + target: { + baseName: "target", + type: "number", + required: true, + format: "double", + }, + targetDisplay: { + baseName: "target_display", + type: "string", + }, + timeframe: { + baseName: "timeframe", + type: "SLOTimeframe", + required: true, + }, + warning: { + baseName: "warning", + type: "number", + format: "double", + }, + warningDisplay: { + baseName: "warning_display", + type: "string", + }, + }; + return SLOThreshold; +}()); +exports.SLOThreshold = SLOThreshold; +//# sourceMappingURL=SLOThreshold.js.map + +/***/ }), + +/***/ 32026: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SLOWidgetDefinition = void 0; +/** + * Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards. + */ +var SLOWidgetDefinition = /** @class */ (function () { + function SLOWidgetDefinition() { + } + /** + * @ignore + */ + SLOWidgetDefinition.getAttributeTypeMap = function () { + return SLOWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + SLOWidgetDefinition.attributeTypeMap = { + globalTimeTarget: { + baseName: "global_time_target", + type: "string", + }, + showErrorBudget: { + baseName: "show_error_budget", + type: "boolean", + }, + sloId: { + baseName: "slo_id", + type: "string", + }, + timeWindows: { + baseName: "time_windows", + type: "Array", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "SLOWidgetDefinitionType", + required: true, + }, + viewMode: { + baseName: "view_mode", + type: "WidgetViewMode", + }, + viewType: { + baseName: "view_type", + type: "string", + required: true, + }, + }; + return SLOWidgetDefinition; +}()); +exports.SLOWidgetDefinition = SLOWidgetDefinition; +//# sourceMappingURL=SLOWidgetDefinition.js.map + +/***/ }), + +/***/ 90691: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ScatterPlotRequest = void 0; +/** + * Updated scatter plot. + */ +var ScatterPlotRequest = /** @class */ (function () { + function ScatterPlotRequest() { + } + /** + * @ignore + */ + ScatterPlotRequest.getAttributeTypeMap = function () { + return ScatterPlotRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ScatterPlotRequest.attributeTypeMap = { + aggregator: { + baseName: "aggregator", + type: "ScatterplotWidgetAggregator", + }, + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return ScatterPlotRequest; +}()); +exports.ScatterPlotRequest = ScatterPlotRequest; +//# sourceMappingURL=ScatterPlotRequest.js.map + +/***/ }), + +/***/ 85820: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ScatterPlotWidgetDefinition = void 0; +/** + * The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation. + */ +var ScatterPlotWidgetDefinition = /** @class */ (function () { + function ScatterPlotWidgetDefinition() { + } + /** + * @ignore + */ + ScatterPlotWidgetDefinition.getAttributeTypeMap = function () { + return ScatterPlotWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ScatterPlotWidgetDefinition.attributeTypeMap = { + colorByGroups: { + baseName: "color_by_groups", + type: "Array", + }, + customLinks: { + baseName: "custom_links", + type: "Array", + }, + requests: { + baseName: "requests", + type: "ScatterPlotWidgetDefinitionRequests", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ScatterPlotWidgetDefinitionType", + required: true, + }, + xaxis: { + baseName: "xaxis", + type: "WidgetAxis", + }, + yaxis: { + baseName: "yaxis", + type: "WidgetAxis", + }, + }; + return ScatterPlotWidgetDefinition; +}()); +exports.ScatterPlotWidgetDefinition = ScatterPlotWidgetDefinition; +//# sourceMappingURL=ScatterPlotWidgetDefinition.js.map + +/***/ }), + +/***/ 6095: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ScatterPlotWidgetDefinitionRequests = void 0; +/** + * Widget definition. + */ +var ScatterPlotWidgetDefinitionRequests = /** @class */ (function () { + function ScatterPlotWidgetDefinitionRequests() { + } + /** + * @ignore + */ + ScatterPlotWidgetDefinitionRequests.getAttributeTypeMap = function () { + return ScatterPlotWidgetDefinitionRequests.attributeTypeMap; + }; + /** + * @ignore + */ + ScatterPlotWidgetDefinitionRequests.attributeTypeMap = { + table: { + baseName: "table", + type: "ScatterplotTableRequest", + }, + x: { + baseName: "x", + type: "ScatterPlotRequest", + }, + y: { + baseName: "y", + type: "ScatterPlotRequest", + }, + }; + return ScatterPlotWidgetDefinitionRequests; +}()); +exports.ScatterPlotWidgetDefinitionRequests = ScatterPlotWidgetDefinitionRequests; +//# sourceMappingURL=ScatterPlotWidgetDefinitionRequests.js.map + +/***/ }), + +/***/ 95803: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ScatterplotTableRequest = void 0; +/** + * Scatterplot request containing formulas and functions. + */ +var ScatterplotTableRequest = /** @class */ (function () { + function ScatterplotTableRequest() { + } + /** + * @ignore + */ + ScatterplotTableRequest.getAttributeTypeMap = function () { + return ScatterplotTableRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ScatterplotTableRequest.attributeTypeMap = { + formulas: { + baseName: "formulas", + type: "Array", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + }; + return ScatterplotTableRequest; +}()); +exports.ScatterplotTableRequest = ScatterplotTableRequest; +//# sourceMappingURL=ScatterplotTableRequest.js.map + +/***/ }), + +/***/ 36910: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ScatterplotWidgetFormula = void 0; +/** + * Formula to be used in a Scatterplot widget query. + */ +var ScatterplotWidgetFormula = /** @class */ (function () { + function ScatterplotWidgetFormula() { + } + /** + * @ignore + */ + ScatterplotWidgetFormula.getAttributeTypeMap = function () { + return ScatterplotWidgetFormula.attributeTypeMap; + }; + /** + * @ignore + */ + ScatterplotWidgetFormula.attributeTypeMap = { + alias: { + baseName: "alias", + type: "string", + }, + dimension: { + baseName: "dimension", + type: "ScatterplotDimension", + required: true, + }, + formula: { + baseName: "formula", + type: "string", + required: true, + }, + }; + return ScatterplotWidgetFormula; +}()); +exports.ScatterplotWidgetFormula = ScatterplotWidgetFormula; +//# sourceMappingURL=ScatterplotWidgetFormula.js.map + +/***/ }), + +/***/ 47757: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Series = void 0; +/** + * A metric to submit to Datadog. See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties). + */ +var Series = /** @class */ (function () { + function Series() { + } + /** + * @ignore + */ + Series.getAttributeTypeMap = function () { + return Series.attributeTypeMap; + }; + /** + * @ignore + */ + Series.attributeTypeMap = { + host: { + baseName: "host", + type: "string", + }, + interval: { + baseName: "interval", + type: "number", + format: "int64", + }, + metric: { + baseName: "metric", + type: "string", + required: true, + }, + points: { + baseName: "points", + type: "Array>", + required: true, + format: "double", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "string", + }, + }; + return Series; +}()); +exports.Series = Series; +//# sourceMappingURL=Series.js.map + +/***/ }), + +/***/ 87544: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceCheck = void 0; +/** + * An object containing service check and status. + */ +var ServiceCheck = /** @class */ (function () { + function ServiceCheck() { + } + /** + * @ignore + */ + ServiceCheck.getAttributeTypeMap = function () { + return ServiceCheck.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceCheck.attributeTypeMap = { + check: { + baseName: "check", + type: "string", + required: true, + }, + hostName: { + baseName: "host_name", + type: "string", + required: true, + }, + message: { + baseName: "message", + type: "string", + }, + status: { + baseName: "status", + type: "ServiceCheckStatus", + required: true, + }, + tags: { + baseName: "tags", + type: "Array", + required: true, + }, + timestamp: { + baseName: "timestamp", + type: "number", + format: "int64", + }, + }; + return ServiceCheck; +}()); +exports.ServiceCheck = ServiceCheck; +//# sourceMappingURL=ServiceCheck.js.map + +/***/ }), + +/***/ 43228: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceLevelObjective = void 0; +/** + * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). + */ +var ServiceLevelObjective = /** @class */ (function () { + function ServiceLevelObjective() { + } + /** + * @ignore + */ + ServiceLevelObjective.getAttributeTypeMap = function () { + return ServiceLevelObjective.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceLevelObjective.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "number", + format: "int64", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + description: { + baseName: "description", + type: "string", + }, + groups: { + baseName: "groups", + type: "Array", + }, + id: { + baseName: "id", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "number", + format: "int64", + }, + monitorIds: { + baseName: "monitor_ids", + type: "Array", + format: "int64", + }, + monitorTags: { + baseName: "monitor_tags", + type: "Array", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "ServiceLevelObjectiveQuery", + }, + tags: { + baseName: "tags", + type: "Array", + }, + thresholds: { + baseName: "thresholds", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "SLOType", + required: true, + }, + }; + return ServiceLevelObjective; +}()); +exports.ServiceLevelObjective = ServiceLevelObjective; +//# sourceMappingURL=ServiceLevelObjective.js.map + +/***/ }), + +/***/ 72178: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceLevelObjectiveQuery = void 0; +/** + * A metric SLI query. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests. + */ +var ServiceLevelObjectiveQuery = /** @class */ (function () { + function ServiceLevelObjectiveQuery() { + } + /** + * @ignore + */ + ServiceLevelObjectiveQuery.getAttributeTypeMap = function () { + return ServiceLevelObjectiveQuery.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceLevelObjectiveQuery.attributeTypeMap = { + denominator: { + baseName: "denominator", + type: "string", + required: true, + }, + numerator: { + baseName: "numerator", + type: "string", + required: true, + }, + }; + return ServiceLevelObjectiveQuery; +}()); +exports.ServiceLevelObjectiveQuery = ServiceLevelObjectiveQuery; +//# sourceMappingURL=ServiceLevelObjectiveQuery.js.map + +/***/ }), + +/***/ 20112: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceLevelObjectiveRequest = void 0; +/** + * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.). + */ +var ServiceLevelObjectiveRequest = /** @class */ (function () { + function ServiceLevelObjectiveRequest() { + } + /** + * @ignore + */ + ServiceLevelObjectiveRequest.getAttributeTypeMap = function () { + return ServiceLevelObjectiveRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceLevelObjectiveRequest.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + groups: { + baseName: "groups", + type: "Array", + }, + monitorIds: { + baseName: "monitor_ids", + type: "Array", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "ServiceLevelObjectiveQuery", + }, + tags: { + baseName: "tags", + type: "Array", + }, + thresholds: { + baseName: "thresholds", + type: "Array", + required: true, + }, + type: { + baseName: "type", + type: "SLOType", + required: true, + }, + }; + return ServiceLevelObjectiveRequest; +}()); +exports.ServiceLevelObjectiveRequest = ServiceLevelObjectiveRequest; +//# sourceMappingURL=ServiceLevelObjectiveRequest.js.map + +/***/ }), + +/***/ 96744: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceMapWidgetDefinition = void 0; +/** + * This widget displays a map of a service to all of the services that call it, and all of the services that it calls. + */ +var ServiceMapWidgetDefinition = /** @class */ (function () { + function ServiceMapWidgetDefinition() { + } + /** + * @ignore + */ + ServiceMapWidgetDefinition.getAttributeTypeMap = function () { + return ServiceMapWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceMapWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + filters: { + baseName: "filters", + type: "Array", + required: true, + }, + service: { + baseName: "service", + type: "string", + required: true, + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ServiceMapWidgetDefinitionType", + required: true, + }, + }; + return ServiceMapWidgetDefinition; +}()); +exports.ServiceMapWidgetDefinition = ServiceMapWidgetDefinition; +//# sourceMappingURL=ServiceMapWidgetDefinition.js.map + +/***/ }), + +/***/ 15351: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceSummaryWidgetDefinition = void 0; +/** + * The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards. + */ +var ServiceSummaryWidgetDefinition = /** @class */ (function () { + function ServiceSummaryWidgetDefinition() { + } + /** + * @ignore + */ + ServiceSummaryWidgetDefinition.getAttributeTypeMap = function () { + return ServiceSummaryWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceSummaryWidgetDefinition.attributeTypeMap = { + displayFormat: { + baseName: "display_format", + type: "WidgetServiceSummaryDisplayFormat", + }, + env: { + baseName: "env", + type: "string", + required: true, + }, + service: { + baseName: "service", + type: "string", + required: true, + }, + showBreakdown: { + baseName: "show_breakdown", + type: "boolean", + }, + showDistribution: { + baseName: "show_distribution", + type: "boolean", + }, + showErrors: { + baseName: "show_errors", + type: "boolean", + }, + showHits: { + baseName: "show_hits", + type: "boolean", + }, + showLatency: { + baseName: "show_latency", + type: "boolean", + }, + showResourceList: { + baseName: "show_resource_list", + type: "boolean", + }, + sizeFormat: { + baseName: "size_format", + type: "WidgetSizeFormat", + }, + spanName: { + baseName: "span_name", + type: "string", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ServiceSummaryWidgetDefinitionType", + required: true, + }, + }; + return ServiceSummaryWidgetDefinition; +}()); +exports.ServiceSummaryWidgetDefinition = ServiceSummaryWidgetDefinition; +//# sourceMappingURL=ServiceSummaryWidgetDefinition.js.map + +/***/ }), + +/***/ 96032: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SlackIntegrationChannel = void 0; +/** + * The Slack channel configuration. + */ +var SlackIntegrationChannel = /** @class */ (function () { + function SlackIntegrationChannel() { + } + /** + * @ignore + */ + SlackIntegrationChannel.getAttributeTypeMap = function () { + return SlackIntegrationChannel.attributeTypeMap; + }; + /** + * @ignore + */ + SlackIntegrationChannel.attributeTypeMap = { + display: { + baseName: "display", + type: "SlackIntegrationChannelDisplay", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return SlackIntegrationChannel; +}()); +exports.SlackIntegrationChannel = SlackIntegrationChannel; +//# sourceMappingURL=SlackIntegrationChannel.js.map + +/***/ }), + +/***/ 7456: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SlackIntegrationChannelDisplay = void 0; +/** + * Configuration options for what is shown in an alert event message. + */ +var SlackIntegrationChannelDisplay = /** @class */ (function () { + function SlackIntegrationChannelDisplay() { + } + /** + * @ignore + */ + SlackIntegrationChannelDisplay.getAttributeTypeMap = function () { + return SlackIntegrationChannelDisplay.attributeTypeMap; + }; + /** + * @ignore + */ + SlackIntegrationChannelDisplay.attributeTypeMap = { + message: { + baseName: "message", + type: "boolean", + }, + notified: { + baseName: "notified", + type: "boolean", + }, + snapshot: { + baseName: "snapshot", + type: "boolean", + }, + tags: { + baseName: "tags", + type: "boolean", + }, + }; + return SlackIntegrationChannelDisplay; +}()); +exports.SlackIntegrationChannelDisplay = SlackIntegrationChannelDisplay; +//# sourceMappingURL=SlackIntegrationChannelDisplay.js.map + +/***/ }), + +/***/ 20775: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SunburstWidgetDefinition = void 0; +/** + * Sunbursts are spot on to highlight how groups contribute to the total of a query. + */ +var SunburstWidgetDefinition = /** @class */ (function () { + function SunburstWidgetDefinition() { + } + /** + * @ignore + */ + SunburstWidgetDefinition.getAttributeTypeMap = function () { + return SunburstWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + SunburstWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + hideTotal: { + baseName: "hide_total", + type: "boolean", + }, + legend: { + baseName: "legend", + type: "SunburstWidgetLegend", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "SunburstWidgetDefinitionType", + required: true, + }, + }; + return SunburstWidgetDefinition; +}()); +exports.SunburstWidgetDefinition = SunburstWidgetDefinition; +//# sourceMappingURL=SunburstWidgetDefinition.js.map + +/***/ }), + +/***/ 1527: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SunburstWidgetLegendInlineAutomatic = void 0; +/** + * Configuration of inline or automatic legends. + */ +var SunburstWidgetLegendInlineAutomatic = /** @class */ (function () { + function SunburstWidgetLegendInlineAutomatic() { + } + /** + * @ignore + */ + SunburstWidgetLegendInlineAutomatic.getAttributeTypeMap = function () { + return SunburstWidgetLegendInlineAutomatic.attributeTypeMap; + }; + /** + * @ignore + */ + SunburstWidgetLegendInlineAutomatic.attributeTypeMap = { + hidePercent: { + baseName: "hide_percent", + type: "boolean", + }, + hideValue: { + baseName: "hide_value", + type: "boolean", + }, + type: { + baseName: "type", + type: "SunburstWidgetLegendInlineAutomaticType", + required: true, + }, + }; + return SunburstWidgetLegendInlineAutomatic; +}()); +exports.SunburstWidgetLegendInlineAutomatic = SunburstWidgetLegendInlineAutomatic; +//# sourceMappingURL=SunburstWidgetLegendInlineAutomatic.js.map + +/***/ }), + +/***/ 42284: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SunburstWidgetLegendTable = void 0; +/** + * Configuration of table-based legend. + */ +var SunburstWidgetLegendTable = /** @class */ (function () { + function SunburstWidgetLegendTable() { + } + /** + * @ignore + */ + SunburstWidgetLegendTable.getAttributeTypeMap = function () { + return SunburstWidgetLegendTable.attributeTypeMap; + }; + /** + * @ignore + */ + SunburstWidgetLegendTable.attributeTypeMap = { + type: { + baseName: "type", + type: "SunburstWidgetLegendTableType", + required: true, + }, + }; + return SunburstWidgetLegendTable; +}()); +exports.SunburstWidgetLegendTable = SunburstWidgetLegendTable; +//# sourceMappingURL=SunburstWidgetLegendTable.js.map + +/***/ }), + +/***/ 60511: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SunburstWidgetRequest = void 0; +/** + * Request definition of sunburst widget. + */ +var SunburstWidgetRequest = /** @class */ (function () { + function SunburstWidgetRequest() { + } + /** + * @ignore + */ + SunburstWidgetRequest.getAttributeTypeMap = function () { + return SunburstWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SunburstWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + auditQuery: { + baseName: "audit_query", + type: "LogQueryDefinition", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return SunburstWidgetRequest; +}()); +exports.SunburstWidgetRequest = SunburstWidgetRequest; +//# sourceMappingURL=SunburstWidgetRequest.js.map + +/***/ }), + +/***/ 4175: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPIStep = void 0; +/** + * The steps used in a Synthetics multistep API test. + */ +var SyntheticsAPIStep = /** @class */ (function () { + function SyntheticsAPIStep() { + } + /** + * @ignore + */ + SyntheticsAPIStep.getAttributeTypeMap = function () { + return SyntheticsAPIStep.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPIStep.attributeTypeMap = { + allowFailure: { + baseName: "allowFailure", + type: "boolean", + }, + assertions: { + baseName: "assertions", + type: "Array", + required: true, + }, + extractedValues: { + baseName: "extractedValues", + type: "Array", + }, + isCritical: { + baseName: "isCritical", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + request: { + baseName: "request", + type: "SyntheticsTestRequest", + required: true, + }, + retry: { + baseName: "retry", + type: "SyntheticsTestOptionsRetry", + }, + subtype: { + baseName: "subtype", + type: "SyntheticsAPIStepSubtype", + required: true, + }, + }; + return SyntheticsAPIStep; +}()); +exports.SyntheticsAPIStep = SyntheticsAPIStep; +//# sourceMappingURL=SyntheticsAPIStep.js.map + +/***/ }), + +/***/ 3433: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITest = void 0; +/** + * Object containing details about a Synthetic API test. + */ +var SyntheticsAPITest = /** @class */ (function () { + function SyntheticsAPITest() { + } + /** + * @ignore + */ + SyntheticsAPITest.getAttributeTypeMap = function () { + return SyntheticsAPITest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITest.attributeTypeMap = { + config: { + baseName: "config", + type: "SyntheticsAPITestConfig", + required: true, + }, + locations: { + baseName: "locations", + type: "Array", + required: true, + }, + message: { + baseName: "message", + type: "string", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + options: { + baseName: "options", + type: "SyntheticsTestOptions", + required: true, + }, + publicId: { + baseName: "public_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestPauseStatus", + }, + subtype: { + baseName: "subtype", + type: "SyntheticsTestDetailsSubType", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "SyntheticsAPITestType", + required: true, + }, + }; + return SyntheticsAPITest; +}()); +exports.SyntheticsAPITest = SyntheticsAPITest; +//# sourceMappingURL=SyntheticsAPITest.js.map + +/***/ }), + +/***/ 60634: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestConfig = void 0; +/** + * Configuration object for a Synthetic API test. + */ +var SyntheticsAPITestConfig = /** @class */ (function () { + function SyntheticsAPITestConfig() { + } + /** + * @ignore + */ + SyntheticsAPITestConfig.getAttributeTypeMap = function () { + return SyntheticsAPITestConfig.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestConfig.attributeTypeMap = { + assertions: { + baseName: "assertions", + type: "Array", + }, + configVariables: { + baseName: "configVariables", + type: "Array", + }, + request: { + baseName: "request", + type: "SyntheticsTestRequest", + }, + steps: { + baseName: "steps", + type: "Array", + }, + }; + return SyntheticsAPITestConfig; +}()); +exports.SyntheticsAPITestConfig = SyntheticsAPITestConfig; +//# sourceMappingURL=SyntheticsAPITestConfig.js.map + +/***/ }), + +/***/ 21132: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestResultData = void 0; +/** + * Object containing results for your Synthetic API test. + */ +var SyntheticsAPITestResultData = /** @class */ (function () { + function SyntheticsAPITestResultData() { + } + /** + * @ignore + */ + SyntheticsAPITestResultData.getAttributeTypeMap = function () { + return SyntheticsAPITestResultData.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestResultData.attributeTypeMap = { + cert: { + baseName: "cert", + type: "SyntheticsSSLCertificate", + }, + eventType: { + baseName: "eventType", + type: "SyntheticsTestProcessStatus", + }, + failure: { + baseName: "failure", + type: "SyntheticsApiTestResultFailure", + }, + httpStatusCode: { + baseName: "httpStatusCode", + type: "number", + format: "int64", + }, + requestHeaders: { + baseName: "requestHeaders", + type: "{ [key: string]: any; }", + }, + responseBody: { + baseName: "responseBody", + type: "string", + }, + responseHeaders: { + baseName: "responseHeaders", + type: "{ [key: string]: any; }", + }, + responseSize: { + baseName: "responseSize", + type: "number", + format: "int64", + }, + timings: { + baseName: "timings", + type: "SyntheticsTiming", + }, + }; + return SyntheticsAPITestResultData; +}()); +exports.SyntheticsAPITestResultData = SyntheticsAPITestResultData; +//# sourceMappingURL=SyntheticsAPITestResultData.js.map + +/***/ }), + +/***/ 92111: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestResultFull = void 0; +/** + * Object returned describing a API test result. + */ +var SyntheticsAPITestResultFull = /** @class */ (function () { + function SyntheticsAPITestResultFull() { + } + /** + * @ignore + */ + SyntheticsAPITestResultFull.getAttributeTypeMap = function () { + return SyntheticsAPITestResultFull.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestResultFull.attributeTypeMap = { + check: { + baseName: "check", + type: "SyntheticsAPITestResultFullCheck", + }, + checkTime: { + baseName: "check_time", + type: "number", + format: "double", + }, + checkVersion: { + baseName: "check_version", + type: "number", + format: "int64", + }, + probeDc: { + baseName: "probe_dc", + type: "string", + }, + result: { + baseName: "result", + type: "SyntheticsAPITestResultData", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestMonitorStatus", + }, + }; + return SyntheticsAPITestResultFull; +}()); +exports.SyntheticsAPITestResultFull = SyntheticsAPITestResultFull; +//# sourceMappingURL=SyntheticsAPITestResultFull.js.map + +/***/ }), + +/***/ 81032: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestResultFullCheck = void 0; +/** + * Object describing the API test configuration. + */ +var SyntheticsAPITestResultFullCheck = /** @class */ (function () { + function SyntheticsAPITestResultFullCheck() { + } + /** + * @ignore + */ + SyntheticsAPITestResultFullCheck.getAttributeTypeMap = function () { + return SyntheticsAPITestResultFullCheck.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestResultFullCheck.attributeTypeMap = { + config: { + baseName: "config", + type: "SyntheticsTestConfig", + required: true, + }, + }; + return SyntheticsAPITestResultFullCheck; +}()); +exports.SyntheticsAPITestResultFullCheck = SyntheticsAPITestResultFullCheck; +//# sourceMappingURL=SyntheticsAPITestResultFullCheck.js.map + +/***/ }), + +/***/ 2048: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestResultShort = void 0; +/** + * Object with the results of a single Synthetic API test. + */ +var SyntheticsAPITestResultShort = /** @class */ (function () { + function SyntheticsAPITestResultShort() { + } + /** + * @ignore + */ + SyntheticsAPITestResultShort.getAttributeTypeMap = function () { + return SyntheticsAPITestResultShort.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestResultShort.attributeTypeMap = { + checkTime: { + baseName: "check_time", + type: "number", + format: "double", + }, + probeDc: { + baseName: "probe_dc", + type: "string", + }, + result: { + baseName: "result", + type: "SyntheticsAPITestResultShortResult", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestMonitorStatus", + }, + }; + return SyntheticsAPITestResultShort; +}()); +exports.SyntheticsAPITestResultShort = SyntheticsAPITestResultShort; +//# sourceMappingURL=SyntheticsAPITestResultShort.js.map + +/***/ }), + +/***/ 85380: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAPITestResultShortResult = void 0; +/** + * Result of the last API test run. + */ +var SyntheticsAPITestResultShortResult = /** @class */ (function () { + function SyntheticsAPITestResultShortResult() { + } + /** + * @ignore + */ + SyntheticsAPITestResultShortResult.getAttributeTypeMap = function () { + return SyntheticsAPITestResultShortResult.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAPITestResultShortResult.attributeTypeMap = { + passed: { + baseName: "passed", + type: "boolean", + }, + timings: { + baseName: "timings", + type: "SyntheticsTiming", + }, + }; + return SyntheticsAPITestResultShortResult; +}()); +exports.SyntheticsAPITestResultShortResult = SyntheticsAPITestResultShortResult; +//# sourceMappingURL=SyntheticsAPITestResultShortResult.js.map + +/***/ }), + +/***/ 42098: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsApiTestResultFailure = void 0; +/** + * The API test failure details. + */ +var SyntheticsApiTestResultFailure = /** @class */ (function () { + function SyntheticsApiTestResultFailure() { + } + /** + * @ignore + */ + SyntheticsApiTestResultFailure.getAttributeTypeMap = function () { + return SyntheticsApiTestResultFailure.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsApiTestResultFailure.attributeTypeMap = { + code: { + baseName: "code", + type: "SyntheticsApiTestFailureCode", + }, + message: { + baseName: "message", + type: "string", + }, + }; + return SyntheticsApiTestResultFailure; +}()); +exports.SyntheticsApiTestResultFailure = SyntheticsApiTestResultFailure; +//# sourceMappingURL=SyntheticsApiTestResultFailure.js.map + +/***/ }), + +/***/ 14493: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAssertionJSONPathTarget = void 0; +/** + * An assertion for the `validatesJSONPath` operator. + */ +var SyntheticsAssertionJSONPathTarget = /** @class */ (function () { + function SyntheticsAssertionJSONPathTarget() { + } + /** + * @ignore + */ + SyntheticsAssertionJSONPathTarget.getAttributeTypeMap = function () { + return SyntheticsAssertionJSONPathTarget.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAssertionJSONPathTarget.attributeTypeMap = { + operator: { + baseName: "operator", + type: "SyntheticsAssertionJSONPathOperator", + required: true, + }, + property: { + baseName: "property", + type: "string", + }, + target: { + baseName: "target", + type: "SyntheticsAssertionJSONPathTargetTarget", + }, + type: { + baseName: "type", + type: "SyntheticsAssertionType", + required: true, + }, + }; + return SyntheticsAssertionJSONPathTarget; +}()); +exports.SyntheticsAssertionJSONPathTarget = SyntheticsAssertionJSONPathTarget; +//# sourceMappingURL=SyntheticsAssertionJSONPathTarget.js.map + +/***/ }), + +/***/ 46885: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAssertionJSONPathTargetTarget = void 0; +/** + * Composed target for `validatesJSONPath` operator. + */ +var SyntheticsAssertionJSONPathTargetTarget = /** @class */ (function () { + function SyntheticsAssertionJSONPathTargetTarget() { + } + /** + * @ignore + */ + SyntheticsAssertionJSONPathTargetTarget.getAttributeTypeMap = function () { + return SyntheticsAssertionJSONPathTargetTarget.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAssertionJSONPathTargetTarget.attributeTypeMap = { + jsonPath: { + baseName: "jsonPath", + type: "string", + }, + operator: { + baseName: "operator", + type: "string", + }, + targetValue: { + baseName: "targetValue", + type: "any", + }, + }; + return SyntheticsAssertionJSONPathTargetTarget; +}()); +exports.SyntheticsAssertionJSONPathTargetTarget = SyntheticsAssertionJSONPathTargetTarget; +//# sourceMappingURL=SyntheticsAssertionJSONPathTargetTarget.js.map + +/***/ }), + +/***/ 11801: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsAssertionTarget = void 0; +/** + * An assertion which uses a simple target. + */ +var SyntheticsAssertionTarget = /** @class */ (function () { + function SyntheticsAssertionTarget() { + } + /** + * @ignore + */ + SyntheticsAssertionTarget.getAttributeTypeMap = function () { + return SyntheticsAssertionTarget.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsAssertionTarget.attributeTypeMap = { + operator: { + baseName: "operator", + type: "SyntheticsAssertionOperator", + required: true, + }, + property: { + baseName: "property", + type: "string", + }, + target: { + baseName: "target", + type: "any", + required: true, + }, + type: { + baseName: "type", + type: "SyntheticsAssertionType", + required: true, + }, + }; + return SyntheticsAssertionTarget; +}()); +exports.SyntheticsAssertionTarget = SyntheticsAssertionTarget; +//# sourceMappingURL=SyntheticsAssertionTarget.js.map + +/***/ }), + +/***/ 82481: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBasicAuthNTLM = void 0; +/** + * Object to handle `NTLM` authentication when performing the test. + */ +var SyntheticsBasicAuthNTLM = /** @class */ (function () { + function SyntheticsBasicAuthNTLM() { + } + /** + * @ignore + */ + SyntheticsBasicAuthNTLM.getAttributeTypeMap = function () { + return SyntheticsBasicAuthNTLM.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBasicAuthNTLM.attributeTypeMap = { + domain: { + baseName: "domain", + type: "string", + }, + password: { + baseName: "password", + type: "string", + }, + type: { + baseName: "type", + type: "SyntheticsBasicAuthNTLMType", + required: true, + }, + username: { + baseName: "username", + type: "string", + }, + workstation: { + baseName: "workstation", + type: "string", + }, + }; + return SyntheticsBasicAuthNTLM; +}()); +exports.SyntheticsBasicAuthNTLM = SyntheticsBasicAuthNTLM; +//# sourceMappingURL=SyntheticsBasicAuthNTLM.js.map + +/***/ }), + +/***/ 30084: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBasicAuthSigv4 = void 0; +/** + * Object to handle `SIGV4` authentication when performing the test. + */ +var SyntheticsBasicAuthSigv4 = /** @class */ (function () { + function SyntheticsBasicAuthSigv4() { + } + /** + * @ignore + */ + SyntheticsBasicAuthSigv4.getAttributeTypeMap = function () { + return SyntheticsBasicAuthSigv4.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBasicAuthSigv4.attributeTypeMap = { + accessKey: { + baseName: "accessKey", + type: "string", + required: true, + }, + region: { + baseName: "region", + type: "string", + }, + secretKey: { + baseName: "secretKey", + type: "string", + required: true, + }, + serviceName: { + baseName: "serviceName", + type: "string", + }, + sessionToken: { + baseName: "sessionToken", + type: "string", + }, + type: { + baseName: "type", + type: "SyntheticsBasicAuthSigv4Type", + required: true, + }, + }; + return SyntheticsBasicAuthSigv4; +}()); +exports.SyntheticsBasicAuthSigv4 = SyntheticsBasicAuthSigv4; +//# sourceMappingURL=SyntheticsBasicAuthSigv4.js.map + +/***/ }), + +/***/ 82117: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBasicAuthWeb = void 0; +/** + * Object to handle basic authentication when performing the test. + */ +var SyntheticsBasicAuthWeb = /** @class */ (function () { + function SyntheticsBasicAuthWeb() { + } + /** + * @ignore + */ + SyntheticsBasicAuthWeb.getAttributeTypeMap = function () { + return SyntheticsBasicAuthWeb.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBasicAuthWeb.attributeTypeMap = { + password: { + baseName: "password", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "SyntheticsBasicAuthWebType", + required: true, + }, + username: { + baseName: "username", + type: "string", + required: true, + }, + }; + return SyntheticsBasicAuthWeb; +}()); +exports.SyntheticsBasicAuthWeb = SyntheticsBasicAuthWeb; +//# sourceMappingURL=SyntheticsBasicAuthWeb.js.map + +/***/ }), + +/***/ 82598: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBatchDetails = void 0; +/** + * Details about a batch response. + */ +var SyntheticsBatchDetails = /** @class */ (function () { + function SyntheticsBatchDetails() { + } + /** + * @ignore + */ + SyntheticsBatchDetails.getAttributeTypeMap = function () { + return SyntheticsBatchDetails.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBatchDetails.attributeTypeMap = { + data: { + baseName: "data", + type: "SyntheticsBatchDetailsData", + }, + }; + return SyntheticsBatchDetails; +}()); +exports.SyntheticsBatchDetails = SyntheticsBatchDetails; +//# sourceMappingURL=SyntheticsBatchDetails.js.map + +/***/ }), + +/***/ 47215: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBatchDetailsData = void 0; +/** + * Wrapper object that contains the details of a batch. + */ +var SyntheticsBatchDetailsData = /** @class */ (function () { + function SyntheticsBatchDetailsData() { + } + /** + * @ignore + */ + SyntheticsBatchDetailsData.getAttributeTypeMap = function () { + return SyntheticsBatchDetailsData.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBatchDetailsData.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "SyntheticsCIBatchMetadata", + }, + results: { + baseName: "results", + type: "Array", + }, + status: { + baseName: "status", + type: "SyntheticsStatus", + }, + }; + return SyntheticsBatchDetailsData; +}()); +exports.SyntheticsBatchDetailsData = SyntheticsBatchDetailsData; +//# sourceMappingURL=SyntheticsBatchDetailsData.js.map + +/***/ }), + +/***/ 8974: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBatchResult = void 0; +/** + * Object with the results of a Synthetics batch. + */ +var SyntheticsBatchResult = /** @class */ (function () { + function SyntheticsBatchResult() { + } + /** + * @ignore + */ + SyntheticsBatchResult.getAttributeTypeMap = function () { + return SyntheticsBatchResult.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBatchResult.attributeTypeMap = { + device: { + baseName: "device", + type: "SyntheticsDeviceID", + }, + duration: { + baseName: "duration", + type: "number", + format: "double", + }, + executionRule: { + baseName: "execution_rule", + type: "SyntheticsTestExecutionRule", + }, + location: { + baseName: "location", + type: "string", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + retries: { + baseName: "retries", + type: "number", + format: "double", + }, + status: { + baseName: "status", + type: "SyntheticsStatus", + }, + testName: { + baseName: "test_name", + type: "string", + }, + testPublicId: { + baseName: "test_public_id", + type: "string", + }, + testType: { + baseName: "test_type", + type: "SyntheticsTestDetailsType", + }, + }; + return SyntheticsBatchResult; +}()); +exports.SyntheticsBatchResult = SyntheticsBatchResult; +//# sourceMappingURL=SyntheticsBatchResult.js.map + +/***/ }), + +/***/ 7593: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserError = void 0; +/** + * Error response object for a browser test. + */ +var SyntheticsBrowserError = /** @class */ (function () { + function SyntheticsBrowserError() { + } + /** + * @ignore + */ + SyntheticsBrowserError.getAttributeTypeMap = function () { + return SyntheticsBrowserError.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserError.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + status: { + baseName: "status", + type: "number", + format: "int64", + }, + type: { + baseName: "type", + type: "SyntheticsBrowserErrorType", + required: true, + }, + }; + return SyntheticsBrowserError; +}()); +exports.SyntheticsBrowserError = SyntheticsBrowserError; +//# sourceMappingURL=SyntheticsBrowserError.js.map + +/***/ }), + +/***/ 44771: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTest = void 0; +/** + * Object containing details about a Synthetic browser test. + */ +var SyntheticsBrowserTest = /** @class */ (function () { + function SyntheticsBrowserTest() { + } + /** + * @ignore + */ + SyntheticsBrowserTest.getAttributeTypeMap = function () { + return SyntheticsBrowserTest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTest.attributeTypeMap = { + config: { + baseName: "config", + type: "SyntheticsBrowserTestConfig", + required: true, + }, + locations: { + baseName: "locations", + type: "Array", + required: true, + }, + message: { + baseName: "message", + type: "string", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + options: { + baseName: "options", + type: "SyntheticsTestOptions", + required: true, + }, + publicId: { + baseName: "public_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestPauseStatus", + }, + steps: { + baseName: "steps", + type: "Array", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "SyntheticsBrowserTestType", + required: true, + }, + }; + return SyntheticsBrowserTest; +}()); +exports.SyntheticsBrowserTest = SyntheticsBrowserTest; +//# sourceMappingURL=SyntheticsBrowserTest.js.map + +/***/ }), + +/***/ 73455: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestConfig = void 0; +/** + * Configuration object for a Synthetic browser test. + */ +var SyntheticsBrowserTestConfig = /** @class */ (function () { + function SyntheticsBrowserTestConfig() { + } + /** + * @ignore + */ + SyntheticsBrowserTestConfig.getAttributeTypeMap = function () { + return SyntheticsBrowserTestConfig.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestConfig.attributeTypeMap = { + assertions: { + baseName: "assertions", + type: "Array", + required: true, + }, + configVariables: { + baseName: "configVariables", + type: "Array", + }, + request: { + baseName: "request", + type: "SyntheticsTestRequest", + required: true, + }, + setCookie: { + baseName: "setCookie", + type: "string", + }, + variables: { + baseName: "variables", + type: "Array", + }, + }; + return SyntheticsBrowserTestConfig; +}()); +exports.SyntheticsBrowserTestConfig = SyntheticsBrowserTestConfig; +//# sourceMappingURL=SyntheticsBrowserTestConfig.js.map + +/***/ }), + +/***/ 9337: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultData = void 0; +/** + * Object containing results for your Synthetic browser test. + */ +var SyntheticsBrowserTestResultData = /** @class */ (function () { + function SyntheticsBrowserTestResultData() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultData.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultData.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultData.attributeTypeMap = { + browserType: { + baseName: "browserType", + type: "string", + }, + browserVersion: { + baseName: "browserVersion", + type: "string", + }, + device: { + baseName: "device", + type: "SyntheticsDevice", + }, + duration: { + baseName: "duration", + type: "number", + format: "double", + }, + error: { + baseName: "error", + type: "string", + }, + failure: { + baseName: "failure", + type: "SyntheticsBrowserTestResultFailure", + }, + passed: { + baseName: "passed", + type: "boolean", + }, + receivedEmailCount: { + baseName: "receivedEmailCount", + type: "number", + format: "int64", + }, + startUrl: { + baseName: "startUrl", + type: "string", + }, + stepDetails: { + baseName: "stepDetails", + type: "Array", + }, + thumbnailsBucketKey: { + baseName: "thumbnailsBucketKey", + type: "boolean", + }, + timeToInteractive: { + baseName: "timeToInteractive", + type: "number", + format: "double", + }, + }; + return SyntheticsBrowserTestResultData; +}()); +exports.SyntheticsBrowserTestResultData = SyntheticsBrowserTestResultData; +//# sourceMappingURL=SyntheticsBrowserTestResultData.js.map + +/***/ }), + +/***/ 80686: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultFailure = void 0; +/** + * The browser test failure details. + */ +var SyntheticsBrowserTestResultFailure = /** @class */ (function () { + function SyntheticsBrowserTestResultFailure() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultFailure.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultFailure.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultFailure.attributeTypeMap = { + code: { + baseName: "code", + type: "SyntheticsBrowserTestFailureCode", + }, + message: { + baseName: "message", + type: "string", + }, + }; + return SyntheticsBrowserTestResultFailure; +}()); +exports.SyntheticsBrowserTestResultFailure = SyntheticsBrowserTestResultFailure; +//# sourceMappingURL=SyntheticsBrowserTestResultFailure.js.map + +/***/ }), + +/***/ 88630: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultFull = void 0; +/** + * Object returned describing a browser test result. + */ +var SyntheticsBrowserTestResultFull = /** @class */ (function () { + function SyntheticsBrowserTestResultFull() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultFull.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultFull.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultFull.attributeTypeMap = { + check: { + baseName: "check", + type: "SyntheticsBrowserTestResultFullCheck", + }, + checkTime: { + baseName: "check_time", + type: "number", + format: "double", + }, + checkVersion: { + baseName: "check_version", + type: "number", + format: "int64", + }, + probeDc: { + baseName: "probe_dc", + type: "string", + }, + result: { + baseName: "result", + type: "SyntheticsBrowserTestResultData", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestMonitorStatus", + }, + }; + return SyntheticsBrowserTestResultFull; +}()); +exports.SyntheticsBrowserTestResultFull = SyntheticsBrowserTestResultFull; +//# sourceMappingURL=SyntheticsBrowserTestResultFull.js.map + +/***/ }), + +/***/ 32340: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultFullCheck = void 0; +/** + * Object describing the browser test configuration. + */ +var SyntheticsBrowserTestResultFullCheck = /** @class */ (function () { + function SyntheticsBrowserTestResultFullCheck() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultFullCheck.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultFullCheck.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultFullCheck.attributeTypeMap = { + config: { + baseName: "config", + type: "SyntheticsTestConfig", + required: true, + }, + }; + return SyntheticsBrowserTestResultFullCheck; +}()); +exports.SyntheticsBrowserTestResultFullCheck = SyntheticsBrowserTestResultFullCheck; +//# sourceMappingURL=SyntheticsBrowserTestResultFullCheck.js.map + +/***/ }), + +/***/ 2904: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultShort = void 0; +/** + * Object with the results of a single Synthetic browser test. + */ +var SyntheticsBrowserTestResultShort = /** @class */ (function () { + function SyntheticsBrowserTestResultShort() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultShort.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultShort.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultShort.attributeTypeMap = { + checkTime: { + baseName: "check_time", + type: "number", + format: "double", + }, + probeDc: { + baseName: "probe_dc", + type: "string", + }, + result: { + baseName: "result", + type: "SyntheticsBrowserTestResultShortResult", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestMonitorStatus", + }, + }; + return SyntheticsBrowserTestResultShort; +}()); +exports.SyntheticsBrowserTestResultShort = SyntheticsBrowserTestResultShort; +//# sourceMappingURL=SyntheticsBrowserTestResultShort.js.map + +/***/ }), + +/***/ 58505: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserTestResultShortResult = void 0; +/** + * Object with the result of the last browser test run. + */ +var SyntheticsBrowserTestResultShortResult = /** @class */ (function () { + function SyntheticsBrowserTestResultShortResult() { + } + /** + * @ignore + */ + SyntheticsBrowserTestResultShortResult.getAttributeTypeMap = function () { + return SyntheticsBrowserTestResultShortResult.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserTestResultShortResult.attributeTypeMap = { + device: { + baseName: "device", + type: "SyntheticsDevice", + }, + duration: { + baseName: "duration", + type: "number", + format: "double", + }, + errorCount: { + baseName: "errorCount", + type: "number", + format: "int64", + }, + stepCountCompleted: { + baseName: "stepCountCompleted", + type: "number", + format: "int64", + }, + stepCountTotal: { + baseName: "stepCountTotal", + type: "number", + format: "int64", + }, + }; + return SyntheticsBrowserTestResultShortResult; +}()); +exports.SyntheticsBrowserTestResultShortResult = SyntheticsBrowserTestResultShortResult; +//# sourceMappingURL=SyntheticsBrowserTestResultShortResult.js.map + +/***/ }), + +/***/ 35642: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsBrowserVariable = void 0; +/** + * Object defining a variable that can be used in your browser test. Learn more in the [Browser test Actions documentation](https://docs.datadoghq.com/synthetics/browser_tests/actions#variable). + */ +var SyntheticsBrowserVariable = /** @class */ (function () { + function SyntheticsBrowserVariable() { + } + /** + * @ignore + */ + SyntheticsBrowserVariable.getAttributeTypeMap = function () { + return SyntheticsBrowserVariable.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsBrowserVariable.attributeTypeMap = { + example: { + baseName: "example", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + pattern: { + baseName: "pattern", + type: "string", + }, + type: { + baseName: "type", + type: "SyntheticsBrowserVariableType", + required: true, + }, + }; + return SyntheticsBrowserVariable; +}()); +exports.SyntheticsBrowserVariable = SyntheticsBrowserVariable; +//# sourceMappingURL=SyntheticsBrowserVariable.js.map + +/***/ }), + +/***/ 12212: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCIBatchMetadata = void 0; +/** + * Metadata for the Synthetics tests run. + */ +var SyntheticsCIBatchMetadata = /** @class */ (function () { + function SyntheticsCIBatchMetadata() { + } + /** + * @ignore + */ + SyntheticsCIBatchMetadata.getAttributeTypeMap = function () { + return SyntheticsCIBatchMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCIBatchMetadata.attributeTypeMap = { + ci: { + baseName: "ci", + type: "SyntheticsCIBatchMetadataCI", + }, + git: { + baseName: "git", + type: "SyntheticsCIBatchMetadataGit", + }, + }; + return SyntheticsCIBatchMetadata; +}()); +exports.SyntheticsCIBatchMetadata = SyntheticsCIBatchMetadata; +//# sourceMappingURL=SyntheticsCIBatchMetadata.js.map + +/***/ }), + +/***/ 20102: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCIBatchMetadataCI = void 0; +/** + * Description of the CI provider. + */ +var SyntheticsCIBatchMetadataCI = /** @class */ (function () { + function SyntheticsCIBatchMetadataCI() { + } + /** + * @ignore + */ + SyntheticsCIBatchMetadataCI.getAttributeTypeMap = function () { + return SyntheticsCIBatchMetadataCI.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCIBatchMetadataCI.attributeTypeMap = { + pipeline: { + baseName: "pipeline", + type: "SyntheticsCIBatchMetadataPipeline", + }, + provider: { + baseName: "provider", + type: "SyntheticsCIBatchMetadataProvider", + }, + }; + return SyntheticsCIBatchMetadataCI; +}()); +exports.SyntheticsCIBatchMetadataCI = SyntheticsCIBatchMetadataCI; +//# sourceMappingURL=SyntheticsCIBatchMetadataCI.js.map + +/***/ }), + +/***/ 72392: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCIBatchMetadataGit = void 0; +/** + * Git information. + */ +var SyntheticsCIBatchMetadataGit = /** @class */ (function () { + function SyntheticsCIBatchMetadataGit() { + } + /** + * @ignore + */ + SyntheticsCIBatchMetadataGit.getAttributeTypeMap = function () { + return SyntheticsCIBatchMetadataGit.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCIBatchMetadataGit.attributeTypeMap = { + branch: { + baseName: "branch", + type: "string", + }, + commitSha: { + baseName: "commitSha", + type: "string", + }, + }; + return SyntheticsCIBatchMetadataGit; +}()); +exports.SyntheticsCIBatchMetadataGit = SyntheticsCIBatchMetadataGit; +//# sourceMappingURL=SyntheticsCIBatchMetadataGit.js.map + +/***/ }), + +/***/ 31619: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCIBatchMetadataPipeline = void 0; +/** + * Description of the CI pipeline. + */ +var SyntheticsCIBatchMetadataPipeline = /** @class */ (function () { + function SyntheticsCIBatchMetadataPipeline() { + } + /** + * @ignore + */ + SyntheticsCIBatchMetadataPipeline.getAttributeTypeMap = function () { + return SyntheticsCIBatchMetadataPipeline.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCIBatchMetadataPipeline.attributeTypeMap = { + url: { + baseName: "url", + type: "string", + }, + }; + return SyntheticsCIBatchMetadataPipeline; +}()); +exports.SyntheticsCIBatchMetadataPipeline = SyntheticsCIBatchMetadataPipeline; +//# sourceMappingURL=SyntheticsCIBatchMetadataPipeline.js.map + +/***/ }), + +/***/ 75363: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCIBatchMetadataProvider = void 0; +/** + * Description of the CI provider. + */ +var SyntheticsCIBatchMetadataProvider = /** @class */ (function () { + function SyntheticsCIBatchMetadataProvider() { + } + /** + * @ignore + */ + SyntheticsCIBatchMetadataProvider.getAttributeTypeMap = function () { + return SyntheticsCIBatchMetadataProvider.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCIBatchMetadataProvider.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + }, + }; + return SyntheticsCIBatchMetadataProvider; +}()); +exports.SyntheticsCIBatchMetadataProvider = SyntheticsCIBatchMetadataProvider; +//# sourceMappingURL=SyntheticsCIBatchMetadataProvider.js.map + +/***/ }), + +/***/ 56409: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCITest = void 0; +/** + * Test configuration for Synthetics CI + */ +var SyntheticsCITest = /** @class */ (function () { + function SyntheticsCITest() { + } + /** + * @ignore + */ + SyntheticsCITest.getAttributeTypeMap = function () { + return SyntheticsCITest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCITest.attributeTypeMap = { + allowInsecureCertificates: { + baseName: "allowInsecureCertificates", + type: "boolean", + }, + basicAuth: { + baseName: "basicAuth", + type: "SyntheticsBasicAuth", + }, + body: { + baseName: "body", + type: "string", + }, + bodyType: { + baseName: "bodyType", + type: "string", + }, + cookies: { + baseName: "cookies", + type: "string", + }, + deviceIds: { + baseName: "deviceIds", + type: "Array", + }, + followRedirects: { + baseName: "followRedirects", + type: "boolean", + }, + headers: { + baseName: "headers", + type: "{ [key: string]: string; }", + }, + locations: { + baseName: "locations", + type: "Array", + }, + metadata: { + baseName: "metadata", + type: "SyntheticsCIBatchMetadata", + }, + publicId: { + baseName: "public_id", + type: "string", + required: true, + }, + retry: { + baseName: "retry", + type: "SyntheticsTestOptionsRetry", + }, + startUrl: { + baseName: "startUrl", + type: "string", + }, + variables: { + baseName: "variables", + type: "{ [key: string]: string; }", + }, + }; + return SyntheticsCITest; +}()); +exports.SyntheticsCITest = SyntheticsCITest; +//# sourceMappingURL=SyntheticsCITest.js.map + +/***/ }), + +/***/ 32615: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCITestBody = void 0; +/** + * Object describing the synthetics tests to trigger. + */ +var SyntheticsCITestBody = /** @class */ (function () { + function SyntheticsCITestBody() { + } + /** + * @ignore + */ + SyntheticsCITestBody.getAttributeTypeMap = function () { + return SyntheticsCITestBody.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCITestBody.attributeTypeMap = { + tests: { + baseName: "tests", + type: "Array", + }, + }; + return SyntheticsCITestBody; +}()); +exports.SyntheticsCITestBody = SyntheticsCITestBody; +//# sourceMappingURL=SyntheticsCITestBody.js.map + +/***/ }), + +/***/ 24023: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsConfigVariable = void 0; +/** + * Object defining a variable that can be used in your test configuration. + */ +var SyntheticsConfigVariable = /** @class */ (function () { + function SyntheticsConfigVariable() { + } + /** + * @ignore + */ + SyntheticsConfigVariable.getAttributeTypeMap = function () { + return SyntheticsConfigVariable.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsConfigVariable.attributeTypeMap = { + example: { + baseName: "example", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + pattern: { + baseName: "pattern", + type: "string", + }, + type: { + baseName: "type", + type: "SyntheticsConfigVariableType", + required: true, + }, + }; + return SyntheticsConfigVariable; +}()); +exports.SyntheticsConfigVariable = SyntheticsConfigVariable; +//# sourceMappingURL=SyntheticsConfigVariable.js.map + +/***/ }), + +/***/ 67701: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsCoreWebVitals = void 0; +/** + * Core Web Vitals attached to a browser test step. + */ +var SyntheticsCoreWebVitals = /** @class */ (function () { + function SyntheticsCoreWebVitals() { + } + /** + * @ignore + */ + SyntheticsCoreWebVitals.getAttributeTypeMap = function () { + return SyntheticsCoreWebVitals.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsCoreWebVitals.attributeTypeMap = { + cls: { + baseName: "cls", + type: "number", + format: "int64", + }, + lcp: { + baseName: "lcp", + type: "number", + format: "int64", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return SyntheticsCoreWebVitals; +}()); +exports.SyntheticsCoreWebVitals = SyntheticsCoreWebVitals; +//# sourceMappingURL=SyntheticsCoreWebVitals.js.map + +/***/ }), + +/***/ 60972: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsDeleteTestsPayload = void 0; +/** + * A JSON list of the ID or IDs of the Synthetic tests that you want to delete. + */ +var SyntheticsDeleteTestsPayload = /** @class */ (function () { + function SyntheticsDeleteTestsPayload() { + } + /** + * @ignore + */ + SyntheticsDeleteTestsPayload.getAttributeTypeMap = function () { + return SyntheticsDeleteTestsPayload.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsDeleteTestsPayload.attributeTypeMap = { + publicIds: { + baseName: "public_ids", + type: "Array", + }, + }; + return SyntheticsDeleteTestsPayload; +}()); +exports.SyntheticsDeleteTestsPayload = SyntheticsDeleteTestsPayload; +//# sourceMappingURL=SyntheticsDeleteTestsPayload.js.map + +/***/ }), + +/***/ 80634: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsDeleteTestsResponse = void 0; +/** + * Response object for deleting Synthetic tests. + */ +var SyntheticsDeleteTestsResponse = /** @class */ (function () { + function SyntheticsDeleteTestsResponse() { + } + /** + * @ignore + */ + SyntheticsDeleteTestsResponse.getAttributeTypeMap = function () { + return SyntheticsDeleteTestsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsDeleteTestsResponse.attributeTypeMap = { + deletedTests: { + baseName: "deleted_tests", + type: "Array", + }, + }; + return SyntheticsDeleteTestsResponse; +}()); +exports.SyntheticsDeleteTestsResponse = SyntheticsDeleteTestsResponse; +//# sourceMappingURL=SyntheticsDeleteTestsResponse.js.map + +/***/ }), + +/***/ 7885: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsDeletedTest = void 0; +/** + * Object containing a deleted Synthetic test ID with the associated deletion timestamp. + */ +var SyntheticsDeletedTest = /** @class */ (function () { + function SyntheticsDeletedTest() { + } + /** + * @ignore + */ + SyntheticsDeletedTest.getAttributeTypeMap = function () { + return SyntheticsDeletedTest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsDeletedTest.attributeTypeMap = { + deletedAt: { + baseName: "deleted_at", + type: "Date", + format: "date-time", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return SyntheticsDeletedTest; +}()); +exports.SyntheticsDeletedTest = SyntheticsDeletedTest; +//# sourceMappingURL=SyntheticsDeletedTest.js.map + +/***/ }), + +/***/ 6906: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsDevice = void 0; +/** + * Object describing the device used to perform the Synthetic test. + */ +var SyntheticsDevice = /** @class */ (function () { + function SyntheticsDevice() { + } + /** + * @ignore + */ + SyntheticsDevice.getAttributeTypeMap = function () { + return SyntheticsDevice.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsDevice.attributeTypeMap = { + height: { + baseName: "height", + type: "number", + required: true, + format: "int64", + }, + id: { + baseName: "id", + type: "SyntheticsDeviceID", + required: true, + }, + isMobile: { + baseName: "isMobile", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + width: { + baseName: "width", + type: "number", + required: true, + format: "int64", + }, + }; + return SyntheticsDevice; +}()); +exports.SyntheticsDevice = SyntheticsDevice; +//# sourceMappingURL=SyntheticsDevice.js.map + +/***/ }), + +/***/ 42609: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGetAPITestLatestResultsResponse = void 0; +/** + * Object with the latest Synthetic API test run. + */ +var SyntheticsGetAPITestLatestResultsResponse = /** @class */ (function () { + function SyntheticsGetAPITestLatestResultsResponse() { + } + /** + * @ignore + */ + SyntheticsGetAPITestLatestResultsResponse.getAttributeTypeMap = function () { + return SyntheticsGetAPITestLatestResultsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGetAPITestLatestResultsResponse.attributeTypeMap = { + lastTimestampFetched: { + baseName: "last_timestamp_fetched", + type: "number", + format: "int64", + }, + results: { + baseName: "results", + type: "Array", + }, + }; + return SyntheticsGetAPITestLatestResultsResponse; +}()); +exports.SyntheticsGetAPITestLatestResultsResponse = SyntheticsGetAPITestLatestResultsResponse; +//# sourceMappingURL=SyntheticsGetAPITestLatestResultsResponse.js.map + +/***/ }), + +/***/ 73873: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGetBrowserTestLatestResultsResponse = void 0; +/** + * Object with the latest Synthetic browser test run. + */ +var SyntheticsGetBrowserTestLatestResultsResponse = /** @class */ (function () { + function SyntheticsGetBrowserTestLatestResultsResponse() { + } + /** + * @ignore + */ + SyntheticsGetBrowserTestLatestResultsResponse.getAttributeTypeMap = function () { + return SyntheticsGetBrowserTestLatestResultsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGetBrowserTestLatestResultsResponse.attributeTypeMap = { + lastTimestampFetched: { + baseName: "last_timestamp_fetched", + type: "number", + format: "int64", + }, + results: { + baseName: "results", + type: "Array", + }, + }; + return SyntheticsGetBrowserTestLatestResultsResponse; +}()); +exports.SyntheticsGetBrowserTestLatestResultsResponse = SyntheticsGetBrowserTestLatestResultsResponse; +//# sourceMappingURL=SyntheticsGetBrowserTestLatestResultsResponse.js.map + +/***/ }), + +/***/ 10404: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGlobalVariable = void 0; +/** + * Synthetics global variable. + */ +var SyntheticsGlobalVariable = /** @class */ (function () { + function SyntheticsGlobalVariable() { + } + /** + * @ignore + */ + SyntheticsGlobalVariable.getAttributeTypeMap = function () { + return SyntheticsGlobalVariable.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGlobalVariable.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SyntheticsGlobalVariableAttributes", + }, + description: { + baseName: "description", + type: "string", + required: true, + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + parseTestOptions: { + baseName: "parse_test_options", + type: "SyntheticsGlobalVariableParseTestOptions", + }, + parseTestPublicId: { + baseName: "parse_test_public_id", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + required: true, + }, + value: { + baseName: "value", + type: "SyntheticsGlobalVariableValue", + required: true, + }, + }; + return SyntheticsGlobalVariable; +}()); +exports.SyntheticsGlobalVariable = SyntheticsGlobalVariable; +//# sourceMappingURL=SyntheticsGlobalVariable.js.map + +/***/ }), + +/***/ 2156: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGlobalVariableAttributes = void 0; +/** + * Attributes of the global variable. + */ +var SyntheticsGlobalVariableAttributes = /** @class */ (function () { + function SyntheticsGlobalVariableAttributes() { + } + /** + * @ignore + */ + SyntheticsGlobalVariableAttributes.getAttributeTypeMap = function () { + return SyntheticsGlobalVariableAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGlobalVariableAttributes.attributeTypeMap = { + restrictedRoles: { + baseName: "restricted_roles", + type: "Array", + }, + }; + return SyntheticsGlobalVariableAttributes; +}()); +exports.SyntheticsGlobalVariableAttributes = SyntheticsGlobalVariableAttributes; +//# sourceMappingURL=SyntheticsGlobalVariableAttributes.js.map + +/***/ }), + +/***/ 60172: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGlobalVariableParseTestOptions = void 0; +/** + * Parser options to use for retrieving a Synthetics global variable from a Synthetics Test. Used in conjunction with `parse_test_public_id`. + */ +var SyntheticsGlobalVariableParseTestOptions = /** @class */ (function () { + function SyntheticsGlobalVariableParseTestOptions() { + } + /** + * @ignore + */ + SyntheticsGlobalVariableParseTestOptions.getAttributeTypeMap = function () { + return SyntheticsGlobalVariableParseTestOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGlobalVariableParseTestOptions.attributeTypeMap = { + field: { + baseName: "field", + type: "string", + }, + parser: { + baseName: "parser", + type: "SyntheticsVariableParser", + required: true, + }, + type: { + baseName: "type", + type: "SyntheticsGlobalVariableParseTestOptionsType", + required: true, + }, + }; + return SyntheticsGlobalVariableParseTestOptions; +}()); +exports.SyntheticsGlobalVariableParseTestOptions = SyntheticsGlobalVariableParseTestOptions; +//# sourceMappingURL=SyntheticsGlobalVariableParseTestOptions.js.map + +/***/ }), + +/***/ 50263: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsGlobalVariableValue = void 0; +/** + * Value of the global variable. + */ +var SyntheticsGlobalVariableValue = /** @class */ (function () { + function SyntheticsGlobalVariableValue() { + } + /** + * @ignore + */ + SyntheticsGlobalVariableValue.getAttributeTypeMap = function () { + return SyntheticsGlobalVariableValue.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsGlobalVariableValue.attributeTypeMap = { + secure: { + baseName: "secure", + type: "boolean", + }, + value: { + baseName: "value", + type: "string", + }, + }; + return SyntheticsGlobalVariableValue; +}()); +exports.SyntheticsGlobalVariableValue = SyntheticsGlobalVariableValue; +//# sourceMappingURL=SyntheticsGlobalVariableValue.js.map + +/***/ }), + +/***/ 51341: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsListGlobalVariablesResponse = void 0; +/** + * Object containing an array of Synthetic global variables. + */ +var SyntheticsListGlobalVariablesResponse = /** @class */ (function () { + function SyntheticsListGlobalVariablesResponse() { + } + /** + * @ignore + */ + SyntheticsListGlobalVariablesResponse.getAttributeTypeMap = function () { + return SyntheticsListGlobalVariablesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsListGlobalVariablesResponse.attributeTypeMap = { + variables: { + baseName: "variables", + type: "Array", + }, + }; + return SyntheticsListGlobalVariablesResponse; +}()); +exports.SyntheticsListGlobalVariablesResponse = SyntheticsListGlobalVariablesResponse; +//# sourceMappingURL=SyntheticsListGlobalVariablesResponse.js.map + +/***/ }), + +/***/ 46280: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsListTestsResponse = void 0; +/** + * Object containing an array of Synthetic tests configuration. + */ +var SyntheticsListTestsResponse = /** @class */ (function () { + function SyntheticsListTestsResponse() { + } + /** + * @ignore + */ + SyntheticsListTestsResponse.getAttributeTypeMap = function () { + return SyntheticsListTestsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsListTestsResponse.attributeTypeMap = { + tests: { + baseName: "tests", + type: "Array", + }, + }; + return SyntheticsListTestsResponse; +}()); +exports.SyntheticsListTestsResponse = SyntheticsListTestsResponse; +//# sourceMappingURL=SyntheticsListTestsResponse.js.map + +/***/ }), + +/***/ 36515: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsLocation = void 0; +/** + * Synthetic location that can be used when creating or editing a test. + */ +var SyntheticsLocation = /** @class */ (function () { + function SyntheticsLocation() { + } + /** + * @ignore + */ + SyntheticsLocation.getAttributeTypeMap = function () { + return SyntheticsLocation.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsLocation.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return SyntheticsLocation; +}()); +exports.SyntheticsLocation = SyntheticsLocation; +//# sourceMappingURL=SyntheticsLocation.js.map + +/***/ }), + +/***/ 9091: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsLocations = void 0; +/** + * List of Synthetics locations. + */ +var SyntheticsLocations = /** @class */ (function () { + function SyntheticsLocations() { + } + /** + * @ignore + */ + SyntheticsLocations.getAttributeTypeMap = function () { + return SyntheticsLocations.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsLocations.attributeTypeMap = { + locations: { + baseName: "locations", + type: "Array", + }, + }; + return SyntheticsLocations; +}()); +exports.SyntheticsLocations = SyntheticsLocations; +//# sourceMappingURL=SyntheticsLocations.js.map + +/***/ }), + +/***/ 5015: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsParsingOptions = void 0; +/** + * Parsing options for variables to extract. + */ +var SyntheticsParsingOptions = /** @class */ (function () { + function SyntheticsParsingOptions() { + } + /** + * @ignore + */ + SyntheticsParsingOptions.getAttributeTypeMap = function () { + return SyntheticsParsingOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsParsingOptions.attributeTypeMap = { + field: { + baseName: "field", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + parser: { + baseName: "parser", + type: "SyntheticsVariableParser", + }, + type: { + baseName: "type", + type: "SyntheticsGlobalVariableParseTestOptionsType", + }, + }; + return SyntheticsParsingOptions; +}()); +exports.SyntheticsParsingOptions = SyntheticsParsingOptions; +//# sourceMappingURL=SyntheticsParsingOptions.js.map + +/***/ }), + +/***/ 6991: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocation = void 0; +/** + * Object containing information about the private location to create. + */ +var SyntheticsPrivateLocation = /** @class */ (function () { + function SyntheticsPrivateLocation() { + } + /** + * @ignore + */ + SyntheticsPrivateLocation.getAttributeTypeMap = function () { + return SyntheticsPrivateLocation.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocation.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + required: true, + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + secrets: { + baseName: "secrets", + type: "SyntheticsPrivateLocationSecrets", + }, + tags: { + baseName: "tags", + type: "Array", + required: true, + }, + }; + return SyntheticsPrivateLocation; +}()); +exports.SyntheticsPrivateLocation = SyntheticsPrivateLocation; +//# sourceMappingURL=SyntheticsPrivateLocation.js.map + +/***/ }), + +/***/ 31386: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocationCreationResponse = void 0; +/** + * Object that contains the new private location, the public key for result encryption, and the configuration skeleton. + */ +var SyntheticsPrivateLocationCreationResponse = /** @class */ (function () { + function SyntheticsPrivateLocationCreationResponse() { + } + /** + * @ignore + */ + SyntheticsPrivateLocationCreationResponse.getAttributeTypeMap = function () { + return SyntheticsPrivateLocationCreationResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocationCreationResponse.attributeTypeMap = { + config: { + baseName: "config", + type: "any", + }, + privateLocation: { + baseName: "private_location", + type: "SyntheticsPrivateLocation", + }, + resultEncryption: { + baseName: "result_encryption", + type: "SyntheticsPrivateLocationCreationResponseResultEncryption", + }, + }; + return SyntheticsPrivateLocationCreationResponse; +}()); +exports.SyntheticsPrivateLocationCreationResponse = SyntheticsPrivateLocationCreationResponse; +//# sourceMappingURL=SyntheticsPrivateLocationCreationResponse.js.map + +/***/ }), + +/***/ 16331: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocationCreationResponseResultEncryption = void 0; +/** + * Public key for the result encryption. + */ +var SyntheticsPrivateLocationCreationResponseResultEncryption = /** @class */ (function () { + function SyntheticsPrivateLocationCreationResponseResultEncryption() { + } + /** + * @ignore + */ + SyntheticsPrivateLocationCreationResponseResultEncryption.getAttributeTypeMap = function () { + return SyntheticsPrivateLocationCreationResponseResultEncryption.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocationCreationResponseResultEncryption.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + key: { + baseName: "key", + type: "string", + }, + }; + return SyntheticsPrivateLocationCreationResponseResultEncryption; +}()); +exports.SyntheticsPrivateLocationCreationResponseResultEncryption = SyntheticsPrivateLocationCreationResponseResultEncryption; +//# sourceMappingURL=SyntheticsPrivateLocationCreationResponseResultEncryption.js.map + +/***/ }), + +/***/ 91325: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocationSecrets = void 0; +/** + * Secrets for the private location. Only present in the response when creating the private location. + */ +var SyntheticsPrivateLocationSecrets = /** @class */ (function () { + function SyntheticsPrivateLocationSecrets() { + } + /** + * @ignore + */ + SyntheticsPrivateLocationSecrets.getAttributeTypeMap = function () { + return SyntheticsPrivateLocationSecrets.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocationSecrets.attributeTypeMap = { + authentication: { + baseName: "authentication", + type: "SyntheticsPrivateLocationSecretsAuthentication", + }, + configDecryption: { + baseName: "config_decryption", + type: "SyntheticsPrivateLocationSecretsConfigDecryption", + }, + }; + return SyntheticsPrivateLocationSecrets; +}()); +exports.SyntheticsPrivateLocationSecrets = SyntheticsPrivateLocationSecrets; +//# sourceMappingURL=SyntheticsPrivateLocationSecrets.js.map + +/***/ }), + +/***/ 26886: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocationSecretsAuthentication = void 0; +/** + * Authentication part of the secrets. + */ +var SyntheticsPrivateLocationSecretsAuthentication = /** @class */ (function () { + function SyntheticsPrivateLocationSecretsAuthentication() { + } + /** + * @ignore + */ + SyntheticsPrivateLocationSecretsAuthentication.getAttributeTypeMap = function () { + return SyntheticsPrivateLocationSecretsAuthentication.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocationSecretsAuthentication.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + key: { + baseName: "key", + type: "string", + }, + }; + return SyntheticsPrivateLocationSecretsAuthentication; +}()); +exports.SyntheticsPrivateLocationSecretsAuthentication = SyntheticsPrivateLocationSecretsAuthentication; +//# sourceMappingURL=SyntheticsPrivateLocationSecretsAuthentication.js.map + +/***/ }), + +/***/ 24829: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsPrivateLocationSecretsConfigDecryption = void 0; +/** + * Private key for the private location. + */ +var SyntheticsPrivateLocationSecretsConfigDecryption = /** @class */ (function () { + function SyntheticsPrivateLocationSecretsConfigDecryption() { + } + /** + * @ignore + */ + SyntheticsPrivateLocationSecretsConfigDecryption.getAttributeTypeMap = function () { + return SyntheticsPrivateLocationSecretsConfigDecryption.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsPrivateLocationSecretsConfigDecryption.attributeTypeMap = { + key: { + baseName: "key", + type: "string", + }, + }; + return SyntheticsPrivateLocationSecretsConfigDecryption; +}()); +exports.SyntheticsPrivateLocationSecretsConfigDecryption = SyntheticsPrivateLocationSecretsConfigDecryption; +//# sourceMappingURL=SyntheticsPrivateLocationSecretsConfigDecryption.js.map + +/***/ }), + +/***/ 24211: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsSSLCertificate = void 0; +/** + * Object describing the SSL certificate used for a Synthetic test. + */ +var SyntheticsSSLCertificate = /** @class */ (function () { + function SyntheticsSSLCertificate() { + } + /** + * @ignore + */ + SyntheticsSSLCertificate.getAttributeTypeMap = function () { + return SyntheticsSSLCertificate.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsSSLCertificate.attributeTypeMap = { + cipher: { + baseName: "cipher", + type: "string", + }, + exponent: { + baseName: "exponent", + type: "number", + format: "double", + }, + extKeyUsage: { + baseName: "extKeyUsage", + type: "Array", + }, + fingerprint: { + baseName: "fingerprint", + type: "string", + }, + fingerprint256: { + baseName: "fingerprint256", + type: "string", + }, + issuer: { + baseName: "issuer", + type: "SyntheticsSSLCertificateIssuer", + }, + modulus: { + baseName: "modulus", + type: "string", + }, + protocol: { + baseName: "protocol", + type: "string", + }, + serialNumber: { + baseName: "serialNumber", + type: "string", + }, + subject: { + baseName: "subject", + type: "SyntheticsSSLCertificateSubject", + }, + validFrom: { + baseName: "validFrom", + type: "Date", + format: "date-time", + }, + validTo: { + baseName: "validTo", + type: "Date", + format: "date-time", + }, + }; + return SyntheticsSSLCertificate; +}()); +exports.SyntheticsSSLCertificate = SyntheticsSSLCertificate; +//# sourceMappingURL=SyntheticsSSLCertificate.js.map + +/***/ }), + +/***/ 70007: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsSSLCertificateIssuer = void 0; +/** + * Object describing the issuer of a SSL certificate. + */ +var SyntheticsSSLCertificateIssuer = /** @class */ (function () { + function SyntheticsSSLCertificateIssuer() { + } + /** + * @ignore + */ + SyntheticsSSLCertificateIssuer.getAttributeTypeMap = function () { + return SyntheticsSSLCertificateIssuer.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsSSLCertificateIssuer.attributeTypeMap = { + C: { + baseName: "C", + type: "string", + }, + CN: { + baseName: "CN", + type: "string", + }, + L: { + baseName: "L", + type: "string", + }, + O: { + baseName: "O", + type: "string", + }, + OU: { + baseName: "OU", + type: "string", + }, + ST: { + baseName: "ST", + type: "string", + }, + }; + return SyntheticsSSLCertificateIssuer; +}()); +exports.SyntheticsSSLCertificateIssuer = SyntheticsSSLCertificateIssuer; +//# sourceMappingURL=SyntheticsSSLCertificateIssuer.js.map + +/***/ }), + +/***/ 75798: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsSSLCertificateSubject = void 0; +/** + * Object describing the SSL certificate used for the test. + */ +var SyntheticsSSLCertificateSubject = /** @class */ (function () { + function SyntheticsSSLCertificateSubject() { + } + /** + * @ignore + */ + SyntheticsSSLCertificateSubject.getAttributeTypeMap = function () { + return SyntheticsSSLCertificateSubject.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsSSLCertificateSubject.attributeTypeMap = { + C: { + baseName: "C", + type: "string", + }, + CN: { + baseName: "CN", + type: "string", + }, + L: { + baseName: "L", + type: "string", + }, + O: { + baseName: "O", + type: "string", + }, + OU: { + baseName: "OU", + type: "string", + }, + ST: { + baseName: "ST", + type: "string", + }, + altName: { + baseName: "altName", + type: "string", + }, + }; + return SyntheticsSSLCertificateSubject; +}()); +exports.SyntheticsSSLCertificateSubject = SyntheticsSSLCertificateSubject; +//# sourceMappingURL=SyntheticsSSLCertificateSubject.js.map + +/***/ }), + +/***/ 96180: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsStep = void 0; +/** + * The steps used in a Synthetics browser test. + */ +var SyntheticsStep = /** @class */ (function () { + function SyntheticsStep() { + } + /** + * @ignore + */ + SyntheticsStep.getAttributeTypeMap = function () { + return SyntheticsStep.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsStep.attributeTypeMap = { + allowFailure: { + baseName: "allowFailure", + type: "boolean", + }, + isCritical: { + baseName: "isCritical", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + params: { + baseName: "params", + type: "any", + }, + timeout: { + baseName: "timeout", + type: "number", + format: "int64", + }, + type: { + baseName: "type", + type: "SyntheticsStepType", + }, + }; + return SyntheticsStep; +}()); +exports.SyntheticsStep = SyntheticsStep; +//# sourceMappingURL=SyntheticsStep.js.map + +/***/ }), + +/***/ 86493: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsStepDetail = void 0; +/** + * Object describing a step for a Synthetic test. + */ +var SyntheticsStepDetail = /** @class */ (function () { + function SyntheticsStepDetail() { + } + /** + * @ignore + */ + SyntheticsStepDetail.getAttributeTypeMap = function () { + return SyntheticsStepDetail.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsStepDetail.attributeTypeMap = { + browserErrors: { + baseName: "browserErrors", + type: "Array", + }, + checkType: { + baseName: "checkType", + type: "SyntheticsCheckType", + }, + description: { + baseName: "description", + type: "string", + }, + duration: { + baseName: "duration", + type: "number", + format: "double", + }, + error: { + baseName: "error", + type: "string", + }, + playingTab: { + baseName: "playingTab", + type: "SyntheticsPlayingTab", + }, + screenshotBucketKey: { + baseName: "screenshotBucketKey", + type: "boolean", + }, + skipped: { + baseName: "skipped", + type: "boolean", + }, + snapshotBucketKey: { + baseName: "snapshotBucketKey", + type: "boolean", + }, + stepId: { + baseName: "stepId", + type: "number", + format: "int64", + }, + subTestStepDetails: { + baseName: "subTestStepDetails", + type: "Array", + }, + timeToInteractive: { + baseName: "timeToInteractive", + type: "number", + format: "double", + }, + type: { + baseName: "type", + type: "SyntheticsStepType", + }, + url: { + baseName: "url", + type: "string", + }, + value: { + baseName: "value", + type: "any", + }, + vitalsMetrics: { + baseName: "vitalsMetrics", + type: "Array", + }, + warnings: { + baseName: "warnings", + type: "Array", + }, + }; + return SyntheticsStepDetail; +}()); +exports.SyntheticsStepDetail = SyntheticsStepDetail; +//# sourceMappingURL=SyntheticsStepDetail.js.map + +/***/ }), + +/***/ 86754: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsStepDetailWarning = void 0; +/** + * Object collecting warnings for a given step. + */ +var SyntheticsStepDetailWarning = /** @class */ (function () { + function SyntheticsStepDetailWarning() { + } + /** + * @ignore + */ + SyntheticsStepDetailWarning.getAttributeTypeMap = function () { + return SyntheticsStepDetailWarning.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsStepDetailWarning.attributeTypeMap = { + message: { + baseName: "message", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "SyntheticsWarningType", + required: true, + }, + }; + return SyntheticsStepDetailWarning; +}()); +exports.SyntheticsStepDetailWarning = SyntheticsStepDetailWarning; +//# sourceMappingURL=SyntheticsStepDetailWarning.js.map + +/***/ }), + +/***/ 91535: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestConfig = void 0; +/** + * Configuration object for a Synthetic test. + */ +var SyntheticsTestConfig = /** @class */ (function () { + function SyntheticsTestConfig() { + } + /** + * @ignore + */ + SyntheticsTestConfig.getAttributeTypeMap = function () { + return SyntheticsTestConfig.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestConfig.attributeTypeMap = { + assertions: { + baseName: "assertions", + type: "Array", + }, + configVariables: { + baseName: "configVariables", + type: "Array", + }, + request: { + baseName: "request", + type: "SyntheticsTestRequest", + }, + variables: { + baseName: "variables", + type: "Array", + }, + }; + return SyntheticsTestConfig; +}()); +exports.SyntheticsTestConfig = SyntheticsTestConfig; +//# sourceMappingURL=SyntheticsTestConfig.js.map + +/***/ }), + +/***/ 22701: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestDetails = void 0; +/** + * Object containing details about your Synthetic test. + */ +var SyntheticsTestDetails = /** @class */ (function () { + function SyntheticsTestDetails() { + } + /** + * @ignore + */ + SyntheticsTestDetails.getAttributeTypeMap = function () { + return SyntheticsTestDetails.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestDetails.attributeTypeMap = { + config: { + baseName: "config", + type: "SyntheticsTestConfig", + }, + creator: { + baseName: "creator", + type: "Creator", + }, + locations: { + baseName: "locations", + type: "Array", + }, + message: { + baseName: "message", + type: "string", + }, + monitorId: { + baseName: "monitor_id", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + options: { + baseName: "options", + type: "SyntheticsTestOptions", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + status: { + baseName: "status", + type: "SyntheticsTestPauseStatus", + }, + steps: { + baseName: "steps", + type: "Array", + }, + subtype: { + baseName: "subtype", + type: "SyntheticsTestDetailsSubType", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "SyntheticsTestDetailsType", + }, + }; + return SyntheticsTestDetails; +}()); +exports.SyntheticsTestDetails = SyntheticsTestDetails; +//# sourceMappingURL=SyntheticsTestDetails.js.map + +/***/ }), + +/***/ 55515: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestOptions = void 0; +/** + * Object describing the extra options for a Synthetic test. + */ +var SyntheticsTestOptions = /** @class */ (function () { + function SyntheticsTestOptions() { + } + /** + * @ignore + */ + SyntheticsTestOptions.getAttributeTypeMap = function () { + return SyntheticsTestOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestOptions.attributeTypeMap = { + acceptSelfSigned: { + baseName: "accept_self_signed", + type: "boolean", + }, + allowInsecure: { + baseName: "allow_insecure", + type: "boolean", + }, + deviceIds: { + baseName: "device_ids", + type: "Array", + }, + disableCors: { + baseName: "disableCors", + type: "boolean", + }, + followRedirects: { + baseName: "follow_redirects", + type: "boolean", + }, + minFailureDuration: { + baseName: "min_failure_duration", + type: "number", + format: "int64", + }, + minLocationFailed: { + baseName: "min_location_failed", + type: "number", + format: "int64", + }, + monitorName: { + baseName: "monitor_name", + type: "string", + }, + monitorOptions: { + baseName: "monitor_options", + type: "SyntheticsTestOptionsMonitorOptions", + }, + monitorPriority: { + baseName: "monitor_priority", + type: "number", + format: "int32", + }, + noScreenshot: { + baseName: "noScreenshot", + type: "boolean", + }, + retry: { + baseName: "retry", + type: "SyntheticsTestOptionsRetry", + }, + tickEvery: { + baseName: "tick_every", + type: "number", + format: "int64", + }, + }; + return SyntheticsTestOptions; +}()); +exports.SyntheticsTestOptions = SyntheticsTestOptions; +//# sourceMappingURL=SyntheticsTestOptions.js.map + +/***/ }), + +/***/ 37717: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestOptionsMonitorOptions = void 0; +/** + * Object containing the options for a Synthetic test as a monitor (for example, renotification). + */ +var SyntheticsTestOptionsMonitorOptions = /** @class */ (function () { + function SyntheticsTestOptionsMonitorOptions() { + } + /** + * @ignore + */ + SyntheticsTestOptionsMonitorOptions.getAttributeTypeMap = function () { + return SyntheticsTestOptionsMonitorOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestOptionsMonitorOptions.attributeTypeMap = { + renotifyInterval: { + baseName: "renotify_interval", + type: "number", + format: "int64", + }, + }; + return SyntheticsTestOptionsMonitorOptions; +}()); +exports.SyntheticsTestOptionsMonitorOptions = SyntheticsTestOptionsMonitorOptions; +//# sourceMappingURL=SyntheticsTestOptionsMonitorOptions.js.map + +/***/ }), + +/***/ 76723: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestOptionsRetry = void 0; +/** + * Object describing the retry strategy to apply to a Synthetic test. + */ +var SyntheticsTestOptionsRetry = /** @class */ (function () { + function SyntheticsTestOptionsRetry() { + } + /** + * @ignore + */ + SyntheticsTestOptionsRetry.getAttributeTypeMap = function () { + return SyntheticsTestOptionsRetry.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestOptionsRetry.attributeTypeMap = { + count: { + baseName: "count", + type: "number", + format: "int64", + }, + interval: { + baseName: "interval", + type: "number", + format: "double", + }, + }; + return SyntheticsTestOptionsRetry; +}()); +exports.SyntheticsTestOptionsRetry = SyntheticsTestOptionsRetry; +//# sourceMappingURL=SyntheticsTestOptionsRetry.js.map + +/***/ }), + +/***/ 7105: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestRequest = void 0; +/** + * Object describing the Synthetic test request. + */ +var SyntheticsTestRequest = /** @class */ (function () { + function SyntheticsTestRequest() { + } + /** + * @ignore + */ + SyntheticsTestRequest.getAttributeTypeMap = function () { + return SyntheticsTestRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestRequest.attributeTypeMap = { + allowInsecure: { + baseName: "allow_insecure", + type: "boolean", + }, + basicAuth: { + baseName: "basicAuth", + type: "SyntheticsBasicAuth", + }, + body: { + baseName: "body", + type: "string", + }, + certificate: { + baseName: "certificate", + type: "SyntheticsTestRequestCertificate", + }, + dnsServer: { + baseName: "dnsServer", + type: "string", + }, + dnsServerPort: { + baseName: "dnsServerPort", + type: "number", + format: "int32", + }, + followRedirects: { + baseName: "follow_redirects", + type: "boolean", + }, + headers: { + baseName: "headers", + type: "{ [key: string]: string; }", + }, + host: { + baseName: "host", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + method: { + baseName: "method", + type: "HTTPMethod", + }, + noSavingResponseBody: { + baseName: "noSavingResponseBody", + type: "boolean", + }, + numberOfPackets: { + baseName: "numberOfPackets", + type: "number", + format: "int32", + }, + port: { + baseName: "port", + type: "number", + format: "int64", + }, + proxy: { + baseName: "proxy", + type: "SyntheticsTestRequestProxy", + }, + query: { + baseName: "query", + type: "any", + }, + servername: { + baseName: "servername", + type: "string", + }, + shouldTrackHops: { + baseName: "shouldTrackHops", + type: "boolean", + }, + timeout: { + baseName: "timeout", + type: "number", + format: "double", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return SyntheticsTestRequest; +}()); +exports.SyntheticsTestRequest = SyntheticsTestRequest; +//# sourceMappingURL=SyntheticsTestRequest.js.map + +/***/ }), + +/***/ 86420: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestRequestCertificate = void 0; +/** + * Client certificate to use when performing the test request. + */ +var SyntheticsTestRequestCertificate = /** @class */ (function () { + function SyntheticsTestRequestCertificate() { + } + /** + * @ignore + */ + SyntheticsTestRequestCertificate.getAttributeTypeMap = function () { + return SyntheticsTestRequestCertificate.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestRequestCertificate.attributeTypeMap = { + cert: { + baseName: "cert", + type: "SyntheticsTestRequestCertificateItem", + }, + key: { + baseName: "key", + type: "SyntheticsTestRequestCertificateItem", + }, + }; + return SyntheticsTestRequestCertificate; +}()); +exports.SyntheticsTestRequestCertificate = SyntheticsTestRequestCertificate; +//# sourceMappingURL=SyntheticsTestRequestCertificate.js.map + +/***/ }), + +/***/ 77558: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestRequestCertificateItem = void 0; +/** + * Define a request certificate. + */ +var SyntheticsTestRequestCertificateItem = /** @class */ (function () { + function SyntheticsTestRequestCertificateItem() { + } + /** + * @ignore + */ + SyntheticsTestRequestCertificateItem.getAttributeTypeMap = function () { + return SyntheticsTestRequestCertificateItem.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestRequestCertificateItem.attributeTypeMap = { + content: { + baseName: "content", + type: "string", + }, + filename: { + baseName: "filename", + type: "string", + }, + updatedAt: { + baseName: "updatedAt", + type: "string", + }, + }; + return SyntheticsTestRequestCertificateItem; +}()); +exports.SyntheticsTestRequestCertificateItem = SyntheticsTestRequestCertificateItem; +//# sourceMappingURL=SyntheticsTestRequestCertificateItem.js.map + +/***/ }), + +/***/ 57736: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTestRequestProxy = void 0; +/** + * The proxy to perform the test. + */ +var SyntheticsTestRequestProxy = /** @class */ (function () { + function SyntheticsTestRequestProxy() { + } + /** + * @ignore + */ + SyntheticsTestRequestProxy.getAttributeTypeMap = function () { + return SyntheticsTestRequestProxy.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTestRequestProxy.attributeTypeMap = { + headers: { + baseName: "headers", + type: "{ [key: string]: string; }", + }, + url: { + baseName: "url", + type: "string", + required: true, + }, + }; + return SyntheticsTestRequestProxy; +}()); +exports.SyntheticsTestRequestProxy = SyntheticsTestRequestProxy; +//# sourceMappingURL=SyntheticsTestRequestProxy.js.map + +/***/ }), + +/***/ 30782: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTiming = void 0; +/** + * Object containing all metrics and their values collected for a Synthetic API test. Learn more about those metrics in [Synthetics documentation](https://docs.datadoghq.com/synthetics/#metrics). + */ +var SyntheticsTiming = /** @class */ (function () { + function SyntheticsTiming() { + } + /** + * @ignore + */ + SyntheticsTiming.getAttributeTypeMap = function () { + return SyntheticsTiming.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTiming.attributeTypeMap = { + dns: { + baseName: "dns", + type: "number", + format: "double", + }, + download: { + baseName: "download", + type: "number", + format: "double", + }, + firstByte: { + baseName: "firstByte", + type: "number", + format: "double", + }, + handshake: { + baseName: "handshake", + type: "number", + format: "double", + }, + redirect: { + baseName: "redirect", + type: "number", + format: "double", + }, + ssl: { + baseName: "ssl", + type: "number", + format: "double", + }, + tcp: { + baseName: "tcp", + type: "number", + format: "double", + }, + total: { + baseName: "total", + type: "number", + format: "double", + }, + wait: { + baseName: "wait", + type: "number", + format: "double", + }, + }; + return SyntheticsTiming; +}()); +exports.SyntheticsTiming = SyntheticsTiming; +//# sourceMappingURL=SyntheticsTiming.js.map + +/***/ }), + +/***/ 20524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTriggerBody = void 0; +/** + * Object describing the synthetics tests to trigger. + */ +var SyntheticsTriggerBody = /** @class */ (function () { + function SyntheticsTriggerBody() { + } + /** + * @ignore + */ + SyntheticsTriggerBody.getAttributeTypeMap = function () { + return SyntheticsTriggerBody.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTriggerBody.attributeTypeMap = { + tests: { + baseName: "tests", + type: "Array", + required: true, + }, + }; + return SyntheticsTriggerBody; +}()); +exports.SyntheticsTriggerBody = SyntheticsTriggerBody; +//# sourceMappingURL=SyntheticsTriggerBody.js.map + +/***/ }), + +/***/ 88420: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTriggerCITestLocation = void 0; +/** + * Synthetics location. + */ +var SyntheticsTriggerCITestLocation = /** @class */ (function () { + function SyntheticsTriggerCITestLocation() { + } + /** + * @ignore + */ + SyntheticsTriggerCITestLocation.getAttributeTypeMap = function () { + return SyntheticsTriggerCITestLocation.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTriggerCITestLocation.attributeTypeMap = { + id: { + baseName: "id", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return SyntheticsTriggerCITestLocation; +}()); +exports.SyntheticsTriggerCITestLocation = SyntheticsTriggerCITestLocation; +//# sourceMappingURL=SyntheticsTriggerCITestLocation.js.map + +/***/ }), + +/***/ 63605: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTriggerCITestRunResult = void 0; +/** + * Information about a single test run. + */ +var SyntheticsTriggerCITestRunResult = /** @class */ (function () { + function SyntheticsTriggerCITestRunResult() { + } + /** + * @ignore + */ + SyntheticsTriggerCITestRunResult.getAttributeTypeMap = function () { + return SyntheticsTriggerCITestRunResult.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTriggerCITestRunResult.attributeTypeMap = { + device: { + baseName: "device", + type: "SyntheticsDeviceID", + }, + location: { + baseName: "location", + type: "number", + format: "int64", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + resultId: { + baseName: "result_id", + type: "string", + }, + }; + return SyntheticsTriggerCITestRunResult; +}()); +exports.SyntheticsTriggerCITestRunResult = SyntheticsTriggerCITestRunResult; +//# sourceMappingURL=SyntheticsTriggerCITestRunResult.js.map + +/***/ }), + +/***/ 35779: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTriggerCITestsResponse = void 0; +/** + * Object containing information about the tests triggered. + */ +var SyntheticsTriggerCITestsResponse = /** @class */ (function () { + function SyntheticsTriggerCITestsResponse() { + } + /** + * @ignore + */ + SyntheticsTriggerCITestsResponse.getAttributeTypeMap = function () { + return SyntheticsTriggerCITestsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTriggerCITestsResponse.attributeTypeMap = { + batchId: { + baseName: "batch_id", + type: "string", + }, + locations: { + baseName: "locations", + type: "Array", + }, + results: { + baseName: "results", + type: "Array", + }, + triggeredCheckIds: { + baseName: "triggered_check_ids", + type: "Array", + }, + }; + return SyntheticsTriggerCITestsResponse; +}()); +exports.SyntheticsTriggerCITestsResponse = SyntheticsTriggerCITestsResponse; +//# sourceMappingURL=SyntheticsTriggerCITestsResponse.js.map + +/***/ }), + +/***/ 24099: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsTriggerTest = void 0; +/** + * Test configuration for Synthetics + */ +var SyntheticsTriggerTest = /** @class */ (function () { + function SyntheticsTriggerTest() { + } + /** + * @ignore + */ + SyntheticsTriggerTest.getAttributeTypeMap = function () { + return SyntheticsTriggerTest.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsTriggerTest.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "SyntheticsCIBatchMetadata", + }, + publicId: { + baseName: "public_id", + type: "string", + required: true, + }, + }; + return SyntheticsTriggerTest; +}()); +exports.SyntheticsTriggerTest = SyntheticsTriggerTest; +//# sourceMappingURL=SyntheticsTriggerTest.js.map + +/***/ }), + +/***/ 41655: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsUpdateTestPauseStatusPayload = void 0; +/** + * Object to start or pause an existing Synthetic test. + */ +var SyntheticsUpdateTestPauseStatusPayload = /** @class */ (function () { + function SyntheticsUpdateTestPauseStatusPayload() { + } + /** + * @ignore + */ + SyntheticsUpdateTestPauseStatusPayload.getAttributeTypeMap = function () { + return SyntheticsUpdateTestPauseStatusPayload.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsUpdateTestPauseStatusPayload.attributeTypeMap = { + newStatus: { + baseName: "new_status", + type: "SyntheticsTestPauseStatus", + }, + }; + return SyntheticsUpdateTestPauseStatusPayload; +}()); +exports.SyntheticsUpdateTestPauseStatusPayload = SyntheticsUpdateTestPauseStatusPayload; +//# sourceMappingURL=SyntheticsUpdateTestPauseStatusPayload.js.map + +/***/ }), + +/***/ 74500: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SyntheticsVariableParser = void 0; +/** + * Details of the parser to use for the global variable. + */ +var SyntheticsVariableParser = /** @class */ (function () { + function SyntheticsVariableParser() { + } + /** + * @ignore + */ + SyntheticsVariableParser.getAttributeTypeMap = function () { + return SyntheticsVariableParser.attributeTypeMap; + }; + /** + * @ignore + */ + SyntheticsVariableParser.attributeTypeMap = { + type: { + baseName: "type", + type: "SyntheticsGlobalVariableParserType", + required: true, + }, + value: { + baseName: "value", + type: "string", + }, + }; + return SyntheticsVariableParser; +}()); +exports.SyntheticsVariableParser = SyntheticsVariableParser; +//# sourceMappingURL=SyntheticsVariableParser.js.map + +/***/ }), + +/***/ 17750: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TableWidgetDefinition = void 0; +/** + * The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key. + */ +var TableWidgetDefinition = /** @class */ (function () { + function TableWidgetDefinition() { + } + /** + * @ignore + */ + TableWidgetDefinition.getAttributeTypeMap = function () { + return TableWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + TableWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + hasSearchBar: { + baseName: "has_search_bar", + type: "TableWidgetHasSearchBar", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "TableWidgetDefinitionType", + required: true, + }, + }; + return TableWidgetDefinition; +}()); +exports.TableWidgetDefinition = TableWidgetDefinition; +//# sourceMappingURL=TableWidgetDefinition.js.map + +/***/ }), + +/***/ 24403: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TableWidgetRequest = void 0; +/** + * Updated table widget. + */ +var TableWidgetRequest = /** @class */ (function () { + function TableWidgetRequest() { + } + /** + * @ignore + */ + TableWidgetRequest.getAttributeTypeMap = function () { + return TableWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + TableWidgetRequest.attributeTypeMap = { + aggregator: { + baseName: "aggregator", + type: "WidgetAggregator", + }, + alias: { + baseName: "alias", + type: "string", + }, + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + apmStatsQuery: { + baseName: "apm_stats_query", + type: "ApmStatsQueryDefinition", + }, + cellDisplayMode: { + baseName: "cell_display_mode", + type: "Array", + }, + conditionalFormats: { + baseName: "conditional_formats", + type: "Array", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + order: { + baseName: "order", + type: "WidgetSort", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + }; + return TableWidgetRequest; +}()); +exports.TableWidgetRequest = TableWidgetRequest; +//# sourceMappingURL=TableWidgetRequest.js.map + +/***/ }), + +/***/ 94643: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TagToHosts = void 0; +/** + * In this object, the key is the tag, the value is a list of host names that are reporting that tag. + */ +var TagToHosts = /** @class */ (function () { + function TagToHosts() { + } + /** + * @ignore + */ + TagToHosts.getAttributeTypeMap = function () { + return TagToHosts.attributeTypeMap; + }; + /** + * @ignore + */ + TagToHosts.attributeTypeMap = { + tags: { + baseName: "tags", + type: "{ [key: string]: Array; }", + }, + }; + return TagToHosts; +}()); +exports.TagToHosts = TagToHosts; +//# sourceMappingURL=TagToHosts.js.map + +/***/ }), + +/***/ 50074: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TimeseriesWidgetDefinition = void 0; +/** + * The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time. + */ +var TimeseriesWidgetDefinition = /** @class */ (function () { + function TimeseriesWidgetDefinition() { + } + /** + * @ignore + */ + TimeseriesWidgetDefinition.getAttributeTypeMap = function () { + return TimeseriesWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + TimeseriesWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + events: { + baseName: "events", + type: "Array", + }, + legendColumns: { + baseName: "legend_columns", + type: "Array", + }, + legendLayout: { + baseName: "legend_layout", + type: "TimeseriesWidgetLegendLayout", + }, + legendSize: { + baseName: "legend_size", + type: "string", + }, + markers: { + baseName: "markers", + type: "Array", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + rightYaxis: { + baseName: "right_yaxis", + type: "WidgetAxis", + }, + showLegend: { + baseName: "show_legend", + type: "boolean", + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "TimeseriesWidgetDefinitionType", + required: true, + }, + yaxis: { + baseName: "yaxis", + type: "WidgetAxis", + }, + }; + return TimeseriesWidgetDefinition; +}()); +exports.TimeseriesWidgetDefinition = TimeseriesWidgetDefinition; +//# sourceMappingURL=TimeseriesWidgetDefinition.js.map + +/***/ }), + +/***/ 91672: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TimeseriesWidgetExpressionAlias = void 0; +/** + * Define an expression alias. + */ +var TimeseriesWidgetExpressionAlias = /** @class */ (function () { + function TimeseriesWidgetExpressionAlias() { + } + /** + * @ignore + */ + TimeseriesWidgetExpressionAlias.getAttributeTypeMap = function () { + return TimeseriesWidgetExpressionAlias.attributeTypeMap; + }; + /** + * @ignore + */ + TimeseriesWidgetExpressionAlias.attributeTypeMap = { + aliasName: { + baseName: "alias_name", + type: "string", + }, + expression: { + baseName: "expression", + type: "string", + required: true, + }, + }; + return TimeseriesWidgetExpressionAlias; +}()); +exports.TimeseriesWidgetExpressionAlias = TimeseriesWidgetExpressionAlias; +//# sourceMappingURL=TimeseriesWidgetExpressionAlias.js.map + +/***/ }), + +/***/ 10800: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TimeseriesWidgetRequest = void 0; +/** + * Updated timeseries widget. + */ +var TimeseriesWidgetRequest = /** @class */ (function () { + function TimeseriesWidgetRequest() { + } + /** + * @ignore + */ + TimeseriesWidgetRequest.getAttributeTypeMap = function () { + return TimeseriesWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + TimeseriesWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + auditQuery: { + baseName: "audit_query", + type: "LogQueryDefinition", + }, + displayType: { + baseName: "display_type", + type: "WidgetDisplayType", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + metadata: { + baseName: "metadata", + type: "Array", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + onRightYaxis: { + baseName: "on_right_yaxis", + type: "boolean", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + style: { + baseName: "style", + type: "WidgetRequestStyle", + }, + }; + return TimeseriesWidgetRequest; +}()); +exports.TimeseriesWidgetRequest = TimeseriesWidgetRequest; +//# sourceMappingURL=TimeseriesWidgetRequest.js.map + +/***/ }), + +/***/ 61970: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ToplistWidgetDefinition = void 0; +/** + * The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc. + */ +var ToplistWidgetDefinition = /** @class */ (function () { + function ToplistWidgetDefinition() { + } + /** + * @ignore + */ + ToplistWidgetDefinition.getAttributeTypeMap = function () { + return ToplistWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + ToplistWidgetDefinition.attributeTypeMap = { + customLinks: { + baseName: "custom_links", + type: "Array", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + time: { + baseName: "time", + type: "WidgetTime", + }, + title: { + baseName: "title", + type: "string", + }, + titleAlign: { + baseName: "title_align", + type: "WidgetTextAlign", + }, + titleSize: { + baseName: "title_size", + type: "string", + }, + type: { + baseName: "type", + type: "ToplistWidgetDefinitionType", + required: true, + }, + }; + return ToplistWidgetDefinition; +}()); +exports.ToplistWidgetDefinition = ToplistWidgetDefinition; +//# sourceMappingURL=ToplistWidgetDefinition.js.map + +/***/ }), + +/***/ 89181: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ToplistWidgetRequest = void 0; +/** + * Updated top list widget. + */ +var ToplistWidgetRequest = /** @class */ (function () { + function ToplistWidgetRequest() { + } + /** + * @ignore + */ + ToplistWidgetRequest.getAttributeTypeMap = function () { + return ToplistWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ToplistWidgetRequest.attributeTypeMap = { + apmQuery: { + baseName: "apm_query", + type: "LogQueryDefinition", + }, + auditQuery: { + baseName: "audit_query", + type: "LogQueryDefinition", + }, + conditionalFormats: { + baseName: "conditional_formats", + type: "Array", + }, + eventQuery: { + baseName: "event_query", + type: "LogQueryDefinition", + }, + formulas: { + baseName: "formulas", + type: "Array", + }, + logQuery: { + baseName: "log_query", + type: "LogQueryDefinition", + }, + networkQuery: { + baseName: "network_query", + type: "LogQueryDefinition", + }, + processQuery: { + baseName: "process_query", + type: "ProcessQueryDefinition", + }, + profileMetricsQuery: { + baseName: "profile_metrics_query", + type: "LogQueryDefinition", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + rumQuery: { + baseName: "rum_query", + type: "LogQueryDefinition", + }, + securityQuery: { + baseName: "security_query", + type: "LogQueryDefinition", + }, + style: { + baseName: "style", + type: "WidgetRequestStyle", + }, + }; + return ToplistWidgetRequest; +}()); +exports.ToplistWidgetRequest = ToplistWidgetRequest; +//# sourceMappingURL=ToplistWidgetRequest.js.map + +/***/ }), + +/***/ 84230: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TreeMapWidgetDefinition = void 0; +/** + * The treemap visualization found on the Host Dashboards comes from the output of `ps auxww`. This is not continuously run on your hosts. Instead, it’s run once on Agent start/restart. The treemap is only supported for process data on a single host dashboard — this may not be reused in other dashboards or for other metrics. + */ +var TreeMapWidgetDefinition = /** @class */ (function () { + function TreeMapWidgetDefinition() { + } + /** + * @ignore + */ + TreeMapWidgetDefinition.getAttributeTypeMap = function () { + return TreeMapWidgetDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + TreeMapWidgetDefinition.attributeTypeMap = { + colorBy: { + baseName: "color_by", + type: "TreeMapColorBy", + }, + groupBy: { + baseName: "group_by", + type: "TreeMapGroupBy", + }, + requests: { + baseName: "requests", + type: "Array", + required: true, + }, + sizeBy: { + baseName: "size_by", + type: "TreeMapSizeBy", + }, + title: { + baseName: "title", + type: "string", + }, + type: { + baseName: "type", + type: "TreeMapWidgetDefinitionType", + required: true, + }, + }; + return TreeMapWidgetDefinition; +}()); +exports.TreeMapWidgetDefinition = TreeMapWidgetDefinition; +//# sourceMappingURL=TreeMapWidgetDefinition.js.map + +/***/ }), + +/***/ 32930: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.TreeMapWidgetRequest = void 0; +/** + * An updated treemap widget. + */ +var TreeMapWidgetRequest = /** @class */ (function () { + function TreeMapWidgetRequest() { + } + /** + * @ignore + */ + TreeMapWidgetRequest.getAttributeTypeMap = function () { + return TreeMapWidgetRequest.attributeTypeMap; + }; + /** + * @ignore + */ + TreeMapWidgetRequest.attributeTypeMap = { + formulas: { + baseName: "formulas", + type: "Array", + }, + q: { + baseName: "q", + type: "string", + }, + queries: { + baseName: "queries", + type: "Array", + }, + responseFormat: { + baseName: "response_format", + type: "FormulaAndFunctionResponseFormat", + }, + }; + return TreeMapWidgetRequest; +}()); +exports.TreeMapWidgetRequest = TreeMapWidgetRequest; +//# sourceMappingURL=TreeMapWidgetRequest.js.map + +/***/ }), + +/***/ 46989: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAnalyzedLogsHour = void 0; +/** + * The number of analyzed logs for each hour for a given organization. + */ +var UsageAnalyzedLogsHour = /** @class */ (function () { + function UsageAnalyzedLogsHour() { + } + /** + * @ignore + */ + UsageAnalyzedLogsHour.getAttributeTypeMap = function () { + return UsageAnalyzedLogsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAnalyzedLogsHour.attributeTypeMap = { + analyzedLogs: { + baseName: "analyzed_logs", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageAnalyzedLogsHour; +}()); +exports.UsageAnalyzedLogsHour = UsageAnalyzedLogsHour; +//# sourceMappingURL=UsageAnalyzedLogsHour.js.map + +/***/ }), + +/***/ 18830: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAnalyzedLogsResponse = void 0; +/** + * A response containing the number of analyzed logs for each hour for a given organization. + */ +var UsageAnalyzedLogsResponse = /** @class */ (function () { + function UsageAnalyzedLogsResponse() { + } + /** + * @ignore + */ + UsageAnalyzedLogsResponse.getAttributeTypeMap = function () { + return UsageAnalyzedLogsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAnalyzedLogsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageAnalyzedLogsResponse; +}()); +exports.UsageAnalyzedLogsResponse = UsageAnalyzedLogsResponse; +//# sourceMappingURL=UsageAnalyzedLogsResponse.js.map + +/***/ }), + +/***/ 17881: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionAggregatesBody = void 0; +/** + * The object containing the aggregates. + */ +var UsageAttributionAggregatesBody = /** @class */ (function () { + function UsageAttributionAggregatesBody() { + } + /** + * @ignore + */ + UsageAttributionAggregatesBody.getAttributeTypeMap = function () { + return UsageAttributionAggregatesBody.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionAggregatesBody.attributeTypeMap = { + aggType: { + baseName: "agg_type", + type: "string", + }, + field: { + baseName: "field", + type: "string", + }, + value: { + baseName: "value", + type: "number", + format: "double", + }, + }; + return UsageAttributionAggregatesBody; +}()); +exports.UsageAttributionAggregatesBody = UsageAttributionAggregatesBody; +//# sourceMappingURL=UsageAttributionAggregatesBody.js.map + +/***/ }), + +/***/ 15656: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionBody = void 0; +/** + * Usage Summary by tag for a given organization. + */ +var UsageAttributionBody = /** @class */ (function () { + function UsageAttributionBody() { + } + /** + * @ignore + */ + UsageAttributionBody.getAttributeTypeMap = function () { + return UsageAttributionBody.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionBody.attributeTypeMap = { + month: { + baseName: "month", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + tagConfigSource: { + baseName: "tag_config_source", + type: "string", + }, + tags: { + baseName: "tags", + type: "{ [key: string]: Array; }", + }, + updatedAt: { + baseName: "updated_at", + type: "string", + }, + values: { + baseName: "values", + type: "UsageAttributionValues", + }, + }; + return UsageAttributionBody; +}()); +exports.UsageAttributionBody = UsageAttributionBody; +//# sourceMappingURL=UsageAttributionBody.js.map + +/***/ }), + +/***/ 93350: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionMetadata = void 0; +/** + * The object containing document metadata. + */ +var UsageAttributionMetadata = /** @class */ (function () { + function UsageAttributionMetadata() { + } + /** + * @ignore + */ + UsageAttributionMetadata.getAttributeTypeMap = function () { + return UsageAttributionMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionMetadata.attributeTypeMap = { + aggregates: { + baseName: "aggregates", + type: "Array", + }, + pagination: { + baseName: "pagination", + type: "UsageAttributionPagination", + }, + }; + return UsageAttributionMetadata; +}()); +exports.UsageAttributionMetadata = UsageAttributionMetadata; +//# sourceMappingURL=UsageAttributionMetadata.js.map + +/***/ }), + +/***/ 72584: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionPagination = void 0; +/** + * The metadata for the current pagination. + */ +var UsageAttributionPagination = /** @class */ (function () { + function UsageAttributionPagination() { + } + /** + * @ignore + */ + UsageAttributionPagination.getAttributeTypeMap = function () { + return UsageAttributionPagination.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionPagination.attributeTypeMap = { + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + offset: { + baseName: "offset", + type: "number", + format: "int64", + }, + sortDirection: { + baseName: "sort_direction", + type: "string", + }, + sortName: { + baseName: "sort_name", + type: "string", + }, + totalNumberOfRecords: { + baseName: "total_number_of_records", + type: "number", + format: "int64", + }, + }; + return UsageAttributionPagination; +}()); +exports.UsageAttributionPagination = UsageAttributionPagination; +//# sourceMappingURL=UsageAttributionPagination.js.map + +/***/ }), + +/***/ 45011: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionResponse = void 0; +/** + * Response containing the Usage Summary by tag(s). + */ +var UsageAttributionResponse = /** @class */ (function () { + function UsageAttributionResponse() { + } + /** + * @ignore + */ + UsageAttributionResponse.getAttributeTypeMap = function () { + return UsageAttributionResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionResponse.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "UsageAttributionMetadata", + }, + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageAttributionResponse; +}()); +exports.UsageAttributionResponse = UsageAttributionResponse; +//# sourceMappingURL=UsageAttributionResponse.js.map + +/***/ }), + +/***/ 61746: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAttributionValues = void 0; +/** + * Fields in Usage Summary by tag(s). + */ +var UsageAttributionValues = /** @class */ (function () { + function UsageAttributionValues() { + } + /** + * @ignore + */ + UsageAttributionValues.getAttributeTypeMap = function () { + return UsageAttributionValues.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAttributionValues.attributeTypeMap = { + apiPercentage: { + baseName: "api_percentage", + type: "number", + format: "double", + }, + apiUsage: { + baseName: "api_usage", + type: "number", + format: "double", + }, + apmHostPercentage: { + baseName: "apm_host_percentage", + type: "number", + format: "double", + }, + apmHostUsage: { + baseName: "apm_host_usage", + type: "number", + format: "double", + }, + browserPercentage: { + baseName: "browser_percentage", + type: "number", + format: "double", + }, + browserUsage: { + baseName: "browser_usage", + type: "number", + format: "double", + }, + containerPercentage: { + baseName: "container_percentage", + type: "number", + format: "double", + }, + containerUsage: { + baseName: "container_usage", + type: "number", + format: "double", + }, + cspmContainerPercentage: { + baseName: "cspm_container_percentage", + type: "number", + format: "double", + }, + cspmContainerUsage: { + baseName: "cspm_container_usage", + type: "number", + format: "double", + }, + cspmHostPercentage: { + baseName: "cspm_host_percentage", + type: "number", + format: "double", + }, + cspmHostUsage: { + baseName: "cspm_host_usage", + type: "number", + format: "double", + }, + customTimeseriesPercentage: { + baseName: "custom_timeseries_percentage", + type: "number", + format: "double", + }, + customTimeseriesUsage: { + baseName: "custom_timeseries_usage", + type: "number", + format: "double", + }, + cwsContainerPercentage: { + baseName: "cws_container_percentage", + type: "number", + format: "double", + }, + cwsContainerUsage: { + baseName: "cws_container_usage", + type: "number", + format: "double", + }, + cwsHostPercentage: { + baseName: "cws_host_percentage", + type: "number", + format: "double", + }, + cwsHostUsage: { + baseName: "cws_host_usage", + type: "number", + format: "double", + }, + dbmHostsPercentage: { + baseName: "dbm_hosts_percentage", + type: "number", + format: "double", + }, + dbmHostsUsage: { + baseName: "dbm_hosts_usage", + type: "number", + format: "double", + }, + dbmQueriesPercentage: { + baseName: "dbm_queries_percentage", + type: "number", + format: "double", + }, + dbmQueriesUsage: { + baseName: "dbm_queries_usage", + type: "number", + format: "double", + }, + estimatedIndexedLogsPercentage: { + baseName: "estimated_indexed_logs_percentage", + type: "number", + format: "double", + }, + estimatedIndexedLogsUsage: { + baseName: "estimated_indexed_logs_usage", + type: "number", + format: "double", + }, + infraHostPercentage: { + baseName: "infra_host_percentage", + type: "number", + format: "double", + }, + infraHostUsage: { + baseName: "infra_host_usage", + type: "number", + format: "double", + }, + lambdaFunctionsPercentage: { + baseName: "lambda_functions_percentage", + type: "number", + format: "double", + }, + lambdaFunctionsUsage: { + baseName: "lambda_functions_usage", + type: "number", + format: "double", + }, + lambdaInvocationsPercentage: { + baseName: "lambda_invocations_percentage", + type: "number", + format: "double", + }, + lambdaInvocationsUsage: { + baseName: "lambda_invocations_usage", + type: "number", + format: "double", + }, + lambdaPercentage: { + baseName: "lambda_percentage", + type: "number", + format: "double", + }, + lambdaUsage: { + baseName: "lambda_usage", + type: "number", + format: "double", + }, + npmHostPercentage: { + baseName: "npm_host_percentage", + type: "number", + format: "double", + }, + npmHostUsage: { + baseName: "npm_host_usage", + type: "number", + format: "double", + }, + profiledContainerPercentage: { + baseName: "profiled_container_percentage", + type: "number", + format: "double", + }, + profiledContainerUsage: { + baseName: "profiled_container_usage", + type: "number", + format: "double", + }, + profiledHostsPercentage: { + baseName: "profiled_hosts_percentage", + type: "number", + format: "double", + }, + profiledHostsUsage: { + baseName: "profiled_hosts_usage", + type: "number", + format: "double", + }, + snmpPercentage: { + baseName: "snmp_percentage", + type: "number", + format: "double", + }, + snmpUsage: { + baseName: "snmp_usage", + type: "number", + format: "double", + }, + }; + return UsageAttributionValues; +}()); +exports.UsageAttributionValues = UsageAttributionValues; +//# sourceMappingURL=UsageAttributionValues.js.map + +/***/ }), + +/***/ 59268: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAuditLogsHour = void 0; +/** + * Audit logs usage for a given organization for a given hour. + */ +var UsageAuditLogsHour = /** @class */ (function () { + function UsageAuditLogsHour() { + } + /** + * @ignore + */ + UsageAuditLogsHour.getAttributeTypeMap = function () { + return UsageAuditLogsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAuditLogsHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + linesIndexed: { + baseName: "lines_indexed", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageAuditLogsHour; +}()); +exports.UsageAuditLogsHour = UsageAuditLogsHour; +//# sourceMappingURL=UsageAuditLogsHour.js.map + +/***/ }), + +/***/ 89238: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageAuditLogsResponse = void 0; +/** + * Response containing the audit logs usage for each hour for a given organization. + */ +var UsageAuditLogsResponse = /** @class */ (function () { + function UsageAuditLogsResponse() { + } + /** + * @ignore + */ + UsageAuditLogsResponse.getAttributeTypeMap = function () { + return UsageAuditLogsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageAuditLogsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageAuditLogsResponse; +}()); +exports.UsageAuditLogsResponse = UsageAuditLogsResponse; +//# sourceMappingURL=UsageAuditLogsResponse.js.map + +/***/ }), + +/***/ 17329: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageBillableSummaryBody = void 0; +/** + * Response with properties for each aggregated usage type. + */ +var UsageBillableSummaryBody = /** @class */ (function () { + function UsageBillableSummaryBody() { + } + /** + * @ignore + */ + UsageBillableSummaryBody.getAttributeTypeMap = function () { + return UsageBillableSummaryBody.attributeTypeMap; + }; + /** + * @ignore + */ + UsageBillableSummaryBody.attributeTypeMap = { + accountBillableUsage: { + baseName: "account_billable_usage", + type: "number", + format: "int64", + }, + elapsedUsageHours: { + baseName: "elapsed_usage_hours", + type: "number", + format: "int64", + }, + firstBillableUsageHour: { + baseName: "first_billable_usage_hour", + type: "Date", + format: "date-time", + }, + lastBillableUsageHour: { + baseName: "last_billable_usage_hour", + type: "Date", + format: "date-time", + }, + orgBillableUsage: { + baseName: "org_billable_usage", + type: "number", + format: "int64", + }, + percentageInAccount: { + baseName: "percentage_in_account", + type: "number", + format: "double", + }, + usageUnit: { + baseName: "usage_unit", + type: "string", + }, + }; + return UsageBillableSummaryBody; +}()); +exports.UsageBillableSummaryBody = UsageBillableSummaryBody; +//# sourceMappingURL=UsageBillableSummaryBody.js.map + +/***/ }), + +/***/ 52813: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageBillableSummaryHour = void 0; +/** + * Response with monthly summary of data billed by Datadog. + */ +var UsageBillableSummaryHour = /** @class */ (function () { + function UsageBillableSummaryHour() { + } + /** + * @ignore + */ + UsageBillableSummaryHour.getAttributeTypeMap = function () { + return UsageBillableSummaryHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageBillableSummaryHour.attributeTypeMap = { + billingPlan: { + baseName: "billing_plan", + type: "string", + }, + endDate: { + baseName: "end_date", + type: "Date", + format: "date-time", + }, + numOrgs: { + baseName: "num_orgs", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + ratioInMonth: { + baseName: "ratio_in_month", + type: "number", + format: "double", + }, + startDate: { + baseName: "start_date", + type: "Date", + format: "date-time", + }, + usage: { + baseName: "usage", + type: "UsageBillableSummaryKeys", + }, + }; + return UsageBillableSummaryHour; +}()); +exports.UsageBillableSummaryHour = UsageBillableSummaryHour; +//# sourceMappingURL=UsageBillableSummaryHour.js.map + +/***/ }), + +/***/ 35118: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageBillableSummaryKeys = void 0; +/** + * Response with aggregated usage types. + */ +var UsageBillableSummaryKeys = /** @class */ (function () { + function UsageBillableSummaryKeys() { + } + /** + * @ignore + */ + UsageBillableSummaryKeys.getAttributeTypeMap = function () { + return UsageBillableSummaryKeys.attributeTypeMap; + }; + /** + * @ignore + */ + UsageBillableSummaryKeys.attributeTypeMap = { + apmHostSum: { + baseName: "apm_host_sum", + type: "UsageBillableSummaryBody", + }, + apmHostTop99p: { + baseName: "apm_host_top99p", + type: "UsageBillableSummaryBody", + }, + apmTraceSearchSum: { + baseName: "apm_trace_search_sum", + type: "UsageBillableSummaryBody", + }, + fargateContainerAverage: { + baseName: "fargate_container_average", + type: "UsageBillableSummaryBody", + }, + infraContainerSum: { + baseName: "infra_container_sum", + type: "UsageBillableSummaryBody", + }, + infraHostSum: { + baseName: "infra_host_sum", + type: "UsageBillableSummaryBody", + }, + infraHostTop99p: { + baseName: "infra_host_top99p", + type: "UsageBillableSummaryBody", + }, + iotTop99p: { + baseName: "iot_top99p", + type: "UsageBillableSummaryBody", + }, + lambdaFunctionAverage: { + baseName: "lambda_function_average", + type: "UsageBillableSummaryBody", + }, + logsIndexed15daySum: { + baseName: "logs_indexed_15day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed180daySum: { + baseName: "logs_indexed_180day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed30daySum: { + baseName: "logs_indexed_30day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed3daySum: { + baseName: "logs_indexed_3day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed45daySum: { + baseName: "logs_indexed_45day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed60daySum: { + baseName: "logs_indexed_60day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed7daySum: { + baseName: "logs_indexed_7day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexed90daySum: { + baseName: "logs_indexed_90day_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexedCustomRetentionSum: { + baseName: "logs_indexed_custom_retention_sum", + type: "UsageBillableSummaryBody", + }, + logsIndexedSum: { + baseName: "logs_indexed_sum", + type: "UsageBillableSummaryBody", + }, + logsIngestedSum: { + baseName: "logs_ingested_sum", + type: "UsageBillableSummaryBody", + }, + networkDeviceTop99p: { + baseName: "network_device_top99p", + type: "UsageBillableSummaryBody", + }, + npmFlowSum: { + baseName: "npm_flow_sum", + type: "UsageBillableSummaryBody", + }, + npmHostSum: { + baseName: "npm_host_sum", + type: "UsageBillableSummaryBody", + }, + npmHostTop99p: { + baseName: "npm_host_top99p", + type: "UsageBillableSummaryBody", + }, + profContainerSum: { + baseName: "prof_container_sum", + type: "UsageBillableSummaryBody", + }, + profHostTop99p: { + baseName: "prof_host_top99p", + type: "UsageBillableSummaryBody", + }, + rumSum: { + baseName: "rum_sum", + type: "UsageBillableSummaryBody", + }, + serverlessInvocationSum: { + baseName: "serverless_invocation_sum", + type: "UsageBillableSummaryBody", + }, + siemSum: { + baseName: "siem_sum", + type: "UsageBillableSummaryBody", + }, + syntheticsApiTestsSum: { + baseName: "synthetics_api_tests_sum", + type: "UsageBillableSummaryBody", + }, + syntheticsBrowserChecksSum: { + baseName: "synthetics_browser_checks_sum", + type: "UsageBillableSummaryBody", + }, + timeseriesAverage: { + baseName: "timeseries_average", + type: "UsageBillableSummaryBody", + }, + }; + return UsageBillableSummaryKeys; +}()); +exports.UsageBillableSummaryKeys = UsageBillableSummaryKeys; +//# sourceMappingURL=UsageBillableSummaryKeys.js.map + +/***/ }), + +/***/ 84619: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageBillableSummaryResponse = void 0; +/** + * Response with monthly summary of data billed by Datadog. + */ +var UsageBillableSummaryResponse = /** @class */ (function () { + function UsageBillableSummaryResponse() { + } + /** + * @ignore + */ + UsageBillableSummaryResponse.getAttributeTypeMap = function () { + return UsageBillableSummaryResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageBillableSummaryResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageBillableSummaryResponse; +}()); +exports.UsageBillableSummaryResponse = UsageBillableSummaryResponse; +//# sourceMappingURL=UsageBillableSummaryResponse.js.map + +/***/ }), + +/***/ 18482: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCWSHour = void 0; +/** + * Cloud Workload Security usage for a given organization for a given hour. + */ +var UsageCWSHour = /** @class */ (function () { + function UsageCWSHour() { + } + /** + * @ignore + */ + UsageCWSHour.getAttributeTypeMap = function () { + return UsageCWSHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCWSHour.attributeTypeMap = { + cwsContainerCount: { + baseName: "cws_container_count", + type: "number", + format: "int64", + }, + cwsHostCount: { + baseName: "cws_host_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageCWSHour; +}()); +exports.UsageCWSHour = UsageCWSHour; +//# sourceMappingURL=UsageCWSHour.js.map + +/***/ }), + +/***/ 22674: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCWSResponse = void 0; +/** + * Response containing the Cloud Workload Security usage for each hour for a given organization. + */ +var UsageCWSResponse = /** @class */ (function () { + function UsageCWSResponse() { + } + /** + * @ignore + */ + UsageCWSResponse.getAttributeTypeMap = function () { + return UsageCWSResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCWSResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageCWSResponse; +}()); +exports.UsageCWSResponse = UsageCWSResponse; +//# sourceMappingURL=UsageCWSResponse.js.map + +/***/ }), + +/***/ 75358: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCloudSecurityPostureManagementHour = void 0; +/** + * Cloud Security Posture Management usage for a given organization for a given hour. + */ +var UsageCloudSecurityPostureManagementHour = /** @class */ (function () { + function UsageCloudSecurityPostureManagementHour() { + } + /** + * @ignore + */ + UsageCloudSecurityPostureManagementHour.getAttributeTypeMap = function () { + return UsageCloudSecurityPostureManagementHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCloudSecurityPostureManagementHour.attributeTypeMap = { + aasHostCount: { + baseName: "aas_host_count", + type: "number", + format: "double", + }, + azureHostCount: { + baseName: "azure_host_count", + type: "number", + format: "double", + }, + complianceHostCount: { + baseName: "compliance_host_count", + type: "number", + format: "double", + }, + containerCount: { + baseName: "container_count", + type: "number", + format: "double", + }, + hostCount: { + baseName: "host_count", + type: "number", + format: "double", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageCloudSecurityPostureManagementHour; +}()); +exports.UsageCloudSecurityPostureManagementHour = UsageCloudSecurityPostureManagementHour; +//# sourceMappingURL=UsageCloudSecurityPostureManagementHour.js.map + +/***/ }), + +/***/ 87374: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCloudSecurityPostureManagementResponse = void 0; +/** + * The response containing the Cloud Security Posture Management usage for each hour for a given organization. + */ +var UsageCloudSecurityPostureManagementResponse = /** @class */ (function () { + function UsageCloudSecurityPostureManagementResponse() { + } + /** + * @ignore + */ + UsageCloudSecurityPostureManagementResponse.getAttributeTypeMap = function () { + return UsageCloudSecurityPostureManagementResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCloudSecurityPostureManagementResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageCloudSecurityPostureManagementResponse; +}()); +exports.UsageCloudSecurityPostureManagementResponse = UsageCloudSecurityPostureManagementResponse; +//# sourceMappingURL=UsageCloudSecurityPostureManagementResponse.js.map + +/***/ }), + +/***/ 47558: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCustomReportsAttributes = void 0; +/** + * The response containing attributes for custom reports. + */ +var UsageCustomReportsAttributes = /** @class */ (function () { + function UsageCustomReportsAttributes() { + } + /** + * @ignore + */ + UsageCustomReportsAttributes.getAttributeTypeMap = function () { + return UsageCustomReportsAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCustomReportsAttributes.attributeTypeMap = { + computedOn: { + baseName: "computed_on", + type: "string", + }, + endDate: { + baseName: "end_date", + type: "string", + }, + size: { + baseName: "size", + type: "number", + format: "int64", + }, + startDate: { + baseName: "start_date", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return UsageCustomReportsAttributes; +}()); +exports.UsageCustomReportsAttributes = UsageCustomReportsAttributes; +//# sourceMappingURL=UsageCustomReportsAttributes.js.map + +/***/ }), + +/***/ 88385: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCustomReportsData = void 0; +/** + * The response containing the date and type for custom reports. + */ +var UsageCustomReportsData = /** @class */ (function () { + function UsageCustomReportsData() { + } + /** + * @ignore + */ + UsageCustomReportsData.getAttributeTypeMap = function () { + return UsageCustomReportsData.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCustomReportsData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UsageCustomReportsAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "UsageReportsType", + }, + }; + return UsageCustomReportsData; +}()); +exports.UsageCustomReportsData = UsageCustomReportsData; +//# sourceMappingURL=UsageCustomReportsData.js.map + +/***/ }), + +/***/ 63185: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCustomReportsMeta = void 0; +/** + * The object containing document metadata. + */ +var UsageCustomReportsMeta = /** @class */ (function () { + function UsageCustomReportsMeta() { + } + /** + * @ignore + */ + UsageCustomReportsMeta.getAttributeTypeMap = function () { + return UsageCustomReportsMeta.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCustomReportsMeta.attributeTypeMap = { + page: { + baseName: "page", + type: "UsageCustomReportsPage", + }, + }; + return UsageCustomReportsMeta; +}()); +exports.UsageCustomReportsMeta = UsageCustomReportsMeta; +//# sourceMappingURL=UsageCustomReportsMeta.js.map + +/***/ }), + +/***/ 54974: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCustomReportsPage = void 0; +/** + * The object containing page total count. + */ +var UsageCustomReportsPage = /** @class */ (function () { + function UsageCustomReportsPage() { + } + /** + * @ignore + */ + UsageCustomReportsPage.getAttributeTypeMap = function () { + return UsageCustomReportsPage.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCustomReportsPage.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + }; + return UsageCustomReportsPage; +}()); +exports.UsageCustomReportsPage = UsageCustomReportsPage; +//# sourceMappingURL=UsageCustomReportsPage.js.map + +/***/ }), + +/***/ 55902: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageCustomReportsResponse = void 0; +/** + * Response containing available custom reports. + */ +var UsageCustomReportsResponse = /** @class */ (function () { + function UsageCustomReportsResponse() { + } + /** + * @ignore + */ + UsageCustomReportsResponse.getAttributeTypeMap = function () { + return UsageCustomReportsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageCustomReportsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "UsageCustomReportsMeta", + }, + }; + return UsageCustomReportsResponse; +}()); +exports.UsageCustomReportsResponse = UsageCustomReportsResponse; +//# sourceMappingURL=UsageCustomReportsResponse.js.map + +/***/ }), + +/***/ 68808: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageDBMHour = void 0; +/** + * Database Monitoring usage for a given organization for a given hour. + */ +var UsageDBMHour = /** @class */ (function () { + function UsageDBMHour() { + } + /** + * @ignore + */ + UsageDBMHour.getAttributeTypeMap = function () { + return UsageDBMHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageDBMHour.attributeTypeMap = { + dbmHostCount: { + baseName: "dbm_host_count", + type: "number", + format: "int64", + }, + dbmQueriesCount: { + baseName: "dbm_queries_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageDBMHour; +}()); +exports.UsageDBMHour = UsageDBMHour; +//# sourceMappingURL=UsageDBMHour.js.map + +/***/ }), + +/***/ 2026: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageDBMResponse = void 0; +/** + * Response containing the Database Monitoring usage for each hour for a given organization. + */ +var UsageDBMResponse = /** @class */ (function () { + function UsageDBMResponse() { + } + /** + * @ignore + */ + UsageDBMResponse.getAttributeTypeMap = function () { + return UsageDBMResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageDBMResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageDBMResponse; +}()); +exports.UsageDBMResponse = UsageDBMResponse; +//# sourceMappingURL=UsageDBMResponse.js.map + +/***/ }), + +/***/ 57386: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageFargateHour = void 0; +/** + * Number of Fargate tasks run and hourly usage. + */ +var UsageFargateHour = /** @class */ (function () { + function UsageFargateHour() { + } + /** + * @ignore + */ + UsageFargateHour.getAttributeTypeMap = function () { + return UsageFargateHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageFargateHour.attributeTypeMap = { + avgProfiledFargateTasks: { + baseName: "avg_profiled_fargate_tasks", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + tasksCount: { + baseName: "tasks_count", + type: "number", + format: "int64", + }, + }; + return UsageFargateHour; +}()); +exports.UsageFargateHour = UsageFargateHour; +//# sourceMappingURL=UsageFargateHour.js.map + +/***/ }), + +/***/ 48053: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageFargateResponse = void 0; +/** + * Response containing the number of Fargate tasks run and hourly usage. + */ +var UsageFargateResponse = /** @class */ (function () { + function UsageFargateResponse() { + } + /** + * @ignore + */ + UsageFargateResponse.getAttributeTypeMap = function () { + return UsageFargateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageFargateResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageFargateResponse; +}()); +exports.UsageFargateResponse = UsageFargateResponse; +//# sourceMappingURL=UsageFargateResponse.js.map + +/***/ }), + +/***/ 22603: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageHostHour = void 0; +/** + * Number of hosts/containers recorded for each hour for a given organization. + */ +var UsageHostHour = /** @class */ (function () { + function UsageHostHour() { + } + /** + * @ignore + */ + UsageHostHour.getAttributeTypeMap = function () { + return UsageHostHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageHostHour.attributeTypeMap = { + agentHostCount: { + baseName: "agent_host_count", + type: "number", + format: "int64", + }, + alibabaHostCount: { + baseName: "alibaba_host_count", + type: "number", + format: "int64", + }, + apmAzureAppServiceHostCount: { + baseName: "apm_azure_app_service_host_count", + type: "number", + format: "int64", + }, + apmHostCount: { + baseName: "apm_host_count", + type: "number", + format: "int64", + }, + awsHostCount: { + baseName: "aws_host_count", + type: "number", + format: "int64", + }, + azureHostCount: { + baseName: "azure_host_count", + type: "number", + format: "int64", + }, + containerCount: { + baseName: "container_count", + type: "number", + format: "int64", + }, + gcpHostCount: { + baseName: "gcp_host_count", + type: "number", + format: "int64", + }, + herokuHostCount: { + baseName: "heroku_host_count", + type: "number", + format: "int64", + }, + hostCount: { + baseName: "host_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + infraAzureAppService: { + baseName: "infra_azure_app_service", + type: "number", + format: "int64", + }, + opentelemetryHostCount: { + baseName: "opentelemetry_host_count", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + vsphereHostCount: { + baseName: "vsphere_host_count", + type: "number", + format: "int64", + }, + }; + return UsageHostHour; +}()); +exports.UsageHostHour = UsageHostHour; +//# sourceMappingURL=UsageHostHour.js.map + +/***/ }), + +/***/ 31325: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageHostsResponse = void 0; +/** + * Host usage response. + */ +var UsageHostsResponse = /** @class */ (function () { + function UsageHostsResponse() { + } + /** + * @ignore + */ + UsageHostsResponse.getAttributeTypeMap = function () { + return UsageHostsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageHostsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageHostsResponse; +}()); +exports.UsageHostsResponse = UsageHostsResponse; +//# sourceMappingURL=UsageHostsResponse.js.map + +/***/ }), + +/***/ 40048: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIncidentManagementHour = void 0; +/** + * Incident management usage for a given organization for a given hour. + */ +var UsageIncidentManagementHour = /** @class */ (function () { + function UsageIncidentManagementHour() { + } + /** + * @ignore + */ + UsageIncidentManagementHour.getAttributeTypeMap = function () { + return UsageIncidentManagementHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIncidentManagementHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + monthlyActiveUsers: { + baseName: "monthly_active_users", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageIncidentManagementHour; +}()); +exports.UsageIncidentManagementHour = UsageIncidentManagementHour; +//# sourceMappingURL=UsageIncidentManagementHour.js.map + +/***/ }), + +/***/ 98434: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIncidentManagementResponse = void 0; +/** + * Response containing the incident management usage for each hour for a given organization. + */ +var UsageIncidentManagementResponse = /** @class */ (function () { + function UsageIncidentManagementResponse() { + } + /** + * @ignore + */ + UsageIncidentManagementResponse.getAttributeTypeMap = function () { + return UsageIncidentManagementResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIncidentManagementResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageIncidentManagementResponse; +}()); +exports.UsageIncidentManagementResponse = UsageIncidentManagementResponse; +//# sourceMappingURL=UsageIncidentManagementResponse.js.map + +/***/ }), + +/***/ 66099: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIndexedSpansHour = void 0; +/** + * The hours of indexed spans usage. + */ +var UsageIndexedSpansHour = /** @class */ (function () { + function UsageIndexedSpansHour() { + } + /** + * @ignore + */ + UsageIndexedSpansHour.getAttributeTypeMap = function () { + return UsageIndexedSpansHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIndexedSpansHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + indexedEventsCount: { + baseName: "indexed_events_count", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageIndexedSpansHour; +}()); +exports.UsageIndexedSpansHour = UsageIndexedSpansHour; +//# sourceMappingURL=UsageIndexedSpansHour.js.map + +/***/ }), + +/***/ 7275: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIndexedSpansResponse = void 0; +/** + * A response containing indexed spans usage. + */ +var UsageIndexedSpansResponse = /** @class */ (function () { + function UsageIndexedSpansResponse() { + } + /** + * @ignore + */ + UsageIndexedSpansResponse.getAttributeTypeMap = function () { + return UsageIndexedSpansResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIndexedSpansResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageIndexedSpansResponse; +}()); +exports.UsageIndexedSpansResponse = UsageIndexedSpansResponse; +//# sourceMappingURL=UsageIndexedSpansResponse.js.map + +/***/ }), + +/***/ 72078: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIngestedSpansHour = void 0; +/** + * Ingested spans usage for a given organization for a given hour. + */ +var UsageIngestedSpansHour = /** @class */ (function () { + function UsageIngestedSpansHour() { + } + /** + * @ignore + */ + UsageIngestedSpansHour.getAttributeTypeMap = function () { + return UsageIngestedSpansHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIngestedSpansHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + ingestedEventsBytes: { + baseName: "ingested_events_bytes", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageIngestedSpansHour; +}()); +exports.UsageIngestedSpansHour = UsageIngestedSpansHour; +//# sourceMappingURL=UsageIngestedSpansHour.js.map + +/***/ }), + +/***/ 52819: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIngestedSpansResponse = void 0; +/** + * Response containing the ingested spans usage for each hour for a given organization. + */ +var UsageIngestedSpansResponse = /** @class */ (function () { + function UsageIngestedSpansResponse() { + } + /** + * @ignore + */ + UsageIngestedSpansResponse.getAttributeTypeMap = function () { + return UsageIngestedSpansResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIngestedSpansResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageIngestedSpansResponse; +}()); +exports.UsageIngestedSpansResponse = UsageIngestedSpansResponse; +//# sourceMappingURL=UsageIngestedSpansResponse.js.map + +/***/ }), + +/***/ 45137: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIoTHour = void 0; +/** + * IoT usage for a given organization for a given hour. + */ +var UsageIoTHour = /** @class */ (function () { + function UsageIoTHour() { + } + /** + * @ignore + */ + UsageIoTHour.getAttributeTypeMap = function () { + return UsageIoTHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIoTHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + iotDeviceCount: { + baseName: "iot_device_count", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageIoTHour; +}()); +exports.UsageIoTHour = UsageIoTHour; +//# sourceMappingURL=UsageIoTHour.js.map + +/***/ }), + +/***/ 73096: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageIoTResponse = void 0; +/** + * Response containing the IoT usage for each hour for a given organization. + */ +var UsageIoTResponse = /** @class */ (function () { + function UsageIoTResponse() { + } + /** + * @ignore + */ + UsageIoTResponse.getAttributeTypeMap = function () { + return UsageIoTResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageIoTResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageIoTResponse; +}()); +exports.UsageIoTResponse = UsageIoTResponse; +//# sourceMappingURL=UsageIoTResponse.js.map + +/***/ }), + +/***/ 97435: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLambdaHour = void 0; +/** + * Number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization. + */ +var UsageLambdaHour = /** @class */ (function () { + function UsageLambdaHour() { + } + /** + * @ignore + */ + UsageLambdaHour.getAttributeTypeMap = function () { + return UsageLambdaHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLambdaHour.attributeTypeMap = { + funcCount: { + baseName: "func_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + invocationsSum: { + baseName: "invocations_sum", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageLambdaHour; +}()); +exports.UsageLambdaHour = UsageLambdaHour; +//# sourceMappingURL=UsageLambdaHour.js.map + +/***/ }), + +/***/ 95231: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLambdaResponse = void 0; +/** + * Response containing the number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization. + */ +var UsageLambdaResponse = /** @class */ (function () { + function UsageLambdaResponse() { + } + /** + * @ignore + */ + UsageLambdaResponse.getAttributeTypeMap = function () { + return UsageLambdaResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLambdaResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageLambdaResponse; +}()); +exports.UsageLambdaResponse = UsageLambdaResponse; +//# sourceMappingURL=UsageLambdaResponse.js.map + +/***/ }), + +/***/ 48710: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsByIndexHour = void 0; +/** + * Number of indexed logs for each hour and index for a given organization. + */ +var UsageLogsByIndexHour = /** @class */ (function () { + function UsageLogsByIndexHour() { + } + /** + * @ignore + */ + UsageLogsByIndexHour.getAttributeTypeMap = function () { + return UsageLogsByIndexHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsByIndexHour.attributeTypeMap = { + eventCount: { + baseName: "event_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + indexId: { + baseName: "index_id", + type: "string", + }, + indexName: { + baseName: "index_name", + type: "string", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + retention: { + baseName: "retention", + type: "number", + format: "int64", + }, + }; + return UsageLogsByIndexHour; +}()); +exports.UsageLogsByIndexHour = UsageLogsByIndexHour; +//# sourceMappingURL=UsageLogsByIndexHour.js.map + +/***/ }), + +/***/ 18950: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsByIndexResponse = void 0; +/** + * Response containing the number of indexed logs for each hour and index for a given organization. + */ +var UsageLogsByIndexResponse = /** @class */ (function () { + function UsageLogsByIndexResponse() { + } + /** + * @ignore + */ + UsageLogsByIndexResponse.getAttributeTypeMap = function () { + return UsageLogsByIndexResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsByIndexResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageLogsByIndexResponse; +}()); +exports.UsageLogsByIndexResponse = UsageLogsByIndexResponse; +//# sourceMappingURL=UsageLogsByIndexResponse.js.map + +/***/ }), + +/***/ 51648: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsByRetentionHour = void 0; +/** + * The number of indexed logs for each hour for a given organization broken down by retention period. + */ +var UsageLogsByRetentionHour = /** @class */ (function () { + function UsageLogsByRetentionHour() { + } + /** + * @ignore + */ + UsageLogsByRetentionHour.getAttributeTypeMap = function () { + return UsageLogsByRetentionHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsByRetentionHour.attributeTypeMap = { + indexedEventsCount: { + baseName: "indexed_events_count", + type: "number", + format: "int64", + }, + liveIndexedEventsCount: { + baseName: "live_indexed_events_count", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + rehydratedIndexedEventsCount: { + baseName: "rehydrated_indexed_events_count", + type: "number", + format: "int64", + }, + retention: { + baseName: "retention", + type: "string", + }, + }; + return UsageLogsByRetentionHour; +}()); +exports.UsageLogsByRetentionHour = UsageLogsByRetentionHour; +//# sourceMappingURL=UsageLogsByRetentionHour.js.map + +/***/ }), + +/***/ 62783: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsByRetentionResponse = void 0; +/** + * Response containing the indexed logs usage broken down by retention period for an organization during a given hour. + */ +var UsageLogsByRetentionResponse = /** @class */ (function () { + function UsageLogsByRetentionResponse() { + } + /** + * @ignore + */ + UsageLogsByRetentionResponse.getAttributeTypeMap = function () { + return UsageLogsByRetentionResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsByRetentionResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageLogsByRetentionResponse; +}()); +exports.UsageLogsByRetentionResponse = UsageLogsByRetentionResponse; +//# sourceMappingURL=UsageLogsByRetentionResponse.js.map + +/***/ }), + +/***/ 52600: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsHour = void 0; +/** + * Hour usage for logs. + */ +var UsageLogsHour = /** @class */ (function () { + function UsageLogsHour() { + } + /** + * @ignore + */ + UsageLogsHour.getAttributeTypeMap = function () { + return UsageLogsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsHour.attributeTypeMap = { + billableIngestedBytes: { + baseName: "billable_ingested_bytes", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + indexedEventsCount: { + baseName: "indexed_events_count", + type: "number", + format: "int64", + }, + ingestedEventsBytes: { + baseName: "ingested_events_bytes", + type: "number", + format: "int64", + }, + logsLiveIndexedCount: { + baseName: "logs_live_indexed_count", + type: "number", + format: "int64", + }, + logsLiveIngestedBytes: { + baseName: "logs_live_ingested_bytes", + type: "number", + format: "int64", + }, + logsRehydratedIndexedCount: { + baseName: "logs_rehydrated_indexed_count", + type: "number", + format: "int64", + }, + logsRehydratedIngestedBytes: { + baseName: "logs_rehydrated_ingested_bytes", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageLogsHour; +}()); +exports.UsageLogsHour = UsageLogsHour; +//# sourceMappingURL=UsageLogsHour.js.map + +/***/ }), + +/***/ 1375: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageLogsResponse = void 0; +/** + * Response containing the number of logs for each hour. + */ +var UsageLogsResponse = /** @class */ (function () { + function UsageLogsResponse() { + } + /** + * @ignore + */ + UsageLogsResponse.getAttributeTypeMap = function () { + return UsageLogsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageLogsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageLogsResponse; +}()); +exports.UsageLogsResponse = UsageLogsResponse; +//# sourceMappingURL=UsageLogsResponse.js.map + +/***/ }), + +/***/ 97327: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageNetworkFlowsHour = void 0; +/** + * Number of netflow events indexed for each hour for a given organization. + */ +var UsageNetworkFlowsHour = /** @class */ (function () { + function UsageNetworkFlowsHour() { + } + /** + * @ignore + */ + UsageNetworkFlowsHour.getAttributeTypeMap = function () { + return UsageNetworkFlowsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageNetworkFlowsHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + indexedEventsCount: { + baseName: "indexed_events_count", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageNetworkFlowsHour; +}()); +exports.UsageNetworkFlowsHour = UsageNetworkFlowsHour; +//# sourceMappingURL=UsageNetworkFlowsHour.js.map + +/***/ }), + +/***/ 66234: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageNetworkFlowsResponse = void 0; +/** + * Response containing the number of netflow events indexed for each hour for a given organization. + */ +var UsageNetworkFlowsResponse = /** @class */ (function () { + function UsageNetworkFlowsResponse() { + } + /** + * @ignore + */ + UsageNetworkFlowsResponse.getAttributeTypeMap = function () { + return UsageNetworkFlowsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageNetworkFlowsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageNetworkFlowsResponse; +}()); +exports.UsageNetworkFlowsResponse = UsageNetworkFlowsResponse; +//# sourceMappingURL=UsageNetworkFlowsResponse.js.map + +/***/ }), + +/***/ 5620: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageNetworkHostsHour = void 0; +/** + * Number of active NPM hosts for each hour for a given organization. + */ +var UsageNetworkHostsHour = /** @class */ (function () { + function UsageNetworkHostsHour() { + } + /** + * @ignore + */ + UsageNetworkHostsHour.getAttributeTypeMap = function () { + return UsageNetworkHostsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageNetworkHostsHour.attributeTypeMap = { + hostCount: { + baseName: "host_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageNetworkHostsHour; +}()); +exports.UsageNetworkHostsHour = UsageNetworkHostsHour; +//# sourceMappingURL=UsageNetworkHostsHour.js.map + +/***/ }), + +/***/ 4994: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageNetworkHostsResponse = void 0; +/** + * Response containing the number of active NPM hosts for each hour for a given organization. + */ +var UsageNetworkHostsResponse = /** @class */ (function () { + function UsageNetworkHostsResponse() { + } + /** + * @ignore + */ + UsageNetworkHostsResponse.getAttributeTypeMap = function () { + return UsageNetworkHostsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageNetworkHostsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageNetworkHostsResponse; +}()); +exports.UsageNetworkHostsResponse = UsageNetworkHostsResponse; +//# sourceMappingURL=UsageNetworkHostsResponse.js.map + +/***/ }), + +/***/ 66510: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageProfilingHour = void 0; +/** + * The number of profiled hosts for each hour for a given organization. + */ +var UsageProfilingHour = /** @class */ (function () { + function UsageProfilingHour() { + } + /** + * @ignore + */ + UsageProfilingHour.getAttributeTypeMap = function () { + return UsageProfilingHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageProfilingHour.attributeTypeMap = { + avgContainerAgentCount: { + baseName: "avg_container_agent_count", + type: "number", + format: "int64", + }, + hostCount: { + baseName: "host_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageProfilingHour; +}()); +exports.UsageProfilingHour = UsageProfilingHour; +//# sourceMappingURL=UsageProfilingHour.js.map + +/***/ }), + +/***/ 82060: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageProfilingResponse = void 0; +/** + * Response containing the number of profiled hosts for each hour for a given organization. + */ +var UsageProfilingResponse = /** @class */ (function () { + function UsageProfilingResponse() { + } + /** + * @ignore + */ + UsageProfilingResponse.getAttributeTypeMap = function () { + return UsageProfilingResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageProfilingResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageProfilingResponse; +}()); +exports.UsageProfilingResponse = UsageProfilingResponse; +//# sourceMappingURL=UsageProfilingResponse.js.map + +/***/ }), + +/***/ 105: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageRumSessionsHour = void 0; +/** + * Number of RUM Sessions recorded for each hour for a given organization. + */ +var UsageRumSessionsHour = /** @class */ (function () { + function UsageRumSessionsHour() { + } + /** + * @ignore + */ + UsageRumSessionsHour.getAttributeTypeMap = function () { + return UsageRumSessionsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageRumSessionsHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + replaySessionCount: { + baseName: "replay_session_count", + type: "number", + format: "int64", + }, + sessionCount: { + baseName: "session_count", + type: "number", + format: "int64", + }, + sessionCountAndroid: { + baseName: "session_count_android", + type: "number", + format: "int64", + }, + sessionCountIos: { + baseName: "session_count_ios", + type: "number", + format: "int64", + }, + }; + return UsageRumSessionsHour; +}()); +exports.UsageRumSessionsHour = UsageRumSessionsHour; +//# sourceMappingURL=UsageRumSessionsHour.js.map + +/***/ }), + +/***/ 6633: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageRumSessionsResponse = void 0; +/** + * Response containing the number of RUM Sessions for each hour for a given organization. + */ +var UsageRumSessionsResponse = /** @class */ (function () { + function UsageRumSessionsResponse() { + } + /** + * @ignore + */ + UsageRumSessionsResponse.getAttributeTypeMap = function () { + return UsageRumSessionsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageRumSessionsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageRumSessionsResponse; +}()); +exports.UsageRumSessionsResponse = UsageRumSessionsResponse; +//# sourceMappingURL=UsageRumSessionsResponse.js.map + +/***/ }), + +/***/ 8936: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageRumUnitsHour = void 0; +/** + * Number of RUM Units used for each hour for a given organization (data available as of November 1, 2021). + */ +var UsageRumUnitsHour = /** @class */ (function () { + function UsageRumUnitsHour() { + } + /** + * @ignore + */ + UsageRumUnitsHour.getAttributeTypeMap = function () { + return UsageRumUnitsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageRumUnitsHour.attributeTypeMap = { + browserRumUnits: { + baseName: "browser_rum_units", + type: "number", + format: "int64", + }, + mobileRumUnits: { + baseName: "mobile_rum_units", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + rumUnits: { + baseName: "rum_units", + type: "number", + format: "int64", + }, + }; + return UsageRumUnitsHour; +}()); +exports.UsageRumUnitsHour = UsageRumUnitsHour; +//# sourceMappingURL=UsageRumUnitsHour.js.map + +/***/ }), + +/***/ 537: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageRumUnitsResponse = void 0; +/** + * Response containing the number of RUM Units for each hour for a given organization. + */ +var UsageRumUnitsResponse = /** @class */ (function () { + function UsageRumUnitsResponse() { + } + /** + * @ignore + */ + UsageRumUnitsResponse.getAttributeTypeMap = function () { + return UsageRumUnitsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageRumUnitsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageRumUnitsResponse; +}()); +exports.UsageRumUnitsResponse = UsageRumUnitsResponse; +//# sourceMappingURL=UsageRumUnitsResponse.js.map + +/***/ }), + +/***/ 40876: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSDSHour = void 0; +/** + * Sensitive Data Scanner usage for a given organization for a given hour. + */ +var UsageSDSHour = /** @class */ (function () { + function UsageSDSHour() { + } + /** + * @ignore + */ + UsageSDSHour.getAttributeTypeMap = function () { + return UsageSDSHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSDSHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + logsScannedBytes: { + baseName: "logs_scanned_bytes", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + totalScannedBytes: { + baseName: "total_scanned_bytes", + type: "number", + format: "int64", + }, + }; + return UsageSDSHour; +}()); +exports.UsageSDSHour = UsageSDSHour; +//# sourceMappingURL=UsageSDSHour.js.map + +/***/ }), + +/***/ 96687: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSDSResponse = void 0; +/** + * Response containing the Sensitive Data Scanner usage for each hour for a given organization. + */ +var UsageSDSResponse = /** @class */ (function () { + function UsageSDSResponse() { + } + /** + * @ignore + */ + UsageSDSResponse.getAttributeTypeMap = function () { + return UsageSDSResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSDSResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageSDSResponse; +}()); +exports.UsageSDSResponse = UsageSDSResponse; +//# sourceMappingURL=UsageSDSResponse.js.map + +/***/ }), + +/***/ 39577: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSNMPHour = void 0; +/** + * The number of SNMP devices for each hour for a given organization. + */ +var UsageSNMPHour = /** @class */ (function () { + function UsageSNMPHour() { + } + /** + * @ignore + */ + UsageSNMPHour.getAttributeTypeMap = function () { + return UsageSNMPHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSNMPHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + snmpDevices: { + baseName: "snmp_devices", + type: "number", + format: "int64", + }, + }; + return UsageSNMPHour; +}()); +exports.UsageSNMPHour = UsageSNMPHour; +//# sourceMappingURL=UsageSNMPHour.js.map + +/***/ }), + +/***/ 82210: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSNMPResponse = void 0; +/** + * Response containing the number of SNMP devices for each hour for a given organization. + */ +var UsageSNMPResponse = /** @class */ (function () { + function UsageSNMPResponse() { + } + /** + * @ignore + */ + UsageSNMPResponse.getAttributeTypeMap = function () { + return UsageSNMPResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSNMPResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageSNMPResponse; +}()); +exports.UsageSNMPResponse = UsageSNMPResponse; +//# sourceMappingURL=UsageSNMPResponse.js.map + +/***/ }), + +/***/ 38724: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSpecifiedCustomReportsAttributes = void 0; +/** + * The response containing attributes for specified custom reports. + */ +var UsageSpecifiedCustomReportsAttributes = /** @class */ (function () { + function UsageSpecifiedCustomReportsAttributes() { + } + /** + * @ignore + */ + UsageSpecifiedCustomReportsAttributes.getAttributeTypeMap = function () { + return UsageSpecifiedCustomReportsAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSpecifiedCustomReportsAttributes.attributeTypeMap = { + computedOn: { + baseName: "computed_on", + type: "string", + }, + endDate: { + baseName: "end_date", + type: "string", + }, + location: { + baseName: "location", + type: "string", + }, + size: { + baseName: "size", + type: "number", + format: "int64", + }, + startDate: { + baseName: "start_date", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return UsageSpecifiedCustomReportsAttributes; +}()); +exports.UsageSpecifiedCustomReportsAttributes = UsageSpecifiedCustomReportsAttributes; +//# sourceMappingURL=UsageSpecifiedCustomReportsAttributes.js.map + +/***/ }), + +/***/ 47586: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSpecifiedCustomReportsData = void 0; +/** + * Response containing date and type for specified custom reports. + */ +var UsageSpecifiedCustomReportsData = /** @class */ (function () { + function UsageSpecifiedCustomReportsData() { + } + /** + * @ignore + */ + UsageSpecifiedCustomReportsData.getAttributeTypeMap = function () { + return UsageSpecifiedCustomReportsData.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSpecifiedCustomReportsData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UsageSpecifiedCustomReportsAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "UsageReportsType", + }, + }; + return UsageSpecifiedCustomReportsData; +}()); +exports.UsageSpecifiedCustomReportsData = UsageSpecifiedCustomReportsData; +//# sourceMappingURL=UsageSpecifiedCustomReportsData.js.map + +/***/ }), + +/***/ 75435: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSpecifiedCustomReportsMeta = void 0; +/** + * The object containing document metadata. + */ +var UsageSpecifiedCustomReportsMeta = /** @class */ (function () { + function UsageSpecifiedCustomReportsMeta() { + } + /** + * @ignore + */ + UsageSpecifiedCustomReportsMeta.getAttributeTypeMap = function () { + return UsageSpecifiedCustomReportsMeta.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSpecifiedCustomReportsMeta.attributeTypeMap = { + page: { + baseName: "page", + type: "UsageSpecifiedCustomReportsPage", + }, + }; + return UsageSpecifiedCustomReportsMeta; +}()); +exports.UsageSpecifiedCustomReportsMeta = UsageSpecifiedCustomReportsMeta; +//# sourceMappingURL=UsageSpecifiedCustomReportsMeta.js.map + +/***/ }), + +/***/ 60544: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSpecifiedCustomReportsPage = void 0; +/** + * The object containing page total count for specified ID. + */ +var UsageSpecifiedCustomReportsPage = /** @class */ (function () { + function UsageSpecifiedCustomReportsPage() { + } + /** + * @ignore + */ + UsageSpecifiedCustomReportsPage.getAttributeTypeMap = function () { + return UsageSpecifiedCustomReportsPage.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSpecifiedCustomReportsPage.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + }; + return UsageSpecifiedCustomReportsPage; +}()); +exports.UsageSpecifiedCustomReportsPage = UsageSpecifiedCustomReportsPage; +//# sourceMappingURL=UsageSpecifiedCustomReportsPage.js.map + +/***/ }), + +/***/ 47226: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSpecifiedCustomReportsResponse = void 0; +/** + * Returns available specified custom reports. + */ +var UsageSpecifiedCustomReportsResponse = /** @class */ (function () { + function UsageSpecifiedCustomReportsResponse() { + } + /** + * @ignore + */ + UsageSpecifiedCustomReportsResponse.getAttributeTypeMap = function () { + return UsageSpecifiedCustomReportsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSpecifiedCustomReportsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "UsageSpecifiedCustomReportsData", + }, + meta: { + baseName: "meta", + type: "UsageSpecifiedCustomReportsMeta", + }, + }; + return UsageSpecifiedCustomReportsResponse; +}()); +exports.UsageSpecifiedCustomReportsResponse = UsageSpecifiedCustomReportsResponse; +//# sourceMappingURL=UsageSpecifiedCustomReportsResponse.js.map + +/***/ }), + +/***/ 72971: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSummaryDate = void 0; +/** + * Response with hourly report of all data billed by Datadog all organizations. + */ +var UsageSummaryDate = /** @class */ (function () { + function UsageSummaryDate() { + } + /** + * @ignore + */ + UsageSummaryDate.getAttributeTypeMap = function () { + return UsageSummaryDate.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSummaryDate.attributeTypeMap = { + agentHostTop99p: { + baseName: "agent_host_top99p", + type: "number", + format: "int64", + }, + apmAzureAppServiceHostTop99p: { + baseName: "apm_azure_app_service_host_top99p", + type: "number", + format: "int64", + }, + apmHostTop99p: { + baseName: "apm_host_top99p", + type: "number", + format: "int64", + }, + auditLogsLinesIndexedSum: { + baseName: "audit_logs_lines_indexed_sum", + type: "number", + format: "int64", + }, + avgProfiledFargateTasks: { + baseName: "avg_profiled_fargate_tasks", + type: "number", + format: "int64", + }, + awsHostTop99p: { + baseName: "aws_host_top99p", + type: "number", + format: "int64", + }, + awsLambdaFuncCount: { + baseName: "aws_lambda_func_count", + type: "number", + format: "int64", + }, + awsLambdaInvocationsSum: { + baseName: "aws_lambda_invocations_sum", + type: "number", + format: "int64", + }, + azureAppServiceTop99p: { + baseName: "azure_app_service_top99p", + type: "number", + format: "int64", + }, + billableIngestedBytesSum: { + baseName: "billable_ingested_bytes_sum", + type: "number", + format: "int64", + }, + browserRumLiteSessionCountSum: { + baseName: "browser_rum_lite_session_count_sum", + type: "number", + format: "int64", + }, + browserRumReplaySessionCountSum: { + baseName: "browser_rum_replay_session_count_sum", + type: "number", + format: "int64", + }, + browserRumUnitsSum: { + baseName: "browser_rum_units_sum", + type: "number", + format: "int64", + }, + containerAvg: { + baseName: "container_avg", + type: "number", + format: "int64", + }, + containerHwm: { + baseName: "container_hwm", + type: "number", + format: "int64", + }, + cspmAasHostTop99p: { + baseName: "cspm_aas_host_top99p", + type: "number", + format: "int64", + }, + cspmAzureHostTop99p: { + baseName: "cspm_azure_host_top99p", + type: "number", + format: "int64", + }, + cspmContainerAvg: { + baseName: "cspm_container_avg", + type: "number", + format: "int64", + }, + cspmContainerHwm: { + baseName: "cspm_container_hwm", + type: "number", + format: "int64", + }, + cspmHostTop99p: { + baseName: "cspm_host_top99p", + type: "number", + format: "int64", + }, + customTsAvg: { + baseName: "custom_ts_avg", + type: "number", + format: "int64", + }, + cwsContainerCountAvg: { + baseName: "cws_container_count_avg", + type: "number", + format: "int64", + }, + cwsHostTop99p: { + baseName: "cws_host_top99p", + type: "number", + format: "int64", + }, + date: { + baseName: "date", + type: "Date", + format: "date-time", + }, + dbmHostTop99p: { + baseName: "dbm_host_top99p", + type: "number", + format: "int64", + }, + dbmQueriesCountAvg: { + baseName: "dbm_queries_count_avg", + type: "number", + format: "int64", + }, + fargateTasksCountAvg: { + baseName: "fargate_tasks_count_avg", + type: "number", + format: "int64", + }, + fargateTasksCountHwm: { + baseName: "fargate_tasks_count_hwm", + type: "number", + format: "int64", + }, + gcpHostTop99p: { + baseName: "gcp_host_top99p", + type: "number", + format: "int64", + }, + herokuHostTop99p: { + baseName: "heroku_host_top99p", + type: "number", + format: "int64", + }, + incidentManagementMonthlyActiveUsersHwm: { + baseName: "incident_management_monthly_active_users_hwm", + type: "number", + format: "int64", + }, + indexedEventsCountSum: { + baseName: "indexed_events_count_sum", + type: "number", + format: "int64", + }, + infraHostTop99p: { + baseName: "infra_host_top99p", + type: "number", + format: "int64", + }, + ingestedEventsBytesSum: { + baseName: "ingested_events_bytes_sum", + type: "number", + format: "int64", + }, + iotDeviceSum: { + baseName: "iot_device_sum", + type: "number", + format: "int64", + }, + iotDeviceTop99p: { + baseName: "iot_device_top99p", + type: "number", + format: "int64", + }, + mobileRumLiteSessionCountSum: { + baseName: "mobile_rum_lite_session_count_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountAndroidSum: { + baseName: "mobile_rum_session_count_android_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountIosSum: { + baseName: "mobile_rum_session_count_ios_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountSum: { + baseName: "mobile_rum_session_count_sum", + type: "number", + format: "int64", + }, + mobileRumUnitsSum: { + baseName: "mobile_rum_units_sum", + type: "number", + format: "int64", + }, + netflowIndexedEventsCountSum: { + baseName: "netflow_indexed_events_count_sum", + type: "number", + format: "int64", + }, + npmHostTop99p: { + baseName: "npm_host_top99p", + type: "number", + format: "int64", + }, + opentelemetryHostTop99p: { + baseName: "opentelemetry_host_top99p", + type: "number", + format: "int64", + }, + orgs: { + baseName: "orgs", + type: "Array", + }, + profilingHostTop99p: { + baseName: "profiling_host_top99p", + type: "number", + format: "int64", + }, + rumBrowserAndMobileSessionCount: { + baseName: "rum_browser_and_mobile_session_count", + type: "number", + format: "int64", + }, + rumSessionCountSum: { + baseName: "rum_session_count_sum", + type: "number", + format: "int64", + }, + rumTotalSessionCountSum: { + baseName: "rum_total_session_count_sum", + type: "number", + format: "int64", + }, + rumUnitsSum: { + baseName: "rum_units_sum", + type: "number", + format: "int64", + }, + sdsLogsScannedBytesSum: { + baseName: "sds_logs_scanned_bytes_sum", + type: "number", + format: "int64", + }, + sdsTotalScannedBytesSum: { + baseName: "sds_total_scanned_bytes_sum", + type: "number", + format: "int64", + }, + syntheticsBrowserCheckCallsCountSum: { + baseName: "synthetics_browser_check_calls_count_sum", + type: "number", + format: "int64", + }, + syntheticsCheckCallsCountSum: { + baseName: "synthetics_check_calls_count_sum", + type: "number", + format: "int64", + }, + traceSearchIndexedEventsCountSum: { + baseName: "trace_search_indexed_events_count_sum", + type: "number", + format: "int64", + }, + twolIngestedEventsBytesSum: { + baseName: "twol_ingested_events_bytes_sum", + type: "number", + format: "int64", + }, + vsphereHostTop99p: { + baseName: "vsphere_host_top99p", + type: "number", + format: "int64", + }, + }; + return UsageSummaryDate; +}()); +exports.UsageSummaryDate = UsageSummaryDate; +//# sourceMappingURL=UsageSummaryDate.js.map + +/***/ }), + +/***/ 31308: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSummaryDateOrg = void 0; +/** + * Global hourly report of all data billed by Datadog for a given organization. + */ +var UsageSummaryDateOrg = /** @class */ (function () { + function UsageSummaryDateOrg() { + } + /** + * @ignore + */ + UsageSummaryDateOrg.getAttributeTypeMap = function () { + return UsageSummaryDateOrg.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSummaryDateOrg.attributeTypeMap = { + agentHostTop99p: { + baseName: "agent_host_top99p", + type: "number", + format: "int64", + }, + apmAzureAppServiceHostTop99p: { + baseName: "apm_azure_app_service_host_top99p", + type: "number", + format: "int64", + }, + apmHostTop99p: { + baseName: "apm_host_top99p", + type: "number", + format: "int64", + }, + auditLogsLinesIndexedSum: { + baseName: "audit_logs_lines_indexed_sum", + type: "number", + format: "int64", + }, + avgProfiledFargateTasks: { + baseName: "avg_profiled_fargate_tasks", + type: "number", + format: "int64", + }, + awsHostTop99p: { + baseName: "aws_host_top99p", + type: "number", + format: "int64", + }, + awsLambdaFuncCount: { + baseName: "aws_lambda_func_count", + type: "number", + format: "int64", + }, + awsLambdaInvocationsSum: { + baseName: "aws_lambda_invocations_sum", + type: "number", + format: "int64", + }, + azureAppServiceTop99p: { + baseName: "azure_app_service_top99p", + type: "number", + format: "int64", + }, + billableIngestedBytesSum: { + baseName: "billable_ingested_bytes_sum", + type: "number", + format: "int64", + }, + browserRumLiteSessionCountSum: { + baseName: "browser_rum_lite_session_count_sum", + type: "number", + format: "int64", + }, + browserRumReplaySessionCountSum: { + baseName: "browser_rum_replay_session_count_sum", + type: "number", + format: "int64", + }, + browserRumUnitsSum: { + baseName: "browser_rum_units_sum", + type: "number", + format: "int64", + }, + containerAvg: { + baseName: "container_avg", + type: "number", + format: "int64", + }, + containerHwm: { + baseName: "container_hwm", + type: "number", + format: "int64", + }, + cspmAasHostTop99p: { + baseName: "cspm_aas_host_top99p", + type: "number", + format: "int64", + }, + cspmAzureHostTop99p: { + baseName: "cspm_azure_host_top99p", + type: "number", + format: "int64", + }, + cspmContainerAvg: { + baseName: "cspm_container_avg", + type: "number", + format: "int64", + }, + cspmContainerHwm: { + baseName: "cspm_container_hwm", + type: "number", + format: "int64", + }, + cspmHostTop99p: { + baseName: "cspm_host_top99p", + type: "number", + format: "int64", + }, + customTsAvg: { + baseName: "custom_ts_avg", + type: "number", + format: "int64", + }, + cwsContainerCountAvg: { + baseName: "cws_container_count_avg", + type: "number", + format: "int64", + }, + cwsHostTop99p: { + baseName: "cws_host_top99p", + type: "number", + format: "int64", + }, + dbmHostTop99pSum: { + baseName: "dbm_host_top99p_sum", + type: "number", + format: "int64", + }, + dbmQueriesAvgSum: { + baseName: "dbm_queries_avg_sum", + type: "number", + format: "int64", + }, + fargateTasksCountAvg: { + baseName: "fargate_tasks_count_avg", + type: "number", + format: "int64", + }, + fargateTasksCountHwm: { + baseName: "fargate_tasks_count_hwm", + type: "number", + format: "int64", + }, + gcpHostTop99p: { + baseName: "gcp_host_top99p", + type: "number", + format: "int64", + }, + herokuHostTop99p: { + baseName: "heroku_host_top99p", + type: "number", + format: "int64", + }, + id: { + baseName: "id", + type: "string", + }, + incidentManagementMonthlyActiveUsersHwm: { + baseName: "incident_management_monthly_active_users_hwm", + type: "number", + format: "int64", + }, + indexedEventsCountSum: { + baseName: "indexed_events_count_sum", + type: "number", + format: "int64", + }, + infraHostTop99p: { + baseName: "infra_host_top99p", + type: "number", + format: "int64", + }, + ingestedEventsBytesSum: { + baseName: "ingested_events_bytes_sum", + type: "number", + format: "int64", + }, + iotDeviceAggSum: { + baseName: "iot_device_agg_sum", + type: "number", + format: "int64", + }, + iotDeviceTop99pSum: { + baseName: "iot_device_top99p_sum", + type: "number", + format: "int64", + }, + mobileRumLiteSessionCountSum: { + baseName: "mobile_rum_lite_session_count_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountAndroidSum: { + baseName: "mobile_rum_session_count_android_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountIosSum: { + baseName: "mobile_rum_session_count_ios_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountSum: { + baseName: "mobile_rum_session_count_sum", + type: "number", + format: "int64", + }, + mobileRumUnitsSum: { + baseName: "mobile_rum_units_sum", + type: "number", + format: "int64", + }, + name: { + baseName: "name", + type: "string", + }, + netflowIndexedEventsCountSum: { + baseName: "netflow_indexed_events_count_sum", + type: "number", + format: "int64", + }, + npmHostTop99p: { + baseName: "npm_host_top99p", + type: "number", + format: "int64", + }, + opentelemetryHostTop99p: { + baseName: "opentelemetry_host_top99p", + type: "number", + format: "int64", + }, + profilingHostTop99p: { + baseName: "profiling_host_top99p", + type: "number", + format: "int64", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + rumBrowserAndMobileSessionCount: { + baseName: "rum_browser_and_mobile_session_count", + type: "number", + format: "int64", + }, + rumSessionCountSum: { + baseName: "rum_session_count_sum", + type: "number", + format: "int64", + }, + rumTotalSessionCountSum: { + baseName: "rum_total_session_count_sum", + type: "number", + format: "int64", + }, + rumUnitsSum: { + baseName: "rum_units_sum", + type: "number", + format: "int64", + }, + sdsLogsScannedBytesSum: { + baseName: "sds_logs_scanned_bytes_sum", + type: "number", + format: "int64", + }, + sdsTotalScannedBytesSum: { + baseName: "sds_total_scanned_bytes_sum", + type: "number", + format: "int64", + }, + syntheticsBrowserCheckCallsCountSum: { + baseName: "synthetics_browser_check_calls_count_sum", + type: "number", + format: "int64", + }, + syntheticsCheckCallsCountSum: { + baseName: "synthetics_check_calls_count_sum", + type: "number", + format: "int64", + }, + traceSearchIndexedEventsCountSum: { + baseName: "trace_search_indexed_events_count_sum", + type: "number", + format: "int64", + }, + twolIngestedEventsBytesSum: { + baseName: "twol_ingested_events_bytes_sum", + type: "number", + format: "int64", + }, + vsphereHostTop99p: { + baseName: "vsphere_host_top99p", + type: "number", + format: "int64", + }, + }; + return UsageSummaryDateOrg; +}()); +exports.UsageSummaryDateOrg = UsageSummaryDateOrg; +//# sourceMappingURL=UsageSummaryDateOrg.js.map + +/***/ }), + +/***/ 61378: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSummaryResponse = void 0; +/** + * Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization. + */ +var UsageSummaryResponse = /** @class */ (function () { + function UsageSummaryResponse() { + } + /** + * @ignore + */ + UsageSummaryResponse.getAttributeTypeMap = function () { + return UsageSummaryResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSummaryResponse.attributeTypeMap = { + agentHostTop99pSum: { + baseName: "agent_host_top99p_sum", + type: "number", + format: "int64", + }, + apmAzureAppServiceHostTop99pSum: { + baseName: "apm_azure_app_service_host_top99p_sum", + type: "number", + format: "int64", + }, + apmHostTop99pSum: { + baseName: "apm_host_top99p_sum", + type: "number", + format: "int64", + }, + auditLogsLinesIndexedAggSum: { + baseName: "audit_logs_lines_indexed_agg_sum", + type: "number", + format: "int64", + }, + avgProfiledFargateTasksSum: { + baseName: "avg_profiled_fargate_tasks_sum", + type: "number", + format: "int64", + }, + awsHostTop99pSum: { + baseName: "aws_host_top99p_sum", + type: "number", + format: "int64", + }, + awsLambdaFuncCount: { + baseName: "aws_lambda_func_count", + type: "number", + format: "int64", + }, + awsLambdaInvocationsSum: { + baseName: "aws_lambda_invocations_sum", + type: "number", + format: "int64", + }, + azureAppServiceTop99pSum: { + baseName: "azure_app_service_top99p_sum", + type: "number", + format: "int64", + }, + azureHostTop99pSum: { + baseName: "azure_host_top99p_sum", + type: "number", + format: "int64", + }, + billableIngestedBytesAggSum: { + baseName: "billable_ingested_bytes_agg_sum", + type: "number", + format: "int64", + }, + browserRumLiteSessionCountAggSum: { + baseName: "browser_rum_lite_session_count_agg_sum", + type: "number", + format: "int64", + }, + browserRumReplaySessionCountAggSum: { + baseName: "browser_rum_replay_session_count_agg_sum", + type: "number", + format: "int64", + }, + browserRumUnitsAggSum: { + baseName: "browser_rum_units_agg_sum", + type: "number", + format: "int64", + }, + containerAvgSum: { + baseName: "container_avg_sum", + type: "number", + format: "int64", + }, + containerHwmSum: { + baseName: "container_hwm_sum", + type: "number", + format: "int64", + }, + cspmAasHostTop99pSum: { + baseName: "cspm_aas_host_top99p_sum", + type: "number", + format: "int64", + }, + cspmAzureHostTop99pSum: { + baseName: "cspm_azure_host_top99p_sum", + type: "number", + format: "int64", + }, + cspmContainerAvgSum: { + baseName: "cspm_container_avg_sum", + type: "number", + format: "int64", + }, + cspmContainerHwmSum: { + baseName: "cspm_container_hwm_sum", + type: "number", + format: "int64", + }, + cspmHostTop99pSum: { + baseName: "cspm_host_top99p_sum", + type: "number", + format: "int64", + }, + customTsSum: { + baseName: "custom_ts_sum", + type: "number", + format: "int64", + }, + cwsContainersAvgSum: { + baseName: "cws_containers_avg_sum", + type: "number", + format: "int64", + }, + cwsHostTop99pSum: { + baseName: "cws_host_top99p_sum", + type: "number", + format: "int64", + }, + dbmHostTop99pSum: { + baseName: "dbm_host_top99p_sum", + type: "number", + format: "int64", + }, + dbmQueriesAvgSum: { + baseName: "dbm_queries_avg_sum", + type: "number", + format: "int64", + }, + endDate: { + baseName: "end_date", + type: "Date", + format: "date-time", + }, + fargateTasksCountAvgSum: { + baseName: "fargate_tasks_count_avg_sum", + type: "number", + format: "int64", + }, + fargateTasksCountHwmSum: { + baseName: "fargate_tasks_count_hwm_sum", + type: "number", + format: "int64", + }, + gcpHostTop99pSum: { + baseName: "gcp_host_top99p_sum", + type: "number", + format: "int64", + }, + herokuHostTop99pSum: { + baseName: "heroku_host_top99p_sum", + type: "number", + format: "int64", + }, + incidentManagementMonthlyActiveUsersHwmSum: { + baseName: "incident_management_monthly_active_users_hwm_sum", + type: "number", + format: "int64", + }, + indexedEventsCountAggSum: { + baseName: "indexed_events_count_agg_sum", + type: "number", + format: "int64", + }, + infraHostTop99pSum: { + baseName: "infra_host_top99p_sum", + type: "number", + format: "int64", + }, + ingestedEventsBytesAggSum: { + baseName: "ingested_events_bytes_agg_sum", + type: "number", + format: "int64", + }, + iotDeviceAggSum: { + baseName: "iot_device_agg_sum", + type: "number", + format: "int64", + }, + iotDeviceTop99pSum: { + baseName: "iot_device_top99p_sum", + type: "number", + format: "int64", + }, + lastUpdated: { + baseName: "last_updated", + type: "Date", + format: "date-time", + }, + liveIndexedEventsAggSum: { + baseName: "live_indexed_events_agg_sum", + type: "number", + format: "int64", + }, + liveIngestedBytesAggSum: { + baseName: "live_ingested_bytes_agg_sum", + type: "number", + format: "int64", + }, + logsByRetention: { + baseName: "logs_by_retention", + type: "LogsByRetention", + }, + mobileRumLiteSessionCountAggSum: { + baseName: "mobile_rum_lite_session_count_agg_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountAggSum: { + baseName: "mobile_rum_session_count_agg_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountAndroidAggSum: { + baseName: "mobile_rum_session_count_android_agg_sum", + type: "number", + format: "int64", + }, + mobileRumSessionCountIosAggSum: { + baseName: "mobile_rum_session_count_ios_agg_sum", + type: "number", + format: "int64", + }, + mobileRumUnitsAggSum: { + baseName: "mobile_rum_units_agg_sum", + type: "number", + format: "int64", + }, + netflowIndexedEventsCountAggSum: { + baseName: "netflow_indexed_events_count_agg_sum", + type: "number", + format: "int64", + }, + npmHostTop99pSum: { + baseName: "npm_host_top99p_sum", + type: "number", + format: "int64", + }, + opentelemetryHostTop99pSum: { + baseName: "opentelemetry_host_top99p_sum", + type: "number", + format: "int64", + }, + profilingContainerAgentCountAvg: { + baseName: "profiling_container_agent_count_avg", + type: "number", + format: "int64", + }, + profilingHostCountTop99pSum: { + baseName: "profiling_host_count_top99p_sum", + type: "number", + format: "int64", + }, + rehydratedIndexedEventsAggSum: { + baseName: "rehydrated_indexed_events_agg_sum", + type: "number", + format: "int64", + }, + rehydratedIngestedBytesAggSum: { + baseName: "rehydrated_ingested_bytes_agg_sum", + type: "number", + format: "int64", + }, + rumBrowserAndMobileSessionCount: { + baseName: "rum_browser_and_mobile_session_count", + type: "number", + format: "int64", + }, + rumSessionCountAggSum: { + baseName: "rum_session_count_agg_sum", + type: "number", + format: "int64", + }, + rumTotalSessionCountAggSum: { + baseName: "rum_total_session_count_agg_sum", + type: "number", + format: "int64", + }, + rumUnitsAggSum: { + baseName: "rum_units_agg_sum", + type: "number", + format: "int64", + }, + sdsLogsScannedBytesSum: { + baseName: "sds_logs_scanned_bytes_sum", + type: "number", + format: "int64", + }, + sdsTotalScannedBytesSum: { + baseName: "sds_total_scanned_bytes_sum", + type: "number", + format: "int64", + }, + startDate: { + baseName: "start_date", + type: "Date", + format: "date-time", + }, + syntheticsBrowserCheckCallsCountAggSum: { + baseName: "synthetics_browser_check_calls_count_agg_sum", + type: "number", + format: "int64", + }, + syntheticsCheckCallsCountAggSum: { + baseName: "synthetics_check_calls_count_agg_sum", + type: "number", + format: "int64", + }, + traceSearchIndexedEventsCountAggSum: { + baseName: "trace_search_indexed_events_count_agg_sum", + type: "number", + format: "int64", + }, + twolIngestedEventsBytesAggSum: { + baseName: "twol_ingested_events_bytes_agg_sum", + type: "number", + format: "int64", + }, + usage: { + baseName: "usage", + type: "Array", + }, + vsphereHostTop99pSum: { + baseName: "vsphere_host_top99p_sum", + type: "number", + format: "int64", + }, + }; + return UsageSummaryResponse; +}()); +exports.UsageSummaryResponse = UsageSummaryResponse; +//# sourceMappingURL=UsageSummaryResponse.js.map + +/***/ }), + +/***/ 80931: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsAPIHour = void 0; +/** + * Number of Synthetics API tests run for each hour for a given organization. + */ +var UsageSyntheticsAPIHour = /** @class */ (function () { + function UsageSyntheticsAPIHour() { + } + /** + * @ignore + */ + UsageSyntheticsAPIHour.getAttributeTypeMap = function () { + return UsageSyntheticsAPIHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsAPIHour.attributeTypeMap = { + checkCallsCount: { + baseName: "check_calls_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageSyntheticsAPIHour; +}()); +exports.UsageSyntheticsAPIHour = UsageSyntheticsAPIHour; +//# sourceMappingURL=UsageSyntheticsAPIHour.js.map + +/***/ }), + +/***/ 36143: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsAPIResponse = void 0; +/** + * Response containing the number of Synthetics API tests run for each hour for a given organization. + */ +var UsageSyntheticsAPIResponse = /** @class */ (function () { + function UsageSyntheticsAPIResponse() { + } + /** + * @ignore + */ + UsageSyntheticsAPIResponse.getAttributeTypeMap = function () { + return UsageSyntheticsAPIResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsAPIResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageSyntheticsAPIResponse; +}()); +exports.UsageSyntheticsAPIResponse = UsageSyntheticsAPIResponse; +//# sourceMappingURL=UsageSyntheticsAPIResponse.js.map + +/***/ }), + +/***/ 68362: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsBrowserHour = void 0; +/** + * Number of Synthetics Browser tests run for each hour for a given organization. + */ +var UsageSyntheticsBrowserHour = /** @class */ (function () { + function UsageSyntheticsBrowserHour() { + } + /** + * @ignore + */ + UsageSyntheticsBrowserHour.getAttributeTypeMap = function () { + return UsageSyntheticsBrowserHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsBrowserHour.attributeTypeMap = { + browserCheckCallsCount: { + baseName: "browser_check_calls_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageSyntheticsBrowserHour; +}()); +exports.UsageSyntheticsBrowserHour = UsageSyntheticsBrowserHour; +//# sourceMappingURL=UsageSyntheticsBrowserHour.js.map + +/***/ }), + +/***/ 95322: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsBrowserResponse = void 0; +/** + * Response containing the number of Synthetics Browser tests run for each hour for a given organization. + */ +var UsageSyntheticsBrowserResponse = /** @class */ (function () { + function UsageSyntheticsBrowserResponse() { + } + /** + * @ignore + */ + UsageSyntheticsBrowserResponse.getAttributeTypeMap = function () { + return UsageSyntheticsBrowserResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsBrowserResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageSyntheticsBrowserResponse; +}()); +exports.UsageSyntheticsBrowserResponse = UsageSyntheticsBrowserResponse; +//# sourceMappingURL=UsageSyntheticsBrowserResponse.js.map + +/***/ }), + +/***/ 60809: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsHour = void 0; +/** + * The number of synthetics tests run for each hour for a given organization. + */ +var UsageSyntheticsHour = /** @class */ (function () { + function UsageSyntheticsHour() { + } + /** + * @ignore + */ + UsageSyntheticsHour.getAttributeTypeMap = function () { + return UsageSyntheticsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsHour.attributeTypeMap = { + checkCallsCount: { + baseName: "check_calls_count", + type: "number", + format: "int64", + }, + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageSyntheticsHour; +}()); +exports.UsageSyntheticsHour = UsageSyntheticsHour; +//# sourceMappingURL=UsageSyntheticsHour.js.map + +/***/ }), + +/***/ 46862: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageSyntheticsResponse = void 0; +/** + * Response containing the number of Synthetics API tests run for each hour for a given organization. + */ +var UsageSyntheticsResponse = /** @class */ (function () { + function UsageSyntheticsResponse() { + } + /** + * @ignore + */ + UsageSyntheticsResponse.getAttributeTypeMap = function () { + return UsageSyntheticsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageSyntheticsResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageSyntheticsResponse; +}()); +exports.UsageSyntheticsResponse = UsageSyntheticsResponse; +//# sourceMappingURL=UsageSyntheticsResponse.js.map + +/***/ }), + +/***/ 4062: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageTimeseriesHour = void 0; +/** + * The hourly usage of timeseries. + */ +var UsageTimeseriesHour = /** @class */ (function () { + function UsageTimeseriesHour() { + } + /** + * @ignore + */ + UsageTimeseriesHour.getAttributeTypeMap = function () { + return UsageTimeseriesHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageTimeseriesHour.attributeTypeMap = { + hour: { + baseName: "hour", + type: "Date", + format: "date-time", + }, + numCustomInputTimeseries: { + baseName: "num_custom_input_timeseries", + type: "number", + format: "int64", + }, + numCustomOutputTimeseries: { + baseName: "num_custom_output_timeseries", + type: "number", + format: "int64", + }, + numCustomTimeseries: { + baseName: "num_custom_timeseries", + type: "number", + format: "int64", + }, + orgName: { + baseName: "org_name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + }; + return UsageTimeseriesHour; +}()); +exports.UsageTimeseriesHour = UsageTimeseriesHour; +//# sourceMappingURL=UsageTimeseriesHour.js.map + +/***/ }), + +/***/ 2516: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageTimeseriesResponse = void 0; +/** + * Response containing hourly usage of timeseries. + */ +var UsageTimeseriesResponse = /** @class */ (function () { + function UsageTimeseriesResponse() { + } + /** + * @ignore + */ + UsageTimeseriesResponse.getAttributeTypeMap = function () { + return UsageTimeseriesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageTimeseriesResponse.attributeTypeMap = { + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageTimeseriesResponse; +}()); +exports.UsageTimeseriesResponse = UsageTimeseriesResponse; +//# sourceMappingURL=UsageTimeseriesResponse.js.map + +/***/ }), + +/***/ 62000: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageTopAvgMetricsHour = void 0; +/** + * Number of hourly recorded custom metrics for a given organization. + */ +var UsageTopAvgMetricsHour = /** @class */ (function () { + function UsageTopAvgMetricsHour() { + } + /** + * @ignore + */ + UsageTopAvgMetricsHour.getAttributeTypeMap = function () { + return UsageTopAvgMetricsHour.attributeTypeMap; + }; + /** + * @ignore + */ + UsageTopAvgMetricsHour.attributeTypeMap = { + avgMetricHour: { + baseName: "avg_metric_hour", + type: "number", + format: "int64", + }, + maxMetricHour: { + baseName: "max_metric_hour", + type: "number", + format: "int64", + }, + metricCategory: { + baseName: "metric_category", + type: "UsageMetricCategory", + }, + metricName: { + baseName: "metric_name", + type: "string", + }, + }; + return UsageTopAvgMetricsHour; +}()); +exports.UsageTopAvgMetricsHour = UsageTopAvgMetricsHour; +//# sourceMappingURL=UsageTopAvgMetricsHour.js.map + +/***/ }), + +/***/ 57758: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageTopAvgMetricsMetadata = void 0; +/** + * The object containing document metadata. + */ +var UsageTopAvgMetricsMetadata = /** @class */ (function () { + function UsageTopAvgMetricsMetadata() { + } + /** + * @ignore + */ + UsageTopAvgMetricsMetadata.getAttributeTypeMap = function () { + return UsageTopAvgMetricsMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + UsageTopAvgMetricsMetadata.attributeTypeMap = { + day: { + baseName: "day", + type: "Date", + format: "date-time", + }, + month: { + baseName: "month", + type: "Date", + format: "date-time", + }, + pagination: { + baseName: "pagination", + type: "UsageAttributionPagination", + }, + }; + return UsageTopAvgMetricsMetadata; +}()); +exports.UsageTopAvgMetricsMetadata = UsageTopAvgMetricsMetadata; +//# sourceMappingURL=UsageTopAvgMetricsMetadata.js.map + +/***/ }), + +/***/ 5587: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsageTopAvgMetricsResponse = void 0; +/** + * Response containing the number of hourly recorded custom metrics for a given organization. + */ +var UsageTopAvgMetricsResponse = /** @class */ (function () { + function UsageTopAvgMetricsResponse() { + } + /** + * @ignore + */ + UsageTopAvgMetricsResponse.getAttributeTypeMap = function () { + return UsageTopAvgMetricsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsageTopAvgMetricsResponse.attributeTypeMap = { + metadata: { + baseName: "metadata", + type: "UsageTopAvgMetricsMetadata", + }, + usage: { + baseName: "usage", + type: "Array", + }, + }; + return UsageTopAvgMetricsResponse; +}()); +exports.UsageTopAvgMetricsResponse = UsageTopAvgMetricsResponse; +//# sourceMappingURL=UsageTopAvgMetricsResponse.js.map + +/***/ }), + +/***/ 65582: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.User = void 0; +/** + * Create, edit, and disable users. + */ +var User = /** @class */ (function () { + function User() { + } + /** + * @ignore + */ + User.getAttributeTypeMap = function () { + return User.attributeTypeMap; + }; + /** + * @ignore + */ + User.attributeTypeMap = { + accessRole: { + baseName: "access_role", + type: "AccessRole", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + email: { + baseName: "email", + type: "string", + format: "email", + }, + handle: { + baseName: "handle", + type: "string", + format: "email", + }, + icon: { + baseName: "icon", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + verified: { + baseName: "verified", + type: "boolean", + }, + }; + return User; +}()); +exports.User = User; +//# sourceMappingURL=User.js.map + +/***/ }), + +/***/ 97395: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserDisableResponse = void 0; +/** + * Array of user disabled for a given organization. + */ +var UserDisableResponse = /** @class */ (function () { + function UserDisableResponse() { + } + /** + * @ignore + */ + UserDisableResponse.getAttributeTypeMap = function () { + return UserDisableResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserDisableResponse.attributeTypeMap = { + message: { + baseName: "message", + type: "string", + }, + }; + return UserDisableResponse; +}()); +exports.UserDisableResponse = UserDisableResponse; +//# sourceMappingURL=UserDisableResponse.js.map + +/***/ }), + +/***/ 56284: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserListResponse = void 0; +/** + * Array of Datadog users for a given organization. + */ +var UserListResponse = /** @class */ (function () { + function UserListResponse() { + } + /** + * @ignore + */ + UserListResponse.getAttributeTypeMap = function () { + return UserListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserListResponse.attributeTypeMap = { + users: { + baseName: "users", + type: "Array", + }, + }; + return UserListResponse; +}()); +exports.UserListResponse = UserListResponse; +//# sourceMappingURL=UserListResponse.js.map + +/***/ }), + +/***/ 73865: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserResponse = void 0; +/** + * A Datadog User. + */ +var UserResponse = /** @class */ (function () { + function UserResponse() { + } + /** + * @ignore + */ + UserResponse.getAttributeTypeMap = function () { + return UserResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserResponse.attributeTypeMap = { + user: { + baseName: "user", + type: "User", + }, + }; + return UserResponse; +}()); +exports.UserResponse = UserResponse; +//# sourceMappingURL=UserResponse.js.map + +/***/ }), + +/***/ 54773: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegration = void 0; +/** + * Datadog-Webhooks integration. + */ +var WebhooksIntegration = /** @class */ (function () { + function WebhooksIntegration() { + } + /** + * @ignore + */ + WebhooksIntegration.getAttributeTypeMap = function () { + return WebhooksIntegration.attributeTypeMap; + }; + /** + * @ignore + */ + WebhooksIntegration.attributeTypeMap = { + customHeaders: { + baseName: "custom_headers", + type: "string", + }, + encodeAs: { + baseName: "encode_as", + type: "WebhooksIntegrationEncoding", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + payload: { + baseName: "payload", + type: "string", + }, + url: { + baseName: "url", + type: "string", + required: true, + }, + }; + return WebhooksIntegration; +}()); +exports.WebhooksIntegration = WebhooksIntegration; +//# sourceMappingURL=WebhooksIntegration.js.map + +/***/ }), + +/***/ 67832: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegrationCustomVariable = void 0; +/** + * Custom variable for Webhook integration. + */ +var WebhooksIntegrationCustomVariable = /** @class */ (function () { + function WebhooksIntegrationCustomVariable() { + } + /** + * @ignore + */ + WebhooksIntegrationCustomVariable.getAttributeTypeMap = function () { + return WebhooksIntegrationCustomVariable.attributeTypeMap; + }; + /** + * @ignore + */ + WebhooksIntegrationCustomVariable.attributeTypeMap = { + isSecret: { + baseName: "is_secret", + type: "boolean", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + value: { + baseName: "value", + type: "string", + required: true, + }, + }; + return WebhooksIntegrationCustomVariable; +}()); +exports.WebhooksIntegrationCustomVariable = WebhooksIntegrationCustomVariable; +//# sourceMappingURL=WebhooksIntegrationCustomVariable.js.map + +/***/ }), + +/***/ 25545: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegrationCustomVariableResponse = void 0; +/** + * Custom variable for Webhook integration. + */ +var WebhooksIntegrationCustomVariableResponse = /** @class */ (function () { + function WebhooksIntegrationCustomVariableResponse() { + } + /** + * @ignore + */ + WebhooksIntegrationCustomVariableResponse.getAttributeTypeMap = function () { + return WebhooksIntegrationCustomVariableResponse.attributeTypeMap; + }; + /** + * @ignore + */ + WebhooksIntegrationCustomVariableResponse.attributeTypeMap = { + isSecret: { + baseName: "is_secret", + type: "boolean", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + value: { + baseName: "value", + type: "string", + }, + }; + return WebhooksIntegrationCustomVariableResponse; +}()); +exports.WebhooksIntegrationCustomVariableResponse = WebhooksIntegrationCustomVariableResponse; +//# sourceMappingURL=WebhooksIntegrationCustomVariableResponse.js.map + +/***/ }), + +/***/ 66363: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegrationCustomVariableUpdateRequest = void 0; +/** + * Update request of a custom variable object. *All properties are optional.* + */ +var WebhooksIntegrationCustomVariableUpdateRequest = /** @class */ (function () { + function WebhooksIntegrationCustomVariableUpdateRequest() { + } + /** + * @ignore + */ + WebhooksIntegrationCustomVariableUpdateRequest.getAttributeTypeMap = function () { + return WebhooksIntegrationCustomVariableUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + WebhooksIntegrationCustomVariableUpdateRequest.attributeTypeMap = { + isSecret: { + baseName: "is_secret", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + value: { + baseName: "value", + type: "string", + }, + }; + return WebhooksIntegrationCustomVariableUpdateRequest; +}()); +exports.WebhooksIntegrationCustomVariableUpdateRequest = WebhooksIntegrationCustomVariableUpdateRequest; +//# sourceMappingURL=WebhooksIntegrationCustomVariableUpdateRequest.js.map + +/***/ }), + +/***/ 86321: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WebhooksIntegrationUpdateRequest = void 0; +/** + * Update request of a Webhooks integration object. *All properties are optional.* + */ +var WebhooksIntegrationUpdateRequest = /** @class */ (function () { + function WebhooksIntegrationUpdateRequest() { + } + /** + * @ignore + */ + WebhooksIntegrationUpdateRequest.getAttributeTypeMap = function () { + return WebhooksIntegrationUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + WebhooksIntegrationUpdateRequest.attributeTypeMap = { + customHeaders: { + baseName: "custom_headers", + type: "string", + }, + encodeAs: { + baseName: "encode_as", + type: "WebhooksIntegrationEncoding", + }, + name: { + baseName: "name", + type: "string", + }, + payload: { + baseName: "payload", + type: "string", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return WebhooksIntegrationUpdateRequest; +}()); +exports.WebhooksIntegrationUpdateRequest = WebhooksIntegrationUpdateRequest; +//# sourceMappingURL=WebhooksIntegrationUpdateRequest.js.map + +/***/ }), + +/***/ 6000: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Widget = void 0; +/** + * Information about widget. **Note**: The `layout` property is required for widgets in dashboards with `free` `layout_type`. For the **new dashboard layout**, the `layout` property depends on the `reflow_type` of the dashboard. - If `reflow_type` is `fixed`, `layout` is required. - If `reflow_type` is `auto`, `layout` should not be set. + */ +var Widget = /** @class */ (function () { + function Widget() { + } + /** + * @ignore + */ + Widget.getAttributeTypeMap = function () { + return Widget.attributeTypeMap; + }; + /** + * @ignore + */ + Widget.attributeTypeMap = { + definition: { + baseName: "definition", + type: "WidgetDefinition", + required: true, + }, + id: { + baseName: "id", + type: "number", + format: "int64", + }, + layout: { + baseName: "layout", + type: "WidgetLayout", + }, + }; + return Widget; +}()); +exports.Widget = Widget; +//# sourceMappingURL=Widget.js.map + +/***/ }), + +/***/ 36356: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetAxis = void 0; +/** + * Axis controls for the widget. + */ +var WidgetAxis = /** @class */ (function () { + function WidgetAxis() { + } + /** + * @ignore + */ + WidgetAxis.getAttributeTypeMap = function () { + return WidgetAxis.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetAxis.attributeTypeMap = { + includeZero: { + baseName: "include_zero", + type: "boolean", + }, + label: { + baseName: "label", + type: "string", + }, + max: { + baseName: "max", + type: "string", + }, + min: { + baseName: "min", + type: "string", + }, + scale: { + baseName: "scale", + type: "string", + }, + }; + return WidgetAxis; +}()); +exports.WidgetAxis = WidgetAxis; +//# sourceMappingURL=WidgetAxis.js.map + +/***/ }), + +/***/ 68824: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetConditionalFormat = void 0; +/** + * Define a conditional format for the widget. + */ +var WidgetConditionalFormat = /** @class */ (function () { + function WidgetConditionalFormat() { + } + /** + * @ignore + */ + WidgetConditionalFormat.getAttributeTypeMap = function () { + return WidgetConditionalFormat.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetConditionalFormat.attributeTypeMap = { + comparator: { + baseName: "comparator", + type: "WidgetComparator", + required: true, + }, + customBgColor: { + baseName: "custom_bg_color", + type: "string", + }, + customFgColor: { + baseName: "custom_fg_color", + type: "string", + }, + hideValue: { + baseName: "hide_value", + type: "boolean", + }, + imageUrl: { + baseName: "image_url", + type: "string", + }, + metric: { + baseName: "metric", + type: "string", + }, + palette: { + baseName: "palette", + type: "WidgetPalette", + required: true, + }, + timeframe: { + baseName: "timeframe", + type: "string", + }, + value: { + baseName: "value", + type: "number", + required: true, + format: "double", + }, + }; + return WidgetConditionalFormat; +}()); +exports.WidgetConditionalFormat = WidgetConditionalFormat; +//# sourceMappingURL=WidgetConditionalFormat.js.map + +/***/ }), + +/***/ 83892: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetCustomLink = void 0; +/** + * Custom links help you connect a data value to a URL, like a Datadog page or your AWS console. + */ +var WidgetCustomLink = /** @class */ (function () { + function WidgetCustomLink() { + } + /** + * @ignore + */ + WidgetCustomLink.getAttributeTypeMap = function () { + return WidgetCustomLink.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetCustomLink.attributeTypeMap = { + isHidden: { + baseName: "is_hidden", + type: "boolean", + }, + label: { + baseName: "label", + type: "string", + }, + link: { + baseName: "link", + type: "string", + }, + overrideLabel: { + baseName: "override_label", + type: "string", + }, + }; + return WidgetCustomLink; +}()); +exports.WidgetCustomLink = WidgetCustomLink; +//# sourceMappingURL=WidgetCustomLink.js.map + +/***/ }), + +/***/ 27093: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetEvent = void 0; +/** + * Event overlay control options. See the dedicated [Events JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/widget_json/#events-schema) to learn how to build the ``. + */ +var WidgetEvent = /** @class */ (function () { + function WidgetEvent() { + } + /** + * @ignore + */ + WidgetEvent.getAttributeTypeMap = function () { + return WidgetEvent.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetEvent.attributeTypeMap = { + q: { + baseName: "q", + type: "string", + required: true, + }, + tagsExecution: { + baseName: "tags_execution", + type: "string", + }, + }; + return WidgetEvent; +}()); +exports.WidgetEvent = WidgetEvent; +//# sourceMappingURL=WidgetEvent.js.map + +/***/ }), + +/***/ 95452: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetFieldSort = void 0; +/** + * Which column and order to sort by + */ +var WidgetFieldSort = /** @class */ (function () { + function WidgetFieldSort() { + } + /** + * @ignore + */ + WidgetFieldSort.getAttributeTypeMap = function () { + return WidgetFieldSort.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetFieldSort.attributeTypeMap = { + column: { + baseName: "column", + type: "string", + required: true, + }, + order: { + baseName: "order", + type: "WidgetSort", + required: true, + }, + }; + return WidgetFieldSort; +}()); +exports.WidgetFieldSort = WidgetFieldSort; +//# sourceMappingURL=WidgetFieldSort.js.map + +/***/ }), + +/***/ 96398: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetFormula = void 0; +/** + * Formula to be used in a widget query. + */ +var WidgetFormula = /** @class */ (function () { + function WidgetFormula() { + } + /** + * @ignore + */ + WidgetFormula.getAttributeTypeMap = function () { + return WidgetFormula.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetFormula.attributeTypeMap = { + alias: { + baseName: "alias", + type: "string", + }, + cellDisplayMode: { + baseName: "cell_display_mode", + type: "TableWidgetCellDisplayMode", + }, + conditionalFormats: { + baseName: "conditional_formats", + type: "Array", + }, + formula: { + baseName: "formula", + type: "string", + required: true, + }, + limit: { + baseName: "limit", + type: "WidgetFormulaLimit", + }, + }; + return WidgetFormula; +}()); +exports.WidgetFormula = WidgetFormula; +//# sourceMappingURL=WidgetFormula.js.map + +/***/ }), + +/***/ 16658: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetFormulaLimit = void 0; +/** + * Options for limiting results returned. + */ +var WidgetFormulaLimit = /** @class */ (function () { + function WidgetFormulaLimit() { + } + /** + * @ignore + */ + WidgetFormulaLimit.getAttributeTypeMap = function () { + return WidgetFormulaLimit.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetFormulaLimit.attributeTypeMap = { + count: { + baseName: "count", + type: "number", + format: "int64", + }, + order: { + baseName: "order", + type: "QuerySortOrder", + }, + }; + return WidgetFormulaLimit; +}()); +exports.WidgetFormulaLimit = WidgetFormulaLimit; +//# sourceMappingURL=WidgetFormulaLimit.js.map + +/***/ }), + +/***/ 29557: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetLayout = void 0; +/** + * The layout for a widget on a `free` or **new dashboard layout** dashboard. + */ +var WidgetLayout = /** @class */ (function () { + function WidgetLayout() { + } + /** + * @ignore + */ + WidgetLayout.getAttributeTypeMap = function () { + return WidgetLayout.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetLayout.attributeTypeMap = { + height: { + baseName: "height", + type: "number", + required: true, + format: "int64", + }, + isColumnBreak: { + baseName: "is_column_break", + type: "boolean", + }, + width: { + baseName: "width", + type: "number", + required: true, + format: "int64", + }, + x: { + baseName: "x", + type: "number", + required: true, + format: "int64", + }, + y: { + baseName: "y", + type: "number", + required: true, + format: "int64", + }, + }; + return WidgetLayout; +}()); +exports.WidgetLayout = WidgetLayout; +//# sourceMappingURL=WidgetLayout.js.map + +/***/ }), + +/***/ 35484: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetMarker = void 0; +/** + * Markers allow you to add visual conditional formatting for your graphs. + */ +var WidgetMarker = /** @class */ (function () { + function WidgetMarker() { + } + /** + * @ignore + */ + WidgetMarker.getAttributeTypeMap = function () { + return WidgetMarker.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetMarker.attributeTypeMap = { + displayType: { + baseName: "display_type", + type: "string", + }, + label: { + baseName: "label", + type: "string", + }, + time: { + baseName: "time", + type: "string", + }, + value: { + baseName: "value", + type: "string", + required: true, + }, + }; + return WidgetMarker; +}()); +exports.WidgetMarker = WidgetMarker; +//# sourceMappingURL=WidgetMarker.js.map + +/***/ }), + +/***/ 87457: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetRequestStyle = void 0; +/** + * Define request widget style. + */ +var WidgetRequestStyle = /** @class */ (function () { + function WidgetRequestStyle() { + } + /** + * @ignore + */ + WidgetRequestStyle.getAttributeTypeMap = function () { + return WidgetRequestStyle.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetRequestStyle.attributeTypeMap = { + lineType: { + baseName: "line_type", + type: "WidgetLineType", + }, + lineWidth: { + baseName: "line_width", + type: "WidgetLineWidth", + }, + palette: { + baseName: "palette", + type: "string", + }, + }; + return WidgetRequestStyle; +}()); +exports.WidgetRequestStyle = WidgetRequestStyle; +//# sourceMappingURL=WidgetRequestStyle.js.map + +/***/ }), + +/***/ 49795: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetStyle = void 0; +/** + * Widget style definition. + */ +var WidgetStyle = /** @class */ (function () { + function WidgetStyle() { + } + /** + * @ignore + */ + WidgetStyle.getAttributeTypeMap = function () { + return WidgetStyle.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetStyle.attributeTypeMap = { + palette: { + baseName: "palette", + type: "string", + }, + }; + return WidgetStyle; +}()); +exports.WidgetStyle = WidgetStyle; +//# sourceMappingURL=WidgetStyle.js.map + +/***/ }), + +/***/ 39079: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WidgetTime = void 0; +/** + * Time setting for the widget. + */ +var WidgetTime = /** @class */ (function () { + function WidgetTime() { + } + /** + * @ignore + */ + WidgetTime.getAttributeTypeMap = function () { + return WidgetTime.attributeTypeMap; + }; + /** + * @ignore + */ + WidgetTime.attributeTypeMap = { + liveSpan: { + baseName: "live_span", + type: "WidgetLiveSpan", + }, + }; + return WidgetTime; +}()); +exports.WidgetTime = WidgetTime; +//# sourceMappingURL=WidgetTime.js.map + +/***/ }), + +/***/ 54080: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.operationServers = exports.servers = exports.server3 = exports.server2 = exports.server1 = exports.ServerConfiguration = exports.BaseServerConfiguration = void 0; +var http_1 = __nccwpck_require__(96572); +/** + * + * Represents the configuration of a server + * + */ +var BaseServerConfiguration = /** @class */ (function () { + function BaseServerConfiguration(url, variableConfiguration) { + this.url = url; + this.variableConfiguration = variableConfiguration; + } + /** + * Sets the value of the variables of this server. + * + * @param variableConfiguration a partial variable configuration for the variables contained in the url + */ + BaseServerConfiguration.prototype.setVariables = function (variableConfiguration) { + Object.assign(this.variableConfiguration, variableConfiguration); + }; + BaseServerConfiguration.prototype.getConfiguration = function () { + return this.variableConfiguration; + }; + BaseServerConfiguration.prototype.getUrl = function () { + var replacedUrl = this.url; + for (var key in this.variableConfiguration) { + var re = new RegExp("{" + key + "}", "g"); + replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]); + } + return replacedUrl; + }; + /** + * Creates a new request context for this server using the url with variables + * replaced with their respective values and the endpoint of the request appended. + * + * @param endpoint the endpoint to be queried on the server + * @param httpMethod httpMethod to be used + * + */ + BaseServerConfiguration.prototype.makeRequestContext = function (endpoint, httpMethod) { + return new http_1.RequestContext(this.getUrl() + endpoint, httpMethod); + }; + return BaseServerConfiguration; +}()); +exports.BaseServerConfiguration = BaseServerConfiguration; +/** + * + * Represents the configuration of a server including its + * url template and variable configuration based on the url. + * + */ +var ServerConfiguration = /** @class */ (function (_super) { + __extends(ServerConfiguration, _super); + function ServerConfiguration() { + return _super !== null && _super.apply(this, arguments) || this; + } + return ServerConfiguration; +}(BaseServerConfiguration)); +exports.ServerConfiguration = ServerConfiguration; +exports.server1 = new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "api", +}); +exports.server2 = new ServerConfiguration("{protocol}://{name}", { + name: "api.datadoghq.com", + protocol: "https", +}); +exports.server3 = new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "api", +}); +exports.servers = [exports.server1, exports.server2, exports.server3]; +exports.operationServers = { + "IPRangesApi.getIPRanges": [ + new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "ip-ranges", + }), + new ServerConfiguration("{protocol}://{name}", { + name: "ip-ranges.datadoghq.com", + protocol: "https", + }), + new ServerConfiguration("https://{subdomain}.datadoghq.com", { + subdomain: "ip-ranges", + }), + ], + "LogsApi.submitLog": [ + new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "http-intake.logs", + }), + new ServerConfiguration("{protocol}://{name}", { + name: "http-intake.logs.datadoghq.com", + protocol: "https", + }), + new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "http-intake.logs", + }), + ], +}; +//# sourceMappingURL=servers.js.map + +/***/ }), + +/***/ 58107: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isCodeInRange = void 0; +/** + * Returns if a specific http code is in a given code range + * where the code range is defined as a combination of digits + * and "X" (the letter X) with a length of 3 + * + * @param codeRange string with length 3 consisting of digits and "X" (the letter X) + * @param code the http status code to be checked against the code range + */ +function isCodeInRange(codeRange, code) { + // This is how the default value is encoded in OAG + if (codeRange === "0") { + return true; + } + if (codeRange == code.toString()) { + return true; + } + else { + var codeString = code.toString(); + if (codeString.length != codeRange.length) { + return false; + } + for (var i = 0; i < codeString.length; i++) { + if (codeRange.charAt(i) != "X" && + codeRange.charAt(i) != codeString.charAt(i)) { + return false; + } + } + return true; + } +} +exports.isCodeInRange = isCodeInRange; +//# sourceMappingURL=util.js.map + +/***/ }), + +/***/ 36121: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingsApi = exports.AuthNMappingsApiResponseProcessor = exports.AuthNMappingsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var AuthNMappingsApiRequestFactory = /** @class */ (function (_super) { + __extends(AuthNMappingsApiRequestFactory, _super); + function AuthNMappingsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + AuthNMappingsApiRequestFactory.prototype.createAuthNMapping = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAuthNMapping."); + } + localVarPath = "/api/v2/authn_mappings"; + requestContext = (0, configuration_1.getServer)(_config, "AuthNMappingsApi.createAuthNMapping").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AuthNMappingCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AuthNMappingsApiRequestFactory.prototype.deleteAuthNMapping = function (authnMappingId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'authnMappingId' is not null or undefined + if (authnMappingId === null || authnMappingId === undefined) { + throw new baseapi_1.RequiredError("Required parameter authnMappingId was null or undefined when calling deleteAuthNMapping."); + } + localVarPath = "/api/v2/authn_mappings/{authn_mapping_id}".replace("{" + "authn_mapping_id" + "}", encodeURIComponent(String(authnMappingId))); + requestContext = (0, configuration_1.getServer)(_config, "AuthNMappingsApi.deleteAuthNMapping").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AuthNMappingsApiRequestFactory.prototype.getAuthNMapping = function (authnMappingId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'authnMappingId' is not null or undefined + if (authnMappingId === null || authnMappingId === undefined) { + throw new baseapi_1.RequiredError("Required parameter authnMappingId was null or undefined when calling getAuthNMapping."); + } + localVarPath = "/api/v2/authn_mappings/{authn_mapping_id}".replace("{" + "authn_mapping_id" + "}", encodeURIComponent(String(authnMappingId))); + requestContext = (0, configuration_1.getServer)(_config, "AuthNMappingsApi.getAuthNMapping").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AuthNMappingsApiRequestFactory.prototype.listAuthNMappings = function (pageSize, pageNumber, sort, include, filter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/authn_mappings"; + requestContext = (0, configuration_1.getServer)(_config, "AuthNMappingsApi.listAuthNMappings").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "AuthNMappingsSort", "")); + } + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + AuthNMappingsApiRequestFactory.prototype.updateAuthNMapping = function (authnMappingId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'authnMappingId' is not null or undefined + if (authnMappingId === null || authnMappingId === undefined) { + throw new baseapi_1.RequiredError("Required parameter authnMappingId was null or undefined when calling updateAuthNMapping."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAuthNMapping."); + } + localVarPath = "/api/v2/authn_mappings/{authn_mapping_id}".replace("{" + "authn_mapping_id" + "}", encodeURIComponent(String(authnMappingId))); + requestContext = (0, configuration_1.getServer)(_config, "AuthNMappingsApi.updateAuthNMapping").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "AuthNMappingUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return AuthNMappingsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.AuthNMappingsApiRequestFactory = AuthNMappingsApiRequestFactory; +var AuthNMappingsApiResponseProcessor = /** @class */ (function () { + function AuthNMappingsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAuthNMapping + * @throws ApiException if the response code was not in [200, 299] + */ + AuthNMappingsApiResponseProcessor.prototype.createAuthNMapping = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAuthNMapping + * @throws ApiException if the response code was not in [200, 299] + */ + AuthNMappingsApiResponseProcessor.prototype.deleteAuthNMapping = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_10]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAuthNMapping + * @throws ApiException if the response code was not in [200, 299] + */ + AuthNMappingsApiResponseProcessor.prototype.getAuthNMapping = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAuthNMappings + * @throws ApiException if the response code was not in [200, 299] + */ + AuthNMappingsApiResponseProcessor.prototype.listAuthNMappings = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "AuthNMappingsResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "AuthNMappingsResponse", + ""]); + return [2 /*return*/, body_19]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAuthNMapping + * @throws ApiException if the response code was not in [200, 299] + */ + AuthNMappingsApiResponseProcessor.prototype.updateAuthNMapping = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body_26, _0, _1, _2, _3, body_27, _4, _5, _6, _7, body; + return __generator(this, function (_8) { + switch (_8.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_8.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_23); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_24); + case 10: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_25 = _x.apply(_w, [_z.apply(_y, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_25); + case 12: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_26 = _1.apply(_0, [_3.apply(_2, [_8.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 14: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 16]; + _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize; + _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 15: + body_27 = _5.apply(_4, [_7.apply(_6, [_8.sent(), contentType]), + "AuthNMappingResponse", + ""]); + return [2 /*return*/, body_27]; + case 16: return [4 /*yield*/, response.body.text()]; + case 17: + body = (_8.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return AuthNMappingsApiResponseProcessor; +}()); +exports.AuthNMappingsApiResponseProcessor = AuthNMappingsApiResponseProcessor; +var AuthNMappingsApi = /** @class */ (function () { + function AuthNMappingsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new AuthNMappingsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new AuthNMappingsApiResponseProcessor(); + } + /** + * Create an AuthN Mapping. + * @param param The request object + */ + AuthNMappingsApi.prototype.createAuthNMapping = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAuthNMapping(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAuthNMapping(responseContext); + }); + }); + }; + /** + * Delete an AuthN Mapping specified by AuthN Mapping UUID. + * @param param The request object + */ + AuthNMappingsApi.prototype.deleteAuthNMapping = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAuthNMapping(param.authnMappingId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAuthNMapping(responseContext); + }); + }); + }; + /** + * Get an AuthN Mapping specified by the AuthN Mapping UUID. + * @param param The request object + */ + AuthNMappingsApi.prototype.getAuthNMapping = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAuthNMapping(param.authnMappingId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAuthNMapping(responseContext); + }); + }); + }; + /** + * List all AuthN Mappings in the org. + * @param param The request object + */ + AuthNMappingsApi.prototype.listAuthNMappings = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listAuthNMappings(param.pageSize, param.pageNumber, param.sort, param.include, param.filter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAuthNMappings(responseContext); + }); + }); + }; + /** + * Edit an AuthN Mapping. + * @param param The request object + */ + AuthNMappingsApi.prototype.updateAuthNMapping = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAuthNMapping(param.authnMappingId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAuthNMapping(responseContext); + }); + }); + }; + return AuthNMappingsApi; +}()); +exports.AuthNMappingsApi = AuthNMappingsApi; +//# sourceMappingURL=AuthNMappingsApi.js.map + +/***/ }), + +/***/ 42023: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityApi = exports.CloudWorkloadSecurityApiResponseProcessor = exports.CloudWorkloadSecurityApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var CloudWorkloadSecurityApiRequestFactory = /** @class */ (function (_super) { + __extends(CloudWorkloadSecurityApiRequestFactory, _super); + function CloudWorkloadSecurityApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + CloudWorkloadSecurityApiRequestFactory.prototype.createCloudWorkloadSecurityAgentRule = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createCloudWorkloadSecurityAgentRule."); + } + localVarPath = "/api/v2/security_monitoring/cloud_workload_security/agent_rules"; + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.createCloudWorkloadSecurityAgentRule").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CloudWorkloadSecurityAgentRuleCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + CloudWorkloadSecurityApiRequestFactory.prototype.deleteCloudWorkloadSecurityAgentRule = function (agentRuleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter agentRuleId was null or undefined when calling deleteCloudWorkloadSecurityAgentRule."); + } + localVarPath = "/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}".replace("{" + "agent_rule_id" + "}", encodeURIComponent(String(agentRuleId))); + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.deleteCloudWorkloadSecurityAgentRule").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + CloudWorkloadSecurityApiRequestFactory.prototype.downloadCloudWorkloadPolicyFile = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/security/cloud_workload/policy/download"; + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.downloadCloudWorkloadPolicyFile").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/yaml"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + CloudWorkloadSecurityApiRequestFactory.prototype.getCloudWorkloadSecurityAgentRule = function (agentRuleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter agentRuleId was null or undefined when calling getCloudWorkloadSecurityAgentRule."); + } + localVarPath = "/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}".replace("{" + "agent_rule_id" + "}", encodeURIComponent(String(agentRuleId))); + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.getCloudWorkloadSecurityAgentRule").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + CloudWorkloadSecurityApiRequestFactory.prototype.listCloudWorkloadSecurityAgentRules = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/security_monitoring/cloud_workload_security/agent_rules"; + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.listCloudWorkloadSecurityAgentRules").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + CloudWorkloadSecurityApiRequestFactory.prototype.updateCloudWorkloadSecurityAgentRule = function (agentRuleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter agentRuleId was null or undefined when calling updateCloudWorkloadSecurityAgentRule."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateCloudWorkloadSecurityAgentRule."); + } + localVarPath = "/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}".replace("{" + "agent_rule_id" + "}", encodeURIComponent(String(agentRuleId))); + requestContext = (0, configuration_1.getServer)(_config, "CloudWorkloadSecurityApi.updateCloudWorkloadSecurityAgentRule").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CloudWorkloadSecurityAgentRuleUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return CloudWorkloadSecurityApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.CloudWorkloadSecurityApiRequestFactory = CloudWorkloadSecurityApiRequestFactory; +var CloudWorkloadSecurityApiResponseProcessor = /** @class */ (function () { + function CloudWorkloadSecurityApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.createCloudWorkloadSecurityAgentRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.deleteCloudWorkloadSecurityAgentRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_10]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to downloadCloudWorkloadPolicyFile + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.downloadCloudWorkloadPolicyFile = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body; + return __generator(this, function (_o) { + switch (_o.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + return [4 /*yield*/, response.getBodyAsFile()]; + case 1: + body_11 = (_o.sent()); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]), + "APIErrorResponse", + "binary"]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]), + "APIErrorResponse", + "binary"]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]), + "HttpFile", + "binary"]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_o.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.getCloudWorkloadSecurityAgentRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_19]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listCloudWorkloadSecurityAgentRules + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.listCloudWorkloadSecurityAgentRules = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "CloudWorkloadSecurityAgentRulesListResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_22); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "CloudWorkloadSecurityAgentRulesListResponse", + ""]); + return [2 /*return*/, body_23]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + CloudWorkloadSecurityApiResponseProcessor.prototype.updateCloudWorkloadSecurityAgentRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body_29, _w, _x, _y, _z, body_30, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_24 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_24]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_25 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_25); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_26 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_26); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_27 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_27); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_28 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_28); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_29 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_29); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_30 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "CloudWorkloadSecurityAgentRuleResponse", + ""]); + return [2 /*return*/, body_30]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return CloudWorkloadSecurityApiResponseProcessor; +}()); +exports.CloudWorkloadSecurityApiResponseProcessor = CloudWorkloadSecurityApiResponseProcessor; +var CloudWorkloadSecurityApi = /** @class */ (function () { + function CloudWorkloadSecurityApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || + new CloudWorkloadSecurityApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new CloudWorkloadSecurityApiResponseProcessor(); + } + /** + * Create a new Agent rule with the given parameters. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.createCloudWorkloadSecurityAgentRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createCloudWorkloadSecurityAgentRule(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createCloudWorkloadSecurityAgentRule(responseContext); + }); + }); + }; + /** + * Delete a specific Agent rule. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.deleteCloudWorkloadSecurityAgentRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteCloudWorkloadSecurityAgentRule(param.agentRuleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteCloudWorkloadSecurityAgentRule(responseContext); + }); + }); + }; + /** + * The download endpoint generates a Cloud Workload Security policy file from your currently active Cloud Workload Security rules, and downloads them as a .policy file. This file can then be deployed to your agents to update the policy running in your environment. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.downloadCloudWorkloadPolicyFile = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.downloadCloudWorkloadPolicyFile(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.downloadCloudWorkloadPolicyFile(responseContext); + }); + }); + }; + /** + * Get the details of a specific Agent rule. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.getCloudWorkloadSecurityAgentRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getCloudWorkloadSecurityAgentRule(param.agentRuleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getCloudWorkloadSecurityAgentRule(responseContext); + }); + }); + }; + /** + * Get the list of Agent rules. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.listCloudWorkloadSecurityAgentRules = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listCloudWorkloadSecurityAgentRules(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listCloudWorkloadSecurityAgentRules(responseContext); + }); + }); + }; + /** + * Update a specific Agent rule. Returns the Agent rule object when the request is successful. + * @param param The request object + */ + CloudWorkloadSecurityApi.prototype.updateCloudWorkloadSecurityAgentRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateCloudWorkloadSecurityAgentRule(param.agentRuleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateCloudWorkloadSecurityAgentRule(responseContext); + }); + }); + }; + return CloudWorkloadSecurityApi; +}()); +exports.CloudWorkloadSecurityApi = CloudWorkloadSecurityApi; +//# sourceMappingURL=CloudWorkloadSecurityApi.js.map + +/***/ }), + +/***/ 50063: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListsApi = exports.DashboardListsApiResponseProcessor = exports.DashboardListsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var DashboardListsApiRequestFactory = /** @class */ (function (_super) { + __extends(DashboardListsApiRequestFactory, _super); + function DashboardListsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + DashboardListsApiRequestFactory.prototype.createDashboardListItems = function (dashboardListId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardListId' is not null or undefined + if (dashboardListId === null || dashboardListId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardListId was null or undefined when calling createDashboardListItems."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createDashboardListItems."); + } + localVarPath = "/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards".replace("{" + "dashboard_list_id" + "}", encodeURIComponent(String(dashboardListId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.createDashboardListItems").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardListAddItemsRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.deleteDashboardListItems = function (dashboardListId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardListId' is not null or undefined + if (dashboardListId === null || dashboardListId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardListId was null or undefined when calling deleteDashboardListItems."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteDashboardListItems."); + } + localVarPath = "/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards".replace("{" + "dashboard_list_id" + "}", encodeURIComponent(String(dashboardListId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.deleteDashboardListItems").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardListDeleteItemsRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.getDashboardListItems = function (dashboardListId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardListId' is not null or undefined + if (dashboardListId === null || dashboardListId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardListId was null or undefined when calling getDashboardListItems."); + } + localVarPath = "/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards".replace("{" + "dashboard_list_id" + "}", encodeURIComponent(String(dashboardListId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.getDashboardListItems").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + DashboardListsApiRequestFactory.prototype.updateDashboardListItems = function (dashboardListId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'dashboardListId' is not null or undefined + if (dashboardListId === null || dashboardListId === undefined) { + throw new baseapi_1.RequiredError("Required parameter dashboardListId was null or undefined when calling updateDashboardListItems."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateDashboardListItems."); + } + localVarPath = "/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards".replace("{" + "dashboard_list_id" + "}", encodeURIComponent(String(dashboardListId))); + requestContext = (0, configuration_1.getServer)(_config, "DashboardListsApi.updateDashboardListItems").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DashboardListUpdateItemsRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return DashboardListsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.DashboardListsApiRequestFactory = DashboardListsApiRequestFactory; +var DashboardListsApiResponseProcessor = /** @class */ (function () { + function DashboardListsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDashboardListItems + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.createDashboardListItems = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "DashboardListAddItemsResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "DashboardListAddItemsResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDashboardListItems + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.deleteDashboardListItems = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "DashboardListDeleteItemsResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_10); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_11); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "DashboardListDeleteItemsResponse", + ""]); + return [2 /*return*/, body_12]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getDashboardListItems + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.getDashboardListItems = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_13 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "DashboardListItems", + ""]); + return [2 /*return*/, body_13]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_14 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_14); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_15 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_15); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_16 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_16); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_17 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "DashboardListItems", + ""]); + return [2 /*return*/, body_17]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateDashboardListItems + * @throws ApiException if the response code was not in [200, 299] + */ + DashboardListsApiResponseProcessor.prototype.updateDashboardListItems = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body_23, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_18 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "DashboardListUpdateItemsResponse", + ""]); + return [2 /*return*/, body_18]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_19 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_19); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_20 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_20); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_21 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_21); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_22 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_22); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_23 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "DashboardListUpdateItemsResponse", + ""]); + return [2 /*return*/, body_23]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return DashboardListsApiResponseProcessor; +}()); +exports.DashboardListsApiResponseProcessor = DashboardListsApiResponseProcessor; +var DashboardListsApi = /** @class */ (function () { + function DashboardListsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new DashboardListsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new DashboardListsApiResponseProcessor(); + } + /** + * Add dashboards to an existing dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.createDashboardListItems = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createDashboardListItems(param.dashboardListId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createDashboardListItems(responseContext); + }); + }); + }; + /** + * Delete dashboards from an existing dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.deleteDashboardListItems = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteDashboardListItems(param.dashboardListId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteDashboardListItems(responseContext); + }); + }); + }; + /** + * Fetch the dashboard list’s dashboard definitions. + * @param param The request object + */ + DashboardListsApi.prototype.getDashboardListItems = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getDashboardListItems(param.dashboardListId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getDashboardListItems(responseContext); + }); + }); + }; + /** + * Update dashboards of an existing dashboard list. + * @param param The request object + */ + DashboardListsApi.prototype.updateDashboardListItems = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateDashboardListItems(param.dashboardListId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateDashboardListItems(responseContext); + }); + }); + }; + return DashboardListsApi; +}()); +exports.DashboardListsApi = DashboardListsApi; +//# sourceMappingURL=DashboardListsApi.js.map + +/***/ }), + +/***/ 6990: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServicesApi = exports.IncidentServicesApiResponseProcessor = exports.IncidentServicesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var IncidentServicesApiRequestFactory = /** @class */ (function (_super) { + __extends(IncidentServicesApiRequestFactory, _super); + function IncidentServicesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + IncidentServicesApiRequestFactory.prototype.createIncidentService = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'createIncidentService'"); + if (!_config.unstableOperations["createIncidentService"]) { + throw new Error("Unstable operation 'createIncidentService' is disabled"); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createIncidentService."); + } + localVarPath = "/api/v2/services"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentServicesApi.createIncidentService").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentServiceCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentServicesApiRequestFactory.prototype.deleteIncidentService = function (serviceId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'deleteIncidentService'"); + if (!_config.unstableOperations["deleteIncidentService"]) { + throw new Error("Unstable operation 'deleteIncidentService' is disabled"); + } + // verify required parameter 'serviceId' is not null or undefined + if (serviceId === null || serviceId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceId was null or undefined when calling deleteIncidentService."); + } + localVarPath = "/api/v2/services/{service_id}".replace("{" + "service_id" + "}", encodeURIComponent(String(serviceId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentServicesApi.deleteIncidentService").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentServicesApiRequestFactory.prototype.getIncidentService = function (serviceId, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getIncidentService'"); + if (!_config.unstableOperations["getIncidentService"]) { + throw new Error("Unstable operation 'getIncidentService' is disabled"); + } + // verify required parameter 'serviceId' is not null or undefined + if (serviceId === null || serviceId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceId was null or undefined when calling getIncidentService."); + } + localVarPath = "/api/v2/services/{service_id}".replace("{" + "service_id" + "}", encodeURIComponent(String(serviceId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentServicesApi.getIncidentService").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "IncidentRelatedObject", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentServicesApiRequestFactory.prototype.listIncidentServices = function (include, pageSize, pageOffset, filter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listIncidentServices'"); + if (!_config.unstableOperations["listIncidentServices"]) { + throw new Error("Unstable operation 'listIncidentServices' is disabled"); + } + localVarPath = "/api/v2/services"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentServicesApi.listIncidentServices").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "IncidentRelatedObject", "")); + } + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageOffset !== undefined) { + requestContext.setQueryParam("page[offset]", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, "number", "int64")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentServicesApiRequestFactory.prototype.updateIncidentService = function (serviceId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'updateIncidentService'"); + if (!_config.unstableOperations["updateIncidentService"]) { + throw new Error("Unstable operation 'updateIncidentService' is disabled"); + } + // verify required parameter 'serviceId' is not null or undefined + if (serviceId === null || serviceId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceId was null or undefined when calling updateIncidentService."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateIncidentService."); + } + localVarPath = "/api/v2/services/{service_id}".replace("{" + "service_id" + "}", encodeURIComponent(String(serviceId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentServicesApi.updateIncidentService").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentServiceUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return IncidentServicesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.IncidentServicesApiRequestFactory = IncidentServicesApiRequestFactory; +var IncidentServicesApiResponseProcessor = /** @class */ (function () { + function IncidentServicesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createIncidentService + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentServicesApiResponseProcessor.prototype.createIncidentService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_5); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_6); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_7]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteIncidentService + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentServicesApiResponseProcessor.prototype.deleteIncidentService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 2: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_9); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_10); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_11); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_12); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_13]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIncidentService + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentServicesApiResponseProcessor.prototype.getIncidentService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_14]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_15); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_16); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_20]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listIncidentServices + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentServicesApiResponseProcessor.prototype.listIncidentServices = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentServicesResponse", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentServicesResponse", + ""]); + return [2 /*return*/, body_27]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateIncidentService + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentServicesApiResponseProcessor.prototype.updateIncidentService = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_32); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentServiceResponse", + ""]); + return [2 /*return*/, body_34]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return IncidentServicesApiResponseProcessor; +}()); +exports.IncidentServicesApiResponseProcessor = IncidentServicesApiResponseProcessor; +var IncidentServicesApi = /** @class */ (function () { + function IncidentServicesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new IncidentServicesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new IncidentServicesApiResponseProcessor(); + } + /** + * Creates a new incident service. + * @param param The request object + */ + IncidentServicesApi.prototype.createIncidentService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createIncidentService(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createIncidentService(responseContext); + }); + }); + }; + /** + * Deletes an existing incident service. + * @param param The request object + */ + IncidentServicesApi.prototype.deleteIncidentService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteIncidentService(param.serviceId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteIncidentService(responseContext); + }); + }); + }; + /** + * Get details of an incident service. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services. + * @param param The request object + */ + IncidentServicesApi.prototype.getIncidentService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIncidentService(param.serviceId, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIncidentService(responseContext); + }); + }); + }; + /** + * Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services. + * @param param The request object + */ + IncidentServicesApi.prototype.listIncidentServices = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listIncidentServices(param.include, param.pageSize, param.pageOffset, param.filter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listIncidentServices(responseContext); + }); + }); + }; + /** + * Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update. + * @param param The request object + */ + IncidentServicesApi.prototype.updateIncidentService = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateIncidentService(param.serviceId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateIncidentService(responseContext); + }); + }); + }; + return IncidentServicesApi; +}()); +exports.IncidentServicesApi = IncidentServicesApi; +//# sourceMappingURL=IncidentServicesApi.js.map + +/***/ }), + +/***/ 97201: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamsApi = exports.IncidentTeamsApiResponseProcessor = exports.IncidentTeamsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var IncidentTeamsApiRequestFactory = /** @class */ (function (_super) { + __extends(IncidentTeamsApiRequestFactory, _super); + function IncidentTeamsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + IncidentTeamsApiRequestFactory.prototype.createIncidentTeam = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'createIncidentTeam'"); + if (!_config.unstableOperations["createIncidentTeam"]) { + throw new Error("Unstable operation 'createIncidentTeam' is disabled"); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createIncidentTeam."); + } + localVarPath = "/api/v2/teams"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentTeamsApi.createIncidentTeam").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentTeamCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentTeamsApiRequestFactory.prototype.deleteIncidentTeam = function (teamId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'deleteIncidentTeam'"); + if (!_config.unstableOperations["deleteIncidentTeam"]) { + throw new Error("Unstable operation 'deleteIncidentTeam' is disabled"); + } + // verify required parameter 'teamId' is not null or undefined + if (teamId === null || teamId === undefined) { + throw new baseapi_1.RequiredError("Required parameter teamId was null or undefined when calling deleteIncidentTeam."); + } + localVarPath = "/api/v2/teams/{team_id}".replace("{" + "team_id" + "}", encodeURIComponent(String(teamId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentTeamsApi.deleteIncidentTeam").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentTeamsApiRequestFactory.prototype.getIncidentTeam = function (teamId, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getIncidentTeam'"); + if (!_config.unstableOperations["getIncidentTeam"]) { + throw new Error("Unstable operation 'getIncidentTeam' is disabled"); + } + // verify required parameter 'teamId' is not null or undefined + if (teamId === null || teamId === undefined) { + throw new baseapi_1.RequiredError("Required parameter teamId was null or undefined when calling getIncidentTeam."); + } + localVarPath = "/api/v2/teams/{team_id}".replace("{" + "team_id" + "}", encodeURIComponent(String(teamId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentTeamsApi.getIncidentTeam").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "IncidentRelatedObject", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentTeamsApiRequestFactory.prototype.listIncidentTeams = function (include, pageSize, pageOffset, filter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listIncidentTeams'"); + if (!_config.unstableOperations["listIncidentTeams"]) { + throw new Error("Unstable operation 'listIncidentTeams' is disabled"); + } + localVarPath = "/api/v2/teams"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentTeamsApi.listIncidentTeams").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "IncidentRelatedObject", "")); + } + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageOffset !== undefined) { + requestContext.setQueryParam("page[offset]", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, "number", "int64")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentTeamsApiRequestFactory.prototype.updateIncidentTeam = function (teamId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'updateIncidentTeam'"); + if (!_config.unstableOperations["updateIncidentTeam"]) { + throw new Error("Unstable operation 'updateIncidentTeam' is disabled"); + } + // verify required parameter 'teamId' is not null or undefined + if (teamId === null || teamId === undefined) { + throw new baseapi_1.RequiredError("Required parameter teamId was null or undefined when calling updateIncidentTeam."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateIncidentTeam."); + } + localVarPath = "/api/v2/teams/{team_id}".replace("{" + "team_id" + "}", encodeURIComponent(String(teamId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentTeamsApi.updateIncidentTeam").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentTeamUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return IncidentTeamsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.IncidentTeamsApiRequestFactory = IncidentTeamsApiRequestFactory; +var IncidentTeamsApiResponseProcessor = /** @class */ (function () { + function IncidentTeamsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createIncidentTeam + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentTeamsApiResponseProcessor.prototype.createIncidentTeam = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_5); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_6); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_7]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteIncidentTeam + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentTeamsApiResponseProcessor.prototype.deleteIncidentTeam = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 2: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_9); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_10); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_11); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_12); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_13]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIncidentTeam + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentTeamsApiResponseProcessor.prototype.getIncidentTeam = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_14]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_15); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_16); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_20]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listIncidentTeams + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentTeamsApiResponseProcessor.prototype.listIncidentTeams = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentTeamsResponse", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentTeamsResponse", + ""]); + return [2 /*return*/, body_27]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateIncidentTeam + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentTeamsApiResponseProcessor.prototype.updateIncidentTeam = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_32); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentTeamResponse", + ""]); + return [2 /*return*/, body_34]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return IncidentTeamsApiResponseProcessor; +}()); +exports.IncidentTeamsApiResponseProcessor = IncidentTeamsApiResponseProcessor; +var IncidentTeamsApi = /** @class */ (function () { + function IncidentTeamsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new IncidentTeamsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new IncidentTeamsApiResponseProcessor(); + } + /** + * Creates a new incident team. + * @param param The request object + */ + IncidentTeamsApi.prototype.createIncidentTeam = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createIncidentTeam(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createIncidentTeam(responseContext); + }); + }); + }; + /** + * Deletes an existing incident team. + * @param param The request object + */ + IncidentTeamsApi.prototype.deleteIncidentTeam = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteIncidentTeam(param.teamId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteIncidentTeam(responseContext); + }); + }); + }; + /** + * Get details of an incident team. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams. + * @param param The request object + */ + IncidentTeamsApi.prototype.getIncidentTeam = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIncidentTeam(param.teamId, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIncidentTeam(responseContext); + }); + }); + }; + /** + * Get all incident teams for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams. + * @param param The request object + */ + IncidentTeamsApi.prototype.listIncidentTeams = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listIncidentTeams(param.include, param.pageSize, param.pageOffset, param.filter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listIncidentTeams(responseContext); + }); + }); + }; + /** + * Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update. + * @param param The request object + */ + IncidentTeamsApi.prototype.updateIncidentTeam = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateIncidentTeam(param.teamId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateIncidentTeam(responseContext); + }); + }); + }; + return IncidentTeamsApi; +}()); +exports.IncidentTeamsApi = IncidentTeamsApi; +//# sourceMappingURL=IncidentTeamsApi.js.map + +/***/ }), + +/***/ 9580: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentsApi = exports.IncidentsApiResponseProcessor = exports.IncidentsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var IncidentsApiRequestFactory = /** @class */ (function (_super) { + __extends(IncidentsApiRequestFactory, _super); + function IncidentsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + IncidentsApiRequestFactory.prototype.createIncident = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'createIncident'"); + if (!_config.unstableOperations["createIncident"]) { + throw new Error("Unstable operation 'createIncident' is disabled"); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createIncident."); + } + localVarPath = "/api/v2/incidents"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentsApi.createIncident").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentsApiRequestFactory.prototype.deleteIncident = function (incidentId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'deleteIncident'"); + if (!_config.unstableOperations["deleteIncident"]) { + throw new Error("Unstable operation 'deleteIncident' is disabled"); + } + // verify required parameter 'incidentId' is not null or undefined + if (incidentId === null || incidentId === undefined) { + throw new baseapi_1.RequiredError("Required parameter incidentId was null or undefined when calling deleteIncident."); + } + localVarPath = "/api/v2/incidents/{incident_id}".replace("{" + "incident_id" + "}", encodeURIComponent(String(incidentId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentsApi.deleteIncident").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentsApiRequestFactory.prototype.getIncident = function (incidentId, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'getIncident'"); + if (!_config.unstableOperations["getIncident"]) { + throw new Error("Unstable operation 'getIncident' is disabled"); + } + // verify required parameter 'incidentId' is not null or undefined + if (incidentId === null || incidentId === undefined) { + throw new baseapi_1.RequiredError("Required parameter incidentId was null or undefined when calling getIncident."); + } + localVarPath = "/api/v2/incidents/{incident_id}".replace("{" + "incident_id" + "}", encodeURIComponent(String(incidentId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentsApi.getIncident").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentsApiRequestFactory.prototype.listIncidents = function (include, pageSize, pageOffset, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listIncidents'"); + if (!_config.unstableOperations["listIncidents"]) { + throw new Error("Unstable operation 'listIncidents' is disabled"); + } + localVarPath = "/api/v2/incidents"; + requestContext = (0, configuration_1.getServer)(_config, "IncidentsApi.listIncidents").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array", "")); + } + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageOffset !== undefined) { + requestContext.setQueryParam("page[offset]", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + IncidentsApiRequestFactory.prototype.updateIncident = function (incidentId, body, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'updateIncident'"); + if (!_config.unstableOperations["updateIncident"]) { + throw new Error("Unstable operation 'updateIncident' is disabled"); + } + // verify required parameter 'incidentId' is not null or undefined + if (incidentId === null || incidentId === undefined) { + throw new baseapi_1.RequiredError("Required parameter incidentId was null or undefined when calling updateIncident."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateIncident."); + } + localVarPath = "/api/v2/incidents/{incident_id}".replace("{" + "incident_id" + "}", encodeURIComponent(String(incidentId))); + requestContext = (0, configuration_1.getServer)(_config, "IncidentsApi.updateIncident").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "Array", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "IncidentUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return IncidentsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.IncidentsApiRequestFactory = IncidentsApiRequestFactory; +var IncidentsApiResponseProcessor = /** @class */ (function () { + function IncidentsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createIncident + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentsApiResponseProcessor.prototype.createIncident = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_5); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_6); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_7]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteIncident + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentsApiResponseProcessor.prototype.deleteIncident = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 2: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_9); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_10); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_11); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_12); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_13]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getIncident + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentsApiResponseProcessor.prototype.getIncident = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_14]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_15); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_16); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_20]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listIncidents + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentsApiResponseProcessor.prototype.listIncidents = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentsResponse", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentsResponse", + ""]); + return [2 /*return*/, body_27]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateIncident + * @throws ApiException if the response code was not in [200, 299] + */ + IncidentsApiResponseProcessor.prototype.updateIncident = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_32); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "IncidentResponse", + ""]); + return [2 /*return*/, body_34]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return IncidentsApiResponseProcessor; +}()); +exports.IncidentsApiResponseProcessor = IncidentsApiResponseProcessor; +var IncidentsApi = /** @class */ (function () { + function IncidentsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new IncidentsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new IncidentsApiResponseProcessor(); + } + /** + * Create an incident. + * @param param The request object + */ + IncidentsApi.prototype.createIncident = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createIncident(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createIncident(responseContext); + }); + }); + }; + /** + * Deletes an existing incident from the users organization. + * @param param The request object + */ + IncidentsApi.prototype.deleteIncident = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteIncident(param.incidentId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteIncident(responseContext); + }); + }); + }; + /** + * Get the details of an incident by `incident_id`. + * @param param The request object + */ + IncidentsApi.prototype.getIncident = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getIncident(param.incidentId, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getIncident(responseContext); + }); + }); + }; + /** + * Get all incidents for the user's organization. + * @param param The request object + */ + IncidentsApi.prototype.listIncidents = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listIncidents(param.include, param.pageSize, param.pageOffset, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listIncidents(responseContext); + }); + }); + }; + /** + * Updates an incident. Provide only the attributes that should be updated as this request is a partial update. + * @param param The request object + */ + IncidentsApi.prototype.updateIncident = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateIncident(param.incidentId, param.body, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateIncident(responseContext); + }); + }); + }; + return IncidentsApi; +}()); +exports.IncidentsApi = IncidentsApi; +//# sourceMappingURL=IncidentsApi.js.map + +/***/ }), + +/***/ 95951: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.KeyManagementApi = exports.KeyManagementApiResponseProcessor = exports.KeyManagementApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var KeyManagementApiRequestFactory = /** @class */ (function (_super) { + __extends(KeyManagementApiRequestFactory, _super); + function KeyManagementApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + KeyManagementApiRequestFactory.prototype.createAPIKey = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createAPIKey."); + } + localVarPath = "/api/v2/api_keys"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.createAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "APIKeyCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.createCurrentUserApplicationKey = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createCurrentUserApplicationKey."); + } + localVarPath = "/api/v2/current_user/application_keys"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.createCurrentUserApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKeyCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.deleteAPIKey = function (apiKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'apiKeyId' is not null or undefined + if (apiKeyId === null || apiKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter apiKeyId was null or undefined when calling deleteAPIKey."); + } + localVarPath = "/api/v2/api_keys/{api_key_id}".replace("{" + "api_key_id" + "}", encodeURIComponent(String(apiKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.deleteAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.deleteApplicationKey = function (appKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling deleteApplicationKey."); + } + localVarPath = "/api/v2/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.deleteApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.deleteCurrentUserApplicationKey = function (appKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling deleteCurrentUserApplicationKey."); + } + localVarPath = "/api/v2/current_user/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.deleteCurrentUserApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.getAPIKey = function (apiKeyId, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'apiKeyId' is not null or undefined + if (apiKeyId === null || apiKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter apiKeyId was null or undefined when calling getAPIKey."); + } + localVarPath = "/api/v2/api_keys/{api_key_id}".replace("{" + "api_key_id" + "}", encodeURIComponent(String(apiKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.getAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.getApplicationKey = function (appKeyId, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling getApplicationKey."); + } + localVarPath = "/api/v2/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.getApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.getCurrentUserApplicationKey = function (appKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling getCurrentUserApplicationKey."); + } + localVarPath = "/api/v2/current_user/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.getCurrentUserApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.listAPIKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, filterModifiedAtStart, filterModifiedAtEnd, include, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/api_keys"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.listAPIKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "APIKeysSort", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (filterCreatedAtStart !== undefined) { + requestContext.setQueryParam("filter[created_at][start]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, "string", "")); + } + if (filterCreatedAtEnd !== undefined) { + requestContext.setQueryParam("filter[created_at][end]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, "string", "")); + } + if (filterModifiedAtStart !== undefined) { + requestContext.setQueryParam("filter[modified_at][start]", ObjectSerializer_1.ObjectSerializer.serialize(filterModifiedAtStart, "string", "")); + } + if (filterModifiedAtEnd !== undefined) { + requestContext.setQueryParam("filter[modified_at][end]", ObjectSerializer_1.ObjectSerializer.serialize(filterModifiedAtEnd, "string", "")); + } + if (include !== undefined) { + requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.listApplicationKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/application_keys"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.listApplicationKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "ApplicationKeysSort", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (filterCreatedAtStart !== undefined) { + requestContext.setQueryParam("filter[created_at][start]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, "string", "")); + } + if (filterCreatedAtEnd !== undefined) { + requestContext.setQueryParam("filter[created_at][end]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.listCurrentUserApplicationKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/current_user/application_keys"; + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.listCurrentUserApplicationKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "ApplicationKeysSort", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (filterCreatedAtStart !== undefined) { + requestContext.setQueryParam("filter[created_at][start]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, "string", "")); + } + if (filterCreatedAtEnd !== undefined) { + requestContext.setQueryParam("filter[created_at][end]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.updateAPIKey = function (apiKeyId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'apiKeyId' is not null or undefined + if (apiKeyId === null || apiKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter apiKeyId was null or undefined when calling updateAPIKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateAPIKey."); + } + localVarPath = "/api/v2/api_keys/{api_key_id}".replace("{" + "api_key_id" + "}", encodeURIComponent(String(apiKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.updateAPIKey").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "APIKeyUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.updateApplicationKey = function (appKeyId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling updateApplicationKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateApplicationKey."); + } + localVarPath = "/api/v2/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.updateApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKeyUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + KeyManagementApiRequestFactory.prototype.updateCurrentUserApplicationKey = function (appKeyId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling updateCurrentUserApplicationKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateCurrentUserApplicationKey."); + } + localVarPath = "/api/v2/current_user/application_keys/{app_key_id}".replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "KeyManagementApi.updateCurrentUserApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKeyUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return KeyManagementApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.KeyManagementApiRequestFactory = KeyManagementApiRequestFactory; +var KeyManagementApiResponseProcessor = /** @class */ (function () { + function KeyManagementApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.createAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCurrentUserApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.createCurrentUserApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.deleteAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.deleteApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_18]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCurrentUserApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.deleteCurrentUserApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_22]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.getAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.getApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_31); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_32); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_33]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getCurrentUserApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.getCurrentUserApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_34 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_34]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_35 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_35); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_36 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_36); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_37 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_37); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_38 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_38]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listAPIKeys + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.listAPIKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_39 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIKeysResponse", + ""]); + return [2 /*return*/, body_39]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_40 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_40); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_41 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_41); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_42 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_42); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_43 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "APIKeysResponse", + ""]); + return [2 /*return*/, body_43]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listApplicationKeys + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.listApplicationKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_44, _a, _b, _c, _d, body_45, _e, _f, _g, _h, body_46, _j, _k, _l, _m, body_47, _o, _p, _q, _r, body_48, _s, _t, _u, _v, body_49, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_44 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_44]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_45 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_45); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_46 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_46); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_47 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_47); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_48 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_48); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_49 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_49]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listCurrentUserApplicationKeys + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.listCurrentUserApplicationKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_50, _a, _b, _c, _d, body_51, _e, _f, _g, _h, body_52, _j, _k, _l, _m, body_53, _o, _p, _q, _r, body_54, _s, _t, _u, _v, body_55, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_50 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_50]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_51 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_51); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_52 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_52); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_53 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_53); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_54 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_54); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_55 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_55]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateAPIKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.updateAPIKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_56, _a, _b, _c, _d, body_57, _e, _f, _g, _h, body_58, _j, _k, _l, _m, body_59, _o, _p, _q, _r, body_60, _s, _t, _u, _v, body_61, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_56 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_56]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_57 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_57); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_58 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_58); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_59 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_59); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_60 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_60); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_61 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "APIKeyResponse", + ""]); + return [2 /*return*/, body_61]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.updateApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body_67, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_62 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_62]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_63 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_63); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_64 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_64); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_65 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_65); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_66 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_66); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_67 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_67]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateCurrentUserApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + KeyManagementApiResponseProcessor.prototype.updateCurrentUserApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_68, _a, _b, _c, _d, body_69, _e, _f, _g, _h, body_70, _j, _k, _l, _m, body_71, _o, _p, _q, _r, body_72, _s, _t, _u, _v, body_73, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_68 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_68]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_69 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_69); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_70 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_70); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_71 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_71); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_72 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_72); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_73 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_73]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return KeyManagementApiResponseProcessor; +}()); +exports.KeyManagementApiResponseProcessor = KeyManagementApiResponseProcessor; +var KeyManagementApi = /** @class */ (function () { + function KeyManagementApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new KeyManagementApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new KeyManagementApiResponseProcessor(); + } + /** + * Create an API key. + * @param param The request object + */ + KeyManagementApi.prototype.createAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createAPIKey(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createAPIKey(responseContext); + }); + }); + }; + /** + * Create an application key for current user + * @param param The request object + */ + KeyManagementApi.prototype.createCurrentUserApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createCurrentUserApplicationKey(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createCurrentUserApplicationKey(responseContext); + }); + }); + }; + /** + * Delete an API key. + * @param param The request object + */ + KeyManagementApi.prototype.deleteAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteAPIKey(param.apiKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteAPIKey(responseContext); + }); + }); + }; + /** + * Delete an application key + * @param param The request object + */ + KeyManagementApi.prototype.deleteApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteApplicationKey(param.appKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteApplicationKey(responseContext); + }); + }); + }; + /** + * Delete an application key owned by current user + * @param param The request object + */ + KeyManagementApi.prototype.deleteCurrentUserApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteCurrentUserApplicationKey(param.appKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteCurrentUserApplicationKey(responseContext); + }); + }); + }; + /** + * Get an API key. + * @param param The request object + */ + KeyManagementApi.prototype.getAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getAPIKey(param.apiKeyId, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getAPIKey(responseContext); + }); + }); + }; + /** + * Get an application key for your org. + * @param param The request object + */ + KeyManagementApi.prototype.getApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getApplicationKey(param.appKeyId, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getApplicationKey(responseContext); + }); + }); + }; + /** + * Get an application key owned by current user + * @param param The request object + */ + KeyManagementApi.prototype.getCurrentUserApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getCurrentUserApplicationKey(param.appKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getCurrentUserApplicationKey(responseContext); + }); + }); + }; + /** + * List all API keys available for your account. + * @param param The request object + */ + KeyManagementApi.prototype.listAPIKeys = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listAPIKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, param.filterModifiedAtStart, param.filterModifiedAtEnd, param.include, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listAPIKeys(responseContext); + }); + }); + }; + /** + * List all application keys available for your org + * @param param The request object + */ + KeyManagementApi.prototype.listApplicationKeys = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listApplicationKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listApplicationKeys(responseContext); + }); + }); + }; + /** + * List all application keys available for current user + * @param param The request object + */ + KeyManagementApi.prototype.listCurrentUserApplicationKeys = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listCurrentUserApplicationKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listCurrentUserApplicationKeys(responseContext); + }); + }); + }; + /** + * Update an API key. + * @param param The request object + */ + KeyManagementApi.prototype.updateAPIKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateAPIKey(param.apiKeyId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateAPIKey(responseContext); + }); + }); + }; + /** + * Edit an application key + * @param param The request object + */ + KeyManagementApi.prototype.updateApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateApplicationKey(param.appKeyId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateApplicationKey(responseContext); + }); + }); + }; + /** + * Edit an application key owned by current user + * @param param The request object + */ + KeyManagementApi.prototype.updateCurrentUserApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateCurrentUserApplicationKey(param.appKeyId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateCurrentUserApplicationKey(responseContext); + }); + }); + }; + return KeyManagementApi; +}()); +exports.KeyManagementApi = KeyManagementApi; +//# sourceMappingURL=KeyManagementApi.js.map + +/***/ }), + +/***/ 94716: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsApi = exports.LogsApiResponseProcessor = exports.LogsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var LogsApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsApiRequestFactory, _super); + function LogsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsApiRequestFactory.prototype.aggregateLogs = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling aggregateLogs."); + } + localVarPath = "/api/v2/logs/analytics/aggregate"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.aggregateLogs").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsAggregateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsApiRequestFactory.prototype.listLogs = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/logs/events/search"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.listLogs").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsListRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsApiRequestFactory.prototype.listLogsGet = function (filterQuery, filterIndex, filterFrom, filterTo, sort, pageCursor, pageLimit, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/logs/events"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.listLogsGet").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (filterQuery !== undefined) { + requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", "")); + } + if (filterIndex !== undefined) { + requestContext.setQueryParam("filter[index]", ObjectSerializer_1.ObjectSerializer.serialize(filterIndex, "string", "")); + } + if (filterFrom !== undefined) { + requestContext.setQueryParam("filter[from]", ObjectSerializer_1.ObjectSerializer.serialize(filterFrom, "Date", "date-time")); + } + if (filterTo !== undefined) { + requestContext.setQueryParam("filter[to]", ObjectSerializer_1.ObjectSerializer.serialize(filterTo, "Date", "date-time")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "LogsSort", "")); + } + if (pageCursor !== undefined) { + requestContext.setQueryParam("page[cursor]", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, "string", "")); + } + if (pageLimit !== undefined) { + requestContext.setQueryParam("page[limit]", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, "number", "int32")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsApiRequestFactory.prototype.submitLog = function (body, contentEncoding, ddtags, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling submitLog."); + } + localVarPath = "/api/v2/logs"; + requestContext = (0, configuration_1.getServer)(_config, "LogsApi.submitLog").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (ddtags !== undefined) { + requestContext.setQueryParam("ddtags", ObjectSerializer_1.ObjectSerializer.serialize(ddtags, "string", "")); + } + // Header Params + if (contentEncoding !== undefined) { + requestContext.setHeaderParam("Content-Encoding", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, "ContentEncoding", "")); + } + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + "application/logplex-1", + "text/plain", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, ["apiKeyAuth"]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsApiRequestFactory = LogsApiRequestFactory; +var LogsApiResponseProcessor = /** @class */ (function () { + function LogsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to aggregateLogs + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.aggregateLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsAggregateResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsAggregateResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogs + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.listLogs = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogsGet + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.listLogsGet = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsListResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to submitLog + * @throws ApiException if the response code was not in [200, 299] + */ + LogsApiResponseProcessor.prototype.submitLog = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body_21, _w, _x, _y, _z, body_22, _0, _1, _2, _3, body_23, _4, _5, _6, _7, body_24, _8, _9, _10, _11, body_25, _12, _13, _14, _15, body; + return __generator(this, function (_16) { + switch (_16.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_16.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(401, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(403, body_19); + case 8: + if (!(0, util_1.isCodeInRange)("408", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(408, body_20); + case 10: + if (!(0, util_1.isCodeInRange)("413", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_21 = _x.apply(_w, [_z.apply(_y, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(413, body_21); + case 12: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_22 = _1.apply(_0, [_3.apply(_2, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(429, body_22); + case 14: + if (!(0, util_1.isCodeInRange)("500", response.httpStatusCode)) return [3 /*break*/, 16]; + _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize; + _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 15: + body_23 = _5.apply(_4, [_7.apply(_6, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(500, body_23); + case 16: + if (!(0, util_1.isCodeInRange)("503", response.httpStatusCode)) return [3 /*break*/, 18]; + _9 = (_8 = ObjectSerializer_1.ObjectSerializer).deserialize; + _11 = (_10 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 17: + body_24 = _9.apply(_8, [_11.apply(_10, [_16.sent(), contentType]), + "HTTPLogErrors", + ""]); + throw new exception_1.ApiException(503, body_24); + case 18: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 20]; + _13 = (_12 = ObjectSerializer_1.ObjectSerializer).deserialize; + _15 = (_14 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 19: + body_25 = _13.apply(_12, [_15.apply(_14, [_16.sent(), contentType]), + "any", + ""]); + return [2 /*return*/, body_25]; + case 20: return [4 /*yield*/, response.body.text()]; + case 21: + body = (_16.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsApiResponseProcessor; +}()); +exports.LogsApiResponseProcessor = LogsApiResponseProcessor; +var LogsApi = /** @class */ (function () { + function LogsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsApiResponseProcessor(); + } + /** + * The API endpoint to aggregate events into buckets and compute metrics and timeseries. + * @param param The request object + */ + LogsApi.prototype.aggregateLogs = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.aggregateLogs(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.aggregateLogs(responseContext); + }); + }); + }; + /** + * List endpoint returns logs that match a log search query. [Results are paginated][1]. Use this endpoint to build complex logs filtering and search. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives + * @param param The request object + */ + LogsApi.prototype.listLogs = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listLogs(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogs(responseContext); + }); + }); + }; + /** + * List endpoint returns logs that match a log search query. [Results are paginated][1]. Use this endpoint to see your latest logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives + * @param param The request object + */ + LogsApi.prototype.listLogsGet = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listLogsGet(param.filterQuery, param.filterIndex, param.filterFrom, param.filterTo, param.sort, param.pageCursor, param.pageLimit, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogsGet(responseContext); + }); + }); + }; + /** + * Send your logs to your Datadog platform over HTTP. Limits per HTTP request are: - Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx. Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs. The status codes answered by the HTTP API are: - 202: Accepted: the request has been accepted for processing - 400: Bad request (likely an issue in the payload formatting) - 401: Unauthorized (likely a missing API Key) - 403: Permission issue (likely using an invalid API Key) - 408: Request Timeout, request should be retried after some time - 413: Payload too large (batch is above 5MB uncompressed) - 429: Too Many Requests, request should be retried after some time - 500: Internal Server Error, the server encountered an unexpected condition that prevented it from fulfilling the request, request should be retried after some time - 503: Service Unavailable, the server is not ready to handle the request probably because it is overloaded, request should be retried after some time + * @param param The request object + */ + LogsApi.prototype.submitLog = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.submitLog(param.body, param.contentEncoding, param.ddtags, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.submitLog(responseContext); + }); + }); + }; + return LogsApi; +}()); +exports.LogsApi = LogsApi; +//# sourceMappingURL=LogsApi.js.map + +/***/ }), + +/***/ 73593: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchivesApi = exports.LogsArchivesApiResponseProcessor = exports.LogsArchivesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var LogsArchivesApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsArchivesApiRequestFactory, _super); + function LogsArchivesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsArchivesApiRequestFactory.prototype.addReadRoleToArchive = function (archiveId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling addReadRoleToArchive."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling addReadRoleToArchive."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}/readers".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.addReadRoleToArchive").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToRole", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.createLogsArchive = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createLogsArchive."); + } + localVarPath = "/api/v2/logs/config/archives"; + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.createLogsArchive").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsArchiveCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.deleteLogsArchive = function (archiveId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling deleteLogsArchive."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.deleteLogsArchive").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.getLogsArchive = function (archiveId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling getLogsArchive."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.getLogsArchive").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.getLogsArchiveOrder = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/logs/config/archive-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.getLogsArchiveOrder").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.listArchiveReadRoles = function (archiveId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling listArchiveReadRoles."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}/readers".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.listArchiveReadRoles").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.listLogsArchives = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/logs/config/archives"; + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.listLogsArchives").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.removeRoleFromArchive = function (archiveId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling removeRoleFromArchive."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling removeRoleFromArchive."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}/readers".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.removeRoleFromArchive").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToRole", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.updateLogsArchive = function (archiveId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'archiveId' is not null or undefined + if (archiveId === null || archiveId === undefined) { + throw new baseapi_1.RequiredError("Required parameter archiveId was null or undefined when calling updateLogsArchive."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsArchive."); + } + localVarPath = "/api/v2/logs/config/archives/{archive_id}".replace("{" + "archive_id" + "}", encodeURIComponent(String(archiveId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.updateLogsArchive").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsArchiveCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsArchivesApiRequestFactory.prototype.updateLogsArchiveOrder = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsArchiveOrder."); + } + localVarPath = "/api/v2/logs/config/archive-order"; + requestContext = (0, configuration_1.getServer)(_config, "LogsArchivesApi.updateLogsArchiveOrder").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsArchiveOrder", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsArchivesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsArchivesApiRequestFactory = LogsArchivesApiRequestFactory; +var LogsArchivesApiResponseProcessor = /** @class */ (function () { + function LogsArchivesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to addReadRoleToArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.addReadRoleToArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_1); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createLogsArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.createLogsArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteLogsArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.deleteLogsArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_11); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.getLogsArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body_21, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_18); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_19); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_20 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_20); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_21 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_21]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsArchiveOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.getLogsArchiveOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_22 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsArchiveOrder", + ""]); + return [2 /*return*/, body_22]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_23 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_23); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_24 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_25 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsArchiveOrder", + ""]); + return [2 /*return*/, body_25]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listArchiveReadRoles + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.listArchiveReadRoles = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_26, _a, _b, _c, _d, body_27, _e, _f, _g, _h, body_28, _j, _k, _l, _m, body_29, _o, _p, _q, _r, body_30, _s, _t, _u, _v, body_31, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_26 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "RolesResponse", + ""]); + return [2 /*return*/, body_26]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_27 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_27); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_28 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_28); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_29 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_29); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_30 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_30); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_31 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "RolesResponse", + ""]); + return [2 /*return*/, body_31]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogsArchives + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.listLogsArchives = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_32, _a, _b, _c, _d, body_33, _e, _f, _g, _h, body_34, _j, _k, _l, _m, body_35, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_32 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsArchives", + ""]); + return [2 /*return*/, body_32]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_33 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_33); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_34 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_34); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_35 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsArchives", + ""]); + return [2 /*return*/, body_35]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to removeRoleFromArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.removeRoleFromArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_36, _a, _b, _c, _d, body_37, _e, _f, _g, _h, body_38, _j, _k, _l, _m, body_39, _o, _p, _q, _r, body_40, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_36 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_36); + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_37 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_37); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_38 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_38); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_39 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_39); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_40 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_40]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsArchive + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.updateLogsArchive = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_41, _a, _b, _c, _d, body_42, _e, _f, _g, _h, body_43, _j, _k, _l, _m, body_44, _o, _p, _q, _r, body_45, _s, _t, _u, _v, body_46, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_41 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_41]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_42 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_42); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_43 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_43); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_44 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_44); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_45 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_46 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsArchive", + ""]); + return [2 /*return*/, body_46]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsArchiveOrder + * @throws ApiException if the response code was not in [200, 299] + */ + LogsArchivesApiResponseProcessor.prototype.updateLogsArchiveOrder = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsArchiveOrder", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_50); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_51); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_52 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsArchiveOrder", + ""]); + return [2 /*return*/, body_52]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsArchivesApiResponseProcessor; +}()); +exports.LogsArchivesApiResponseProcessor = LogsArchivesApiResponseProcessor; +var LogsArchivesApi = /** @class */ (function () { + function LogsArchivesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsArchivesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsArchivesApiResponseProcessor(); + } + /** + * Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/)) + * @param param The request object + */ + LogsArchivesApi.prototype.addReadRoleToArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.addReadRoleToArchive(param.archiveId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.addReadRoleToArchive(responseContext); + }); + }); + }; + /** + * Create an archive in your organization. + * @param param The request object + */ + LogsArchivesApi.prototype.createLogsArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createLogsArchive(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createLogsArchive(responseContext); + }); + }); + }; + /** + * Delete a given archive from your organization. + * @param param The request object + */ + LogsArchivesApi.prototype.deleteLogsArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteLogsArchive(param.archiveId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteLogsArchive(responseContext); + }); + }); + }; + /** + * Get a specific archive from your organization. + * @param param The request object + */ + LogsArchivesApi.prototype.getLogsArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsArchive(param.archiveId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsArchive(responseContext); + }); + }); + }; + /** + * Get the current order of your archives. This endpoint takes no JSON arguments. + * @param param The request object + */ + LogsArchivesApi.prototype.getLogsArchiveOrder = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsArchiveOrder(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsArchiveOrder(responseContext); + }); + }); + }; + /** + * Returns all read roles a given archive is restricted to. + * @param param The request object + */ + LogsArchivesApi.prototype.listArchiveReadRoles = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listArchiveReadRoles(param.archiveId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listArchiveReadRoles(responseContext); + }); + }); + }; + /** + * Get the list of configured logs archives with their definitions. + * @param param The request object + */ + LogsArchivesApi.prototype.listLogsArchives = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLogsArchives(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogsArchives(responseContext); + }); + }); + }; + /** + * Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/)) + * @param param The request object + */ + LogsArchivesApi.prototype.removeRoleFromArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.removeRoleFromArchive(param.archiveId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.removeRoleFromArchive(responseContext); + }); + }); + }; + /** + * Update a given archive configuration. **Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization. + * @param param The request object + */ + LogsArchivesApi.prototype.updateLogsArchive = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsArchive(param.archiveId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsArchive(responseContext); + }); + }); + }; + /** + * Update the order of your archives. Since logs are processed sequentially, reordering an archive may change the structure and content of the data processed by other archives. **Note**: Using the `PUT` method updates your archive's order by replacing the current order with the new one. + * @param param The request object + */ + LogsArchivesApi.prototype.updateLogsArchiveOrder = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsArchiveOrder(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsArchiveOrder(responseContext); + }); + }); + }; + return LogsArchivesApi; +}()); +exports.LogsArchivesApi = LogsArchivesApi; +//# sourceMappingURL=LogsArchivesApi.js.map + +/***/ }), + +/***/ 12943: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricsApi = exports.LogsMetricsApiResponseProcessor = exports.LogsMetricsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var LogsMetricsApiRequestFactory = /** @class */ (function (_super) { + __extends(LogsMetricsApiRequestFactory, _super); + function LogsMetricsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + LogsMetricsApiRequestFactory.prototype.createLogsMetric = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createLogsMetric."); + } + localVarPath = "/api/v2/logs/config/metrics"; + requestContext = (0, configuration_1.getServer)(_config, "LogsMetricsApi.createLogsMetric").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsMetricCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsMetricsApiRequestFactory.prototype.deleteLogsMetric = function (metricId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricId' is not null or undefined + if (metricId === null || metricId === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricId was null or undefined when calling deleteLogsMetric."); + } + localVarPath = "/api/v2/logs/config/metrics/{metric_id}".replace("{" + "metric_id" + "}", encodeURIComponent(String(metricId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsMetricsApi.deleteLogsMetric").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsMetricsApiRequestFactory.prototype.getLogsMetric = function (metricId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricId' is not null or undefined + if (metricId === null || metricId === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricId was null or undefined when calling getLogsMetric."); + } + localVarPath = "/api/v2/logs/config/metrics/{metric_id}".replace("{" + "metric_id" + "}", encodeURIComponent(String(metricId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsMetricsApi.getLogsMetric").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsMetricsApiRequestFactory.prototype.listLogsMetrics = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/logs/config/metrics"; + requestContext = (0, configuration_1.getServer)(_config, "LogsMetricsApi.listLogsMetrics").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + LogsMetricsApiRequestFactory.prototype.updateLogsMetric = function (metricId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricId' is not null or undefined + if (metricId === null || metricId === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricId was null or undefined when calling updateLogsMetric."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateLogsMetric."); + } + localVarPath = "/api/v2/logs/config/metrics/{metric_id}".replace("{" + "metric_id" + "}", encodeURIComponent(String(metricId))); + requestContext = (0, configuration_1.getServer)(_config, "LogsMetricsApi.updateLogsMetric").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "LogsMetricUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return LogsMetricsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.LogsMetricsApiRequestFactory = LogsMetricsApiRequestFactory; +var LogsMetricsApiResponseProcessor = /** @class */ (function () { + function LogsMetricsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createLogsMetric + * @throws ApiException if the response code was not in [200, 299] + */ + LogsMetricsApiResponseProcessor.prototype.createLogsMetric = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteLogsMetric + * @throws ApiException if the response code was not in [200, 299] + */ + LogsMetricsApiResponseProcessor.prototype.deleteLogsMetric = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_7); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_10]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsMetric + * @throws ApiException if the response code was not in [200, 299] + */ + LogsMetricsApiResponseProcessor.prototype.getLogsMetric = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_11]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_15]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogsMetrics + * @throws ApiException if the response code was not in [200, 299] + */ + LogsMetricsApiResponseProcessor.prototype.listLogsMetrics = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "LogsMetricsResponse", + ""]); + return [2 /*return*/, body_16]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "LogsMetricsResponse", + ""]); + return [2 /*return*/, body_19]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsMetric + * @throws ApiException if the response code was not in [200, 299] + */ + LogsMetricsApiResponseProcessor.prototype.updateLogsMetric = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_23); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_24); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "LogsMetricResponse", + ""]); + return [2 /*return*/, body_25]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return LogsMetricsApiResponseProcessor; +}()); +exports.LogsMetricsApiResponseProcessor = LogsMetricsApiResponseProcessor; +var LogsMetricsApi = /** @class */ (function () { + function LogsMetricsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new LogsMetricsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsMetricsApiResponseProcessor(); + } + /** + * Create a metric based on your ingested logs in your organization. Returns the log-based metric object from the request body when the request is successful. + * @param param The request object + */ + LogsMetricsApi.prototype.createLogsMetric = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createLogsMetric(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createLogsMetric(responseContext); + }); + }); + }; + /** + * Delete a specific log-based metric from your organization. + * @param param The request object + */ + LogsMetricsApi.prototype.deleteLogsMetric = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteLogsMetric(param.metricId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteLogsMetric(responseContext); + }); + }); + }; + /** + * Get a specific log-based metric from your organization. + * @param param The request object + */ + LogsMetricsApi.prototype.getLogsMetric = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getLogsMetric(param.metricId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getLogsMetric(responseContext); + }); + }); + }; + /** + * Get the list of configured log-based metrics with their definitions. + * @param param The request object + */ + LogsMetricsApi.prototype.listLogsMetrics = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listLogsMetrics(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listLogsMetrics(responseContext); + }); + }); + }; + /** + * Update a specific log-based metric from your organization. Returns the log-based metric object from the request body when the request is successful. + * @param param The request object + */ + LogsMetricsApi.prototype.updateLogsMetric = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateLogsMetric(param.metricId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateLogsMetric(responseContext); + }); + }); + }; + return LogsMetricsApi; +}()); +exports.LogsMetricsApi = LogsMetricsApi; +//# sourceMappingURL=LogsMetricsApi.js.map + +/***/ }), + +/***/ 47719: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsApi = exports.MetricsApiResponseProcessor = exports.MetricsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var MetricsApiRequestFactory = /** @class */ (function (_super) { + __extends(MetricsApiRequestFactory, _super); + function MetricsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + MetricsApiRequestFactory.prototype.createBulkTagsMetricsConfiguration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createBulkTagsMetricsConfiguration."); + } + localVarPath = "/api/v2/metrics/config/bulk-tags"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.createBulkTagsMetricsConfiguration").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricBulkTagConfigCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.createTagConfiguration = function (metricName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'createTagConfiguration'"); + if (!_config.unstableOperations["createTagConfiguration"]) { + throw new Error("Unstable operation 'createTagConfiguration' is disabled"); + } + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling createTagConfiguration."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createTagConfiguration."); + } + localVarPath = "/api/v2/metrics/{metric_name}/tags".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.createTagConfiguration").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricTagConfigurationCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.deleteBulkTagsMetricsConfiguration = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling deleteBulkTagsMetricsConfiguration."); + } + localVarPath = "/api/v2/metrics/config/bulk-tags"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.deleteBulkTagsMetricsConfiguration").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricBulkTagConfigDeleteRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.deleteTagConfiguration = function (metricName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'deleteTagConfiguration'"); + if (!_config.unstableOperations["deleteTagConfiguration"]) { + throw new Error("Unstable operation 'deleteTagConfiguration' is disabled"); + } + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling deleteTagConfiguration."); + } + localVarPath = "/api/v2/metrics/{metric_name}/tags".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.deleteTagConfiguration").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listTagConfigurationByName = function (metricName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listTagConfigurationByName'"); + if (!_config.unstableOperations["listTagConfigurationByName"]) { + throw new Error("Unstable operation 'listTagConfigurationByName' is disabled"); + } + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling listTagConfigurationByName."); + } + localVarPath = "/api/v2/metrics/{metric_name}/tags".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listTagConfigurationByName").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listTagConfigurations = function (filterConfigured, filterTagsConfigured, filterMetricType, filterIncludePercentiles, filterTags, windowSeconds, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listTagConfigurations'"); + if (!_config.unstableOperations["listTagConfigurations"]) { + throw new Error("Unstable operation 'listTagConfigurations' is disabled"); + } + localVarPath = "/api/v2/metrics"; + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listTagConfigurations").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (filterConfigured !== undefined) { + requestContext.setQueryParam("filter[configured]", ObjectSerializer_1.ObjectSerializer.serialize(filterConfigured, "boolean", "")); + } + if (filterTagsConfigured !== undefined) { + requestContext.setQueryParam("filter[tags_configured]", ObjectSerializer_1.ObjectSerializer.serialize(filterTagsConfigured, "string", "")); + } + if (filterMetricType !== undefined) { + requestContext.setQueryParam("filter[metric_type]", ObjectSerializer_1.ObjectSerializer.serialize(filterMetricType, "MetricTagConfigurationMetricTypes", "")); + } + if (filterIncludePercentiles !== undefined) { + requestContext.setQueryParam("filter[include_percentiles]", ObjectSerializer_1.ObjectSerializer.serialize(filterIncludePercentiles, "boolean", "")); + } + if (filterTags !== undefined) { + requestContext.setQueryParam("filter[tags]", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, "string", "")); + } + if (windowSeconds !== undefined) { + requestContext.setQueryParam("window[seconds]", ObjectSerializer_1.ObjectSerializer.serialize(windowSeconds, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listTagsByMetricName = function (metricName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling listTagsByMetricName."); + } + localVarPath = "/api/v2/metrics/{metric_name}/all-tags".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listTagsByMetricName").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.listVolumesByMetricName = function (metricName, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling listVolumesByMetricName."); + } + localVarPath = "/api/v2/metrics/{metric_name}/volumes".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.listVolumesByMetricName").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + MetricsApiRequestFactory.prototype.updateTagConfiguration = function (metricName, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'updateTagConfiguration'"); + if (!_config.unstableOperations["updateTagConfiguration"]) { + throw new Error("Unstable operation 'updateTagConfiguration' is disabled"); + } + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new baseapi_1.RequiredError("Required parameter metricName was null or undefined when calling updateTagConfiguration."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateTagConfiguration."); + } + localVarPath = "/api/v2/metrics/{metric_name}/tags".replace("{" + "metric_name" + "}", encodeURIComponent(String(metricName))); + requestContext = (0, configuration_1.getServer)(_config, "MetricsApi.updateTagConfiguration").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MetricTagConfigurationUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return MetricsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.MetricsApiRequestFactory = MetricsApiRequestFactory; +var MetricsApiResponseProcessor = /** @class */ (function () { + function MetricsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createBulkTagsMetricsConfiguration + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.createBulkTagsMetricsConfiguration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricBulkTagConfigResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricBulkTagConfigResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createTagConfiguration + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.createTagConfiguration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_10); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_11); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_12]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteBulkTagsMetricsConfiguration + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.deleteBulkTagsMetricsConfiguration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("202", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_13 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricBulkTagConfigResponse", + ""]); + return [2 /*return*/, body_13]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_14 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_14); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_15 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_16 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_17 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_17); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_18 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricBulkTagConfigResponse", + ""]); + return [2 /*return*/, body_18]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteTagConfiguration + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.deleteTagConfiguration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_19); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_20); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_21); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_22]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listTagConfigurationByName + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listTagConfigurationByName = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_23]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_24); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_25); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_26); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_27]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listTagConfigurations + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listTagConfigurations = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "MetricsAndMetricTagConfigurationsResponse", + ""]); + return [2 /*return*/, body_28]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_29); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_31); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "MetricsAndMetricTagConfigurationsResponse", + ""]); + return [2 /*return*/, body_32]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listTagsByMetricName + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listTagsByMetricName = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body_37, _s, _t, _u, _v, body_38, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_33 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricAllTagsResponse", + ""]); + return [2 /*return*/, body_33]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_34 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_34); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_35 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_35); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_36 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_36); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_37 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_37); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_38 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricAllTagsResponse", + ""]); + return [2 /*return*/, body_38]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listVolumesByMetricName + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.listVolumesByMetricName = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body_44, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_39 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricVolumesResponse", + ""]); + return [2 /*return*/, body_39]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_40 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_40); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_41 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_41); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_42 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_42); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_43 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_43); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_44 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricVolumesResponse", + ""]); + return [2 /*return*/, body_44]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateTagConfiguration + * @throws ApiException if the response code was not in [200, 299] + */ + MetricsApiResponseProcessor.prototype.updateTagConfiguration = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_45, _a, _b, _c, _d, body_46, _e, _f, _g, _h, body_47, _j, _k, _l, _m, body_48, _o, _p, _q, _r, body_49, _s, _t, _u, _v, body_50, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_45 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_45]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_46 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_46); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_47 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_47); + case 6: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_48 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_48); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_49 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_49); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_50 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "MetricTagConfigurationResponse", + ""]); + return [2 /*return*/, body_50]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return MetricsApiResponseProcessor; +}()); +exports.MetricsApiResponseProcessor = MetricsApiResponseProcessor; +var MetricsApi = /** @class */ (function () { + function MetricsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new MetricsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new MetricsApiResponseProcessor(); + } + /** + * Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not expect deterministic ordering of concurrent calls. Can only be used with application keys of users with the `Manage Tags for Metrics` permission. + * @param param The request object + */ + MetricsApi.prototype.createBulkTagsMetricsConfiguration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createBulkTagsMetricsConfiguration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createBulkTagsMetricsConfiguration(responseContext); + }); + }); + }; + /** + * Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric or configure custom aggregations on any count, rate, or gauge metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission. + * @param param The request object + */ + MetricsApi.prototype.createTagConfiguration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createTagConfiguration(param.metricName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createTagConfiguration(responseContext); + }); + }); + }; + /** + * Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. Can only be used with application keys of users with the `Manage Tags for Metrics` permission. + * @param param The request object + */ + MetricsApi.prototype.deleteBulkTagsMetricsConfiguration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteBulkTagsMetricsConfiguration(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteBulkTagsMetricsConfiguration(responseContext); + }); + }); + }; + /** + * Deletes a metric's tag configuration. Can only be used with application keys from users with the `Manage Tags for Metrics` permission. + * @param param The request object + */ + MetricsApi.prototype.deleteTagConfiguration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteTagConfiguration(param.metricName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteTagConfiguration(responseContext); + }); + }); + }; + /** + * Returns the tag configuration for the given metric name. + * @param param The request object + */ + MetricsApi.prototype.listTagConfigurationByName = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listTagConfigurationByName(param.metricName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listTagConfigurationByName(responseContext); + }); + }); + }; + /** + * Returns all configured count/gauge/rate/distribution metric names (with additional filters if specified). + * @param param The request object + */ + MetricsApi.prototype.listTagConfigurations = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listTagConfigurations(param.filterConfigured, param.filterTagsConfigured, param.filterMetricType, param.filterIncludePercentiles, param.filterTags, param.windowSeconds, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listTagConfigurations(responseContext); + }); + }); + }; + /** + * View indexed tag key-value pairs for a given metric name. + * @param param The request object + */ + MetricsApi.prototype.listTagsByMetricName = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listTagsByMetricName(param.metricName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listTagsByMetricName(responseContext); + }); + }); + }; + /** + * View distinct metrics volumes for the given metric name. Custom distribution metrics will return both ingested and indexed custom metric volumes. For Metrics without Limits™ beta customers, all metrics will return both ingested/indexed volumes. Custom metrics generated in-app from other products will return `null` for ingested volumes. + * @param param The request object + */ + MetricsApi.prototype.listVolumesByMetricName = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listVolumesByMetricName(param.metricName, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listVolumesByMetricName(responseContext); + }); + }); + }; + /** + * Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations of a count, rate, or gauge metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission. + * @param param The request object + */ + MetricsApi.prototype.updateTagConfiguration = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateTagConfiguration(param.metricName, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateTagConfiguration(responseContext); + }); + }); + }; + return MetricsApi; +}()); +exports.MetricsApi = MetricsApi; +//# sourceMappingURL=MetricsApi.js.map + +/***/ }), + +/***/ 2718: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessesApi = exports.ProcessesApiResponseProcessor = exports.ProcessesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var ProcessesApiRequestFactory = /** @class */ (function (_super) { + __extends(ProcessesApiRequestFactory, _super); + function ProcessesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + ProcessesApiRequestFactory.prototype.listProcesses = function (search, tags, from, to, pageLimit, pageCursor, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/processes"; + requestContext = (0, configuration_1.getServer)(_config, "ProcessesApi.listProcesses").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (search !== undefined) { + requestContext.setQueryParam("search", ObjectSerializer_1.ObjectSerializer.serialize(search, "string", "")); + } + if (tags !== undefined) { + requestContext.setQueryParam("tags", ObjectSerializer_1.ObjectSerializer.serialize(tags, "string", "")); + } + if (from !== undefined) { + requestContext.setQueryParam("from", ObjectSerializer_1.ObjectSerializer.serialize(from, "number", "int64")); + } + if (to !== undefined) { + requestContext.setQueryParam("to", ObjectSerializer_1.ObjectSerializer.serialize(to, "number", "int64")); + } + if (pageLimit !== undefined) { + requestContext.setQueryParam("page[limit]", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, "number", "int32")); + } + if (pageCursor !== undefined) { + requestContext.setQueryParam("page[cursor]", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return ProcessesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.ProcessesApiRequestFactory = ProcessesApiRequestFactory; +var ProcessesApiResponseProcessor = /** @class */ (function () { + function ProcessesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listProcesses + * @throws ApiException if the response code was not in [200, 299] + */ + ProcessesApiResponseProcessor.prototype.listProcesses = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ProcessSummariesResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ProcessSummariesResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return ProcessesApiResponseProcessor; +}()); +exports.ProcessesApiResponseProcessor = ProcessesApiResponseProcessor; +var ProcessesApi = /** @class */ (function () { + function ProcessesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new ProcessesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new ProcessesApiResponseProcessor(); + } + /** + * Get all processes for your organization. + * @param param The request object + */ + ProcessesApi.prototype.listProcesses = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listProcesses(param.search, param.tags, param.from, param.to, param.pageLimit, param.pageCursor, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listProcesses(responseContext); + }); + }); + }; + return ProcessesApi; +}()); +exports.ProcessesApi = ProcessesApi; +//# sourceMappingURL=ProcessesApi.js.map + +/***/ }), + +/***/ 49755: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RolesApi = exports.RolesApiResponseProcessor = exports.RolesApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var RolesApiRequestFactory = /** @class */ (function (_super) { + __extends(RolesApiRequestFactory, _super); + function RolesApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + RolesApiRequestFactory.prototype.addPermissionToRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling addPermissionToRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling addPermissionToRole."); + } + localVarPath = "/api/v2/roles/{role_id}/permissions".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.addPermissionToRole").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToPermission", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.addUserToRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling addUserToRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling addUserToRole."); + } + localVarPath = "/api/v2/roles/{role_id}/users".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.addUserToRole").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToUser", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.cloneRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling cloneRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling cloneRole."); + } + localVarPath = "/api/v2/roles/{role_id}/clone".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.cloneRole").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RoleCloneRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.createRole = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createRole."); + } + localVarPath = "/api/v2/roles"; + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.createRole").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RoleCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.deleteRole = function (roleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling deleteRole."); + } + localVarPath = "/api/v2/roles/{role_id}".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.deleteRole").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.getRole = function (roleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling getRole."); + } + localVarPath = "/api/v2/roles/{role_id}".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.getRole").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.listPermissions = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/permissions"; + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.listPermissions").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.listRolePermissions = function (roleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling listRolePermissions."); + } + localVarPath = "/api/v2/roles/{role_id}/permissions".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.listRolePermissions").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.listRoleUsers = function (roleId, pageSize, pageNumber, sort, filter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling listRoleUsers."); + } + localVarPath = "/api/v2/roles/{role_id}/users".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.listRoleUsers").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.listRoles = function (pageSize, pageNumber, sort, filter, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/roles"; + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.listRoles").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "RolesSort", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.removePermissionFromRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling removePermissionFromRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling removePermissionFromRole."); + } + localVarPath = "/api/v2/roles/{role_id}/permissions".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.removePermissionFromRole").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToPermission", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.removeUserFromRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling removeUserFromRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling removeUserFromRole."); + } + localVarPath = "/api/v2/roles/{role_id}/users".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.removeUserFromRole").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RelationshipToUser", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + RolesApiRequestFactory.prototype.updateRole = function (roleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'roleId' is not null or undefined + if (roleId === null || roleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter roleId was null or undefined when calling updateRole."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateRole."); + } + localVarPath = "/api/v2/roles/{role_id}".replace("{" + "role_id" + "}", encodeURIComponent(String(roleId))); + requestContext = (0, configuration_1.getServer)(_config, "RolesApi.updateRole").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RoleUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return RolesApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.RolesApiRequestFactory = RolesApiRequestFactory; +var RolesApiResponseProcessor = /** @class */ (function () { + function RolesApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to addPermissionToRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.addPermissionToRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to addUserToRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.addUserToRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_10); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_11); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_12]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to cloneRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.cloneRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body_19, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_13 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "RoleResponse", + ""]); + return [2 /*return*/, body_13]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_14 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_14); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_15 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_15); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_16 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_16); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_17 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_17); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_18 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_19 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "RoleResponse", + ""]); + return [2 /*return*/, body_19]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.createRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "RoleCreateResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "RoleCreateResponse", + ""]); + return [2 /*return*/, body_24]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.deleteRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_25); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_27); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_28]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.getRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_29, _a, _b, _c, _d, body_30, _e, _f, _g, _h, body_31, _j, _k, _l, _m, body_32, _o, _p, _q, _r, body_33, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_29 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "RoleResponse", + ""]); + return [2 /*return*/, body_29]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_30 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_31 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_31); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_32 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_32); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_33 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "RoleResponse", + ""]); + return [2 /*return*/, body_33]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listPermissions + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.listPermissions = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_34 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_34]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_35 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_35); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_36 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_36); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_37 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_37); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_38 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_38]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listRolePermissions + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.listRolePermissions = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_39 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_39]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_40 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_40); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_41 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_41); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_42 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_42); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_43 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_43]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listRoleUsers + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.listRoleUsers = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_44, _a, _b, _c, _d, body_45, _e, _f, _g, _h, body_46, _j, _k, _l, _m, body_47, _o, _p, _q, _r, body_48, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_44 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_44]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_45 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_45); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_46 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_46); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_47 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_47); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_48 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_48]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listRoles + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.listRoles = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_49, _a, _b, _c, _d, body_50, _e, _f, _g, _h, body_51, _j, _k, _l, _m, body_52, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_49 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "RolesResponse", + ""]); + return [2 /*return*/, body_49]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_50 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_50); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_51 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_51); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_52 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "RolesResponse", + ""]); + return [2 /*return*/, body_52]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to removePermissionFromRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.removePermissionFromRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_53, _a, _b, _c, _d, body_54, _e, _f, _g, _h, body_55, _j, _k, _l, _m, body_56, _o, _p, _q, _r, body_57, _s, _t, _u, _v, body_58, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_53 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_53]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_54 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_54); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_55 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_55); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_56 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_56); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_57 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_57); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_58 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_58]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to removeUserFromRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.removeUserFromRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_59, _a, _b, _c, _d, body_60, _e, _f, _g, _h, body_61, _j, _k, _l, _m, body_62, _o, _p, _q, _r, body_63, _s, _t, _u, _v, body_64, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_59 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_59]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_60 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_60); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_61 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_61); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_62 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_62); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_63 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_63); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_64 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_64]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateRole + * @throws ApiException if the response code was not in [200, 299] + */ + RolesApiResponseProcessor.prototype.updateRole = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_65, _a, _b, _c, _d, body_66, _e, _f, _g, _h, body_67, _j, _k, _l, _m, body_68, _o, _p, _q, _r, body_69, _s, _t, _u, _v, body_70, _w, _x, _y, _z, body_71, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_65 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "RoleUpdateResponse", + ""]); + return [2 /*return*/, body_65]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_66 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_66); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_67 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_67); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_68 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_68); + case 8: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_69 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_69); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_70 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_70); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_71 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "RoleUpdateResponse", + ""]); + return [2 /*return*/, body_71]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return RolesApiResponseProcessor; +}()); +exports.RolesApiResponseProcessor = RolesApiResponseProcessor; +var RolesApi = /** @class */ (function () { + function RolesApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new RolesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new RolesApiResponseProcessor(); + } + /** + * Adds a permission to a role. + * @param param The request object + */ + RolesApi.prototype.addPermissionToRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.addPermissionToRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.addPermissionToRole(responseContext); + }); + }); + }; + /** + * Adds a user to a role. + * @param param The request object + */ + RolesApi.prototype.addUserToRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.addUserToRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.addUserToRole(responseContext); + }); + }); + }; + /** + * Clone an existing role + * @param param The request object + */ + RolesApi.prototype.cloneRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.cloneRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.cloneRole(responseContext); + }); + }); + }; + /** + * Create a new role for your organization. + * @param param The request object + */ + RolesApi.prototype.createRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createRole(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createRole(responseContext); + }); + }); + }; + /** + * Disables a role. + * @param param The request object + */ + RolesApi.prototype.deleteRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteRole(param.roleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteRole(responseContext); + }); + }); + }; + /** + * Get a role in the organization specified by the role’s `role_id`. + * @param param The request object + */ + RolesApi.prototype.getRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getRole(param.roleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getRole(responseContext); + }); + }); + }; + /** + * Returns a list of all permissions, including name, description, and ID. + * @param param The request object + */ + RolesApi.prototype.listPermissions = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listPermissions(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listPermissions(responseContext); + }); + }); + }; + /** + * Returns a list of all permissions for a single role. + * @param param The request object + */ + RolesApi.prototype.listRolePermissions = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listRolePermissions(param.roleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listRolePermissions(responseContext); + }); + }); + }; + /** + * Gets all users of a role. + * @param param The request object + */ + RolesApi.prototype.listRoleUsers = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listRoleUsers(param.roleId, param.pageSize, param.pageNumber, param.sort, param.filter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listRoleUsers(responseContext); + }); + }); + }; + /** + * Returns all roles, including their names and IDs. + * @param param The request object + */ + RolesApi.prototype.listRoles = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listRoles(param.pageSize, param.pageNumber, param.sort, param.filter, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listRoles(responseContext); + }); + }); + }; + /** + * Removes a permission from a role. + * @param param The request object + */ + RolesApi.prototype.removePermissionFromRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.removePermissionFromRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.removePermissionFromRole(responseContext); + }); + }); + }; + /** + * Removes a user from a role. + * @param param The request object + */ + RolesApi.prototype.removeUserFromRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.removeUserFromRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.removeUserFromRole(responseContext); + }); + }); + }; + /** + * Edit a role. Can only be used with application keys belonging to administrators. + * @param param The request object + */ + RolesApi.prototype.updateRole = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateRole(param.roleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateRole(responseContext); + }); + }); + }; + return RolesApi; +}()); +exports.RolesApi = RolesApi; +//# sourceMappingURL=RolesApi.js.map + +/***/ }), + +/***/ 94005: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringApi = exports.SecurityMonitoringApiResponseProcessor = exports.SecurityMonitoringApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var index_1 = __nccwpck_require__(53128); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var SecurityMonitoringApiRequestFactory = /** @class */ (function (_super) { + __extends(SecurityMonitoringApiRequestFactory, _super); + function SecurityMonitoringApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + SecurityMonitoringApiRequestFactory.prototype.createSecurityFilter = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSecurityFilter."); + } + localVarPath = "/api/v2/security_monitoring/configuration/security_filters"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.createSecurityFilter").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityFilterCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.createSecurityMonitoringRule = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createSecurityMonitoringRule."); + } + localVarPath = "/api/v2/security_monitoring/rules"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.createSecurityMonitoringRule").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringRuleCreatePayload", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.deleteSecurityFilter = function (securityFilterId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'securityFilterId' is not null or undefined + if (securityFilterId === null || securityFilterId === undefined) { + throw new baseapi_1.RequiredError("Required parameter securityFilterId was null or undefined when calling deleteSecurityFilter."); + } + localVarPath = "/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}".replace("{" + "security_filter_id" + "}", encodeURIComponent(String(securityFilterId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.deleteSecurityFilter").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.deleteSecurityMonitoringRule = function (ruleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter ruleId was null or undefined when calling deleteSecurityMonitoringRule."); + } + localVarPath = "/api/v2/security_monitoring/rules/{rule_id}".replace("{" + "rule_id" + "}", encodeURIComponent(String(ruleId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.deleteSecurityMonitoringRule").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.getSecurityFilter = function (securityFilterId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'securityFilterId' is not null or undefined + if (securityFilterId === null || securityFilterId === undefined) { + throw new baseapi_1.RequiredError("Required parameter securityFilterId was null or undefined when calling getSecurityFilter."); + } + localVarPath = "/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}".replace("{" + "security_filter_id" + "}", encodeURIComponent(String(securityFilterId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.getSecurityFilter").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.getSecurityMonitoringRule = function (ruleId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter ruleId was null or undefined when calling getSecurityMonitoringRule."); + } + localVarPath = "/api/v2/security_monitoring/rules/{rule_id}".replace("{" + "rule_id" + "}", encodeURIComponent(String(ruleId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.getSecurityMonitoringRule").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.listSecurityFilters = function (_options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/security_monitoring/configuration/security_filters"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.listSecurityFilters").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.listSecurityMonitoringRules = function (pageSize, pageNumber, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/security_monitoring/rules"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.listSecurityMonitoringRules").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.listSecurityMonitoringSignals = function (filterQuery, filterFrom, filterTo, sort, pageCursor, pageLimit, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'listSecurityMonitoringSignals'"); + if (!_config.unstableOperations["listSecurityMonitoringSignals"]) { + throw new Error("Unstable operation 'listSecurityMonitoringSignals' is disabled"); + } + localVarPath = "/api/v2/security_monitoring/signals"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.listSecurityMonitoringSignals").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (filterQuery !== undefined) { + requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", "")); + } + if (filterFrom !== undefined) { + requestContext.setQueryParam("filter[from]", ObjectSerializer_1.ObjectSerializer.serialize(filterFrom, "Date", "date-time")); + } + if (filterTo !== undefined) { + requestContext.setQueryParam("filter[to]", ObjectSerializer_1.ObjectSerializer.serialize(filterTo, "Date", "date-time")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "SecurityMonitoringSignalsSort", "")); + } + if (pageCursor !== undefined) { + requestContext.setQueryParam("page[cursor]", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, "string", "")); + } + if (pageLimit !== undefined) { + requestContext.setQueryParam("page[limit]", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, "number", "int32")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.searchSecurityMonitoringSignals = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + index_1.logger.warn("Using unstable operation 'searchSecurityMonitoringSignals'"); + if (!_config.unstableOperations["searchSecurityMonitoringSignals"]) { + throw new Error("Unstable operation 'searchSecurityMonitoringSignals' is disabled"); + } + localVarPath = "/api/v2/security_monitoring/signals/search"; + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.searchSecurityMonitoringSignals").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringSignalListRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.updateSecurityFilter = function (securityFilterId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'securityFilterId' is not null or undefined + if (securityFilterId === null || securityFilterId === undefined) { + throw new baseapi_1.RequiredError("Required parameter securityFilterId was null or undefined when calling updateSecurityFilter."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateSecurityFilter."); + } + localVarPath = "/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}".replace("{" + "security_filter_id" + "}", encodeURIComponent(String(securityFilterId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.updateSecurityFilter").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityFilterUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + SecurityMonitoringApiRequestFactory.prototype.updateSecurityMonitoringRule = function (ruleId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new baseapi_1.RequiredError("Required parameter ruleId was null or undefined when calling updateSecurityMonitoringRule."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateSecurityMonitoringRule."); + } + localVarPath = "/api/v2/security_monitoring/rules/{rule_id}".replace("{" + "rule_id" + "}", encodeURIComponent(String(ruleId))); + requestContext = (0, configuration_1.getServer)(_config, "SecurityMonitoringApi.updateSecurityMonitoringRule").makeRequestContext(localVarPath, http_1.HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringRuleUpdatePayload", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return SecurityMonitoringApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.SecurityMonitoringApiRequestFactory = SecurityMonitoringApiRequestFactory; +var SecurityMonitoringApiResponseProcessor = /** @class */ (function () { + function SecurityMonitoringApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSecurityFilter + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.createSecurityFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_4); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_5); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_6]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createSecurityMonitoringRule + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.createSecurityMonitoringRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_7]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_8); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_9); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_10); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_11]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteSecurityFilter + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.deleteSecurityFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_12 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_12); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_13 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_13); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_14 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_14); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_15 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_15]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteSecurityMonitoringRule + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.deleteSecurityMonitoringRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_17); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_19]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSecurityFilter + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.getSecurityFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_24]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getSecurityMonitoringRule + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.getSecurityMonitoringRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_25]; + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_27); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_28]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listSecurityFilters + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.listSecurityFilters = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_29, _a, _b, _c, _d, body_30, _e, _f, _g, _h, body_31, _j, _k, _l, _m, body_32, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_29 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SecurityFiltersResponse", + ""]); + return [2 /*return*/, body_29]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_30 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_30); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_31 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_31); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_32 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SecurityFiltersResponse", + ""]); + return [2 /*return*/, body_32]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listSecurityMonitoringRules + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.listSecurityMonitoringRules = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_33 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "SecurityMonitoringListRulesResponse", + ""]); + return [2 /*return*/, body_33]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_34 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_34); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_35 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_35); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_36 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "SecurityMonitoringListRulesResponse", + ""]); + return [2 /*return*/, body_36]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listSecurityMonitoringSignals + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.listSecurityMonitoringSignals = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_37 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SecurityMonitoringSignalsListResponse", + ""]); + return [2 /*return*/, body_37]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_38 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_38); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_39 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_39); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_40 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_40); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_41 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SecurityMonitoringSignalsListResponse", + ""]); + return [2 /*return*/, body_41]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to searchSecurityMonitoringSignals + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.searchSecurityMonitoringSignals = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_42 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "SecurityMonitoringSignalsListResponse", + ""]); + return [2 /*return*/, body_42]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_43 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_43); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_44 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_44); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_45 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_45); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_46 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "SecurityMonitoringSignalsListResponse", + ""]); + return [2 /*return*/, body_46]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateSecurityFilter + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.updateSecurityFilter = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body_53, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_47 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_47]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_48 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_48); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_49 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_49); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_50 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_50); + case 8: + if (!(0, util_1.isCodeInRange)("409", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_51 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(409, body_51); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_52 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_52); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_53 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "SecurityFilterResponse", + ""]); + return [2 /*return*/, body_53]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateSecurityMonitoringRule + * @throws ApiException if the response code was not in [200, 299] + */ + SecurityMonitoringApiResponseProcessor.prototype.updateSecurityMonitoringRule = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_54, _a, _b, _c, _d, body_55, _e, _f, _g, _h, body_56, _j, _k, _l, _m, body_57, _o, _p, _q, _r, body_58, _s, _t, _u, _v, body_59, _w, _x, _y, _z, body_60, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_54 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_54]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_55 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_55); + case 4: + if (!(0, util_1.isCodeInRange)("401", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_56 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(401, body_56); + case 6: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_57 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_57); + case 8: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_58 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_58); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_59 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_59); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_60 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "SecurityMonitoringRuleResponse", + ""]); + return [2 /*return*/, body_60]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return SecurityMonitoringApiResponseProcessor; +}()); +exports.SecurityMonitoringApiResponseProcessor = SecurityMonitoringApiResponseProcessor; +var SecurityMonitoringApi = /** @class */ (function () { + function SecurityMonitoringApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new SecurityMonitoringApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new SecurityMonitoringApiResponseProcessor(); + } + /** + * Create a security filter. See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples. + * @param param The request object + */ + SecurityMonitoringApi.prototype.createSecurityFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSecurityFilter(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSecurityFilter(responseContext); + }); + }); + }; + /** + * Create a detection rule. + * @param param The request object + */ + SecurityMonitoringApi.prototype.createSecurityMonitoringRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createSecurityMonitoringRule(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createSecurityMonitoringRule(responseContext); + }); + }); + }; + /** + * Delete a specific security filter. + * @param param The request object + */ + SecurityMonitoringApi.prototype.deleteSecurityFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteSecurityFilter(param.securityFilterId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteSecurityFilter(responseContext); + }); + }); + }; + /** + * Delete an existing rule. Default rules cannot be deleted. + * @param param The request object + */ + SecurityMonitoringApi.prototype.deleteSecurityMonitoringRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteSecurityMonitoringRule(param.ruleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteSecurityMonitoringRule(responseContext); + }); + }); + }; + /** + * Get the details of a specific security filter. See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples. + * @param param The request object + */ + SecurityMonitoringApi.prototype.getSecurityFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSecurityFilter(param.securityFilterId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSecurityFilter(responseContext); + }); + }); + }; + /** + * Get a rule's details. + * @param param The request object + */ + SecurityMonitoringApi.prototype.getSecurityMonitoringRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getSecurityMonitoringRule(param.ruleId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getSecurityMonitoringRule(responseContext); + }); + }); + }; + /** + * Get the list of configured security filters with their definitions. + * @param param The request object + */ + SecurityMonitoringApi.prototype.listSecurityFilters = function (options) { + var _this = this; + var requestContextPromise = this.requestFactory.listSecurityFilters(options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listSecurityFilters(responseContext); + }); + }); + }; + /** + * List rules. + * @param param The request object + */ + SecurityMonitoringApi.prototype.listSecurityMonitoringRules = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listSecurityMonitoringRules(param.pageSize, param.pageNumber, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listSecurityMonitoringRules(responseContext); + }); + }); + }; + /** + * The list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals. + * @param param The request object + */ + SecurityMonitoringApi.prototype.listSecurityMonitoringSignals = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listSecurityMonitoringSignals(param.filterQuery, param.filterFrom, param.filterTo, param.sort, param.pageCursor, param.pageLimit, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listSecurityMonitoringSignals(responseContext); + }); + }); + }; + /** + * Returns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals. + * @param param The request object + */ + SecurityMonitoringApi.prototype.searchSecurityMonitoringSignals = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.searchSecurityMonitoringSignals(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.searchSecurityMonitoringSignals(responseContext); + }); + }); + }; + /** + * Update a specific security filter. Returns the security filter object when the request is successful. + * @param param The request object + */ + SecurityMonitoringApi.prototype.updateSecurityFilter = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateSecurityFilter(param.securityFilterId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateSecurityFilter(responseContext); + }); + }); + }; + /** + * Update an existing rule. When updating `cases`, `queries` or `options`, the whole field must be included. For example, when modifying a query all queries must be included. Default rules can only be updated to be enabled and to change notifications. + * @param param The request object + */ + SecurityMonitoringApi.prototype.updateSecurityMonitoringRule = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateSecurityMonitoringRule(param.ruleId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateSecurityMonitoringRule(responseContext); + }); + }); + }; + return SecurityMonitoringApi; +}()); +exports.SecurityMonitoringApi = SecurityMonitoringApi; +//# sourceMappingURL=SecurityMonitoringApi.js.map + +/***/ }), + +/***/ 1204: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceAccountsApi = exports.ServiceAccountsApiResponseProcessor = exports.ServiceAccountsApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var ServiceAccountsApiRequestFactory = /** @class */ (function (_super) { + __extends(ServiceAccountsApiRequestFactory, _super); + function ServiceAccountsApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + ServiceAccountsApiRequestFactory.prototype.createServiceAccountApplicationKey = function (serviceAccountId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceAccountId' is not null or undefined + if (serviceAccountId === null || serviceAccountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceAccountId was null or undefined when calling createServiceAccountApplicationKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createServiceAccountApplicationKey."); + } + localVarPath = "/api/v2/service_accounts/{service_account_id}/application_keys".replace("{" + "service_account_id" + "}", encodeURIComponent(String(serviceAccountId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceAccountsApi.createServiceAccountApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKeyCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceAccountsApiRequestFactory.prototype.deleteServiceAccountApplicationKey = function (serviceAccountId, appKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceAccountId' is not null or undefined + if (serviceAccountId === null || serviceAccountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceAccountId was null or undefined when calling deleteServiceAccountApplicationKey."); + } + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling deleteServiceAccountApplicationKey."); + } + localVarPath = "/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}" + .replace("{" + "service_account_id" + "}", encodeURIComponent(String(serviceAccountId))) + .replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceAccountsApi.deleteServiceAccountApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceAccountsApiRequestFactory.prototype.getServiceAccountApplicationKey = function (serviceAccountId, appKeyId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceAccountId' is not null or undefined + if (serviceAccountId === null || serviceAccountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceAccountId was null or undefined when calling getServiceAccountApplicationKey."); + } + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling getServiceAccountApplicationKey."); + } + localVarPath = "/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}" + .replace("{" + "service_account_id" + "}", encodeURIComponent(String(serviceAccountId))) + .replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceAccountsApi.getServiceAccountApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceAccountsApiRequestFactory.prototype.listServiceAccountApplicationKeys = function (serviceAccountId, pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceAccountId' is not null or undefined + if (serviceAccountId === null || serviceAccountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceAccountId was null or undefined when calling listServiceAccountApplicationKeys."); + } + localVarPath = "/api/v2/service_accounts/{service_account_id}/application_keys".replace("{" + "service_account_id" + "}", encodeURIComponent(String(serviceAccountId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceAccountsApi.listServiceAccountApplicationKeys").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "ApplicationKeysSort", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (filterCreatedAtStart !== undefined) { + requestContext.setQueryParam("filter[created_at][start]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, "string", "")); + } + if (filterCreatedAtEnd !== undefined) { + requestContext.setQueryParam("filter[created_at][end]", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + ServiceAccountsApiRequestFactory.prototype.updateServiceAccountApplicationKey = function (serviceAccountId, appKeyId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'serviceAccountId' is not null or undefined + if (serviceAccountId === null || serviceAccountId === undefined) { + throw new baseapi_1.RequiredError("Required parameter serviceAccountId was null or undefined when calling updateServiceAccountApplicationKey."); + } + // verify required parameter 'appKeyId' is not null or undefined + if (appKeyId === null || appKeyId === undefined) { + throw new baseapi_1.RequiredError("Required parameter appKeyId was null or undefined when calling updateServiceAccountApplicationKey."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateServiceAccountApplicationKey."); + } + localVarPath = "/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}" + .replace("{" + "service_account_id" + "}", encodeURIComponent(String(serviceAccountId))) + .replace("{" + "app_key_id" + "}", encodeURIComponent(String(appKeyId))); + requestContext = (0, configuration_1.getServer)(_config, "ServiceAccountsApi.updateServiceAccountApplicationKey").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ApplicationKeyUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return ServiceAccountsApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.ServiceAccountsApiRequestFactory = ServiceAccountsApiRequestFactory; +var ServiceAccountsApiResponseProcessor = /** @class */ (function () { + function ServiceAccountsApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createServiceAccountApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceAccountsApiResponseProcessor.prototype.createServiceAccountApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "ApplicationKeyResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteServiceAccountApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceAccountsApiResponseProcessor.prototype.deleteServiceAccountApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_6); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_8); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_9]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getServiceAccountApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceAccountsApiResponseProcessor.prototype.getServiceAccountApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PartialApplicationKeyResponse", + ""]); + return [2 /*return*/, body_10]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PartialApplicationKeyResponse", + ""]); + return [2 /*return*/, body_14]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listServiceAccountApplicationKeys + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceAccountsApiResponseProcessor.prototype.listServiceAccountApplicationKeys = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body_20, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_18); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_19); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_20 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "ListApplicationKeysResponse", + ""]); + return [2 /*return*/, body_20]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateServiceAccountApplicationKey + * @throws ApiException if the response code was not in [200, 299] + */ + ServiceAccountsApiResponseProcessor.prototype.updateServiceAccountApplicationKey = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body; + return __generator(this, function (_0) { + switch (_0.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_21 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]), + "PartialApplicationKeyResponse", + ""]); + return [2 /*return*/, body_21]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_22 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_22); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_23 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_23); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_24 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_24); + case 8: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_25 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_25); + case 10: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_26 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]), + "PartialApplicationKeyResponse", + ""]); + return [2 /*return*/, body_26]; + case 12: return [4 /*yield*/, response.body.text()]; + case 13: + body = (_0.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return ServiceAccountsApiResponseProcessor; +}()); +exports.ServiceAccountsApiResponseProcessor = ServiceAccountsApiResponseProcessor; +var ServiceAccountsApi = /** @class */ (function () { + function ServiceAccountsApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new ServiceAccountsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new ServiceAccountsApiResponseProcessor(); + } + /** + * Create an application key for this service account. + * @param param The request object + */ + ServiceAccountsApi.prototype.createServiceAccountApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createServiceAccountApplicationKey(param.serviceAccountId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createServiceAccountApplicationKey(responseContext); + }); + }); + }; + /** + * Delete an application key owned by this service account. + * @param param The request object + */ + ServiceAccountsApi.prototype.deleteServiceAccountApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.deleteServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.deleteServiceAccountApplicationKey(responseContext); + }); + }); + }; + /** + * Get an application key owned by this service account. + * @param param The request object + */ + ServiceAccountsApi.prototype.getServiceAccountApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getServiceAccountApplicationKey(responseContext); + }); + }); + }; + /** + * List all application keys available for this service account. + * @param param The request object + */ + ServiceAccountsApi.prototype.listServiceAccountApplicationKeys = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listServiceAccountApplicationKeys(param.serviceAccountId, param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listServiceAccountApplicationKeys(responseContext); + }); + }); + }; + /** + * Edit an application key owned by this service account. + * @param param The request object + */ + ServiceAccountsApi.prototype.updateServiceAccountApplicationKey = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateServiceAccountApplicationKey(responseContext); + }); + }); + }; + return ServiceAccountsApi; +}()); +exports.ServiceAccountsApi = ServiceAccountsApi; +//# sourceMappingURL=ServiceAccountsApi.js.map + +/***/ }), + +/***/ 25328: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsersApi = exports.UsersApiResponseProcessor = exports.UsersApiRequestFactory = void 0; +var baseapi_1 = __nccwpck_require__(96079); +var configuration_1 = __nccwpck_require__(63222); +var http_1 = __nccwpck_require__(88621); +var ObjectSerializer_1 = __nccwpck_require__(47805); +var exception_1 = __nccwpck_require__(90448); +var util_1 = __nccwpck_require__(99354); +var UsersApiRequestFactory = /** @class */ (function (_super) { + __extends(UsersApiRequestFactory, _super); + function UsersApiRequestFactory() { + return _super !== null && _super.apply(this, arguments) || this; + } + UsersApiRequestFactory.prototype.createServiceAccount = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createServiceAccount."); + } + localVarPath = "/api/v2/service_accounts"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.createServiceAccount").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ServiceAccountCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.createUser = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling createUser."); + } + localVarPath = "/api/v2/users"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.createUser").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UserCreateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.disableUser = function (userId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userId' is not null or undefined + if (userId === null || userId === undefined) { + throw new baseapi_1.RequiredError("Required parameter userId was null or undefined when calling disableUser."); + } + localVarPath = "/api/v2/users/{user_id}".replace("{" + "user_id" + "}", encodeURIComponent(String(userId))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.disableUser").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.getInvitation = function (userInvitationUuid, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userInvitationUuid' is not null or undefined + if (userInvitationUuid === null || userInvitationUuid === undefined) { + throw new baseapi_1.RequiredError("Required parameter userInvitationUuid was null or undefined when calling getInvitation."); + } + localVarPath = "/api/v2/user_invitations/{user_invitation_uuid}".replace("{" + "user_invitation_uuid" + "}", encodeURIComponent(String(userInvitationUuid))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.getInvitation").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.getUser = function (userId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userId' is not null or undefined + if (userId === null || userId === undefined) { + throw new baseapi_1.RequiredError("Required parameter userId was null or undefined when calling getUser."); + } + localVarPath = "/api/v2/users/{user_id}".replace("{" + "user_id" + "}", encodeURIComponent(String(userId))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.getUser").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.listUserOrganizations = function (userId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userId' is not null or undefined + if (userId === null || userId === undefined) { + throw new baseapi_1.RequiredError("Required parameter userId was null or undefined when calling listUserOrganizations."); + } + localVarPath = "/api/v2/users/{user_id}/orgs".replace("{" + "user_id" + "}", encodeURIComponent(String(userId))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.listUserOrganizations").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.listUserPermissions = function (userId, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userId' is not null or undefined + if (userId === null || userId === undefined) { + throw new baseapi_1.RequiredError("Required parameter userId was null or undefined when calling listUserPermissions."); + } + localVarPath = "/api/v2/users/{user_id}/permissions".replace("{" + "user_id" + "}", encodeURIComponent(String(userId))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.listUserPermissions").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.listUsers = function (pageSize, pageNumber, sort, sortDir, filter, filterStatus, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext; + return __generator(this, function (_a) { + _config = _options || this.configuration; + localVarPath = "/api/v2/users"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.listUsers").makeRequestContext(localVarPath, http_1.HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64")); + } + if (pageNumber !== undefined) { + requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64")); + } + if (sort !== undefined) { + requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", "")); + } + if (sortDir !== undefined) { + requestContext.setQueryParam("sort_dir", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, "QuerySortOrder", "")); + } + if (filter !== undefined) { + requestContext.setQueryParam("filter", ObjectSerializer_1.ObjectSerializer.serialize(filter, "string", "")); + } + if (filterStatus !== undefined) { + requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "string", "")); + } + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.sendInvitations = function (body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling sendInvitations."); + } + localVarPath = "/api/v2/user_invitations"; + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.sendInvitations").makeRequestContext(localVarPath, http_1.HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UserInvitationsRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + UsersApiRequestFactory.prototype.updateUser = function (userId, body, _options) { + return __awaiter(this, void 0, void 0, function () { + var _config, localVarPath, requestContext, contentType, serializedBody; + return __generator(this, function (_a) { + _config = _options || this.configuration; + // verify required parameter 'userId' is not null or undefined + if (userId === null || userId === undefined) { + throw new baseapi_1.RequiredError("Required parameter userId was null or undefined when calling updateUser."); + } + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new baseapi_1.RequiredError("Required parameter body was null or undefined when calling updateUser."); + } + localVarPath = "/api/v2/users/{user_id}".replace("{" + "user_id" + "}", encodeURIComponent(String(userId))); + requestContext = (0, configuration_1.getServer)(_config, "UsersApi.updateUser").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UserUpdateRequest", ""), contentType); + requestContext.setBody(serializedBody); + // Apply auth methods + (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + return [2 /*return*/, requestContext]; + }); + }); + }; + return UsersApiRequestFactory; +}(baseapi_1.BaseAPIRequestFactory)); +exports.UsersApiRequestFactory = UsersApiRequestFactory; +var UsersApiResponseProcessor = /** @class */ (function () { + function UsersApiResponseProcessor() { + } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createServiceAccount + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.createServiceAccount = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_1]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_2); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_3); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_4); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_5]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.createUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_6]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_7); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_8); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_9); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_10]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to disableUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.disableUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body; + return __generator(this, function (_s) { + switch (_s.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if ((0, util_1.isCodeInRange)("204", response.httpStatusCode)) { + return [2 /*return*/]; + } + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_11); + case 2: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_12); + case 4: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_13); + case 6: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]), + "void", + ""]); + return [2 /*return*/, body_14]; + case 8: return [4 /*yield*/, response.body.text()]; + case 9: + body = (_s.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getInvitation + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.getInvitation = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserInvitationResponse", + ""]); + return [2 /*return*/, body_15]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_16); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_17); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_18); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserInvitationResponse", + ""]); + return [2 /*return*/, body_19]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.getUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_20]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_21); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_22); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_23); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_24]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listUserOrganizations + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.listUserOrganizations = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_25]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_26); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_27); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_28); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_29]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listUserPermissions + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.listUserPermissions = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_30 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_30]; + case 2: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_31 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_31); + case 4: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_32 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_32); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_33 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_33); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_34 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "PermissionsResponse", + ""]); + return [2 /*return*/, body_34]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listUsers + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.listUsers = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_35, _a, _b, _c, _d, body_36, _e, _f, _g, _h, body_37, _j, _k, _l, _m, body_38, _o, _p, _q, _r, body_39, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_35 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_35]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_36 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_36); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_37 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_37); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_38 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_38); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_39 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UsersResponse", + ""]); + return [2 /*return*/, body_39]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to sendInvitations + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.sendInvitations = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body; + return __generator(this, function (_w) { + switch (_w.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_40 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]), + "UserInvitationsResponse", + ""]); + return [2 /*return*/, body_40]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_41 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_41); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_42 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_42); + case 6: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_43 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_43); + case 8: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_44 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]), + "UserInvitationsResponse", + ""]); + return [2 /*return*/, body_44]; + case 10: return [4 /*yield*/, response.body.text()]; + case 11: + body = (_w.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateUser + * @throws ApiException if the response code was not in [200, 299] + */ + UsersApiResponseProcessor.prototype.updateUser = function (response) { + return __awaiter(this, void 0, void 0, function () { + var contentType, body_45, _a, _b, _c, _d, body_46, _e, _f, _g, _h, body_47, _j, _k, _l, _m, body_48, _o, _p, _q, _r, body_49, _s, _t, _u, _v, body_50, _w, _x, _y, _z, body_51, _0, _1, _2, _3, body; + return __generator(this, function (_4) { + switch (_4.label) { + case 0: + contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3 /*break*/, 2]; + _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize; + _d = (_c = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 1: + body_45 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_45]; + case 2: + if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3 /*break*/, 4]; + _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize; + _h = (_g = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 3: + body_46 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(400, body_46); + case 4: + if (!(0, util_1.isCodeInRange)("403", response.httpStatusCode)) return [3 /*break*/, 6]; + _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize; + _m = (_l = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 5: + body_47 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(403, body_47); + case 6: + if (!(0, util_1.isCodeInRange)("404", response.httpStatusCode)) return [3 /*break*/, 8]; + _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize; + _r = (_q = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 7: + body_48 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(404, body_48); + case 8: + if (!(0, util_1.isCodeInRange)("422", response.httpStatusCode)) return [3 /*break*/, 10]; + _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize; + _v = (_u = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 9: + body_49 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(422, body_49); + case 10: + if (!(0, util_1.isCodeInRange)("429", response.httpStatusCode)) return [3 /*break*/, 12]; + _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize; + _z = (_y = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 11: + body_50 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]), + "APIErrorResponse", + ""]); + throw new exception_1.ApiException(429, body_50); + case 12: + if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14]; + _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize; + _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse; + return [4 /*yield*/, response.body.text()]; + case 13: + body_51 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]), + "UserResponse", + ""]); + return [2 /*return*/, body_51]; + case 14: return [4 /*yield*/, response.body.text()]; + case 15: + body = (_4.sent()) || ""; + throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"'); + } + }); + }); + }; + return UsersApiResponseProcessor; +}()); +exports.UsersApiResponseProcessor = UsersApiResponseProcessor; +var UsersApi = /** @class */ (function () { + function UsersApi(configuration, requestFactory, responseProcessor) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new UsersApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new UsersApiResponseProcessor(); + } + /** + * Create a service account for your organization. + * @param param The request object + */ + UsersApi.prototype.createServiceAccount = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createServiceAccount(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createServiceAccount(responseContext); + }); + }); + }; + /** + * Create a user for your organization. + * @param param The request object + */ + UsersApi.prototype.createUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.createUser(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.createUser(responseContext); + }); + }); + }; + /** + * Disable a user. Can only be used with an application key belonging to an administrator user. + * @param param The request object + */ + UsersApi.prototype.disableUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.disableUser(param.userId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.disableUser(responseContext); + }); + }); + }; + /** + * Returns a single user invitation by its UUID. + * @param param The request object + */ + UsersApi.prototype.getInvitation = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getInvitation(param.userInvitationUuid, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getInvitation(responseContext); + }); + }); + }; + /** + * Get a user in the organization specified by the user’s `user_id`. + * @param param The request object + */ + UsersApi.prototype.getUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.getUser(param.userId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.getUser(responseContext); + }); + }); + }; + /** + * Get a user organization. Returns the user information and all organizations joined by this user. + * @param param The request object + */ + UsersApi.prototype.listUserOrganizations = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listUserOrganizations(param.userId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listUserOrganizations(responseContext); + }); + }); + }; + /** + * Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles. + * @param param The request object + */ + UsersApi.prototype.listUserPermissions = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.listUserPermissions(param.userId, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listUserPermissions(responseContext); + }); + }); + }; + /** + * Get the list of all users in the organization. This list includes all users even if they are deactivated or unverified. + * @param param The request object + */ + UsersApi.prototype.listUsers = function (param, options) { + var _this = this; + if (param === void 0) { param = {}; } + var requestContextPromise = this.requestFactory.listUsers(param.pageSize, param.pageNumber, param.sort, param.sortDir, param.filter, param.filterStatus, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.listUsers(responseContext); + }); + }); + }; + /** + * Sends emails to one or more users inviting them to join the organization. + * @param param The request object + */ + UsersApi.prototype.sendInvitations = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.sendInvitations(param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.sendInvitations(responseContext); + }); + }); + }; + /** + * Edit a user. Can only be used with an application key belonging to an administrator user. + * @param param The request object + */ + UsersApi.prototype.updateUser = function (param, options) { + var _this = this; + var requestContextPromise = this.requestFactory.updateUser(param.userId, param.body, options); + return requestContextPromise.then(function (requestContext) { + return _this.configuration.httpApi + .send(requestContext) + .then(function (responseContext) { + return _this.responseProcessor.updateUser(responseContext); + }); + }); + }; + return UsersApi; +}()); +exports.UsersApi = UsersApi; +//# sourceMappingURL=UsersApi.js.map + +/***/ }), + +/***/ 96079: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RequiredError = exports.BaseAPIRequestFactory = exports.COLLECTION_FORMATS = void 0; +/** + * + * @export + */ +exports.COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; +/** + * + * @export + * @class BaseAPI + */ +var BaseAPIRequestFactory = /** @class */ (function () { + function BaseAPIRequestFactory(configuration) { + this.configuration = configuration; + } + return BaseAPIRequestFactory; +}()); +exports.BaseAPIRequestFactory = BaseAPIRequestFactory; +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +var RequiredError = /** @class */ (function (_super) { + __extends(RequiredError, _super); + function RequiredError(field, msg) { + var _this = _super.call(this, msg) || this; + _this.field = field; + _this.name = "RequiredError"; + return _this; + } + return RequiredError; +}(Error)); +exports.RequiredError = RequiredError; +//# sourceMappingURL=baseapi.js.map + +/***/ }), + +/***/ 90448: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApiException = void 0; +/** + * Represents an error caused by an api call i.e. it has attributes for a HTTP status code + * and the returned body object. + * + * Example + * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] + * => ApiException(404, someErrorMessageObject) + * + */ +var ApiException = /** @class */ (function (_super) { + __extends(ApiException, _super); + function ApiException(code, body) { + var _this = _super.call(this, "HTTP-Code: " + code + "\nMessage: " + JSON.stringify(body)) || this; + _this.code = code; + _this.body = body; + return _this; + } + return ApiException; +}(Error)); +exports.ApiException = ApiException; +//# sourceMappingURL=exception.js.map + +/***/ }), + +/***/ 11747: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.configureAuthMethods = exports.AppKeyAuthAuthentication = exports.ApiKeyAuthAuthentication = exports.AuthZAuthentication = void 0; +/** + * Applies oauth2 authentication to the request context. + */ +var AuthZAuthentication = /** @class */ (function () { + /** + * Configures OAuth2 with the necessary properties + * + * @param accessToken: The access token to be used for every request + */ + function AuthZAuthentication(accessToken) { + this.accessToken = accessToken; + } + AuthZAuthentication.prototype.getName = function () { + return "AuthZ"; + }; + AuthZAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("Authorization", "Bearer " + this.accessToken); + }; + return AuthZAuthentication; +}()); +exports.AuthZAuthentication = AuthZAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var ApiKeyAuthAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function ApiKeyAuthAuthentication(apiKey) { + this.apiKey = apiKey; + } + ApiKeyAuthAuthentication.prototype.getName = function () { + return "apiKeyAuth"; + }; + ApiKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("DD-API-KEY", this.apiKey); + }; + return ApiKeyAuthAuthentication; +}()); +exports.ApiKeyAuthAuthentication = ApiKeyAuthAuthentication; +/** + * Applies apiKey authentication to the request context. + */ +var AppKeyAuthAuthentication = /** @class */ (function () { + /** + * Configures this api key authentication with the necessary properties + * + * @param apiKey: The api key to be used for every request + */ + function AppKeyAuthAuthentication(apiKey) { + this.apiKey = apiKey; + } + AppKeyAuthAuthentication.prototype.getName = function () { + return "appKeyAuth"; + }; + AppKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) { + context.setHeaderParam("DD-APPLICATION-KEY", this.apiKey); + }; + return AppKeyAuthAuthentication; +}()); +exports.AppKeyAuthAuthentication = AppKeyAuthAuthentication; +/** + * Creates the authentication methods from a swagger description. + * + */ +function configureAuthMethods(config) { + var authMethods = {}; + if (!config) { + return authMethods; + } + if (config["AuthZ"]) { + authMethods["AuthZ"] = new AuthZAuthentication(config["AuthZ"]["accessToken"]); + } + if (config["apiKeyAuth"]) { + authMethods["apiKeyAuth"] = new ApiKeyAuthAuthentication(config["apiKeyAuth"]); + } + if (config["appKeyAuth"]) { + authMethods["appKeyAuth"] = new AppKeyAuthAuthentication(config["appKeyAuth"]); + } + return authMethods; +} +exports.configureAuthMethods = configureAuthMethods; +//# sourceMappingURL=auth.js.map + +/***/ }), + +/***/ 63222: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.applySecurityAuthentication = exports.setServerVariables = exports.getServer = exports.createConfiguration = void 0; +var isomorphic_fetch_1 = __nccwpck_require__(13441); +var servers_1 = __nccwpck_require__(42523); +var auth_1 = __nccwpck_require__(11747); +/** + * Configuration factory function + * + * If a property is not included in conf, a default is used: + * - baseServer: null + * - serverIndex: 0 + * - operationServerIndices: {} + * - httpApi: IsomorphicFetchHttpLibrary + * - authMethods: {} + * - httpConfig: {} + * - debug: false + * + * @param conf partial configuration + */ +function createConfiguration(conf) { + if (conf === void 0) { conf = {}; } + if (process !== undefined && process.env.DD_SITE) { + var serverConf = servers_1.server1.getConfiguration(); + servers_1.server1.setVariables({ site: process.env.DD_SITE }); + for (var op in servers_1.operationServers) { + servers_1.operationServers[op][0].setVariables({ site: process.env.DD_SITE }); + } + } + var authMethods = conf.authMethods || {}; + if (!("apiKeyAuth" in authMethods) && + process !== undefined && + process.env.DD_API_KEY) { + authMethods["apiKeyAuth"] = process.env.DD_API_KEY; + } + if (!("appKeyAuth" in authMethods) && + process !== undefined && + process.env.DD_APP_KEY) { + authMethods["appKeyAuth"] = process.env.DD_APP_KEY; + } + var configuration = { + baseServer: conf.baseServer, + serverIndex: conf.serverIndex || 0, + operationServerIndices: conf.operationServerIndices || {}, + unstableOperations: { + createIncidentService: false, + deleteIncidentService: false, + getIncidentService: false, + listIncidentServices: false, + updateIncidentService: false, + createIncidentTeam: false, + deleteIncidentTeam: false, + getIncidentTeam: false, + listIncidentTeams: false, + updateIncidentTeam: false, + createIncident: false, + deleteIncident: false, + getIncident: false, + listIncidents: false, + updateIncident: false, + createTagConfiguration: false, + deleteTagConfiguration: false, + listTagConfigurationByName: false, + listTagConfigurations: false, + updateTagConfiguration: false, + listSecurityMonitoringSignals: false, + searchSecurityMonitoringSignals: false, + }, + httpApi: conf.httpApi || new isomorphic_fetch_1.IsomorphicFetchHttpLibrary(), + authMethods: (0, auth_1.configureAuthMethods)(authMethods), + httpConfig: conf.httpConfig || {}, + debug: conf.debug, + }; + configuration.httpApi.debug = configuration.debug; + return configuration; +} +exports.createConfiguration = createConfiguration; +function getServer(conf, endpoint) { + if (conf.baseServer !== undefined) { + return conf.baseServer; + } + var index = endpoint in conf.operationServerIndices + ? conf.operationServerIndices[endpoint] + : conf.serverIndex; + return endpoint in servers_1.operationServers + ? servers_1.operationServers[endpoint][index] + : servers_1.servers[index]; +} +exports.getServer = getServer; +/** + * Sets the server variables. + * + * @param serverVariables key/value object representing the server variables (site, name, protocol, ...) + */ +function setServerVariables(conf, serverVariables) { + if (conf.baseServer !== undefined) { + conf.baseServer.setVariables(serverVariables); + return; + } + var index = conf.serverIndex; + servers_1.servers[index].setVariables(serverVariables); + for (var op in servers_1.operationServers) { + servers_1.operationServers[op][0].setVariables(serverVariables); + } +} +exports.setServerVariables = setServerVariables; +/** + * Apply given security authentication method if avaiable in configuration. + */ +function applySecurityAuthentication(conf, requestContext, authMethods) { + for (var _i = 0, authMethods_1 = authMethods; _i < authMethods_1.length; _i++) { + var authMethodName = authMethods_1[_i]; + var authMethod = conf.authMethods[authMethodName]; + if (authMethod) { + authMethod.applySecurityAuthentication(requestContext); + } + } +} +exports.applySecurityAuthentication = applySecurityAuthentication; +//# sourceMappingURL=configuration.js.map + +/***/ }), + +/***/ 88621: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +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 __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0; +var userAgent_1 = __nccwpck_require__(55180); +var url_parse_1 = __importDefault(__nccwpck_require__(25682)); +__exportStar(__nccwpck_require__(13441), exports); +/** + * Represents an HTTP method. + */ +var HttpMethod; +(function (HttpMethod) { + HttpMethod["GET"] = "GET"; + HttpMethod["HEAD"] = "HEAD"; + HttpMethod["POST"] = "POST"; + HttpMethod["PUT"] = "PUT"; + HttpMethod["DELETE"] = "DELETE"; + HttpMethod["CONNECT"] = "CONNECT"; + HttpMethod["OPTIONS"] = "OPTIONS"; + HttpMethod["TRACE"] = "TRACE"; + HttpMethod["PATCH"] = "PATCH"; +})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {})); +var HttpException = /** @class */ (function (_super) { + __extends(HttpException, _super); + function HttpException(msg) { + return _super.call(this, msg) || this; + } + return HttpException; +}(Error)); +exports.HttpException = HttpException; +/** + * Represents an HTTP request context + */ +var RequestContext = /** @class */ (function () { + /** + * Creates the request context using a http method and request resource url + * + * @param url url of the requested resource + * @param httpMethod http method + */ + function RequestContext(url, httpMethod) { + this.httpMethod = httpMethod; + this.headers = { "user-agent": userAgent_1.userAgent }; + this.body = undefined; + this.httpConfig = {}; + this.url = new url_parse_1.default(url, true); + } + /* + * Returns the url set in the constructor including the query string + * + */ + RequestContext.prototype.getUrl = function () { + return this.url.toString(); + }; + /** + * Replaces the url set in the constructor with this url. + * + */ + RequestContext.prototype.setUrl = function (url) { + this.url = new url_parse_1.default(url, true); + }; + /** + * Sets the body of the http request either as a string or FormData + * + * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE + * request is discouraged. + * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1 + * + * @param body the body of the request + */ + RequestContext.prototype.setBody = function (body) { + this.body = body; + }; + RequestContext.prototype.getHttpMethod = function () { + return this.httpMethod; + }; + RequestContext.prototype.getHeaders = function () { + return this.headers; + }; + RequestContext.prototype.getBody = function () { + return this.body; + }; + RequestContext.prototype.setQueryParam = function (name, value) { + var queryObj = this.url.query; + queryObj[name] = value; + this.url.set("query", queryObj); + }; + /** + * Sets a cookie with the name and value. NO check for duplicate cookies is performed + * + */ + RequestContext.prototype.addCookie = function (name, value) { + if (!this.headers["Cookie"]) { + this.headers["Cookie"] = ""; + } + this.headers["Cookie"] += name + "=" + value + "; "; + }; + RequestContext.prototype.setHeaderParam = function (key, value) { + this.headers[key] = value; + }; + RequestContext.prototype.setHttpConfig = function (conf) { + this.httpConfig = conf; + }; + RequestContext.prototype.getHttpConfig = function () { + return this.httpConfig; + }; + return RequestContext; +}()); +exports.RequestContext = RequestContext; +/** + * Helper class to generate a `ResponseBody` from binary data + */ +var SelfDecodingBody = /** @class */ (function () { + function SelfDecodingBody(dataSource) { + this.dataSource = dataSource; + } + SelfDecodingBody.prototype.binary = function () { + return this.dataSource; + }; + SelfDecodingBody.prototype.text = function () { + return __awaiter(this, void 0, void 0, function () { + var data; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.dataSource]; + case 1: + data = _a.sent(); + return [2 /*return*/, data.toString()]; + } + }); + }); + }; + return SelfDecodingBody; +}()); +exports.SelfDecodingBody = SelfDecodingBody; +var ResponseContext = /** @class */ (function () { + function ResponseContext(httpStatusCode, headers, body) { + this.httpStatusCode = httpStatusCode; + this.headers = headers; + this.body = body; + } + /** + * Parse header value in the form `value; param1="value1"` + * + * E.g. for Content-Type or Content-Disposition + * Parameter names are converted to lower case + * The first parameter is returned with the key `""` + */ + ResponseContext.prototype.getParsedHeader = function (headerName) { + var result = {}; + if (!this.headers[headerName]) { + return result; + } + var parameters = this.headers[headerName].split(";"); + for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) { + var parameter = parameters_1[_i]; + var _a = parameter.split("=", 2), key = _a[0], value = _a[1]; + key = key.toLowerCase().trim(); + if (value === undefined) { + result[""] = key; + } + else { + value = value.trim(); + if (value.startsWith('"') && value.endsWith('"')) { + value = value.substring(1, value.length - 1); + } + result[key] = value; + } + } + return result; + }; + ResponseContext.prototype.getBodyAsFile = function () { + return __awaiter(this, void 0, void 0, function () { + var data, fileName; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, this.body.binary()]; + case 1: + data = _a.sent(); + fileName = this.getParsedHeader("content-disposition")["filename"] || ""; + return [2 /*return*/, { data: data, name: fileName }]; + } + }); + }); + }; + return ResponseContext; +}()); +exports.ResponseContext = ResponseContext; +//# sourceMappingURL=http.js.map + +/***/ }), + +/***/ 13441: +/***/ (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 })); +exports.IsomorphicFetchHttpLibrary = void 0; +var http_1 = __nccwpck_require__(88621); +var cross_fetch_1 = __importDefault(__nccwpck_require__(25647)); +var pako_1 = __importDefault(__nccwpck_require__(31726)); +var buffer_from_1 = __importDefault(__nccwpck_require__(50382)); +var IsomorphicFetchHttpLibrary = /** @class */ (function () { + function IsomorphicFetchHttpLibrary() { + this.debug = false; + } + IsomorphicFetchHttpLibrary.prototype.send = function (request) { + var _this = this; + if (this.debug) { + this.logRequest(request); + } + var method = request.getHttpMethod().toString(); + var body = request.getBody(); + var compress = request.getHttpConfig().compress; + if (compress === undefined) { + compress = true; + } + var headers = request.getHeaders(); + if (typeof body === "string") { + if (headers["Content-Encoding"] == "gzip") { + body = (0, buffer_from_1.default)(pako_1.default.gzip(body).buffer); + } + else if (headers["Content-Encoding"] == "deflate") { + body = (0, buffer_from_1.default)(pako_1.default.deflate(body).buffer); + } + } + if (!headers["Accept-Encoding"]) { + if (compress) { + headers["Accept-Encoding"] = "gzip,deflate"; + } + else { + // We need to enforce it otherwise node-fetch will set a default + headers["Accept-Encoding"] = "identity"; + } + } + var resultPromise = (0, cross_fetch_1.default)(request.getUrl(), { + method: method, + body: body, + headers: headers, + signal: request.getHttpConfig().signal, + }).then(function (resp) { + var headers = {}; + resp.headers.forEach(function (value, name) { + headers[name] = value; + }); + var body = { + text: function () { return resp.text(); }, + binary: function () { return resp.buffer(); }, + }; + var response = new http_1.ResponseContext(resp.status, headers, body); + if (_this.debug) { + _this.logResponse(response); + } + return response; + }); + return resultPromise; + }; + IsomorphicFetchHttpLibrary.prototype.logRequest = function (request) { + var headers = request.getHeaders(); + if (headers["DD-API-KEY"]) { + headers["DD-API-KEY"] = headers["DD-API-KEY"].replace(/./g, "x"); + } + if (headers["DD-APPLICATION-KEY"]) { + headers["DD-APPLICATION-KEY"] = headers["DD-APPLICATION-KEY"].replace(/./g, "x"); + } + var headersJSON = JSON.stringify(headers, null, 2).replace(/\n/g, "\n\t"); + var method = request.getHttpMethod().toString(); + var url = request.getUrl().toString(); + var body = request.getBody() + ? JSON.stringify(request.getBody(), null, 2).replace(/\n/g, "\n\t") + : ""; + var compress = request.getHttpConfig().compress || true; + console.debug("\nrequest: {\n", "\turl: ".concat(url, "\n"), "\tmethod: ".concat(method, "\n"), "\theaders: ".concat(headersJSON, "\n"), "\tcompress: ".concat(compress, "\n"), "\tbody: ".concat(body, "\n}\n")); + }; + IsomorphicFetchHttpLibrary.prototype.logResponse = function (response) { + var httpStatusCode = response.httpStatusCode; + var headers = JSON.stringify(response.headers, null, 2).replace(/\n/g, "\n\t"); + var body = response.body + ? JSON.stringify(response.body, null, 2).replace(/\n/g, "\n\t") + : ""; + console.debug("response: {\n", "\tstatus: ".concat(httpStatusCode, "\n"), "\theaders: ".concat(headers, "\n"), "\tbody: ".concat(body, "\n}\n")); + }; + return IsomorphicFetchHttpLibrary; +}()); +exports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary; +//# sourceMappingURL=isomorphic-fetch.js.map + +/***/ }), + +/***/ 23687: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleAttributes = exports.AuthNMappingsResponse = exports.AuthNMappingUpdateRequest = exports.AuthNMappingUpdateRelationships = exports.AuthNMappingUpdateData = exports.AuthNMappingUpdateAttributes = exports.AuthNMappingResponse = exports.AuthNMappingRelationships = exports.AuthNMappingCreateRequest = exports.AuthNMappingCreateRelationships = exports.AuthNMappingCreateData = exports.AuthNMappingCreateAttributes = exports.AuthNMappingAttributes = exports.AuthNMapping = exports.ApplicationKeyUpdateRequest = exports.ApplicationKeyUpdateData = exports.ApplicationKeyUpdateAttributes = exports.ApplicationKeyResponse = exports.ApplicationKeyRelationships = exports.ApplicationKeyCreateRequest = exports.ApplicationKeyCreateData = exports.ApplicationKeyCreateAttributes = exports.APIKeysResponse = exports.APIKeyUpdateRequest = exports.APIKeyUpdateData = exports.APIKeyUpdateAttributes = exports.APIKeyResponse = exports.APIKeyRelationships = exports.APIKeyCreateRequest = exports.APIKeyCreateData = exports.APIKeyCreateAttributes = exports.APIErrorResponse = exports.UsersApi = exports.ServiceAccountsApi = exports.SecurityMonitoringApi = exports.RolesApi = exports.ProcessesApi = exports.MetricsApi = exports.LogsMetricsApi = exports.LogsArchivesApi = exports.LogsApi = exports.KeyManagementApi = exports.IncidentsApi = exports.IncidentTeamsApi = exports.IncidentServicesApi = exports.DashboardListsApi = exports.CloudWorkloadSecurityApi = exports.AuthNMappingsApi = exports.setServerVariables = exports.createConfiguration = void 0; +exports.IncidentServiceUpdateAttributes = exports.IncidentServiceResponseData = exports.IncidentServiceResponseAttributes = exports.IncidentServiceResponse = exports.IncidentServiceRelationships = exports.IncidentServiceCreateRequest = exports.IncidentServiceCreateData = exports.IncidentServiceCreateAttributes = exports.IncidentResponseRelationships = exports.IncidentResponseMetaPagination = exports.IncidentResponseMeta = exports.IncidentResponseData = exports.IncidentResponseAttributes = exports.IncidentResponse = exports.IncidentNotificationHandle = exports.IncidentFieldAttributesSingleValue = exports.IncidentFieldAttributesMultipleValue = exports.IncidentCreateRequest = exports.IncidentCreateRelationships = exports.IncidentCreateData = exports.IncidentCreateAttributes = exports.HTTPLogItem = exports.HTTPLogErrors = exports.HTTPLogError = exports.FullApplicationKeyAttributes = exports.FullApplicationKey = exports.FullAPIKeyAttributes = exports.FullAPIKey = exports.DashboardListUpdateItemsResponse = exports.DashboardListUpdateItemsRequest = exports.DashboardListItems = exports.DashboardListItemResponse = exports.DashboardListItemRequest = exports.DashboardListItem = exports.DashboardListDeleteItemsResponse = exports.DashboardListDeleteItemsRequest = exports.DashboardListAddItemsResponse = exports.DashboardListAddItemsRequest = exports.Creator = exports.CloudWorkloadSecurityAgentRulesListResponse = exports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = exports.CloudWorkloadSecurityAgentRuleUpdateRequest = exports.CloudWorkloadSecurityAgentRuleUpdateData = exports.CloudWorkloadSecurityAgentRuleUpdateAttributes = exports.CloudWorkloadSecurityAgentRuleResponse = exports.CloudWorkloadSecurityAgentRuleData = exports.CloudWorkloadSecurityAgentRuleCreatorAttributes = exports.CloudWorkloadSecurityAgentRuleCreateRequest = exports.CloudWorkloadSecurityAgentRuleCreateData = exports.CloudWorkloadSecurityAgentRuleCreateAttributes = void 0; +exports.LogsGroupByHistogram = exports.LogsGroupBy = exports.LogsCompute = exports.LogsArchives = exports.LogsArchiveOrderDefinition = exports.LogsArchiveOrderAttributes = exports.LogsArchiveOrder = exports.LogsArchiveIntegrationS3 = exports.LogsArchiveIntegrationGCS = exports.LogsArchiveIntegrationAzure = exports.LogsArchiveDestinationS3 = exports.LogsArchiveDestinationGCS = exports.LogsArchiveDestinationAzure = exports.LogsArchiveDefinition = exports.LogsArchiveCreateRequestDefinition = exports.LogsArchiveCreateRequestAttributes = exports.LogsArchiveCreateRequest = exports.LogsArchiveAttributes = exports.LogsArchive = exports.LogsAggregateSort = exports.LogsAggregateResponseData = exports.LogsAggregateResponse = exports.LogsAggregateRequestPage = exports.LogsAggregateRequest = exports.LogsAggregateBucketValueTimeseriesPoint = exports.LogsAggregateBucket = exports.LogAttributes = exports.Log = exports.ListApplicationKeysResponse = exports.IncidentsResponse = exports.IncidentUpdateRequest = exports.IncidentUpdateRelationships = exports.IncidentUpdateData = exports.IncidentUpdateAttributes = exports.IncidentTimelineCellMarkdownCreateAttributesContent = exports.IncidentTimelineCellMarkdownCreateAttributes = exports.IncidentTeamsResponse = exports.IncidentTeamUpdateRequest = exports.IncidentTeamUpdateData = exports.IncidentTeamUpdateAttributes = exports.IncidentTeamResponseData = exports.IncidentTeamResponseAttributes = exports.IncidentTeamResponse = exports.IncidentTeamRelationships = exports.IncidentTeamCreateRequest = exports.IncidentTeamCreateData = exports.IncidentTeamCreateAttributes = exports.IncidentServicesResponse = exports.IncidentServiceUpdateRequest = exports.IncidentServiceUpdateData = void 0; +exports.MetricTagConfigurationUpdateAttributes = exports.MetricTagConfigurationResponse = exports.MetricTagConfigurationCreateRequest = exports.MetricTagConfigurationCreateData = exports.MetricTagConfigurationCreateAttributes = exports.MetricTagConfigurationAttributes = exports.MetricTagConfiguration = exports.MetricIngestedIndexedVolumeAttributes = exports.MetricIngestedIndexedVolume = exports.MetricDistinctVolumeAttributes = exports.MetricDistinctVolume = exports.MetricCustomAggregation = exports.MetricBulkTagConfigStatusAttributes = exports.MetricBulkTagConfigStatus = exports.MetricBulkTagConfigResponse = exports.MetricBulkTagConfigDeleteRequest = exports.MetricBulkTagConfigDeleteAttributes = exports.MetricBulkTagConfigDelete = exports.MetricBulkTagConfigCreateRequest = exports.MetricBulkTagConfigCreateAttributes = exports.MetricBulkTagConfigCreate = exports.MetricAllTagsResponse = exports.MetricAllTagsAttributes = exports.MetricAllTags = exports.Metric = exports.LogsWarning = exports.LogsResponseMetadataPage = exports.LogsResponseMetadata = exports.LogsQueryOptions = exports.LogsQueryFilter = exports.LogsMetricsResponse = exports.LogsMetricUpdateRequest = exports.LogsMetricUpdateData = exports.LogsMetricUpdateAttributes = exports.LogsMetricResponseGroupBy = exports.LogsMetricResponseFilter = exports.LogsMetricResponseData = exports.LogsMetricResponseCompute = exports.LogsMetricResponseAttributes = exports.LogsMetricResponse = exports.LogsMetricGroupBy = exports.LogsMetricFilter = exports.LogsMetricCreateRequest = exports.LogsMetricCreateData = exports.LogsMetricCreateAttributes = exports.LogsMetricCompute = exports.LogsListResponseLinks = exports.LogsListResponse = exports.LogsListRequestPage = exports.LogsListRequest = void 0; +exports.RoleCreateResponse = exports.RoleCreateRequest = exports.RoleCreateData = exports.RoleCreateAttributes = exports.RoleCloneRequest = exports.RoleCloneAttributes = exports.RoleClone = exports.RoleAttributes = exports.Role = exports.ResponseMetaAttributes = exports.RelationshipToUsers = exports.RelationshipToUserData = exports.RelationshipToUser = exports.RelationshipToSAMLAssertionAttributeData = exports.RelationshipToSAMLAssertionAttribute = exports.RelationshipToRoles = exports.RelationshipToRoleData = exports.RelationshipToRole = exports.RelationshipToPermissions = exports.RelationshipToPermissionData = exports.RelationshipToPermission = exports.RelationshipToOrganizations = exports.RelationshipToOrganizationData = exports.RelationshipToOrganization = exports.RelationshipToIncidentPostmortemData = exports.RelationshipToIncidentPostmortem = exports.RelationshipToIncidentIntegrationMetadatas = exports.RelationshipToIncidentIntegrationMetadataData = exports.ProcessSummaryAttributes = exports.ProcessSummary = exports.ProcessSummariesResponse = exports.ProcessSummariesMetaPage = exports.ProcessSummariesMeta = exports.PermissionsResponse = exports.PermissionAttributes = exports.Permission = exports.PartialApplicationKeyResponse = exports.PartialApplicationKeyAttributes = exports.PartialApplicationKey = exports.PartialAPIKeyAttributes = exports.PartialAPIKey = exports.Pagination = exports.OrganizationAttributes = exports.Organization = exports.NullableRelationshipToUserData = exports.NullableRelationshipToUser = exports.MetricsAndMetricTagConfigurationsResponse = exports.MetricVolumesResponse = exports.MetricTagConfigurationUpdateRequest = exports.MetricTagConfigurationUpdateData = void 0; +exports.UserAttributes = exports.User = exports.ServiceAccountCreateRequest = exports.ServiceAccountCreateData = exports.ServiceAccountCreateAttributes = exports.SecurityMonitoringSignalsListResponseMetaPage = exports.SecurityMonitoringSignalsListResponseMeta = exports.SecurityMonitoringSignalsListResponseLinks = exports.SecurityMonitoringSignalsListResponse = exports.SecurityMonitoringSignalListRequestPage = exports.SecurityMonitoringSignalListRequestFilter = exports.SecurityMonitoringSignalListRequest = exports.SecurityMonitoringSignalAttributes = exports.SecurityMonitoringSignal = exports.SecurityMonitoringRuleUpdatePayload = exports.SecurityMonitoringRuleResponse = exports.SecurityMonitoringRuleQueryCreate = exports.SecurityMonitoringRuleQuery = exports.SecurityMonitoringRuleOptions = exports.SecurityMonitoringRuleNewValueOptions = exports.SecurityMonitoringRuleCreatePayload = exports.SecurityMonitoringRuleCaseCreate = exports.SecurityMonitoringRuleCase = exports.SecurityMonitoringListRulesResponse = exports.SecurityMonitoringFilter = exports.SecurityFiltersResponse = exports.SecurityFilterUpdateRequest = exports.SecurityFilterUpdateData = exports.SecurityFilterUpdateAttributes = exports.SecurityFilterResponse = exports.SecurityFilterMeta = exports.SecurityFilterExclusionFilterResponse = exports.SecurityFilterExclusionFilter = exports.SecurityFilterCreateRequest = exports.SecurityFilterCreateData = exports.SecurityFilterCreateAttributes = exports.SecurityFilterAttributes = exports.SecurityFilter = exports.SAMLAssertionAttributeAttributes = exports.SAMLAssertionAttribute = exports.RolesResponse = exports.RoleUpdateResponseData = exports.RoleUpdateResponse = exports.RoleUpdateRequest = exports.RoleUpdateData = exports.RoleUpdateAttributes = exports.RoleResponseRelationships = exports.RoleResponse = exports.RoleRelationships = exports.RoleCreateResponseData = void 0; +exports.UsersResponse = exports.UserUpdateRequest = exports.UserUpdateData = exports.UserUpdateAttributes = exports.UserResponseRelationships = exports.UserResponse = exports.UserRelationships = exports.UserInvitationsResponse = exports.UserInvitationsRequest = exports.UserInvitationResponseData = exports.UserInvitationResponse = exports.UserInvitationRelationships = exports.UserInvitationDataAttributes = exports.UserInvitationData = exports.UserCreateRequest = exports.UserCreateData = exports.UserCreateAttributes = void 0; +__exportStar(__nccwpck_require__(88621), exports); +__exportStar(__nccwpck_require__(11747), exports); +var configuration_1 = __nccwpck_require__(63222); +Object.defineProperty(exports, "createConfiguration", ({ enumerable: true, get: function () { return configuration_1.createConfiguration; } })); +var configuration_2 = __nccwpck_require__(63222); +Object.defineProperty(exports, "setServerVariables", ({ enumerable: true, get: function () { return configuration_2.setServerVariables; } })); +__exportStar(__nccwpck_require__(90448), exports); +__exportStar(__nccwpck_require__(42523), exports); +var AuthNMappingsApi_1 = __nccwpck_require__(36121); +Object.defineProperty(exports, "AuthNMappingsApi", ({ enumerable: true, get: function () { return AuthNMappingsApi_1.AuthNMappingsApi; } })); +var CloudWorkloadSecurityApi_1 = __nccwpck_require__(42023); +Object.defineProperty(exports, "CloudWorkloadSecurityApi", ({ enumerable: true, get: function () { return CloudWorkloadSecurityApi_1.CloudWorkloadSecurityApi; } })); +var DashboardListsApi_1 = __nccwpck_require__(50063); +Object.defineProperty(exports, "DashboardListsApi", ({ enumerable: true, get: function () { return DashboardListsApi_1.DashboardListsApi; } })); +var IncidentServicesApi_1 = __nccwpck_require__(6990); +Object.defineProperty(exports, "IncidentServicesApi", ({ enumerable: true, get: function () { return IncidentServicesApi_1.IncidentServicesApi; } })); +var IncidentTeamsApi_1 = __nccwpck_require__(97201); +Object.defineProperty(exports, "IncidentTeamsApi", ({ enumerable: true, get: function () { return IncidentTeamsApi_1.IncidentTeamsApi; } })); +var IncidentsApi_1 = __nccwpck_require__(9580); +Object.defineProperty(exports, "IncidentsApi", ({ enumerable: true, get: function () { return IncidentsApi_1.IncidentsApi; } })); +var KeyManagementApi_1 = __nccwpck_require__(95951); +Object.defineProperty(exports, "KeyManagementApi", ({ enumerable: true, get: function () { return KeyManagementApi_1.KeyManagementApi; } })); +var LogsApi_1 = __nccwpck_require__(94716); +Object.defineProperty(exports, "LogsApi", ({ enumerable: true, get: function () { return LogsApi_1.LogsApi; } })); +var LogsArchivesApi_1 = __nccwpck_require__(73593); +Object.defineProperty(exports, "LogsArchivesApi", ({ enumerable: true, get: function () { return LogsArchivesApi_1.LogsArchivesApi; } })); +var LogsMetricsApi_1 = __nccwpck_require__(12943); +Object.defineProperty(exports, "LogsMetricsApi", ({ enumerable: true, get: function () { return LogsMetricsApi_1.LogsMetricsApi; } })); +var MetricsApi_1 = __nccwpck_require__(47719); +Object.defineProperty(exports, "MetricsApi", ({ enumerable: true, get: function () { return MetricsApi_1.MetricsApi; } })); +var ProcessesApi_1 = __nccwpck_require__(2718); +Object.defineProperty(exports, "ProcessesApi", ({ enumerable: true, get: function () { return ProcessesApi_1.ProcessesApi; } })); +var RolesApi_1 = __nccwpck_require__(49755); +Object.defineProperty(exports, "RolesApi", ({ enumerable: true, get: function () { return RolesApi_1.RolesApi; } })); +var SecurityMonitoringApi_1 = __nccwpck_require__(94005); +Object.defineProperty(exports, "SecurityMonitoringApi", ({ enumerable: true, get: function () { return SecurityMonitoringApi_1.SecurityMonitoringApi; } })); +var ServiceAccountsApi_1 = __nccwpck_require__(1204); +Object.defineProperty(exports, "ServiceAccountsApi", ({ enumerable: true, get: function () { return ServiceAccountsApi_1.ServiceAccountsApi; } })); +var UsersApi_1 = __nccwpck_require__(25328); +Object.defineProperty(exports, "UsersApi", ({ enumerable: true, get: function () { return UsersApi_1.UsersApi; } })); +var APIErrorResponse_1 = __nccwpck_require__(70205); +Object.defineProperty(exports, "APIErrorResponse", ({ enumerable: true, get: function () { return APIErrorResponse_1.APIErrorResponse; } })); +var APIKeyCreateAttributes_1 = __nccwpck_require__(59524); +Object.defineProperty(exports, "APIKeyCreateAttributes", ({ enumerable: true, get: function () { return APIKeyCreateAttributes_1.APIKeyCreateAttributes; } })); +var APIKeyCreateData_1 = __nccwpck_require__(18279); +Object.defineProperty(exports, "APIKeyCreateData", ({ enumerable: true, get: function () { return APIKeyCreateData_1.APIKeyCreateData; } })); +var APIKeyCreateRequest_1 = __nccwpck_require__(58893); +Object.defineProperty(exports, "APIKeyCreateRequest", ({ enumerable: true, get: function () { return APIKeyCreateRequest_1.APIKeyCreateRequest; } })); +var APIKeyRelationships_1 = __nccwpck_require__(54551); +Object.defineProperty(exports, "APIKeyRelationships", ({ enumerable: true, get: function () { return APIKeyRelationships_1.APIKeyRelationships; } })); +var APIKeyResponse_1 = __nccwpck_require__(97531); +Object.defineProperty(exports, "APIKeyResponse", ({ enumerable: true, get: function () { return APIKeyResponse_1.APIKeyResponse; } })); +var APIKeyUpdateAttributes_1 = __nccwpck_require__(65168); +Object.defineProperty(exports, "APIKeyUpdateAttributes", ({ enumerable: true, get: function () { return APIKeyUpdateAttributes_1.APIKeyUpdateAttributes; } })); +var APIKeyUpdateData_1 = __nccwpck_require__(51292); +Object.defineProperty(exports, "APIKeyUpdateData", ({ enumerable: true, get: function () { return APIKeyUpdateData_1.APIKeyUpdateData; } })); +var APIKeyUpdateRequest_1 = __nccwpck_require__(20585); +Object.defineProperty(exports, "APIKeyUpdateRequest", ({ enumerable: true, get: function () { return APIKeyUpdateRequest_1.APIKeyUpdateRequest; } })); +var APIKeysResponse_1 = __nccwpck_require__(13214); +Object.defineProperty(exports, "APIKeysResponse", ({ enumerable: true, get: function () { return APIKeysResponse_1.APIKeysResponse; } })); +var ApplicationKeyCreateAttributes_1 = __nccwpck_require__(71500); +Object.defineProperty(exports, "ApplicationKeyCreateAttributes", ({ enumerable: true, get: function () { return ApplicationKeyCreateAttributes_1.ApplicationKeyCreateAttributes; } })); +var ApplicationKeyCreateData_1 = __nccwpck_require__(39673); +Object.defineProperty(exports, "ApplicationKeyCreateData", ({ enumerable: true, get: function () { return ApplicationKeyCreateData_1.ApplicationKeyCreateData; } })); +var ApplicationKeyCreateRequest_1 = __nccwpck_require__(89736); +Object.defineProperty(exports, "ApplicationKeyCreateRequest", ({ enumerable: true, get: function () { return ApplicationKeyCreateRequest_1.ApplicationKeyCreateRequest; } })); +var ApplicationKeyRelationships_1 = __nccwpck_require__(65634); +Object.defineProperty(exports, "ApplicationKeyRelationships", ({ enumerable: true, get: function () { return ApplicationKeyRelationships_1.ApplicationKeyRelationships; } })); +var ApplicationKeyResponse_1 = __nccwpck_require__(73297); +Object.defineProperty(exports, "ApplicationKeyResponse", ({ enumerable: true, get: function () { return ApplicationKeyResponse_1.ApplicationKeyResponse; } })); +var ApplicationKeyUpdateAttributes_1 = __nccwpck_require__(38052); +Object.defineProperty(exports, "ApplicationKeyUpdateAttributes", ({ enumerable: true, get: function () { return ApplicationKeyUpdateAttributes_1.ApplicationKeyUpdateAttributes; } })); +var ApplicationKeyUpdateData_1 = __nccwpck_require__(3655); +Object.defineProperty(exports, "ApplicationKeyUpdateData", ({ enumerable: true, get: function () { return ApplicationKeyUpdateData_1.ApplicationKeyUpdateData; } })); +var ApplicationKeyUpdateRequest_1 = __nccwpck_require__(19103); +Object.defineProperty(exports, "ApplicationKeyUpdateRequest", ({ enumerable: true, get: function () { return ApplicationKeyUpdateRequest_1.ApplicationKeyUpdateRequest; } })); +var AuthNMapping_1 = __nccwpck_require__(80723); +Object.defineProperty(exports, "AuthNMapping", ({ enumerable: true, get: function () { return AuthNMapping_1.AuthNMapping; } })); +var AuthNMappingAttributes_1 = __nccwpck_require__(70543); +Object.defineProperty(exports, "AuthNMappingAttributes", ({ enumerable: true, get: function () { return AuthNMappingAttributes_1.AuthNMappingAttributes; } })); +var AuthNMappingCreateAttributes_1 = __nccwpck_require__(47073); +Object.defineProperty(exports, "AuthNMappingCreateAttributes", ({ enumerable: true, get: function () { return AuthNMappingCreateAttributes_1.AuthNMappingCreateAttributes; } })); +var AuthNMappingCreateData_1 = __nccwpck_require__(2847); +Object.defineProperty(exports, "AuthNMappingCreateData", ({ enumerable: true, get: function () { return AuthNMappingCreateData_1.AuthNMappingCreateData; } })); +var AuthNMappingCreateRelationships_1 = __nccwpck_require__(20943); +Object.defineProperty(exports, "AuthNMappingCreateRelationships", ({ enumerable: true, get: function () { return AuthNMappingCreateRelationships_1.AuthNMappingCreateRelationships; } })); +var AuthNMappingCreateRequest_1 = __nccwpck_require__(32773); +Object.defineProperty(exports, "AuthNMappingCreateRequest", ({ enumerable: true, get: function () { return AuthNMappingCreateRequest_1.AuthNMappingCreateRequest; } })); +var AuthNMappingRelationships_1 = __nccwpck_require__(17587); +Object.defineProperty(exports, "AuthNMappingRelationships", ({ enumerable: true, get: function () { return AuthNMappingRelationships_1.AuthNMappingRelationships; } })); +var AuthNMappingResponse_1 = __nccwpck_require__(60064); +Object.defineProperty(exports, "AuthNMappingResponse", ({ enumerable: true, get: function () { return AuthNMappingResponse_1.AuthNMappingResponse; } })); +var AuthNMappingUpdateAttributes_1 = __nccwpck_require__(61653); +Object.defineProperty(exports, "AuthNMappingUpdateAttributes", ({ enumerable: true, get: function () { return AuthNMappingUpdateAttributes_1.AuthNMappingUpdateAttributes; } })); +var AuthNMappingUpdateData_1 = __nccwpck_require__(98430); +Object.defineProperty(exports, "AuthNMappingUpdateData", ({ enumerable: true, get: function () { return AuthNMappingUpdateData_1.AuthNMappingUpdateData; } })); +var AuthNMappingUpdateRelationships_1 = __nccwpck_require__(39731); +Object.defineProperty(exports, "AuthNMappingUpdateRelationships", ({ enumerable: true, get: function () { return AuthNMappingUpdateRelationships_1.AuthNMappingUpdateRelationships; } })); +var AuthNMappingUpdateRequest_1 = __nccwpck_require__(18093); +Object.defineProperty(exports, "AuthNMappingUpdateRequest", ({ enumerable: true, get: function () { return AuthNMappingUpdateRequest_1.AuthNMappingUpdateRequest; } })); +var AuthNMappingsResponse_1 = __nccwpck_require__(18439); +Object.defineProperty(exports, "AuthNMappingsResponse", ({ enumerable: true, get: function () { return AuthNMappingsResponse_1.AuthNMappingsResponse; } })); +var CloudWorkloadSecurityAgentRuleAttributes_1 = __nccwpck_require__(60792); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleAttributes", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleAttributes_1.CloudWorkloadSecurityAgentRuleAttributes; } })); +var CloudWorkloadSecurityAgentRuleCreateAttributes_1 = __nccwpck_require__(91982); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleCreateAttributes", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateAttributes_1.CloudWorkloadSecurityAgentRuleCreateAttributes; } })); +var CloudWorkloadSecurityAgentRuleCreateData_1 = __nccwpck_require__(57506); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleCreateData", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateData_1.CloudWorkloadSecurityAgentRuleCreateData; } })); +var CloudWorkloadSecurityAgentRuleCreateRequest_1 = __nccwpck_require__(11249); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleCreateRequest", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateRequest_1.CloudWorkloadSecurityAgentRuleCreateRequest; } })); +var CloudWorkloadSecurityAgentRuleCreatorAttributes_1 = __nccwpck_require__(34366); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleCreatorAttributes", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreatorAttributes_1.CloudWorkloadSecurityAgentRuleCreatorAttributes; } })); +var CloudWorkloadSecurityAgentRuleData_1 = __nccwpck_require__(79526); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleData", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleData_1.CloudWorkloadSecurityAgentRuleData; } })); +var CloudWorkloadSecurityAgentRuleResponse_1 = __nccwpck_require__(70516); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleResponse", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleResponse_1.CloudWorkloadSecurityAgentRuleResponse; } })); +var CloudWorkloadSecurityAgentRuleUpdateAttributes_1 = __nccwpck_require__(43319); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleUpdateAttributes", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateAttributes_1.CloudWorkloadSecurityAgentRuleUpdateAttributes; } })); +var CloudWorkloadSecurityAgentRuleUpdateData_1 = __nccwpck_require__(92347); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleUpdateData", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateData_1.CloudWorkloadSecurityAgentRuleUpdateData; } })); +var CloudWorkloadSecurityAgentRuleUpdateRequest_1 = __nccwpck_require__(96586); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleUpdateRequest", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateRequest_1.CloudWorkloadSecurityAgentRuleUpdateRequest; } })); +var CloudWorkloadSecurityAgentRuleUpdaterAttributes_1 = __nccwpck_require__(22606); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRuleUpdaterAttributes", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdaterAttributes_1.CloudWorkloadSecurityAgentRuleUpdaterAttributes; } })); +var CloudWorkloadSecurityAgentRulesListResponse_1 = __nccwpck_require__(42739); +Object.defineProperty(exports, "CloudWorkloadSecurityAgentRulesListResponse", ({ enumerable: true, get: function () { return CloudWorkloadSecurityAgentRulesListResponse_1.CloudWorkloadSecurityAgentRulesListResponse; } })); +var Creator_1 = __nccwpck_require__(81580); +Object.defineProperty(exports, "Creator", ({ enumerable: true, get: function () { return Creator_1.Creator; } })); +var DashboardListAddItemsRequest_1 = __nccwpck_require__(1746); +Object.defineProperty(exports, "DashboardListAddItemsRequest", ({ enumerable: true, get: function () { return DashboardListAddItemsRequest_1.DashboardListAddItemsRequest; } })); +var DashboardListAddItemsResponse_1 = __nccwpck_require__(97047); +Object.defineProperty(exports, "DashboardListAddItemsResponse", ({ enumerable: true, get: function () { return DashboardListAddItemsResponse_1.DashboardListAddItemsResponse; } })); +var DashboardListDeleteItemsRequest_1 = __nccwpck_require__(6487); +Object.defineProperty(exports, "DashboardListDeleteItemsRequest", ({ enumerable: true, get: function () { return DashboardListDeleteItemsRequest_1.DashboardListDeleteItemsRequest; } })); +var DashboardListDeleteItemsResponse_1 = __nccwpck_require__(79067); +Object.defineProperty(exports, "DashboardListDeleteItemsResponse", ({ enumerable: true, get: function () { return DashboardListDeleteItemsResponse_1.DashboardListDeleteItemsResponse; } })); +var DashboardListItem_1 = __nccwpck_require__(25719); +Object.defineProperty(exports, "DashboardListItem", ({ enumerable: true, get: function () { return DashboardListItem_1.DashboardListItem; } })); +var DashboardListItemRequest_1 = __nccwpck_require__(72262); +Object.defineProperty(exports, "DashboardListItemRequest", ({ enumerable: true, get: function () { return DashboardListItemRequest_1.DashboardListItemRequest; } })); +var DashboardListItemResponse_1 = __nccwpck_require__(24037); +Object.defineProperty(exports, "DashboardListItemResponse", ({ enumerable: true, get: function () { return DashboardListItemResponse_1.DashboardListItemResponse; } })); +var DashboardListItems_1 = __nccwpck_require__(19638); +Object.defineProperty(exports, "DashboardListItems", ({ enumerable: true, get: function () { return DashboardListItems_1.DashboardListItems; } })); +var DashboardListUpdateItemsRequest_1 = __nccwpck_require__(88487); +Object.defineProperty(exports, "DashboardListUpdateItemsRequest", ({ enumerable: true, get: function () { return DashboardListUpdateItemsRequest_1.DashboardListUpdateItemsRequest; } })); +var DashboardListUpdateItemsResponse_1 = __nccwpck_require__(3644); +Object.defineProperty(exports, "DashboardListUpdateItemsResponse", ({ enumerable: true, get: function () { return DashboardListUpdateItemsResponse_1.DashboardListUpdateItemsResponse; } })); +var FullAPIKey_1 = __nccwpck_require__(56159); +Object.defineProperty(exports, "FullAPIKey", ({ enumerable: true, get: function () { return FullAPIKey_1.FullAPIKey; } })); +var FullAPIKeyAttributes_1 = __nccwpck_require__(25642); +Object.defineProperty(exports, "FullAPIKeyAttributes", ({ enumerable: true, get: function () { return FullAPIKeyAttributes_1.FullAPIKeyAttributes; } })); +var FullApplicationKey_1 = __nccwpck_require__(54147); +Object.defineProperty(exports, "FullApplicationKey", ({ enumerable: true, get: function () { return FullApplicationKey_1.FullApplicationKey; } })); +var FullApplicationKeyAttributes_1 = __nccwpck_require__(79380); +Object.defineProperty(exports, "FullApplicationKeyAttributes", ({ enumerable: true, get: function () { return FullApplicationKeyAttributes_1.FullApplicationKeyAttributes; } })); +var HTTPLogError_1 = __nccwpck_require__(73991); +Object.defineProperty(exports, "HTTPLogError", ({ enumerable: true, get: function () { return HTTPLogError_1.HTTPLogError; } })); +var HTTPLogErrors_1 = __nccwpck_require__(18911); +Object.defineProperty(exports, "HTTPLogErrors", ({ enumerable: true, get: function () { return HTTPLogErrors_1.HTTPLogErrors; } })); +var HTTPLogItem_1 = __nccwpck_require__(40312); +Object.defineProperty(exports, "HTTPLogItem", ({ enumerable: true, get: function () { return HTTPLogItem_1.HTTPLogItem; } })); +var IncidentCreateAttributes_1 = __nccwpck_require__(85021); +Object.defineProperty(exports, "IncidentCreateAttributes", ({ enumerable: true, get: function () { return IncidentCreateAttributes_1.IncidentCreateAttributes; } })); +var IncidentCreateData_1 = __nccwpck_require__(33708); +Object.defineProperty(exports, "IncidentCreateData", ({ enumerable: true, get: function () { return IncidentCreateData_1.IncidentCreateData; } })); +var IncidentCreateRelationships_1 = __nccwpck_require__(87980); +Object.defineProperty(exports, "IncidentCreateRelationships", ({ enumerable: true, get: function () { return IncidentCreateRelationships_1.IncidentCreateRelationships; } })); +var IncidentCreateRequest_1 = __nccwpck_require__(79893); +Object.defineProperty(exports, "IncidentCreateRequest", ({ enumerable: true, get: function () { return IncidentCreateRequest_1.IncidentCreateRequest; } })); +var IncidentFieldAttributesMultipleValue_1 = __nccwpck_require__(85167); +Object.defineProperty(exports, "IncidentFieldAttributesMultipleValue", ({ enumerable: true, get: function () { return IncidentFieldAttributesMultipleValue_1.IncidentFieldAttributesMultipleValue; } })); +var IncidentFieldAttributesSingleValue_1 = __nccwpck_require__(65717); +Object.defineProperty(exports, "IncidentFieldAttributesSingleValue", ({ enumerable: true, get: function () { return IncidentFieldAttributesSingleValue_1.IncidentFieldAttributesSingleValue; } })); +var IncidentNotificationHandle_1 = __nccwpck_require__(64132); +Object.defineProperty(exports, "IncidentNotificationHandle", ({ enumerable: true, get: function () { return IncidentNotificationHandle_1.IncidentNotificationHandle; } })); +var IncidentResponse_1 = __nccwpck_require__(85933); +Object.defineProperty(exports, "IncidentResponse", ({ enumerable: true, get: function () { return IncidentResponse_1.IncidentResponse; } })); +var IncidentResponseAttributes_1 = __nccwpck_require__(72948); +Object.defineProperty(exports, "IncidentResponseAttributes", ({ enumerable: true, get: function () { return IncidentResponseAttributes_1.IncidentResponseAttributes; } })); +var IncidentResponseData_1 = __nccwpck_require__(20274); +Object.defineProperty(exports, "IncidentResponseData", ({ enumerable: true, get: function () { return IncidentResponseData_1.IncidentResponseData; } })); +var IncidentResponseMeta_1 = __nccwpck_require__(16729); +Object.defineProperty(exports, "IncidentResponseMeta", ({ enumerable: true, get: function () { return IncidentResponseMeta_1.IncidentResponseMeta; } })); +var IncidentResponseMetaPagination_1 = __nccwpck_require__(97345); +Object.defineProperty(exports, "IncidentResponseMetaPagination", ({ enumerable: true, get: function () { return IncidentResponseMetaPagination_1.IncidentResponseMetaPagination; } })); +var IncidentResponseRelationships_1 = __nccwpck_require__(88233); +Object.defineProperty(exports, "IncidentResponseRelationships", ({ enumerable: true, get: function () { return IncidentResponseRelationships_1.IncidentResponseRelationships; } })); +var IncidentServiceCreateAttributes_1 = __nccwpck_require__(81262); +Object.defineProperty(exports, "IncidentServiceCreateAttributes", ({ enumerable: true, get: function () { return IncidentServiceCreateAttributes_1.IncidentServiceCreateAttributes; } })); +var IncidentServiceCreateData_1 = __nccwpck_require__(50275); +Object.defineProperty(exports, "IncidentServiceCreateData", ({ enumerable: true, get: function () { return IncidentServiceCreateData_1.IncidentServiceCreateData; } })); +var IncidentServiceCreateRequest_1 = __nccwpck_require__(61042); +Object.defineProperty(exports, "IncidentServiceCreateRequest", ({ enumerable: true, get: function () { return IncidentServiceCreateRequest_1.IncidentServiceCreateRequest; } })); +var IncidentServiceRelationships_1 = __nccwpck_require__(67742); +Object.defineProperty(exports, "IncidentServiceRelationships", ({ enumerable: true, get: function () { return IncidentServiceRelationships_1.IncidentServiceRelationships; } })); +var IncidentServiceResponse_1 = __nccwpck_require__(8010); +Object.defineProperty(exports, "IncidentServiceResponse", ({ enumerable: true, get: function () { return IncidentServiceResponse_1.IncidentServiceResponse; } })); +var IncidentServiceResponseAttributes_1 = __nccwpck_require__(64840); +Object.defineProperty(exports, "IncidentServiceResponseAttributes", ({ enumerable: true, get: function () { return IncidentServiceResponseAttributes_1.IncidentServiceResponseAttributes; } })); +var IncidentServiceResponseData_1 = __nccwpck_require__(13259); +Object.defineProperty(exports, "IncidentServiceResponseData", ({ enumerable: true, get: function () { return IncidentServiceResponseData_1.IncidentServiceResponseData; } })); +var IncidentServiceUpdateAttributes_1 = __nccwpck_require__(2935); +Object.defineProperty(exports, "IncidentServiceUpdateAttributes", ({ enumerable: true, get: function () { return IncidentServiceUpdateAttributes_1.IncidentServiceUpdateAttributes; } })); +var IncidentServiceUpdateData_1 = __nccwpck_require__(63215); +Object.defineProperty(exports, "IncidentServiceUpdateData", ({ enumerable: true, get: function () { return IncidentServiceUpdateData_1.IncidentServiceUpdateData; } })); +var IncidentServiceUpdateRequest_1 = __nccwpck_require__(97971); +Object.defineProperty(exports, "IncidentServiceUpdateRequest", ({ enumerable: true, get: function () { return IncidentServiceUpdateRequest_1.IncidentServiceUpdateRequest; } })); +var IncidentServicesResponse_1 = __nccwpck_require__(67102); +Object.defineProperty(exports, "IncidentServicesResponse", ({ enumerable: true, get: function () { return IncidentServicesResponse_1.IncidentServicesResponse; } })); +var IncidentTeamCreateAttributes_1 = __nccwpck_require__(20944); +Object.defineProperty(exports, "IncidentTeamCreateAttributes", ({ enumerable: true, get: function () { return IncidentTeamCreateAttributes_1.IncidentTeamCreateAttributes; } })); +var IncidentTeamCreateData_1 = __nccwpck_require__(83456); +Object.defineProperty(exports, "IncidentTeamCreateData", ({ enumerable: true, get: function () { return IncidentTeamCreateData_1.IncidentTeamCreateData; } })); +var IncidentTeamCreateRequest_1 = __nccwpck_require__(46712); +Object.defineProperty(exports, "IncidentTeamCreateRequest", ({ enumerable: true, get: function () { return IncidentTeamCreateRequest_1.IncidentTeamCreateRequest; } })); +var IncidentTeamRelationships_1 = __nccwpck_require__(31266); +Object.defineProperty(exports, "IncidentTeamRelationships", ({ enumerable: true, get: function () { return IncidentTeamRelationships_1.IncidentTeamRelationships; } })); +var IncidentTeamResponse_1 = __nccwpck_require__(88841); +Object.defineProperty(exports, "IncidentTeamResponse", ({ enumerable: true, get: function () { return IncidentTeamResponse_1.IncidentTeamResponse; } })); +var IncidentTeamResponseAttributes_1 = __nccwpck_require__(13482); +Object.defineProperty(exports, "IncidentTeamResponseAttributes", ({ enumerable: true, get: function () { return IncidentTeamResponseAttributes_1.IncidentTeamResponseAttributes; } })); +var IncidentTeamResponseData_1 = __nccwpck_require__(79651); +Object.defineProperty(exports, "IncidentTeamResponseData", ({ enumerable: true, get: function () { return IncidentTeamResponseData_1.IncidentTeamResponseData; } })); +var IncidentTeamUpdateAttributes_1 = __nccwpck_require__(14799); +Object.defineProperty(exports, "IncidentTeamUpdateAttributes", ({ enumerable: true, get: function () { return IncidentTeamUpdateAttributes_1.IncidentTeamUpdateAttributes; } })); +var IncidentTeamUpdateData_1 = __nccwpck_require__(41914); +Object.defineProperty(exports, "IncidentTeamUpdateData", ({ enumerable: true, get: function () { return IncidentTeamUpdateData_1.IncidentTeamUpdateData; } })); +var IncidentTeamUpdateRequest_1 = __nccwpck_require__(1174); +Object.defineProperty(exports, "IncidentTeamUpdateRequest", ({ enumerable: true, get: function () { return IncidentTeamUpdateRequest_1.IncidentTeamUpdateRequest; } })); +var IncidentTeamsResponse_1 = __nccwpck_require__(72162); +Object.defineProperty(exports, "IncidentTeamsResponse", ({ enumerable: true, get: function () { return IncidentTeamsResponse_1.IncidentTeamsResponse; } })); +var IncidentTimelineCellMarkdownCreateAttributes_1 = __nccwpck_require__(48212); +Object.defineProperty(exports, "IncidentTimelineCellMarkdownCreateAttributes", ({ enumerable: true, get: function () { return IncidentTimelineCellMarkdownCreateAttributes_1.IncidentTimelineCellMarkdownCreateAttributes; } })); +var IncidentTimelineCellMarkdownCreateAttributesContent_1 = __nccwpck_require__(4504); +Object.defineProperty(exports, "IncidentTimelineCellMarkdownCreateAttributesContent", ({ enumerable: true, get: function () { return IncidentTimelineCellMarkdownCreateAttributesContent_1.IncidentTimelineCellMarkdownCreateAttributesContent; } })); +var IncidentUpdateAttributes_1 = __nccwpck_require__(87879); +Object.defineProperty(exports, "IncidentUpdateAttributes", ({ enumerable: true, get: function () { return IncidentUpdateAttributes_1.IncidentUpdateAttributes; } })); +var IncidentUpdateData_1 = __nccwpck_require__(14695); +Object.defineProperty(exports, "IncidentUpdateData", ({ enumerable: true, get: function () { return IncidentUpdateData_1.IncidentUpdateData; } })); +var IncidentUpdateRelationships_1 = __nccwpck_require__(40863); +Object.defineProperty(exports, "IncidentUpdateRelationships", ({ enumerable: true, get: function () { return IncidentUpdateRelationships_1.IncidentUpdateRelationships; } })); +var IncidentUpdateRequest_1 = __nccwpck_require__(94252); +Object.defineProperty(exports, "IncidentUpdateRequest", ({ enumerable: true, get: function () { return IncidentUpdateRequest_1.IncidentUpdateRequest; } })); +var IncidentsResponse_1 = __nccwpck_require__(84660); +Object.defineProperty(exports, "IncidentsResponse", ({ enumerable: true, get: function () { return IncidentsResponse_1.IncidentsResponse; } })); +var ListApplicationKeysResponse_1 = __nccwpck_require__(33213); +Object.defineProperty(exports, "ListApplicationKeysResponse", ({ enumerable: true, get: function () { return ListApplicationKeysResponse_1.ListApplicationKeysResponse; } })); +var Log_1 = __nccwpck_require__(50679); +Object.defineProperty(exports, "Log", ({ enumerable: true, get: function () { return Log_1.Log; } })); +var LogAttributes_1 = __nccwpck_require__(82583); +Object.defineProperty(exports, "LogAttributes", ({ enumerable: true, get: function () { return LogAttributes_1.LogAttributes; } })); +var LogsAggregateBucket_1 = __nccwpck_require__(48920); +Object.defineProperty(exports, "LogsAggregateBucket", ({ enumerable: true, get: function () { return LogsAggregateBucket_1.LogsAggregateBucket; } })); +var LogsAggregateBucketValueTimeseriesPoint_1 = __nccwpck_require__(87989); +Object.defineProperty(exports, "LogsAggregateBucketValueTimeseriesPoint", ({ enumerable: true, get: function () { return LogsAggregateBucketValueTimeseriesPoint_1.LogsAggregateBucketValueTimeseriesPoint; } })); +var LogsAggregateRequest_1 = __nccwpck_require__(13619); +Object.defineProperty(exports, "LogsAggregateRequest", ({ enumerable: true, get: function () { return LogsAggregateRequest_1.LogsAggregateRequest; } })); +var LogsAggregateRequestPage_1 = __nccwpck_require__(73702); +Object.defineProperty(exports, "LogsAggregateRequestPage", ({ enumerable: true, get: function () { return LogsAggregateRequestPage_1.LogsAggregateRequestPage; } })); +var LogsAggregateResponse_1 = __nccwpck_require__(42578); +Object.defineProperty(exports, "LogsAggregateResponse", ({ enumerable: true, get: function () { return LogsAggregateResponse_1.LogsAggregateResponse; } })); +var LogsAggregateResponseData_1 = __nccwpck_require__(95647); +Object.defineProperty(exports, "LogsAggregateResponseData", ({ enumerable: true, get: function () { return LogsAggregateResponseData_1.LogsAggregateResponseData; } })); +var LogsAggregateSort_1 = __nccwpck_require__(49817); +Object.defineProperty(exports, "LogsAggregateSort", ({ enumerable: true, get: function () { return LogsAggregateSort_1.LogsAggregateSort; } })); +var LogsArchive_1 = __nccwpck_require__(15665); +Object.defineProperty(exports, "LogsArchive", ({ enumerable: true, get: function () { return LogsArchive_1.LogsArchive; } })); +var LogsArchiveAttributes_1 = __nccwpck_require__(14064); +Object.defineProperty(exports, "LogsArchiveAttributes", ({ enumerable: true, get: function () { return LogsArchiveAttributes_1.LogsArchiveAttributes; } })); +var LogsArchiveCreateRequest_1 = __nccwpck_require__(20167); +Object.defineProperty(exports, "LogsArchiveCreateRequest", ({ enumerable: true, get: function () { return LogsArchiveCreateRequest_1.LogsArchiveCreateRequest; } })); +var LogsArchiveCreateRequestAttributes_1 = __nccwpck_require__(44357); +Object.defineProperty(exports, "LogsArchiveCreateRequestAttributes", ({ enumerable: true, get: function () { return LogsArchiveCreateRequestAttributes_1.LogsArchiveCreateRequestAttributes; } })); +var LogsArchiveCreateRequestDefinition_1 = __nccwpck_require__(41915); +Object.defineProperty(exports, "LogsArchiveCreateRequestDefinition", ({ enumerable: true, get: function () { return LogsArchiveCreateRequestDefinition_1.LogsArchiveCreateRequestDefinition; } })); +var LogsArchiveDefinition_1 = __nccwpck_require__(48978); +Object.defineProperty(exports, "LogsArchiveDefinition", ({ enumerable: true, get: function () { return LogsArchiveDefinition_1.LogsArchiveDefinition; } })); +var LogsArchiveDestinationAzure_1 = __nccwpck_require__(29038); +Object.defineProperty(exports, "LogsArchiveDestinationAzure", ({ enumerable: true, get: function () { return LogsArchiveDestinationAzure_1.LogsArchiveDestinationAzure; } })); +var LogsArchiveDestinationGCS_1 = __nccwpck_require__(71657); +Object.defineProperty(exports, "LogsArchiveDestinationGCS", ({ enumerable: true, get: function () { return LogsArchiveDestinationGCS_1.LogsArchiveDestinationGCS; } })); +var LogsArchiveDestinationS3_1 = __nccwpck_require__(87520); +Object.defineProperty(exports, "LogsArchiveDestinationS3", ({ enumerable: true, get: function () { return LogsArchiveDestinationS3_1.LogsArchiveDestinationS3; } })); +var LogsArchiveIntegrationAzure_1 = __nccwpck_require__(90187); +Object.defineProperty(exports, "LogsArchiveIntegrationAzure", ({ enumerable: true, get: function () { return LogsArchiveIntegrationAzure_1.LogsArchiveIntegrationAzure; } })); +var LogsArchiveIntegrationGCS_1 = __nccwpck_require__(83645); +Object.defineProperty(exports, "LogsArchiveIntegrationGCS", ({ enumerable: true, get: function () { return LogsArchiveIntegrationGCS_1.LogsArchiveIntegrationGCS; } })); +var LogsArchiveIntegrationS3_1 = __nccwpck_require__(9681); +Object.defineProperty(exports, "LogsArchiveIntegrationS3", ({ enumerable: true, get: function () { return LogsArchiveIntegrationS3_1.LogsArchiveIntegrationS3; } })); +var LogsArchiveOrder_1 = __nccwpck_require__(13220); +Object.defineProperty(exports, "LogsArchiveOrder", ({ enumerable: true, get: function () { return LogsArchiveOrder_1.LogsArchiveOrder; } })); +var LogsArchiveOrderAttributes_1 = __nccwpck_require__(33277); +Object.defineProperty(exports, "LogsArchiveOrderAttributes", ({ enumerable: true, get: function () { return LogsArchiveOrderAttributes_1.LogsArchiveOrderAttributes; } })); +var LogsArchiveOrderDefinition_1 = __nccwpck_require__(74878); +Object.defineProperty(exports, "LogsArchiveOrderDefinition", ({ enumerable: true, get: function () { return LogsArchiveOrderDefinition_1.LogsArchiveOrderDefinition; } })); +var LogsArchives_1 = __nccwpck_require__(16852); +Object.defineProperty(exports, "LogsArchives", ({ enumerable: true, get: function () { return LogsArchives_1.LogsArchives; } })); +var LogsCompute_1 = __nccwpck_require__(19236); +Object.defineProperty(exports, "LogsCompute", ({ enumerable: true, get: function () { return LogsCompute_1.LogsCompute; } })); +var LogsGroupBy_1 = __nccwpck_require__(21104); +Object.defineProperty(exports, "LogsGroupBy", ({ enumerable: true, get: function () { return LogsGroupBy_1.LogsGroupBy; } })); +var LogsGroupByHistogram_1 = __nccwpck_require__(2133); +Object.defineProperty(exports, "LogsGroupByHistogram", ({ enumerable: true, get: function () { return LogsGroupByHistogram_1.LogsGroupByHistogram; } })); +var LogsListRequest_1 = __nccwpck_require__(46975); +Object.defineProperty(exports, "LogsListRequest", ({ enumerable: true, get: function () { return LogsListRequest_1.LogsListRequest; } })); +var LogsListRequestPage_1 = __nccwpck_require__(92486); +Object.defineProperty(exports, "LogsListRequestPage", ({ enumerable: true, get: function () { return LogsListRequestPage_1.LogsListRequestPage; } })); +var LogsListResponse_1 = __nccwpck_require__(62282); +Object.defineProperty(exports, "LogsListResponse", ({ enumerable: true, get: function () { return LogsListResponse_1.LogsListResponse; } })); +var LogsListResponseLinks_1 = __nccwpck_require__(79413); +Object.defineProperty(exports, "LogsListResponseLinks", ({ enumerable: true, get: function () { return LogsListResponseLinks_1.LogsListResponseLinks; } })); +var LogsMetricCompute_1 = __nccwpck_require__(74170); +Object.defineProperty(exports, "LogsMetricCompute", ({ enumerable: true, get: function () { return LogsMetricCompute_1.LogsMetricCompute; } })); +var LogsMetricCreateAttributes_1 = __nccwpck_require__(27156); +Object.defineProperty(exports, "LogsMetricCreateAttributes", ({ enumerable: true, get: function () { return LogsMetricCreateAttributes_1.LogsMetricCreateAttributes; } })); +var LogsMetricCreateData_1 = __nccwpck_require__(67578); +Object.defineProperty(exports, "LogsMetricCreateData", ({ enumerable: true, get: function () { return LogsMetricCreateData_1.LogsMetricCreateData; } })); +var LogsMetricCreateRequest_1 = __nccwpck_require__(64489); +Object.defineProperty(exports, "LogsMetricCreateRequest", ({ enumerable: true, get: function () { return LogsMetricCreateRequest_1.LogsMetricCreateRequest; } })); +var LogsMetricFilter_1 = __nccwpck_require__(95980); +Object.defineProperty(exports, "LogsMetricFilter", ({ enumerable: true, get: function () { return LogsMetricFilter_1.LogsMetricFilter; } })); +var LogsMetricGroupBy_1 = __nccwpck_require__(21776); +Object.defineProperty(exports, "LogsMetricGroupBy", ({ enumerable: true, get: function () { return LogsMetricGroupBy_1.LogsMetricGroupBy; } })); +var LogsMetricResponse_1 = __nccwpck_require__(86871); +Object.defineProperty(exports, "LogsMetricResponse", ({ enumerable: true, get: function () { return LogsMetricResponse_1.LogsMetricResponse; } })); +var LogsMetricResponseAttributes_1 = __nccwpck_require__(94655); +Object.defineProperty(exports, "LogsMetricResponseAttributes", ({ enumerable: true, get: function () { return LogsMetricResponseAttributes_1.LogsMetricResponseAttributes; } })); +var LogsMetricResponseCompute_1 = __nccwpck_require__(66641); +Object.defineProperty(exports, "LogsMetricResponseCompute", ({ enumerable: true, get: function () { return LogsMetricResponseCompute_1.LogsMetricResponseCompute; } })); +var LogsMetricResponseData_1 = __nccwpck_require__(2519); +Object.defineProperty(exports, "LogsMetricResponseData", ({ enumerable: true, get: function () { return LogsMetricResponseData_1.LogsMetricResponseData; } })); +var LogsMetricResponseFilter_1 = __nccwpck_require__(37718); +Object.defineProperty(exports, "LogsMetricResponseFilter", ({ enumerable: true, get: function () { return LogsMetricResponseFilter_1.LogsMetricResponseFilter; } })); +var LogsMetricResponseGroupBy_1 = __nccwpck_require__(83284); +Object.defineProperty(exports, "LogsMetricResponseGroupBy", ({ enumerable: true, get: function () { return LogsMetricResponseGroupBy_1.LogsMetricResponseGroupBy; } })); +var LogsMetricUpdateAttributes_1 = __nccwpck_require__(43114); +Object.defineProperty(exports, "LogsMetricUpdateAttributes", ({ enumerable: true, get: function () { return LogsMetricUpdateAttributes_1.LogsMetricUpdateAttributes; } })); +var LogsMetricUpdateData_1 = __nccwpck_require__(32319); +Object.defineProperty(exports, "LogsMetricUpdateData", ({ enumerable: true, get: function () { return LogsMetricUpdateData_1.LogsMetricUpdateData; } })); +var LogsMetricUpdateRequest_1 = __nccwpck_require__(84033); +Object.defineProperty(exports, "LogsMetricUpdateRequest", ({ enumerable: true, get: function () { return LogsMetricUpdateRequest_1.LogsMetricUpdateRequest; } })); +var LogsMetricsResponse_1 = __nccwpck_require__(57793); +Object.defineProperty(exports, "LogsMetricsResponse", ({ enumerable: true, get: function () { return LogsMetricsResponse_1.LogsMetricsResponse; } })); +var LogsQueryFilter_1 = __nccwpck_require__(36574); +Object.defineProperty(exports, "LogsQueryFilter", ({ enumerable: true, get: function () { return LogsQueryFilter_1.LogsQueryFilter; } })); +var LogsQueryOptions_1 = __nccwpck_require__(75773); +Object.defineProperty(exports, "LogsQueryOptions", ({ enumerable: true, get: function () { return LogsQueryOptions_1.LogsQueryOptions; } })); +var LogsResponseMetadata_1 = __nccwpck_require__(9675); +Object.defineProperty(exports, "LogsResponseMetadata", ({ enumerable: true, get: function () { return LogsResponseMetadata_1.LogsResponseMetadata; } })); +var LogsResponseMetadataPage_1 = __nccwpck_require__(9159); +Object.defineProperty(exports, "LogsResponseMetadataPage", ({ enumerable: true, get: function () { return LogsResponseMetadataPage_1.LogsResponseMetadataPage; } })); +var LogsWarning_1 = __nccwpck_require__(32347); +Object.defineProperty(exports, "LogsWarning", ({ enumerable: true, get: function () { return LogsWarning_1.LogsWarning; } })); +var Metric_1 = __nccwpck_require__(81125); +Object.defineProperty(exports, "Metric", ({ enumerable: true, get: function () { return Metric_1.Metric; } })); +var MetricAllTags_1 = __nccwpck_require__(92059); +Object.defineProperty(exports, "MetricAllTags", ({ enumerable: true, get: function () { return MetricAllTags_1.MetricAllTags; } })); +var MetricAllTagsAttributes_1 = __nccwpck_require__(5563); +Object.defineProperty(exports, "MetricAllTagsAttributes", ({ enumerable: true, get: function () { return MetricAllTagsAttributes_1.MetricAllTagsAttributes; } })); +var MetricAllTagsResponse_1 = __nccwpck_require__(72220); +Object.defineProperty(exports, "MetricAllTagsResponse", ({ enumerable: true, get: function () { return MetricAllTagsResponse_1.MetricAllTagsResponse; } })); +var MetricBulkTagConfigCreate_1 = __nccwpck_require__(91782); +Object.defineProperty(exports, "MetricBulkTagConfigCreate", ({ enumerable: true, get: function () { return MetricBulkTagConfigCreate_1.MetricBulkTagConfigCreate; } })); +var MetricBulkTagConfigCreateAttributes_1 = __nccwpck_require__(32326); +Object.defineProperty(exports, "MetricBulkTagConfigCreateAttributes", ({ enumerable: true, get: function () { return MetricBulkTagConfigCreateAttributes_1.MetricBulkTagConfigCreateAttributes; } })); +var MetricBulkTagConfigCreateRequest_1 = __nccwpck_require__(4270); +Object.defineProperty(exports, "MetricBulkTagConfigCreateRequest", ({ enumerable: true, get: function () { return MetricBulkTagConfigCreateRequest_1.MetricBulkTagConfigCreateRequest; } })); +var MetricBulkTagConfigDelete_1 = __nccwpck_require__(72280); +Object.defineProperty(exports, "MetricBulkTagConfigDelete", ({ enumerable: true, get: function () { return MetricBulkTagConfigDelete_1.MetricBulkTagConfigDelete; } })); +var MetricBulkTagConfigDeleteAttributes_1 = __nccwpck_require__(86757); +Object.defineProperty(exports, "MetricBulkTagConfigDeleteAttributes", ({ enumerable: true, get: function () { return MetricBulkTagConfigDeleteAttributes_1.MetricBulkTagConfigDeleteAttributes; } })); +var MetricBulkTagConfigDeleteRequest_1 = __nccwpck_require__(3217); +Object.defineProperty(exports, "MetricBulkTagConfigDeleteRequest", ({ enumerable: true, get: function () { return MetricBulkTagConfigDeleteRequest_1.MetricBulkTagConfigDeleteRequest; } })); +var MetricBulkTagConfigResponse_1 = __nccwpck_require__(40953); +Object.defineProperty(exports, "MetricBulkTagConfigResponse", ({ enumerable: true, get: function () { return MetricBulkTagConfigResponse_1.MetricBulkTagConfigResponse; } })); +var MetricBulkTagConfigStatus_1 = __nccwpck_require__(57682); +Object.defineProperty(exports, "MetricBulkTagConfigStatus", ({ enumerable: true, get: function () { return MetricBulkTagConfigStatus_1.MetricBulkTagConfigStatus; } })); +var MetricBulkTagConfigStatusAttributes_1 = __nccwpck_require__(82262); +Object.defineProperty(exports, "MetricBulkTagConfigStatusAttributes", ({ enumerable: true, get: function () { return MetricBulkTagConfigStatusAttributes_1.MetricBulkTagConfigStatusAttributes; } })); +var MetricCustomAggregation_1 = __nccwpck_require__(17484); +Object.defineProperty(exports, "MetricCustomAggregation", ({ enumerable: true, get: function () { return MetricCustomAggregation_1.MetricCustomAggregation; } })); +var MetricDistinctVolume_1 = __nccwpck_require__(85654); +Object.defineProperty(exports, "MetricDistinctVolume", ({ enumerable: true, get: function () { return MetricDistinctVolume_1.MetricDistinctVolume; } })); +var MetricDistinctVolumeAttributes_1 = __nccwpck_require__(23953); +Object.defineProperty(exports, "MetricDistinctVolumeAttributes", ({ enumerable: true, get: function () { return MetricDistinctVolumeAttributes_1.MetricDistinctVolumeAttributes; } })); +var MetricIngestedIndexedVolume_1 = __nccwpck_require__(8882); +Object.defineProperty(exports, "MetricIngestedIndexedVolume", ({ enumerable: true, get: function () { return MetricIngestedIndexedVolume_1.MetricIngestedIndexedVolume; } })); +var MetricIngestedIndexedVolumeAttributes_1 = __nccwpck_require__(65551); +Object.defineProperty(exports, "MetricIngestedIndexedVolumeAttributes", ({ enumerable: true, get: function () { return MetricIngestedIndexedVolumeAttributes_1.MetricIngestedIndexedVolumeAttributes; } })); +var MetricTagConfiguration_1 = __nccwpck_require__(35857); +Object.defineProperty(exports, "MetricTagConfiguration", ({ enumerable: true, get: function () { return MetricTagConfiguration_1.MetricTagConfiguration; } })); +var MetricTagConfigurationAttributes_1 = __nccwpck_require__(9851); +Object.defineProperty(exports, "MetricTagConfigurationAttributes", ({ enumerable: true, get: function () { return MetricTagConfigurationAttributes_1.MetricTagConfigurationAttributes; } })); +var MetricTagConfigurationCreateAttributes_1 = __nccwpck_require__(19186); +Object.defineProperty(exports, "MetricTagConfigurationCreateAttributes", ({ enumerable: true, get: function () { return MetricTagConfigurationCreateAttributes_1.MetricTagConfigurationCreateAttributes; } })); +var MetricTagConfigurationCreateData_1 = __nccwpck_require__(66135); +Object.defineProperty(exports, "MetricTagConfigurationCreateData", ({ enumerable: true, get: function () { return MetricTagConfigurationCreateData_1.MetricTagConfigurationCreateData; } })); +var MetricTagConfigurationCreateRequest_1 = __nccwpck_require__(84050); +Object.defineProperty(exports, "MetricTagConfigurationCreateRequest", ({ enumerable: true, get: function () { return MetricTagConfigurationCreateRequest_1.MetricTagConfigurationCreateRequest; } })); +var MetricTagConfigurationResponse_1 = __nccwpck_require__(55797); +Object.defineProperty(exports, "MetricTagConfigurationResponse", ({ enumerable: true, get: function () { return MetricTagConfigurationResponse_1.MetricTagConfigurationResponse; } })); +var MetricTagConfigurationUpdateAttributes_1 = __nccwpck_require__(19503); +Object.defineProperty(exports, "MetricTagConfigurationUpdateAttributes", ({ enumerable: true, get: function () { return MetricTagConfigurationUpdateAttributes_1.MetricTagConfigurationUpdateAttributes; } })); +var MetricTagConfigurationUpdateData_1 = __nccwpck_require__(63194); +Object.defineProperty(exports, "MetricTagConfigurationUpdateData", ({ enumerable: true, get: function () { return MetricTagConfigurationUpdateData_1.MetricTagConfigurationUpdateData; } })); +var MetricTagConfigurationUpdateRequest_1 = __nccwpck_require__(19976); +Object.defineProperty(exports, "MetricTagConfigurationUpdateRequest", ({ enumerable: true, get: function () { return MetricTagConfigurationUpdateRequest_1.MetricTagConfigurationUpdateRequest; } })); +var MetricVolumesResponse_1 = __nccwpck_require__(72742); +Object.defineProperty(exports, "MetricVolumesResponse", ({ enumerable: true, get: function () { return MetricVolumesResponse_1.MetricVolumesResponse; } })); +var MetricsAndMetricTagConfigurationsResponse_1 = __nccwpck_require__(43052); +Object.defineProperty(exports, "MetricsAndMetricTagConfigurationsResponse", ({ enumerable: true, get: function () { return MetricsAndMetricTagConfigurationsResponse_1.MetricsAndMetricTagConfigurationsResponse; } })); +var NullableRelationshipToUser_1 = __nccwpck_require__(71426); +Object.defineProperty(exports, "NullableRelationshipToUser", ({ enumerable: true, get: function () { return NullableRelationshipToUser_1.NullableRelationshipToUser; } })); +var NullableRelationshipToUserData_1 = __nccwpck_require__(16203); +Object.defineProperty(exports, "NullableRelationshipToUserData", ({ enumerable: true, get: function () { return NullableRelationshipToUserData_1.NullableRelationshipToUserData; } })); +var Organization_1 = __nccwpck_require__(6229); +Object.defineProperty(exports, "Organization", ({ enumerable: true, get: function () { return Organization_1.Organization; } })); +var OrganizationAttributes_1 = __nccwpck_require__(77933); +Object.defineProperty(exports, "OrganizationAttributes", ({ enumerable: true, get: function () { return OrganizationAttributes_1.OrganizationAttributes; } })); +var Pagination_1 = __nccwpck_require__(35680); +Object.defineProperty(exports, "Pagination", ({ enumerable: true, get: function () { return Pagination_1.Pagination; } })); +var PartialAPIKey_1 = __nccwpck_require__(64447); +Object.defineProperty(exports, "PartialAPIKey", ({ enumerable: true, get: function () { return PartialAPIKey_1.PartialAPIKey; } })); +var PartialAPIKeyAttributes_1 = __nccwpck_require__(99573); +Object.defineProperty(exports, "PartialAPIKeyAttributes", ({ enumerable: true, get: function () { return PartialAPIKeyAttributes_1.PartialAPIKeyAttributes; } })); +var PartialApplicationKey_1 = __nccwpck_require__(67979); +Object.defineProperty(exports, "PartialApplicationKey", ({ enumerable: true, get: function () { return PartialApplicationKey_1.PartialApplicationKey; } })); +var PartialApplicationKeyAttributes_1 = __nccwpck_require__(96197); +Object.defineProperty(exports, "PartialApplicationKeyAttributes", ({ enumerable: true, get: function () { return PartialApplicationKeyAttributes_1.PartialApplicationKeyAttributes; } })); +var PartialApplicationKeyResponse_1 = __nccwpck_require__(52459); +Object.defineProperty(exports, "PartialApplicationKeyResponse", ({ enumerable: true, get: function () { return PartialApplicationKeyResponse_1.PartialApplicationKeyResponse; } })); +var Permission_1 = __nccwpck_require__(50681); +Object.defineProperty(exports, "Permission", ({ enumerable: true, get: function () { return Permission_1.Permission; } })); +var PermissionAttributes_1 = __nccwpck_require__(84187); +Object.defineProperty(exports, "PermissionAttributes", ({ enumerable: true, get: function () { return PermissionAttributes_1.PermissionAttributes; } })); +var PermissionsResponse_1 = __nccwpck_require__(99426); +Object.defineProperty(exports, "PermissionsResponse", ({ enumerable: true, get: function () { return PermissionsResponse_1.PermissionsResponse; } })); +var ProcessSummariesMeta_1 = __nccwpck_require__(30341); +Object.defineProperty(exports, "ProcessSummariesMeta", ({ enumerable: true, get: function () { return ProcessSummariesMeta_1.ProcessSummariesMeta; } })); +var ProcessSummariesMetaPage_1 = __nccwpck_require__(88359); +Object.defineProperty(exports, "ProcessSummariesMetaPage", ({ enumerable: true, get: function () { return ProcessSummariesMetaPage_1.ProcessSummariesMetaPage; } })); +var ProcessSummariesResponse_1 = __nccwpck_require__(61750); +Object.defineProperty(exports, "ProcessSummariesResponse", ({ enumerable: true, get: function () { return ProcessSummariesResponse_1.ProcessSummariesResponse; } })); +var ProcessSummary_1 = __nccwpck_require__(35834); +Object.defineProperty(exports, "ProcessSummary", ({ enumerable: true, get: function () { return ProcessSummary_1.ProcessSummary; } })); +var ProcessSummaryAttributes_1 = __nccwpck_require__(81126); +Object.defineProperty(exports, "ProcessSummaryAttributes", ({ enumerable: true, get: function () { return ProcessSummaryAttributes_1.ProcessSummaryAttributes; } })); +var RelationshipToIncidentIntegrationMetadataData_1 = __nccwpck_require__(43443); +Object.defineProperty(exports, "RelationshipToIncidentIntegrationMetadataData", ({ enumerable: true, get: function () { return RelationshipToIncidentIntegrationMetadataData_1.RelationshipToIncidentIntegrationMetadataData; } })); +var RelationshipToIncidentIntegrationMetadatas_1 = __nccwpck_require__(91471); +Object.defineProperty(exports, "RelationshipToIncidentIntegrationMetadatas", ({ enumerable: true, get: function () { return RelationshipToIncidentIntegrationMetadatas_1.RelationshipToIncidentIntegrationMetadatas; } })); +var RelationshipToIncidentPostmortem_1 = __nccwpck_require__(91589); +Object.defineProperty(exports, "RelationshipToIncidentPostmortem", ({ enumerable: true, get: function () { return RelationshipToIncidentPostmortem_1.RelationshipToIncidentPostmortem; } })); +var RelationshipToIncidentPostmortemData_1 = __nccwpck_require__(57515); +Object.defineProperty(exports, "RelationshipToIncidentPostmortemData", ({ enumerable: true, get: function () { return RelationshipToIncidentPostmortemData_1.RelationshipToIncidentPostmortemData; } })); +var RelationshipToOrganization_1 = __nccwpck_require__(1786); +Object.defineProperty(exports, "RelationshipToOrganization", ({ enumerable: true, get: function () { return RelationshipToOrganization_1.RelationshipToOrganization; } })); +var RelationshipToOrganizationData_1 = __nccwpck_require__(3098); +Object.defineProperty(exports, "RelationshipToOrganizationData", ({ enumerable: true, get: function () { return RelationshipToOrganizationData_1.RelationshipToOrganizationData; } })); +var RelationshipToOrganizations_1 = __nccwpck_require__(16352); +Object.defineProperty(exports, "RelationshipToOrganizations", ({ enumerable: true, get: function () { return RelationshipToOrganizations_1.RelationshipToOrganizations; } })); +var RelationshipToPermission_1 = __nccwpck_require__(91286); +Object.defineProperty(exports, "RelationshipToPermission", ({ enumerable: true, get: function () { return RelationshipToPermission_1.RelationshipToPermission; } })); +var RelationshipToPermissionData_1 = __nccwpck_require__(84713); +Object.defineProperty(exports, "RelationshipToPermissionData", ({ enumerable: true, get: function () { return RelationshipToPermissionData_1.RelationshipToPermissionData; } })); +var RelationshipToPermissions_1 = __nccwpck_require__(50913); +Object.defineProperty(exports, "RelationshipToPermissions", ({ enumerable: true, get: function () { return RelationshipToPermissions_1.RelationshipToPermissions; } })); +var RelationshipToRole_1 = __nccwpck_require__(38615); +Object.defineProperty(exports, "RelationshipToRole", ({ enumerable: true, get: function () { return RelationshipToRole_1.RelationshipToRole; } })); +var RelationshipToRoleData_1 = __nccwpck_require__(30312); +Object.defineProperty(exports, "RelationshipToRoleData", ({ enumerable: true, get: function () { return RelationshipToRoleData_1.RelationshipToRoleData; } })); +var RelationshipToRoles_1 = __nccwpck_require__(62595); +Object.defineProperty(exports, "RelationshipToRoles", ({ enumerable: true, get: function () { return RelationshipToRoles_1.RelationshipToRoles; } })); +var RelationshipToSAMLAssertionAttribute_1 = __nccwpck_require__(62436); +Object.defineProperty(exports, "RelationshipToSAMLAssertionAttribute", ({ enumerable: true, get: function () { return RelationshipToSAMLAssertionAttribute_1.RelationshipToSAMLAssertionAttribute; } })); +var RelationshipToSAMLAssertionAttributeData_1 = __nccwpck_require__(93258); +Object.defineProperty(exports, "RelationshipToSAMLAssertionAttributeData", ({ enumerable: true, get: function () { return RelationshipToSAMLAssertionAttributeData_1.RelationshipToSAMLAssertionAttributeData; } })); +var RelationshipToUser_1 = __nccwpck_require__(93801); +Object.defineProperty(exports, "RelationshipToUser", ({ enumerable: true, get: function () { return RelationshipToUser_1.RelationshipToUser; } })); +var RelationshipToUserData_1 = __nccwpck_require__(16328); +Object.defineProperty(exports, "RelationshipToUserData", ({ enumerable: true, get: function () { return RelationshipToUserData_1.RelationshipToUserData; } })); +var RelationshipToUsers_1 = __nccwpck_require__(51783); +Object.defineProperty(exports, "RelationshipToUsers", ({ enumerable: true, get: function () { return RelationshipToUsers_1.RelationshipToUsers; } })); +var ResponseMetaAttributes_1 = __nccwpck_require__(14990); +Object.defineProperty(exports, "ResponseMetaAttributes", ({ enumerable: true, get: function () { return ResponseMetaAttributes_1.ResponseMetaAttributes; } })); +var Role_1 = __nccwpck_require__(49248); +Object.defineProperty(exports, "Role", ({ enumerable: true, get: function () { return Role_1.Role; } })); +var RoleAttributes_1 = __nccwpck_require__(82581); +Object.defineProperty(exports, "RoleAttributes", ({ enumerable: true, get: function () { return RoleAttributes_1.RoleAttributes; } })); +var RoleClone_1 = __nccwpck_require__(96579); +Object.defineProperty(exports, "RoleClone", ({ enumerable: true, get: function () { return RoleClone_1.RoleClone; } })); +var RoleCloneAttributes_1 = __nccwpck_require__(34979); +Object.defineProperty(exports, "RoleCloneAttributes", ({ enumerable: true, get: function () { return RoleCloneAttributes_1.RoleCloneAttributes; } })); +var RoleCloneRequest_1 = __nccwpck_require__(33124); +Object.defineProperty(exports, "RoleCloneRequest", ({ enumerable: true, get: function () { return RoleCloneRequest_1.RoleCloneRequest; } })); +var RoleCreateAttributes_1 = __nccwpck_require__(65979); +Object.defineProperty(exports, "RoleCreateAttributes", ({ enumerable: true, get: function () { return RoleCreateAttributes_1.RoleCreateAttributes; } })); +var RoleCreateData_1 = __nccwpck_require__(67319); +Object.defineProperty(exports, "RoleCreateData", ({ enumerable: true, get: function () { return RoleCreateData_1.RoleCreateData; } })); +var RoleCreateRequest_1 = __nccwpck_require__(55005); +Object.defineProperty(exports, "RoleCreateRequest", ({ enumerable: true, get: function () { return RoleCreateRequest_1.RoleCreateRequest; } })); +var RoleCreateResponse_1 = __nccwpck_require__(87293); +Object.defineProperty(exports, "RoleCreateResponse", ({ enumerable: true, get: function () { return RoleCreateResponse_1.RoleCreateResponse; } })); +var RoleCreateResponseData_1 = __nccwpck_require__(72479); +Object.defineProperty(exports, "RoleCreateResponseData", ({ enumerable: true, get: function () { return RoleCreateResponseData_1.RoleCreateResponseData; } })); +var RoleRelationships_1 = __nccwpck_require__(71594); +Object.defineProperty(exports, "RoleRelationships", ({ enumerable: true, get: function () { return RoleRelationships_1.RoleRelationships; } })); +var RoleResponse_1 = __nccwpck_require__(2524); +Object.defineProperty(exports, "RoleResponse", ({ enumerable: true, get: function () { return RoleResponse_1.RoleResponse; } })); +var RoleResponseRelationships_1 = __nccwpck_require__(66950); +Object.defineProperty(exports, "RoleResponseRelationships", ({ enumerable: true, get: function () { return RoleResponseRelationships_1.RoleResponseRelationships; } })); +var RoleUpdateAttributes_1 = __nccwpck_require__(84628); +Object.defineProperty(exports, "RoleUpdateAttributes", ({ enumerable: true, get: function () { return RoleUpdateAttributes_1.RoleUpdateAttributes; } })); +var RoleUpdateData_1 = __nccwpck_require__(77060); +Object.defineProperty(exports, "RoleUpdateData", ({ enumerable: true, get: function () { return RoleUpdateData_1.RoleUpdateData; } })); +var RoleUpdateRequest_1 = __nccwpck_require__(63322); +Object.defineProperty(exports, "RoleUpdateRequest", ({ enumerable: true, get: function () { return RoleUpdateRequest_1.RoleUpdateRequest; } })); +var RoleUpdateResponse_1 = __nccwpck_require__(22307); +Object.defineProperty(exports, "RoleUpdateResponse", ({ enumerable: true, get: function () { return RoleUpdateResponse_1.RoleUpdateResponse; } })); +var RoleUpdateResponseData_1 = __nccwpck_require__(39190); +Object.defineProperty(exports, "RoleUpdateResponseData", ({ enumerable: true, get: function () { return RoleUpdateResponseData_1.RoleUpdateResponseData; } })); +var RolesResponse_1 = __nccwpck_require__(95334); +Object.defineProperty(exports, "RolesResponse", ({ enumerable: true, get: function () { return RolesResponse_1.RolesResponse; } })); +var SAMLAssertionAttribute_1 = __nccwpck_require__(98228); +Object.defineProperty(exports, "SAMLAssertionAttribute", ({ enumerable: true, get: function () { return SAMLAssertionAttribute_1.SAMLAssertionAttribute; } })); +var SAMLAssertionAttributeAttributes_1 = __nccwpck_require__(73923); +Object.defineProperty(exports, "SAMLAssertionAttributeAttributes", ({ enumerable: true, get: function () { return SAMLAssertionAttributeAttributes_1.SAMLAssertionAttributeAttributes; } })); +var SecurityFilter_1 = __nccwpck_require__(55447); +Object.defineProperty(exports, "SecurityFilter", ({ enumerable: true, get: function () { return SecurityFilter_1.SecurityFilter; } })); +var SecurityFilterAttributes_1 = __nccwpck_require__(98576); +Object.defineProperty(exports, "SecurityFilterAttributes", ({ enumerable: true, get: function () { return SecurityFilterAttributes_1.SecurityFilterAttributes; } })); +var SecurityFilterCreateAttributes_1 = __nccwpck_require__(39164); +Object.defineProperty(exports, "SecurityFilterCreateAttributes", ({ enumerable: true, get: function () { return SecurityFilterCreateAttributes_1.SecurityFilterCreateAttributes; } })); +var SecurityFilterCreateData_1 = __nccwpck_require__(73922); +Object.defineProperty(exports, "SecurityFilterCreateData", ({ enumerable: true, get: function () { return SecurityFilterCreateData_1.SecurityFilterCreateData; } })); +var SecurityFilterCreateRequest_1 = __nccwpck_require__(80376); +Object.defineProperty(exports, "SecurityFilterCreateRequest", ({ enumerable: true, get: function () { return SecurityFilterCreateRequest_1.SecurityFilterCreateRequest; } })); +var SecurityFilterExclusionFilter_1 = __nccwpck_require__(70566); +Object.defineProperty(exports, "SecurityFilterExclusionFilter", ({ enumerable: true, get: function () { return SecurityFilterExclusionFilter_1.SecurityFilterExclusionFilter; } })); +var SecurityFilterExclusionFilterResponse_1 = __nccwpck_require__(33320); +Object.defineProperty(exports, "SecurityFilterExclusionFilterResponse", ({ enumerable: true, get: function () { return SecurityFilterExclusionFilterResponse_1.SecurityFilterExclusionFilterResponse; } })); +var SecurityFilterMeta_1 = __nccwpck_require__(27674); +Object.defineProperty(exports, "SecurityFilterMeta", ({ enumerable: true, get: function () { return SecurityFilterMeta_1.SecurityFilterMeta; } })); +var SecurityFilterResponse_1 = __nccwpck_require__(53785); +Object.defineProperty(exports, "SecurityFilterResponse", ({ enumerable: true, get: function () { return SecurityFilterResponse_1.SecurityFilterResponse; } })); +var SecurityFilterUpdateAttributes_1 = __nccwpck_require__(70723); +Object.defineProperty(exports, "SecurityFilterUpdateAttributes", ({ enumerable: true, get: function () { return SecurityFilterUpdateAttributes_1.SecurityFilterUpdateAttributes; } })); +var SecurityFilterUpdateData_1 = __nccwpck_require__(64889); +Object.defineProperty(exports, "SecurityFilterUpdateData", ({ enumerable: true, get: function () { return SecurityFilterUpdateData_1.SecurityFilterUpdateData; } })); +var SecurityFilterUpdateRequest_1 = __nccwpck_require__(67365); +Object.defineProperty(exports, "SecurityFilterUpdateRequest", ({ enumerable: true, get: function () { return SecurityFilterUpdateRequest_1.SecurityFilterUpdateRequest; } })); +var SecurityFiltersResponse_1 = __nccwpck_require__(92892); +Object.defineProperty(exports, "SecurityFiltersResponse", ({ enumerable: true, get: function () { return SecurityFiltersResponse_1.SecurityFiltersResponse; } })); +var SecurityMonitoringFilter_1 = __nccwpck_require__(24483); +Object.defineProperty(exports, "SecurityMonitoringFilter", ({ enumerable: true, get: function () { return SecurityMonitoringFilter_1.SecurityMonitoringFilter; } })); +var SecurityMonitoringListRulesResponse_1 = __nccwpck_require__(83457); +Object.defineProperty(exports, "SecurityMonitoringListRulesResponse", ({ enumerable: true, get: function () { return SecurityMonitoringListRulesResponse_1.SecurityMonitoringListRulesResponse; } })); +var SecurityMonitoringRuleCase_1 = __nccwpck_require__(38467); +Object.defineProperty(exports, "SecurityMonitoringRuleCase", ({ enumerable: true, get: function () { return SecurityMonitoringRuleCase_1.SecurityMonitoringRuleCase; } })); +var SecurityMonitoringRuleCaseCreate_1 = __nccwpck_require__(50909); +Object.defineProperty(exports, "SecurityMonitoringRuleCaseCreate", ({ enumerable: true, get: function () { return SecurityMonitoringRuleCaseCreate_1.SecurityMonitoringRuleCaseCreate; } })); +var SecurityMonitoringRuleCreatePayload_1 = __nccwpck_require__(58135); +Object.defineProperty(exports, "SecurityMonitoringRuleCreatePayload", ({ enumerable: true, get: function () { return SecurityMonitoringRuleCreatePayload_1.SecurityMonitoringRuleCreatePayload; } })); +var SecurityMonitoringRuleNewValueOptions_1 = __nccwpck_require__(10646); +Object.defineProperty(exports, "SecurityMonitoringRuleNewValueOptions", ({ enumerable: true, get: function () { return SecurityMonitoringRuleNewValueOptions_1.SecurityMonitoringRuleNewValueOptions; } })); +var SecurityMonitoringRuleOptions_1 = __nccwpck_require__(41277); +Object.defineProperty(exports, "SecurityMonitoringRuleOptions", ({ enumerable: true, get: function () { return SecurityMonitoringRuleOptions_1.SecurityMonitoringRuleOptions; } })); +var SecurityMonitoringRuleQuery_1 = __nccwpck_require__(31749); +Object.defineProperty(exports, "SecurityMonitoringRuleQuery", ({ enumerable: true, get: function () { return SecurityMonitoringRuleQuery_1.SecurityMonitoringRuleQuery; } })); +var SecurityMonitoringRuleQueryCreate_1 = __nccwpck_require__(53635); +Object.defineProperty(exports, "SecurityMonitoringRuleQueryCreate", ({ enumerable: true, get: function () { return SecurityMonitoringRuleQueryCreate_1.SecurityMonitoringRuleQueryCreate; } })); +var SecurityMonitoringRuleResponse_1 = __nccwpck_require__(44333); +Object.defineProperty(exports, "SecurityMonitoringRuleResponse", ({ enumerable: true, get: function () { return SecurityMonitoringRuleResponse_1.SecurityMonitoringRuleResponse; } })); +var SecurityMonitoringRuleUpdatePayload_1 = __nccwpck_require__(21004); +Object.defineProperty(exports, "SecurityMonitoringRuleUpdatePayload", ({ enumerable: true, get: function () { return SecurityMonitoringRuleUpdatePayload_1.SecurityMonitoringRuleUpdatePayload; } })); +var SecurityMonitoringSignal_1 = __nccwpck_require__(73354); +Object.defineProperty(exports, "SecurityMonitoringSignal", ({ enumerable: true, get: function () { return SecurityMonitoringSignal_1.SecurityMonitoringSignal; } })); +var SecurityMonitoringSignalAttributes_1 = __nccwpck_require__(81335); +Object.defineProperty(exports, "SecurityMonitoringSignalAttributes", ({ enumerable: true, get: function () { return SecurityMonitoringSignalAttributes_1.SecurityMonitoringSignalAttributes; } })); +var SecurityMonitoringSignalListRequest_1 = __nccwpck_require__(13723); +Object.defineProperty(exports, "SecurityMonitoringSignalListRequest", ({ enumerable: true, get: function () { return SecurityMonitoringSignalListRequest_1.SecurityMonitoringSignalListRequest; } })); +var SecurityMonitoringSignalListRequestFilter_1 = __nccwpck_require__(75078); +Object.defineProperty(exports, "SecurityMonitoringSignalListRequestFilter", ({ enumerable: true, get: function () { return SecurityMonitoringSignalListRequestFilter_1.SecurityMonitoringSignalListRequestFilter; } })); +var SecurityMonitoringSignalListRequestPage_1 = __nccwpck_require__(31123); +Object.defineProperty(exports, "SecurityMonitoringSignalListRequestPage", ({ enumerable: true, get: function () { return SecurityMonitoringSignalListRequestPage_1.SecurityMonitoringSignalListRequestPage; } })); +var SecurityMonitoringSignalsListResponse_1 = __nccwpck_require__(8869); +Object.defineProperty(exports, "SecurityMonitoringSignalsListResponse", ({ enumerable: true, get: function () { return SecurityMonitoringSignalsListResponse_1.SecurityMonitoringSignalsListResponse; } })); +var SecurityMonitoringSignalsListResponseLinks_1 = __nccwpck_require__(53523); +Object.defineProperty(exports, "SecurityMonitoringSignalsListResponseLinks", ({ enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseLinks_1.SecurityMonitoringSignalsListResponseLinks; } })); +var SecurityMonitoringSignalsListResponseMeta_1 = __nccwpck_require__(39585); +Object.defineProperty(exports, "SecurityMonitoringSignalsListResponseMeta", ({ enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseMeta_1.SecurityMonitoringSignalsListResponseMeta; } })); +var SecurityMonitoringSignalsListResponseMetaPage_1 = __nccwpck_require__(54327); +Object.defineProperty(exports, "SecurityMonitoringSignalsListResponseMetaPage", ({ enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseMetaPage_1.SecurityMonitoringSignalsListResponseMetaPage; } })); +var ServiceAccountCreateAttributes_1 = __nccwpck_require__(90326); +Object.defineProperty(exports, "ServiceAccountCreateAttributes", ({ enumerable: true, get: function () { return ServiceAccountCreateAttributes_1.ServiceAccountCreateAttributes; } })); +var ServiceAccountCreateData_1 = __nccwpck_require__(62468); +Object.defineProperty(exports, "ServiceAccountCreateData", ({ enumerable: true, get: function () { return ServiceAccountCreateData_1.ServiceAccountCreateData; } })); +var ServiceAccountCreateRequest_1 = __nccwpck_require__(5390); +Object.defineProperty(exports, "ServiceAccountCreateRequest", ({ enumerable: true, get: function () { return ServiceAccountCreateRequest_1.ServiceAccountCreateRequest; } })); +var User_1 = __nccwpck_require__(47786); +Object.defineProperty(exports, "User", ({ enumerable: true, get: function () { return User_1.User; } })); +var UserAttributes_1 = __nccwpck_require__(42432); +Object.defineProperty(exports, "UserAttributes", ({ enumerable: true, get: function () { return UserAttributes_1.UserAttributes; } })); +var UserCreateAttributes_1 = __nccwpck_require__(66656); +Object.defineProperty(exports, "UserCreateAttributes", ({ enumerable: true, get: function () { return UserCreateAttributes_1.UserCreateAttributes; } })); +var UserCreateData_1 = __nccwpck_require__(66646); +Object.defineProperty(exports, "UserCreateData", ({ enumerable: true, get: function () { return UserCreateData_1.UserCreateData; } })); +var UserCreateRequest_1 = __nccwpck_require__(87642); +Object.defineProperty(exports, "UserCreateRequest", ({ enumerable: true, get: function () { return UserCreateRequest_1.UserCreateRequest; } })); +var UserInvitationData_1 = __nccwpck_require__(77954); +Object.defineProperty(exports, "UserInvitationData", ({ enumerable: true, get: function () { return UserInvitationData_1.UserInvitationData; } })); +var UserInvitationDataAttributes_1 = __nccwpck_require__(3798); +Object.defineProperty(exports, "UserInvitationDataAttributes", ({ enumerable: true, get: function () { return UserInvitationDataAttributes_1.UserInvitationDataAttributes; } })); +var UserInvitationRelationships_1 = __nccwpck_require__(18252); +Object.defineProperty(exports, "UserInvitationRelationships", ({ enumerable: true, get: function () { return UserInvitationRelationships_1.UserInvitationRelationships; } })); +var UserInvitationResponse_1 = __nccwpck_require__(14586); +Object.defineProperty(exports, "UserInvitationResponse", ({ enumerable: true, get: function () { return UserInvitationResponse_1.UserInvitationResponse; } })); +var UserInvitationResponseData_1 = __nccwpck_require__(35653); +Object.defineProperty(exports, "UserInvitationResponseData", ({ enumerable: true, get: function () { return UserInvitationResponseData_1.UserInvitationResponseData; } })); +var UserInvitationsRequest_1 = __nccwpck_require__(89585); +Object.defineProperty(exports, "UserInvitationsRequest", ({ enumerable: true, get: function () { return UserInvitationsRequest_1.UserInvitationsRequest; } })); +var UserInvitationsResponse_1 = __nccwpck_require__(49353); +Object.defineProperty(exports, "UserInvitationsResponse", ({ enumerable: true, get: function () { return UserInvitationsResponse_1.UserInvitationsResponse; } })); +var UserRelationships_1 = __nccwpck_require__(58125); +Object.defineProperty(exports, "UserRelationships", ({ enumerable: true, get: function () { return UserRelationships_1.UserRelationships; } })); +var UserResponse_1 = __nccwpck_require__(18779); +Object.defineProperty(exports, "UserResponse", ({ enumerable: true, get: function () { return UserResponse_1.UserResponse; } })); +var UserResponseRelationships_1 = __nccwpck_require__(20157); +Object.defineProperty(exports, "UserResponseRelationships", ({ enumerable: true, get: function () { return UserResponseRelationships_1.UserResponseRelationships; } })); +var UserUpdateAttributes_1 = __nccwpck_require__(68822); +Object.defineProperty(exports, "UserUpdateAttributes", ({ enumerable: true, get: function () { return UserUpdateAttributes_1.UserUpdateAttributes; } })); +var UserUpdateData_1 = __nccwpck_require__(21330); +Object.defineProperty(exports, "UserUpdateData", ({ enumerable: true, get: function () { return UserUpdateData_1.UserUpdateData; } })); +var UserUpdateRequest_1 = __nccwpck_require__(59906); +Object.defineProperty(exports, "UserUpdateRequest", ({ enumerable: true, get: function () { return UserUpdateRequest_1.UserUpdateRequest; } })); +var UsersResponse_1 = __nccwpck_require__(18577); +Object.defineProperty(exports, "UsersResponse", ({ enumerable: true, get: function () { return UsersResponse_1.UsersResponse; } })); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 70205: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIErrorResponse = void 0; +/** + * API error response. + */ +var APIErrorResponse = /** @class */ (function () { + function APIErrorResponse() { + } + /** + * @ignore + */ + APIErrorResponse.getAttributeTypeMap = function () { + return APIErrorResponse.attributeTypeMap; + }; + /** + * @ignore + */ + APIErrorResponse.attributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + required: true, + }, + }; + return APIErrorResponse; +}()); +exports.APIErrorResponse = APIErrorResponse; +//# sourceMappingURL=APIErrorResponse.js.map + +/***/ }), + +/***/ 59524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyCreateAttributes = void 0; +/** + * Attributes used to create an API Key. + */ +var APIKeyCreateAttributes = /** @class */ (function () { + function APIKeyCreateAttributes() { + } + /** + * @ignore + */ + APIKeyCreateAttributes.getAttributeTypeMap = function () { + return APIKeyCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyCreateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return APIKeyCreateAttributes; +}()); +exports.APIKeyCreateAttributes = APIKeyCreateAttributes; +//# sourceMappingURL=APIKeyCreateAttributes.js.map + +/***/ }), + +/***/ 18279: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyCreateData = void 0; +/** + * Object used to create an API key. + */ +var APIKeyCreateData = /** @class */ (function () { + function APIKeyCreateData() { + } + /** + * @ignore + */ + APIKeyCreateData.getAttributeTypeMap = function () { + return APIKeyCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "APIKeyCreateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "APIKeysType", + required: true, + }, + }; + return APIKeyCreateData; +}()); +exports.APIKeyCreateData = APIKeyCreateData; +//# sourceMappingURL=APIKeyCreateData.js.map + +/***/ }), + +/***/ 58893: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyCreateRequest = void 0; +/** + * Request used to create an API key. + */ +var APIKeyCreateRequest = /** @class */ (function () { + function APIKeyCreateRequest() { + } + /** + * @ignore + */ + APIKeyCreateRequest.getAttributeTypeMap = function () { + return APIKeyCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "APIKeyCreateData", + required: true, + }, + }; + return APIKeyCreateRequest; +}()); +exports.APIKeyCreateRequest = APIKeyCreateRequest; +//# sourceMappingURL=APIKeyCreateRequest.js.map + +/***/ }), + +/***/ 54551: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyRelationships = void 0; +/** + * Resources related to the API key. + */ +var APIKeyRelationships = /** @class */ (function () { + function APIKeyRelationships() { + } + /** + * @ignore + */ + APIKeyRelationships.getAttributeTypeMap = function () { + return APIKeyRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyRelationships.attributeTypeMap = { + createdBy: { + baseName: "created_by", + type: "RelationshipToUser", + }, + modifiedBy: { + baseName: "modified_by", + type: "RelationshipToUser", + }, + }; + return APIKeyRelationships; +}()); +exports.APIKeyRelationships = APIKeyRelationships; +//# sourceMappingURL=APIKeyRelationships.js.map + +/***/ }), + +/***/ 97531: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyResponse = void 0; +/** + * Response for retrieving an API key. + */ +var APIKeyResponse = /** @class */ (function () { + function APIKeyResponse() { + } + /** + * @ignore + */ + APIKeyResponse.getAttributeTypeMap = function () { + return APIKeyResponse.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "FullAPIKey", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return APIKeyResponse; +}()); +exports.APIKeyResponse = APIKeyResponse; +//# sourceMappingURL=APIKeyResponse.js.map + +/***/ }), + +/***/ 65168: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyUpdateAttributes = void 0; +/** + * Attributes used to update an API Key. + */ +var APIKeyUpdateAttributes = /** @class */ (function () { + function APIKeyUpdateAttributes() { + } + /** + * @ignore + */ + APIKeyUpdateAttributes.getAttributeTypeMap = function () { + return APIKeyUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyUpdateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return APIKeyUpdateAttributes; +}()); +exports.APIKeyUpdateAttributes = APIKeyUpdateAttributes; +//# sourceMappingURL=APIKeyUpdateAttributes.js.map + +/***/ }), + +/***/ 51292: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyUpdateData = void 0; +/** + * Object used to update an API key. + */ +var APIKeyUpdateData = /** @class */ (function () { + function APIKeyUpdateData() { + } + /** + * @ignore + */ + APIKeyUpdateData.getAttributeTypeMap = function () { + return APIKeyUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "APIKeyUpdateAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "APIKeysType", + required: true, + }, + }; + return APIKeyUpdateData; +}()); +exports.APIKeyUpdateData = APIKeyUpdateData; +//# sourceMappingURL=APIKeyUpdateData.js.map + +/***/ }), + +/***/ 20585: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeyUpdateRequest = void 0; +/** + * Request used to update an API key. + */ +var APIKeyUpdateRequest = /** @class */ (function () { + function APIKeyUpdateRequest() { + } + /** + * @ignore + */ + APIKeyUpdateRequest.getAttributeTypeMap = function () { + return APIKeyUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeyUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "APIKeyUpdateData", + required: true, + }, + }; + return APIKeyUpdateRequest; +}()); +exports.APIKeyUpdateRequest = APIKeyUpdateRequest; +//# sourceMappingURL=APIKeyUpdateRequest.js.map + +/***/ }), + +/***/ 13214: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.APIKeysResponse = void 0; +/** + * Response for a list of API keys. + */ +var APIKeysResponse = /** @class */ (function () { + function APIKeysResponse() { + } + /** + * @ignore + */ + APIKeysResponse.getAttributeTypeMap = function () { + return APIKeysResponse.attributeTypeMap; + }; + /** + * @ignore + */ + APIKeysResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return APIKeysResponse; +}()); +exports.APIKeysResponse = APIKeysResponse; +//# sourceMappingURL=APIKeysResponse.js.map + +/***/ }), + +/***/ 71500: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyCreateAttributes = void 0; +/** + * Attributes used to create an application Key. + */ +var ApplicationKeyCreateAttributes = /** @class */ (function () { + function ApplicationKeyCreateAttributes() { + } + /** + * @ignore + */ + ApplicationKeyCreateAttributes.getAttributeTypeMap = function () { + return ApplicationKeyCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyCreateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + scopes: { + baseName: "scopes", + type: "Array", + }, + }; + return ApplicationKeyCreateAttributes; +}()); +exports.ApplicationKeyCreateAttributes = ApplicationKeyCreateAttributes; +//# sourceMappingURL=ApplicationKeyCreateAttributes.js.map + +/***/ }), + +/***/ 39673: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyCreateData = void 0; +/** + * Object used to create an application key. + */ +var ApplicationKeyCreateData = /** @class */ (function () { + function ApplicationKeyCreateData() { + } + /** + * @ignore + */ + ApplicationKeyCreateData.getAttributeTypeMap = function () { + return ApplicationKeyCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ApplicationKeyCreateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "ApplicationKeysType", + required: true, + }, + }; + return ApplicationKeyCreateData; +}()); +exports.ApplicationKeyCreateData = ApplicationKeyCreateData; +//# sourceMappingURL=ApplicationKeyCreateData.js.map + +/***/ }), + +/***/ 89736: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyCreateRequest = void 0; +/** + * Request used to create an application key. + */ +var ApplicationKeyCreateRequest = /** @class */ (function () { + function ApplicationKeyCreateRequest() { + } + /** + * @ignore + */ + ApplicationKeyCreateRequest.getAttributeTypeMap = function () { + return ApplicationKeyCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "ApplicationKeyCreateData", + required: true, + }, + }; + return ApplicationKeyCreateRequest; +}()); +exports.ApplicationKeyCreateRequest = ApplicationKeyCreateRequest; +//# sourceMappingURL=ApplicationKeyCreateRequest.js.map + +/***/ }), + +/***/ 65634: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyRelationships = void 0; +/** + * Resources related to the application key. + */ +var ApplicationKeyRelationships = /** @class */ (function () { + function ApplicationKeyRelationships() { + } + /** + * @ignore + */ + ApplicationKeyRelationships.getAttributeTypeMap = function () { + return ApplicationKeyRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyRelationships.attributeTypeMap = { + ownedBy: { + baseName: "owned_by", + type: "RelationshipToUser", + }, + }; + return ApplicationKeyRelationships; +}()); +exports.ApplicationKeyRelationships = ApplicationKeyRelationships; +//# sourceMappingURL=ApplicationKeyRelationships.js.map + +/***/ }), + +/***/ 73297: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyResponse = void 0; +/** + * Response for retrieving an application key. + */ +var ApplicationKeyResponse = /** @class */ (function () { + function ApplicationKeyResponse() { + } + /** + * @ignore + */ + ApplicationKeyResponse.getAttributeTypeMap = function () { + return ApplicationKeyResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "FullApplicationKey", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return ApplicationKeyResponse; +}()); +exports.ApplicationKeyResponse = ApplicationKeyResponse; +//# sourceMappingURL=ApplicationKeyResponse.js.map + +/***/ }), + +/***/ 38052: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyUpdateAttributes = void 0; +/** + * Attributes used to update an application Key. + */ +var ApplicationKeyUpdateAttributes = /** @class */ (function () { + function ApplicationKeyUpdateAttributes() { + } + /** + * @ignore + */ + ApplicationKeyUpdateAttributes.getAttributeTypeMap = function () { + return ApplicationKeyUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyUpdateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + }, + scopes: { + baseName: "scopes", + type: "Array", + }, + }; + return ApplicationKeyUpdateAttributes; +}()); +exports.ApplicationKeyUpdateAttributes = ApplicationKeyUpdateAttributes; +//# sourceMappingURL=ApplicationKeyUpdateAttributes.js.map + +/***/ }), + +/***/ 3655: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyUpdateData = void 0; +/** + * Object used to update an application key. + */ +var ApplicationKeyUpdateData = /** @class */ (function () { + function ApplicationKeyUpdateData() { + } + /** + * @ignore + */ + ApplicationKeyUpdateData.getAttributeTypeMap = function () { + return ApplicationKeyUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ApplicationKeyUpdateAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "ApplicationKeysType", + required: true, + }, + }; + return ApplicationKeyUpdateData; +}()); +exports.ApplicationKeyUpdateData = ApplicationKeyUpdateData; +//# sourceMappingURL=ApplicationKeyUpdateData.js.map + +/***/ }), + +/***/ 19103: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ApplicationKeyUpdateRequest = void 0; +/** + * Request used to update an application key. + */ +var ApplicationKeyUpdateRequest = /** @class */ (function () { + function ApplicationKeyUpdateRequest() { + } + /** + * @ignore + */ + ApplicationKeyUpdateRequest.getAttributeTypeMap = function () { + return ApplicationKeyUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ApplicationKeyUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "ApplicationKeyUpdateData", + required: true, + }, + }; + return ApplicationKeyUpdateRequest; +}()); +exports.ApplicationKeyUpdateRequest = ApplicationKeyUpdateRequest; +//# sourceMappingURL=ApplicationKeyUpdateRequest.js.map + +/***/ }), + +/***/ 80723: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMapping = void 0; +/** + * The AuthN Mapping object returned by API. + */ +var AuthNMapping = /** @class */ (function () { + function AuthNMapping() { + } + /** + * @ignore + */ + AuthNMapping.getAttributeTypeMap = function () { + return AuthNMapping.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMapping.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "AuthNMappingAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + relationships: { + baseName: "relationships", + type: "AuthNMappingRelationships", + }, + type: { + baseName: "type", + type: "AuthNMappingsType", + required: true, + }, + }; + return AuthNMapping; +}()); +exports.AuthNMapping = AuthNMapping; +//# sourceMappingURL=AuthNMapping.js.map + +/***/ }), + +/***/ 70543: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingAttributes = void 0; +/** + * Attributes of AuthN Mapping. + */ +var AuthNMappingAttributes = /** @class */ (function () { + function AuthNMappingAttributes() { + } + /** + * @ignore + */ + AuthNMappingAttributes.getAttributeTypeMap = function () { + return AuthNMappingAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingAttributes.attributeTypeMap = { + attributeKey: { + baseName: "attribute_key", + type: "string", + }, + attributeValue: { + baseName: "attribute_value", + type: "string", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + samlAssertionAttributeId: { + baseName: "saml_assertion_attribute_id", + type: "number", + format: "int32", + }, + }; + return AuthNMappingAttributes; +}()); +exports.AuthNMappingAttributes = AuthNMappingAttributes; +//# sourceMappingURL=AuthNMappingAttributes.js.map + +/***/ }), + +/***/ 47073: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingCreateAttributes = void 0; +/** + * Key/Value pair of attributes used for create request. + */ +var AuthNMappingCreateAttributes = /** @class */ (function () { + function AuthNMappingCreateAttributes() { + } + /** + * @ignore + */ + AuthNMappingCreateAttributes.getAttributeTypeMap = function () { + return AuthNMappingCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingCreateAttributes.attributeTypeMap = { + attributeKey: { + baseName: "attribute_key", + type: "string", + }, + attributeValue: { + baseName: "attribute_value", + type: "string", + }, + }; + return AuthNMappingCreateAttributes; +}()); +exports.AuthNMappingCreateAttributes = AuthNMappingCreateAttributes; +//# sourceMappingURL=AuthNMappingCreateAttributes.js.map + +/***/ }), + +/***/ 2847: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingCreateData = void 0; +/** + * Data for creating an AuthN Mapping. + */ +var AuthNMappingCreateData = /** @class */ (function () { + function AuthNMappingCreateData() { + } + /** + * @ignore + */ + AuthNMappingCreateData.getAttributeTypeMap = function () { + return AuthNMappingCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "AuthNMappingCreateAttributes", + }, + relationships: { + baseName: "relationships", + type: "AuthNMappingCreateRelationships", + }, + type: { + baseName: "type", + type: "AuthNMappingsType", + required: true, + }, + }; + return AuthNMappingCreateData; +}()); +exports.AuthNMappingCreateData = AuthNMappingCreateData; +//# sourceMappingURL=AuthNMappingCreateData.js.map + +/***/ }), + +/***/ 20943: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingCreateRelationships = void 0; +/** + * Relationship of AuthN Mapping create object to Role. + */ +var AuthNMappingCreateRelationships = /** @class */ (function () { + function AuthNMappingCreateRelationships() { + } + /** + * @ignore + */ + AuthNMappingCreateRelationships.getAttributeTypeMap = function () { + return AuthNMappingCreateRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingCreateRelationships.attributeTypeMap = { + role: { + baseName: "role", + type: "RelationshipToRole", + }, + }; + return AuthNMappingCreateRelationships; +}()); +exports.AuthNMappingCreateRelationships = AuthNMappingCreateRelationships; +//# sourceMappingURL=AuthNMappingCreateRelationships.js.map + +/***/ }), + +/***/ 32773: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingCreateRequest = void 0; +/** + * Request for creating an AuthN Mapping. + */ +var AuthNMappingCreateRequest = /** @class */ (function () { + function AuthNMappingCreateRequest() { + } + /** + * @ignore + */ + AuthNMappingCreateRequest.getAttributeTypeMap = function () { + return AuthNMappingCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "AuthNMappingCreateData", + required: true, + }, + }; + return AuthNMappingCreateRequest; +}()); +exports.AuthNMappingCreateRequest = AuthNMappingCreateRequest; +//# sourceMappingURL=AuthNMappingCreateRequest.js.map + +/***/ }), + +/***/ 17587: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingRelationships = void 0; +/** + * All relationships associated with AuthN Mapping. + */ +var AuthNMappingRelationships = /** @class */ (function () { + function AuthNMappingRelationships() { + } + /** + * @ignore + */ + AuthNMappingRelationships.getAttributeTypeMap = function () { + return AuthNMappingRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingRelationships.attributeTypeMap = { + role: { + baseName: "role", + type: "RelationshipToRole", + }, + samlAssertionAttribute: { + baseName: "saml_assertion_attribute", + type: "RelationshipToSAMLAssertionAttribute", + }, + }; + return AuthNMappingRelationships; +}()); +exports.AuthNMappingRelationships = AuthNMappingRelationships; +//# sourceMappingURL=AuthNMappingRelationships.js.map + +/***/ }), + +/***/ 60064: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingResponse = void 0; +/** + * AuthN Mapping response from the API. + */ +var AuthNMappingResponse = /** @class */ (function () { + function AuthNMappingResponse() { + } + /** + * @ignore + */ + AuthNMappingResponse.getAttributeTypeMap = function () { + return AuthNMappingResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "AuthNMapping", + }, + }; + return AuthNMappingResponse; +}()); +exports.AuthNMappingResponse = AuthNMappingResponse; +//# sourceMappingURL=AuthNMappingResponse.js.map + +/***/ }), + +/***/ 61653: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingUpdateAttributes = void 0; +/** + * Key/Value pair of attributes used for update request. + */ +var AuthNMappingUpdateAttributes = /** @class */ (function () { + function AuthNMappingUpdateAttributes() { + } + /** + * @ignore + */ + AuthNMappingUpdateAttributes.getAttributeTypeMap = function () { + return AuthNMappingUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingUpdateAttributes.attributeTypeMap = { + attributeKey: { + baseName: "attribute_key", + type: "string", + }, + attributeValue: { + baseName: "attribute_value", + type: "string", + }, + }; + return AuthNMappingUpdateAttributes; +}()); +exports.AuthNMappingUpdateAttributes = AuthNMappingUpdateAttributes; +//# sourceMappingURL=AuthNMappingUpdateAttributes.js.map + +/***/ }), + +/***/ 98430: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingUpdateData = void 0; +/** + * Data for updating an AuthN Mapping. + */ +var AuthNMappingUpdateData = /** @class */ (function () { + function AuthNMappingUpdateData() { + } + /** + * @ignore + */ + AuthNMappingUpdateData.getAttributeTypeMap = function () { + return AuthNMappingUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "AuthNMappingUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "AuthNMappingUpdateRelationships", + }, + type: { + baseName: "type", + type: "AuthNMappingsType", + required: true, + }, + }; + return AuthNMappingUpdateData; +}()); +exports.AuthNMappingUpdateData = AuthNMappingUpdateData; +//# sourceMappingURL=AuthNMappingUpdateData.js.map + +/***/ }), + +/***/ 39731: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingUpdateRelationships = void 0; +/** + * Relationship of AuthN Mapping update object to Role. + */ +var AuthNMappingUpdateRelationships = /** @class */ (function () { + function AuthNMappingUpdateRelationships() { + } + /** + * @ignore + */ + AuthNMappingUpdateRelationships.getAttributeTypeMap = function () { + return AuthNMappingUpdateRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingUpdateRelationships.attributeTypeMap = { + role: { + baseName: "role", + type: "RelationshipToRole", + }, + }; + return AuthNMappingUpdateRelationships; +}()); +exports.AuthNMappingUpdateRelationships = AuthNMappingUpdateRelationships; +//# sourceMappingURL=AuthNMappingUpdateRelationships.js.map + +/***/ }), + +/***/ 18093: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingUpdateRequest = void 0; +/** + * Request to update an AuthN Mapping. + */ +var AuthNMappingUpdateRequest = /** @class */ (function () { + function AuthNMappingUpdateRequest() { + } + /** + * @ignore + */ + AuthNMappingUpdateRequest.getAttributeTypeMap = function () { + return AuthNMappingUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "AuthNMappingUpdateData", + required: true, + }, + }; + return AuthNMappingUpdateRequest; +}()); +exports.AuthNMappingUpdateRequest = AuthNMappingUpdateRequest; +//# sourceMappingURL=AuthNMappingUpdateRequest.js.map + +/***/ }), + +/***/ 18439: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.AuthNMappingsResponse = void 0; +/** + * Array of AuthN Mappings response. + */ +var AuthNMappingsResponse = /** @class */ (function () { + function AuthNMappingsResponse() { + } + /** + * @ignore + */ + AuthNMappingsResponse.getAttributeTypeMap = function () { + return AuthNMappingsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + AuthNMappingsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ResponseMetaAttributes", + }, + }; + return AuthNMappingsResponse; +}()); +exports.AuthNMappingsResponse = AuthNMappingsResponse; +//# sourceMappingURL=AuthNMappingsResponse.js.map + +/***/ }), + +/***/ 60792: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleAttributes = void 0; +/** + * A Cloud Workload Security Agent rule returned by the API. + */ +var CloudWorkloadSecurityAgentRuleAttributes = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleAttributes() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleAttributes.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleAttributes.attributeTypeMap = { + category: { + baseName: "category", + type: "string", + }, + creationDate: { + baseName: "creationDate", + type: "number", + format: "int64", + }, + creator: { + baseName: "creator", + type: "CloudWorkloadSecurityAgentRuleCreatorAttributes", + }, + defaultRule: { + baseName: "defaultRule", + type: "boolean", + }, + description: { + baseName: "description", + type: "string", + }, + enabled: { + baseName: "enabled", + type: "boolean", + }, + expression: { + baseName: "expression", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + updatedAt: { + baseName: "updatedAt", + type: "number", + format: "int64", + }, + updater: { + baseName: "updater", + type: "CloudWorkloadSecurityAgentRuleUpdaterAttributes", + }, + version: { + baseName: "version", + type: "number", + format: "int64", + }, + }; + return CloudWorkloadSecurityAgentRuleAttributes; +}()); +exports.CloudWorkloadSecurityAgentRuleAttributes = CloudWorkloadSecurityAgentRuleAttributes; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleAttributes.js.map + +/***/ }), + +/***/ 91982: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleCreateAttributes = void 0; +/** + * Create a new Cloud Workload Security Agent rule. + */ +var CloudWorkloadSecurityAgentRuleCreateAttributes = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleCreateAttributes() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateAttributes.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateAttributes.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + enabled: { + baseName: "enabled", + type: "boolean", + }, + expression: { + baseName: "expression", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return CloudWorkloadSecurityAgentRuleCreateAttributes; +}()); +exports.CloudWorkloadSecurityAgentRuleCreateAttributes = CloudWorkloadSecurityAgentRuleCreateAttributes; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateAttributes.js.map + +/***/ }), + +/***/ 57506: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleCreateData = void 0; +/** + * Object for a single Agent rule. + */ +var CloudWorkloadSecurityAgentRuleCreateData = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleCreateData() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateData.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CloudWorkloadSecurityAgentRuleCreateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CloudWorkloadSecurityAgentRuleType", + required: true, + }, + }; + return CloudWorkloadSecurityAgentRuleCreateData; +}()); +exports.CloudWorkloadSecurityAgentRuleCreateData = CloudWorkloadSecurityAgentRuleCreateData; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateData.js.map + +/***/ }), + +/***/ 11249: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleCreateRequest = void 0; +/** + * Request object that includes the Agent rule to create. + */ +var CloudWorkloadSecurityAgentRuleCreateRequest = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleCreateRequest() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateRequest.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "CloudWorkloadSecurityAgentRuleCreateData", + required: true, + }, + }; + return CloudWorkloadSecurityAgentRuleCreateRequest; +}()); +exports.CloudWorkloadSecurityAgentRuleCreateRequest = CloudWorkloadSecurityAgentRuleCreateRequest; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateRequest.js.map + +/***/ }), + +/***/ 34366: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleCreatorAttributes = void 0; +/** + * The attributes of the user who created the Agent rule. + */ +var CloudWorkloadSecurityAgentRuleCreatorAttributes = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleCreatorAttributes() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreatorAttributes.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleCreatorAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleCreatorAttributes.attributeTypeMap = { + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return CloudWorkloadSecurityAgentRuleCreatorAttributes; +}()); +exports.CloudWorkloadSecurityAgentRuleCreatorAttributes = CloudWorkloadSecurityAgentRuleCreatorAttributes; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreatorAttributes.js.map + +/***/ }), + +/***/ 79526: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleData = void 0; +/** + * Object for a single Agent rule. + */ +var CloudWorkloadSecurityAgentRuleData = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleData() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleData.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleData.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CloudWorkloadSecurityAgentRuleAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "CloudWorkloadSecurityAgentRuleType", + }, + }; + return CloudWorkloadSecurityAgentRuleData; +}()); +exports.CloudWorkloadSecurityAgentRuleData = CloudWorkloadSecurityAgentRuleData; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleData.js.map + +/***/ }), + +/***/ 70516: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleResponse = void 0; +/** + * Response object that includes an Agent rule. + */ +var CloudWorkloadSecurityAgentRuleResponse = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleResponse() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleResponse.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleResponse.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "CloudWorkloadSecurityAgentRuleData", + }, + }; + return CloudWorkloadSecurityAgentRuleResponse; +}()); +exports.CloudWorkloadSecurityAgentRuleResponse = CloudWorkloadSecurityAgentRuleResponse; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleResponse.js.map + +/***/ }), + +/***/ 43319: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleUpdateAttributes = void 0; +/** + * Update an existing Cloud Workload Security Agent rule. + */ +var CloudWorkloadSecurityAgentRuleUpdateAttributes = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleUpdateAttributes() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateAttributes.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateAttributes.attributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + enabled: { + baseName: "enabled", + type: "boolean", + }, + expression: { + baseName: "expression", + type: "string", + }, + }; + return CloudWorkloadSecurityAgentRuleUpdateAttributes; +}()); +exports.CloudWorkloadSecurityAgentRuleUpdateAttributes = CloudWorkloadSecurityAgentRuleUpdateAttributes; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateAttributes.js.map + +/***/ }), + +/***/ 92347: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleUpdateData = void 0; +/** + * Object for a single Agent rule. + */ +var CloudWorkloadSecurityAgentRuleUpdateData = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleUpdateData() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateData.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CloudWorkloadSecurityAgentRuleUpdateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CloudWorkloadSecurityAgentRuleType", + required: true, + }, + }; + return CloudWorkloadSecurityAgentRuleUpdateData; +}()); +exports.CloudWorkloadSecurityAgentRuleUpdateData = CloudWorkloadSecurityAgentRuleUpdateData; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateData.js.map + +/***/ }), + +/***/ 96586: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleUpdateRequest = void 0; +/** + * Request object that includes the Agent rule with the attributes to update. + */ +var CloudWorkloadSecurityAgentRuleUpdateRequest = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleUpdateRequest() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateRequest.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "CloudWorkloadSecurityAgentRuleUpdateData", + required: true, + }, + }; + return CloudWorkloadSecurityAgentRuleUpdateRequest; +}()); +exports.CloudWorkloadSecurityAgentRuleUpdateRequest = CloudWorkloadSecurityAgentRuleUpdateRequest; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateRequest.js.map + +/***/ }), + +/***/ 22606: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = void 0; +/** + * The attributes of the user who last updated the Agent rule. + */ +var CloudWorkloadSecurityAgentRuleUpdaterAttributes = /** @class */ (function () { + function CloudWorkloadSecurityAgentRuleUpdaterAttributes() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdaterAttributes.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRuleUpdaterAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRuleUpdaterAttributes.attributeTypeMap = { + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return CloudWorkloadSecurityAgentRuleUpdaterAttributes; +}()); +exports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = CloudWorkloadSecurityAgentRuleUpdaterAttributes; +//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdaterAttributes.js.map + +/***/ }), + +/***/ 42739: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CloudWorkloadSecurityAgentRulesListResponse = void 0; +/** + * Response object that includes a list of Agent rule. + */ +var CloudWorkloadSecurityAgentRulesListResponse = /** @class */ (function () { + function CloudWorkloadSecurityAgentRulesListResponse() { + } + /** + * @ignore + */ + CloudWorkloadSecurityAgentRulesListResponse.getAttributeTypeMap = function () { + return CloudWorkloadSecurityAgentRulesListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + CloudWorkloadSecurityAgentRulesListResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return CloudWorkloadSecurityAgentRulesListResponse; +}()); +exports.CloudWorkloadSecurityAgentRulesListResponse = CloudWorkloadSecurityAgentRulesListResponse; +//# sourceMappingURL=CloudWorkloadSecurityAgentRulesListResponse.js.map + +/***/ }), + +/***/ 81580: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Creator = void 0; +/** + * Creator of the object. + */ +var Creator = /** @class */ (function () { + function Creator() { + } + /** + * @ignore + */ + Creator.getAttributeTypeMap = function () { + return Creator.attributeTypeMap; + }; + /** + * @ignore + */ + Creator.attributeTypeMap = { + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return Creator; +}()); +exports.Creator = Creator; +//# sourceMappingURL=Creator.js.map + +/***/ }), + +/***/ 1746: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListAddItemsRequest = void 0; +/** + * Request containing a list of dashboards to add. + */ +var DashboardListAddItemsRequest = /** @class */ (function () { + function DashboardListAddItemsRequest() { + } + /** + * @ignore + */ + DashboardListAddItemsRequest.getAttributeTypeMap = function () { + return DashboardListAddItemsRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListAddItemsRequest.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + }, + }; + return DashboardListAddItemsRequest; +}()); +exports.DashboardListAddItemsRequest = DashboardListAddItemsRequest; +//# sourceMappingURL=DashboardListAddItemsRequest.js.map + +/***/ }), + +/***/ 97047: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListAddItemsResponse = void 0; +/** + * Response containing a list of added dashboards. + */ +var DashboardListAddItemsResponse = /** @class */ (function () { + function DashboardListAddItemsResponse() { + } + /** + * @ignore + */ + DashboardListAddItemsResponse.getAttributeTypeMap = function () { + return DashboardListAddItemsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListAddItemsResponse.attributeTypeMap = { + addedDashboardsToList: { + baseName: "added_dashboards_to_list", + type: "Array", + }, + }; + return DashboardListAddItemsResponse; +}()); +exports.DashboardListAddItemsResponse = DashboardListAddItemsResponse; +//# sourceMappingURL=DashboardListAddItemsResponse.js.map + +/***/ }), + +/***/ 6487: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListDeleteItemsRequest = void 0; +/** + * Request containing a list of dashboards to delete. + */ +var DashboardListDeleteItemsRequest = /** @class */ (function () { + function DashboardListDeleteItemsRequest() { + } + /** + * @ignore + */ + DashboardListDeleteItemsRequest.getAttributeTypeMap = function () { + return DashboardListDeleteItemsRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListDeleteItemsRequest.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + }, + }; + return DashboardListDeleteItemsRequest; +}()); +exports.DashboardListDeleteItemsRequest = DashboardListDeleteItemsRequest; +//# sourceMappingURL=DashboardListDeleteItemsRequest.js.map + +/***/ }), + +/***/ 79067: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListDeleteItemsResponse = void 0; +/** + * Response containing a list of deleted dashboards. + */ +var DashboardListDeleteItemsResponse = /** @class */ (function () { + function DashboardListDeleteItemsResponse() { + } + /** + * @ignore + */ + DashboardListDeleteItemsResponse.getAttributeTypeMap = function () { + return DashboardListDeleteItemsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListDeleteItemsResponse.attributeTypeMap = { + deletedDashboardsFromList: { + baseName: "deleted_dashboards_from_list", + type: "Array", + }, + }; + return DashboardListDeleteItemsResponse; +}()); +exports.DashboardListDeleteItemsResponse = DashboardListDeleteItemsResponse; +//# sourceMappingURL=DashboardListDeleteItemsResponse.js.map + +/***/ }), + +/***/ 25719: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListItem = void 0; +/** + * A dashboard within a list. + */ +var DashboardListItem = /** @class */ (function () { + function DashboardListItem() { + } + /** + * @ignore + */ + DashboardListItem.getAttributeTypeMap = function () { + return DashboardListItem.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListItem.attributeTypeMap = { + author: { + baseName: "author", + type: "Creator", + }, + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + icon: { + baseName: "icon", + type: "string", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + isFavorite: { + baseName: "is_favorite", + type: "boolean", + }, + isReadOnly: { + baseName: "is_read_only", + type: "boolean", + }, + isShared: { + baseName: "is_shared", + type: "boolean", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + popularity: { + baseName: "popularity", + type: "number", + format: "int32", + }, + title: { + baseName: "title", + type: "string", + }, + type: { + baseName: "type", + type: "DashboardType", + required: true, + }, + url: { + baseName: "url", + type: "string", + }, + }; + return DashboardListItem; +}()); +exports.DashboardListItem = DashboardListItem; +//# sourceMappingURL=DashboardListItem.js.map + +/***/ }), + +/***/ 72262: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListItemRequest = void 0; +/** + * A dashboard within a list. + */ +var DashboardListItemRequest = /** @class */ (function () { + function DashboardListItemRequest() { + } + /** + * @ignore + */ + DashboardListItemRequest.getAttributeTypeMap = function () { + return DashboardListItemRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListItemRequest.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "DashboardType", + required: true, + }, + }; + return DashboardListItemRequest; +}()); +exports.DashboardListItemRequest = DashboardListItemRequest; +//# sourceMappingURL=DashboardListItemRequest.js.map + +/***/ }), + +/***/ 24037: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListItemResponse = void 0; +/** + * A dashboard within a list. + */ +var DashboardListItemResponse = /** @class */ (function () { + function DashboardListItemResponse() { + } + /** + * @ignore + */ + DashboardListItemResponse.getAttributeTypeMap = function () { + return DashboardListItemResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListItemResponse.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "DashboardType", + required: true, + }, + }; + return DashboardListItemResponse; +}()); +exports.DashboardListItemResponse = DashboardListItemResponse; +//# sourceMappingURL=DashboardListItemResponse.js.map + +/***/ }), + +/***/ 19638: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListItems = void 0; +/** + * Dashboards within a list. + */ +var DashboardListItems = /** @class */ (function () { + function DashboardListItems() { + } + /** + * @ignore + */ + DashboardListItems.getAttributeTypeMap = function () { + return DashboardListItems.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListItems.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + required: true, + }, + total: { + baseName: "total", + type: "number", + format: "int64", + }, + }; + return DashboardListItems; +}()); +exports.DashboardListItems = DashboardListItems; +//# sourceMappingURL=DashboardListItems.js.map + +/***/ }), + +/***/ 88487: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListUpdateItemsRequest = void 0; +/** + * Request containing the list of dashboards to update to. + */ +var DashboardListUpdateItemsRequest = /** @class */ (function () { + function DashboardListUpdateItemsRequest() { + } + /** + * @ignore + */ + DashboardListUpdateItemsRequest.getAttributeTypeMap = function () { + return DashboardListUpdateItemsRequest.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListUpdateItemsRequest.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + }, + }; + return DashboardListUpdateItemsRequest; +}()); +exports.DashboardListUpdateItemsRequest = DashboardListUpdateItemsRequest; +//# sourceMappingURL=DashboardListUpdateItemsRequest.js.map + +/***/ }), + +/***/ 3644: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DashboardListUpdateItemsResponse = void 0; +/** + * Response containing a list of updated dashboards. + */ +var DashboardListUpdateItemsResponse = /** @class */ (function () { + function DashboardListUpdateItemsResponse() { + } + /** + * @ignore + */ + DashboardListUpdateItemsResponse.getAttributeTypeMap = function () { + return DashboardListUpdateItemsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + DashboardListUpdateItemsResponse.attributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "Array", + }, + }; + return DashboardListUpdateItemsResponse; +}()); +exports.DashboardListUpdateItemsResponse = DashboardListUpdateItemsResponse; +//# sourceMappingURL=DashboardListUpdateItemsResponse.js.map + +/***/ }), + +/***/ 56159: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FullAPIKey = void 0; +/** + * Datadog API key. + */ +var FullAPIKey = /** @class */ (function () { + function FullAPIKey() { + } + /** + * @ignore + */ + FullAPIKey.getAttributeTypeMap = function () { + return FullAPIKey.attributeTypeMap; + }; + /** + * @ignore + */ + FullAPIKey.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "FullAPIKeyAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "APIKeyRelationships", + }, + type: { + baseName: "type", + type: "APIKeysType", + }, + }; + return FullAPIKey; +}()); +exports.FullAPIKey = FullAPIKey; +//# sourceMappingURL=FullAPIKey.js.map + +/***/ }), + +/***/ 25642: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FullAPIKeyAttributes = void 0; +/** + * Attributes of a full API key. + */ +var FullAPIKeyAttributes = /** @class */ (function () { + function FullAPIKeyAttributes() { + } + /** + * @ignore + */ + FullAPIKeyAttributes.getAttributeTypeMap = function () { + return FullAPIKeyAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + FullAPIKeyAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "string", + }, + key: { + baseName: "key", + type: "string", + }, + last4: { + baseName: "last4", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return FullAPIKeyAttributes; +}()); +exports.FullAPIKeyAttributes = FullAPIKeyAttributes; +//# sourceMappingURL=FullAPIKeyAttributes.js.map + +/***/ }), + +/***/ 54147: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FullApplicationKey = void 0; +/** + * Datadog application key. + */ +var FullApplicationKey = /** @class */ (function () { + function FullApplicationKey() { + } + /** + * @ignore + */ + FullApplicationKey.getAttributeTypeMap = function () { + return FullApplicationKey.attributeTypeMap; + }; + /** + * @ignore + */ + FullApplicationKey.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "FullApplicationKeyAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "ApplicationKeyRelationships", + }, + type: { + baseName: "type", + type: "ApplicationKeysType", + }, + }; + return FullApplicationKey; +}()); +exports.FullApplicationKey = FullApplicationKey; +//# sourceMappingURL=FullApplicationKey.js.map + +/***/ }), + +/***/ 79380: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FullApplicationKeyAttributes = void 0; +/** + * Attributes of a full application key. + */ +var FullApplicationKeyAttributes = /** @class */ (function () { + function FullApplicationKeyAttributes() { + } + /** + * @ignore + */ + FullApplicationKeyAttributes.getAttributeTypeMap = function () { + return FullApplicationKeyAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + FullApplicationKeyAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "string", + }, + key: { + baseName: "key", + type: "string", + }, + last4: { + baseName: "last4", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + scopes: { + baseName: "scopes", + type: "Array", + }, + }; + return FullApplicationKeyAttributes; +}()); +exports.FullApplicationKeyAttributes = FullApplicationKeyAttributes; +//# sourceMappingURL=FullApplicationKeyAttributes.js.map + +/***/ }), + +/***/ 73991: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HTTPLogError = void 0; +/** + * List of errors. + */ +var HTTPLogError = /** @class */ (function () { + function HTTPLogError() { + } + /** + * @ignore + */ + HTTPLogError.getAttributeTypeMap = function () { + return HTTPLogError.attributeTypeMap; + }; + /** + * @ignore + */ + HTTPLogError.attributeTypeMap = { + detail: { + baseName: "detail", + type: "string", + }, + status: { + baseName: "status", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + }; + return HTTPLogError; +}()); +exports.HTTPLogError = HTTPLogError; +//# sourceMappingURL=HTTPLogError.js.map + +/***/ }), + +/***/ 18911: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HTTPLogErrors = void 0; +/** + * Invalid query performed. + */ +var HTTPLogErrors = /** @class */ (function () { + function HTTPLogErrors() { + } + /** + * @ignore + */ + HTTPLogErrors.getAttributeTypeMap = function () { + return HTTPLogErrors.attributeTypeMap; + }; + /** + * @ignore + */ + HTTPLogErrors.attributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + }, + }; + return HTTPLogErrors; +}()); +exports.HTTPLogErrors = HTTPLogErrors; +//# sourceMappingURL=HTTPLogErrors.js.map + +/***/ }), + +/***/ 40312: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HTTPLogItem = void 0; +/** + * Logs that are sent over HTTP. + */ +var HTTPLogItem = /** @class */ (function () { + function HTTPLogItem() { + } + /** + * @ignore + */ + HTTPLogItem.getAttributeTypeMap = function () { + return HTTPLogItem.attributeTypeMap; + }; + /** + * @ignore + */ + HTTPLogItem.attributeTypeMap = { + ddsource: { + baseName: "ddsource", + type: "string", + }, + ddtags: { + baseName: "ddtags", + type: "string", + }, + hostname: { + baseName: "hostname", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + service: { + baseName: "service", + type: "string", + }, + }; + return HTTPLogItem; +}()); +exports.HTTPLogItem = HTTPLogItem; +//# sourceMappingURL=HTTPLogItem.js.map + +/***/ }), + +/***/ 85021: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentCreateAttributes = void 0; +/** + * The incident's attributes for a create request. + */ +var IncidentCreateAttributes = /** @class */ (function () { + function IncidentCreateAttributes() { + } + /** + * @ignore + */ + IncidentCreateAttributes.getAttributeTypeMap = function () { + return IncidentCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentCreateAttributes.attributeTypeMap = { + customerImpacted: { + baseName: "customer_impacted", + type: "boolean", + required: true, + }, + fields: { + baseName: "fields", + type: "{ [key: string]: IncidentFieldAttributes; }", + }, + initialCells: { + baseName: "initial_cells", + type: "Array", + }, + notificationHandles: { + baseName: "notification_handles", + type: "Array", + }, + title: { + baseName: "title", + type: "string", + required: true, + }, + }; + return IncidentCreateAttributes; +}()); +exports.IncidentCreateAttributes = IncidentCreateAttributes; +//# sourceMappingURL=IncidentCreateAttributes.js.map + +/***/ }), + +/***/ 33708: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentCreateData = void 0; +/** + * Incident data for a create request. + */ +var IncidentCreateData = /** @class */ (function () { + function IncidentCreateData() { + } + /** + * @ignore + */ + IncidentCreateData.getAttributeTypeMap = function () { + return IncidentCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentCreateAttributes", + required: true, + }, + relationships: { + baseName: "relationships", + type: "IncidentCreateRelationships", + }, + type: { + baseName: "type", + type: "IncidentType", + required: true, + }, + }; + return IncidentCreateData; +}()); +exports.IncidentCreateData = IncidentCreateData; +//# sourceMappingURL=IncidentCreateData.js.map + +/***/ }), + +/***/ 87980: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentCreateRelationships = void 0; +/** + * The relationships the incident will have with other resources once created. + */ +var IncidentCreateRelationships = /** @class */ (function () { + function IncidentCreateRelationships() { + } + /** + * @ignore + */ + IncidentCreateRelationships.getAttributeTypeMap = function () { + return IncidentCreateRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentCreateRelationships.attributeTypeMap = { + commanderUser: { + baseName: "commander_user", + type: "NullableRelationshipToUser", + required: true, + }, + }; + return IncidentCreateRelationships; +}()); +exports.IncidentCreateRelationships = IncidentCreateRelationships; +//# sourceMappingURL=IncidentCreateRelationships.js.map + +/***/ }), + +/***/ 79893: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentCreateRequest = void 0; +/** + * Create request for an incident. + */ +var IncidentCreateRequest = /** @class */ (function () { + function IncidentCreateRequest() { + } + /** + * @ignore + */ + IncidentCreateRequest.getAttributeTypeMap = function () { + return IncidentCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentCreateData", + required: true, + }, + }; + return IncidentCreateRequest; +}()); +exports.IncidentCreateRequest = IncidentCreateRequest; +//# sourceMappingURL=IncidentCreateRequest.js.map + +/***/ }), + +/***/ 85167: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentFieldAttributesMultipleValue = void 0; +/** + * A field with potentially multiple values selected. + */ +var IncidentFieldAttributesMultipleValue = /** @class */ (function () { + function IncidentFieldAttributesMultipleValue() { + } + /** + * @ignore + */ + IncidentFieldAttributesMultipleValue.getAttributeTypeMap = function () { + return IncidentFieldAttributesMultipleValue.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentFieldAttributesMultipleValue.attributeTypeMap = { + type: { + baseName: "type", + type: "IncidentFieldAttributesValueType", + }, + value: { + baseName: "value", + type: "Array", + }, + }; + return IncidentFieldAttributesMultipleValue; +}()); +exports.IncidentFieldAttributesMultipleValue = IncidentFieldAttributesMultipleValue; +//# sourceMappingURL=IncidentFieldAttributesMultipleValue.js.map + +/***/ }), + +/***/ 65717: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentFieldAttributesSingleValue = void 0; +/** + * A field with a single value selected. + */ +var IncidentFieldAttributesSingleValue = /** @class */ (function () { + function IncidentFieldAttributesSingleValue() { + } + /** + * @ignore + */ + IncidentFieldAttributesSingleValue.getAttributeTypeMap = function () { + return IncidentFieldAttributesSingleValue.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentFieldAttributesSingleValue.attributeTypeMap = { + type: { + baseName: "type", + type: "IncidentFieldAttributesSingleValueType", + }, + value: { + baseName: "value", + type: "string", + }, + }; + return IncidentFieldAttributesSingleValue; +}()); +exports.IncidentFieldAttributesSingleValue = IncidentFieldAttributesSingleValue; +//# sourceMappingURL=IncidentFieldAttributesSingleValue.js.map + +/***/ }), + +/***/ 64132: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentNotificationHandle = void 0; +/** + * A notification handle that will be notified at incident creation. + */ +var IncidentNotificationHandle = /** @class */ (function () { + function IncidentNotificationHandle() { + } + /** + * @ignore + */ + IncidentNotificationHandle.getAttributeTypeMap = function () { + return IncidentNotificationHandle.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentNotificationHandle.attributeTypeMap = { + displayName: { + baseName: "display_name", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + }; + return IncidentNotificationHandle; +}()); +exports.IncidentNotificationHandle = IncidentNotificationHandle; +//# sourceMappingURL=IncidentNotificationHandle.js.map + +/***/ }), + +/***/ 85933: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponse = void 0; +/** + * Response with an incident. + */ +var IncidentResponse = /** @class */ (function () { + function IncidentResponse() { + } + /** + * @ignore + */ + IncidentResponse.getAttributeTypeMap = function () { + return IncidentResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentResponseData", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return IncidentResponse; +}()); +exports.IncidentResponse = IncidentResponse; +//# sourceMappingURL=IncidentResponse.js.map + +/***/ }), + +/***/ 72948: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponseAttributes = void 0; +/** + * The incident's attributes from a response. + */ +var IncidentResponseAttributes = /** @class */ (function () { + function IncidentResponseAttributes() { + } + /** + * @ignore + */ + IncidentResponseAttributes.getAttributeTypeMap = function () { + return IncidentResponseAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponseAttributes.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + customerImpactDuration: { + baseName: "customer_impact_duration", + type: "number", + format: "int64", + }, + customerImpactEnd: { + baseName: "customer_impact_end", + type: "Date", + format: "date-time", + }, + customerImpactScope: { + baseName: "customer_impact_scope", + type: "string", + }, + customerImpactStart: { + baseName: "customer_impact_start", + type: "Date", + format: "date-time", + }, + customerImpacted: { + baseName: "customer_impacted", + type: "boolean", + }, + detected: { + baseName: "detected", + type: "Date", + format: "date-time", + }, + fields: { + baseName: "fields", + type: "{ [key: string]: IncidentFieldAttributes; }", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + notificationHandles: { + baseName: "notification_handles", + type: "Array", + }, + postmortemId: { + baseName: "postmortem_id", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "number", + format: "int64", + }, + resolved: { + baseName: "resolved", + type: "Date", + format: "date-time", + }, + timeToDetect: { + baseName: "time_to_detect", + type: "number", + format: "int64", + }, + timeToInternalResponse: { + baseName: "time_to_internal_response", + type: "number", + format: "int64", + }, + timeToRepair: { + baseName: "time_to_repair", + type: "number", + format: "int64", + }, + timeToResolve: { + baseName: "time_to_resolve", + type: "number", + format: "int64", + }, + title: { + baseName: "title", + type: "string", + required: true, + }, + }; + return IncidentResponseAttributes; +}()); +exports.IncidentResponseAttributes = IncidentResponseAttributes; +//# sourceMappingURL=IncidentResponseAttributes.js.map + +/***/ }), + +/***/ 20274: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponseData = void 0; +/** + * Incident data from a response. + */ +var IncidentResponseData = /** @class */ (function () { + function IncidentResponseData() { + } + /** + * @ignore + */ + IncidentResponseData.getAttributeTypeMap = function () { + return IncidentResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "IncidentResponseRelationships", + }, + type: { + baseName: "type", + type: "IncidentType", + required: true, + }, + }; + return IncidentResponseData; +}()); +exports.IncidentResponseData = IncidentResponseData; +//# sourceMappingURL=IncidentResponseData.js.map + +/***/ }), + +/***/ 16729: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponseMeta = void 0; +/** + * The metadata object containing pagination metadata. + */ +var IncidentResponseMeta = /** @class */ (function () { + function IncidentResponseMeta() { + } + /** + * @ignore + */ + IncidentResponseMeta.getAttributeTypeMap = function () { + return IncidentResponseMeta.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponseMeta.attributeTypeMap = { + pagination: { + baseName: "pagination", + type: "IncidentResponseMetaPagination", + }, + }; + return IncidentResponseMeta; +}()); +exports.IncidentResponseMeta = IncidentResponseMeta; +//# sourceMappingURL=IncidentResponseMeta.js.map + +/***/ }), + +/***/ 97345: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponseMetaPagination = void 0; +/** + * Pagination properties. + */ +var IncidentResponseMetaPagination = /** @class */ (function () { + function IncidentResponseMetaPagination() { + } + /** + * @ignore + */ + IncidentResponseMetaPagination.getAttributeTypeMap = function () { + return IncidentResponseMetaPagination.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponseMetaPagination.attributeTypeMap = { + nextOffset: { + baseName: "next_offset", + type: "number", + format: "int64", + }, + offset: { + baseName: "offset", + type: "number", + format: "int64", + }, + size: { + baseName: "size", + type: "number", + format: "int64", + }, + }; + return IncidentResponseMetaPagination; +}()); +exports.IncidentResponseMetaPagination = IncidentResponseMetaPagination; +//# sourceMappingURL=IncidentResponseMetaPagination.js.map + +/***/ }), + +/***/ 88233: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentResponseRelationships = void 0; +/** + * The incident's relationships from a response. + */ +var IncidentResponseRelationships = /** @class */ (function () { + function IncidentResponseRelationships() { + } + /** + * @ignore + */ + IncidentResponseRelationships.getAttributeTypeMap = function () { + return IncidentResponseRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentResponseRelationships.attributeTypeMap = { + commanderUser: { + baseName: "commander_user", + type: "NullableRelationshipToUser", + }, + createdByUser: { + baseName: "created_by_user", + type: "RelationshipToUser", + }, + integrations: { + baseName: "integrations", + type: "RelationshipToIncidentIntegrationMetadatas", + }, + lastModifiedByUser: { + baseName: "last_modified_by_user", + type: "RelationshipToUser", + }, + postmortem: { + baseName: "postmortem", + type: "RelationshipToIncidentPostmortem", + }, + }; + return IncidentResponseRelationships; +}()); +exports.IncidentResponseRelationships = IncidentResponseRelationships; +//# sourceMappingURL=IncidentResponseRelationships.js.map + +/***/ }), + +/***/ 81262: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceCreateAttributes = void 0; +/** + * The incident service's attributes for a create request. + */ +var IncidentServiceCreateAttributes = /** @class */ (function () { + function IncidentServiceCreateAttributes() { + } + /** + * @ignore + */ + IncidentServiceCreateAttributes.getAttributeTypeMap = function () { + return IncidentServiceCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceCreateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return IncidentServiceCreateAttributes; +}()); +exports.IncidentServiceCreateAttributes = IncidentServiceCreateAttributes; +//# sourceMappingURL=IncidentServiceCreateAttributes.js.map + +/***/ }), + +/***/ 50275: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceCreateData = void 0; +/** + * Incident Service payload for create requests. + */ +var IncidentServiceCreateData = /** @class */ (function () { + function IncidentServiceCreateData() { + } + /** + * @ignore + */ + IncidentServiceCreateData.getAttributeTypeMap = function () { + return IncidentServiceCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentServiceCreateAttributes", + }, + relationships: { + baseName: "relationships", + type: "IncidentServiceRelationships", + }, + type: { + baseName: "type", + type: "IncidentServiceType", + required: true, + }, + }; + return IncidentServiceCreateData; +}()); +exports.IncidentServiceCreateData = IncidentServiceCreateData; +//# sourceMappingURL=IncidentServiceCreateData.js.map + +/***/ }), + +/***/ 61042: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceCreateRequest = void 0; +/** + * Create request with an incident service payload. + */ +var IncidentServiceCreateRequest = /** @class */ (function () { + function IncidentServiceCreateRequest() { + } + /** + * @ignore + */ + IncidentServiceCreateRequest.getAttributeTypeMap = function () { + return IncidentServiceCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentServiceCreateData", + required: true, + }, + }; + return IncidentServiceCreateRequest; +}()); +exports.IncidentServiceCreateRequest = IncidentServiceCreateRequest; +//# sourceMappingURL=IncidentServiceCreateRequest.js.map + +/***/ }), + +/***/ 67742: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceRelationships = void 0; +/** + * The incident service's relationships. + */ +var IncidentServiceRelationships = /** @class */ (function () { + function IncidentServiceRelationships() { + } + /** + * @ignore + */ + IncidentServiceRelationships.getAttributeTypeMap = function () { + return IncidentServiceRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceRelationships.attributeTypeMap = { + createdBy: { + baseName: "created_by", + type: "RelationshipToUser", + }, + lastModifiedBy: { + baseName: "last_modified_by", + type: "RelationshipToUser", + }, + }; + return IncidentServiceRelationships; +}()); +exports.IncidentServiceRelationships = IncidentServiceRelationships; +//# sourceMappingURL=IncidentServiceRelationships.js.map + +/***/ }), + +/***/ 8010: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceResponse = void 0; +/** + * Response with an incident service payload. + */ +var IncidentServiceResponse = /** @class */ (function () { + function IncidentServiceResponse() { + } + /** + * @ignore + */ + IncidentServiceResponse.getAttributeTypeMap = function () { + return IncidentServiceResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentServiceResponseData", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return IncidentServiceResponse; +}()); +exports.IncidentServiceResponse = IncidentServiceResponse; +//# sourceMappingURL=IncidentServiceResponse.js.map + +/***/ }), + +/***/ 64840: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceResponseAttributes = void 0; +/** + * The incident service's attributes from a response. + */ +var IncidentServiceResponseAttributes = /** @class */ (function () { + function IncidentServiceResponseAttributes() { + } + /** + * @ignore + */ + IncidentServiceResponseAttributes.getAttributeTypeMap = function () { + return IncidentServiceResponseAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceResponseAttributes.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return IncidentServiceResponseAttributes; +}()); +exports.IncidentServiceResponseAttributes = IncidentServiceResponseAttributes; +//# sourceMappingURL=IncidentServiceResponseAttributes.js.map + +/***/ }), + +/***/ 13259: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceResponseData = void 0; +/** + * Incident Service data from responses. + */ +var IncidentServiceResponseData = /** @class */ (function () { + function IncidentServiceResponseData() { + } + /** + * @ignore + */ + IncidentServiceResponseData.getAttributeTypeMap = function () { + return IncidentServiceResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentServiceResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "IncidentServiceRelationships", + }, + type: { + baseName: "type", + type: "IncidentServiceType", + required: true, + }, + }; + return IncidentServiceResponseData; +}()); +exports.IncidentServiceResponseData = IncidentServiceResponseData; +//# sourceMappingURL=IncidentServiceResponseData.js.map + +/***/ }), + +/***/ 2935: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceUpdateAttributes = void 0; +/** + * The incident service's attributes for an update request. + */ +var IncidentServiceUpdateAttributes = /** @class */ (function () { + function IncidentServiceUpdateAttributes() { + } + /** + * @ignore + */ + IncidentServiceUpdateAttributes.getAttributeTypeMap = function () { + return IncidentServiceUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceUpdateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return IncidentServiceUpdateAttributes; +}()); +exports.IncidentServiceUpdateAttributes = IncidentServiceUpdateAttributes; +//# sourceMappingURL=IncidentServiceUpdateAttributes.js.map + +/***/ }), + +/***/ 63215: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceUpdateData = void 0; +/** + * Incident Service payload for update requests. + */ +var IncidentServiceUpdateData = /** @class */ (function () { + function IncidentServiceUpdateData() { + } + /** + * @ignore + */ + IncidentServiceUpdateData.getAttributeTypeMap = function () { + return IncidentServiceUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentServiceUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "IncidentServiceRelationships", + }, + type: { + baseName: "type", + type: "IncidentServiceType", + required: true, + }, + }; + return IncidentServiceUpdateData; +}()); +exports.IncidentServiceUpdateData = IncidentServiceUpdateData; +//# sourceMappingURL=IncidentServiceUpdateData.js.map + +/***/ }), + +/***/ 97971: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServiceUpdateRequest = void 0; +/** + * Update request with an incident service payload. + */ +var IncidentServiceUpdateRequest = /** @class */ (function () { + function IncidentServiceUpdateRequest() { + } + /** + * @ignore + */ + IncidentServiceUpdateRequest.getAttributeTypeMap = function () { + return IncidentServiceUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServiceUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentServiceUpdateData", + required: true, + }, + }; + return IncidentServiceUpdateRequest; +}()); +exports.IncidentServiceUpdateRequest = IncidentServiceUpdateRequest; +//# sourceMappingURL=IncidentServiceUpdateRequest.js.map + +/***/ }), + +/***/ 67102: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentServicesResponse = void 0; +/** + * Response with a list of incident service payloads. + */ +var IncidentServicesResponse = /** @class */ (function () { + function IncidentServicesResponse() { + } + /** + * @ignore + */ + IncidentServicesResponse.getAttributeTypeMap = function () { + return IncidentServicesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentServicesResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + meta: { + baseName: "meta", + type: "IncidentResponseMeta", + }, + }; + return IncidentServicesResponse; +}()); +exports.IncidentServicesResponse = IncidentServicesResponse; +//# sourceMappingURL=IncidentServicesResponse.js.map + +/***/ }), + +/***/ 20944: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamCreateAttributes = void 0; +/** + * The incident team's attributes for a create request. + */ +var IncidentTeamCreateAttributes = /** @class */ (function () { + function IncidentTeamCreateAttributes() { + } + /** + * @ignore + */ + IncidentTeamCreateAttributes.getAttributeTypeMap = function () { + return IncidentTeamCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamCreateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return IncidentTeamCreateAttributes; +}()); +exports.IncidentTeamCreateAttributes = IncidentTeamCreateAttributes; +//# sourceMappingURL=IncidentTeamCreateAttributes.js.map + +/***/ }), + +/***/ 83456: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamCreateData = void 0; +/** + * Incident Team data for a create request. + */ +var IncidentTeamCreateData = /** @class */ (function () { + function IncidentTeamCreateData() { + } + /** + * @ignore + */ + IncidentTeamCreateData.getAttributeTypeMap = function () { + return IncidentTeamCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentTeamCreateAttributes", + }, + relationships: { + baseName: "relationships", + type: "IncidentTeamRelationships", + }, + type: { + baseName: "type", + type: "IncidentTeamType", + required: true, + }, + }; + return IncidentTeamCreateData; +}()); +exports.IncidentTeamCreateData = IncidentTeamCreateData; +//# sourceMappingURL=IncidentTeamCreateData.js.map + +/***/ }), + +/***/ 46712: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamCreateRequest = void 0; +/** + * Create request with an incident team payload. + */ +var IncidentTeamCreateRequest = /** @class */ (function () { + function IncidentTeamCreateRequest() { + } + /** + * @ignore + */ + IncidentTeamCreateRequest.getAttributeTypeMap = function () { + return IncidentTeamCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentTeamCreateData", + required: true, + }, + }; + return IncidentTeamCreateRequest; +}()); +exports.IncidentTeamCreateRequest = IncidentTeamCreateRequest; +//# sourceMappingURL=IncidentTeamCreateRequest.js.map + +/***/ }), + +/***/ 31266: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamRelationships = void 0; +/** + * The incident team's relationships. + */ +var IncidentTeamRelationships = /** @class */ (function () { + function IncidentTeamRelationships() { + } + /** + * @ignore + */ + IncidentTeamRelationships.getAttributeTypeMap = function () { + return IncidentTeamRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamRelationships.attributeTypeMap = { + createdBy: { + baseName: "created_by", + type: "RelationshipToUser", + }, + lastModifiedBy: { + baseName: "last_modified_by", + type: "RelationshipToUser", + }, + }; + return IncidentTeamRelationships; +}()); +exports.IncidentTeamRelationships = IncidentTeamRelationships; +//# sourceMappingURL=IncidentTeamRelationships.js.map + +/***/ }), + +/***/ 88841: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamResponse = void 0; +/** + * Response with an incident team payload. + */ +var IncidentTeamResponse = /** @class */ (function () { + function IncidentTeamResponse() { + } + /** + * @ignore + */ + IncidentTeamResponse.getAttributeTypeMap = function () { + return IncidentTeamResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentTeamResponseData", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return IncidentTeamResponse; +}()); +exports.IncidentTeamResponse = IncidentTeamResponse; +//# sourceMappingURL=IncidentTeamResponse.js.map + +/***/ }), + +/***/ 13482: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamResponseAttributes = void 0; +/** + * The incident team's attributes from a response. + */ +var IncidentTeamResponseAttributes = /** @class */ (function () { + function IncidentTeamResponseAttributes() { + } + /** + * @ignore + */ + IncidentTeamResponseAttributes.getAttributeTypeMap = function () { + return IncidentTeamResponseAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamResponseAttributes.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + modified: { + baseName: "modified", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return IncidentTeamResponseAttributes; +}()); +exports.IncidentTeamResponseAttributes = IncidentTeamResponseAttributes; +//# sourceMappingURL=IncidentTeamResponseAttributes.js.map + +/***/ }), + +/***/ 79651: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamResponseData = void 0; +/** + * Incident Team data from a response. + */ +var IncidentTeamResponseData = /** @class */ (function () { + function IncidentTeamResponseData() { + } + /** + * @ignore + */ + IncidentTeamResponseData.getAttributeTypeMap = function () { + return IncidentTeamResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentTeamResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "IncidentTeamRelationships", + }, + type: { + baseName: "type", + type: "IncidentTeamType", + }, + }; + return IncidentTeamResponseData; +}()); +exports.IncidentTeamResponseData = IncidentTeamResponseData; +//# sourceMappingURL=IncidentTeamResponseData.js.map + +/***/ }), + +/***/ 14799: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamUpdateAttributes = void 0; +/** + * The incident team's attributes for an update request. + */ +var IncidentTeamUpdateAttributes = /** @class */ (function () { + function IncidentTeamUpdateAttributes() { + } + /** + * @ignore + */ + IncidentTeamUpdateAttributes.getAttributeTypeMap = function () { + return IncidentTeamUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamUpdateAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return IncidentTeamUpdateAttributes; +}()); +exports.IncidentTeamUpdateAttributes = IncidentTeamUpdateAttributes; +//# sourceMappingURL=IncidentTeamUpdateAttributes.js.map + +/***/ }), + +/***/ 41914: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamUpdateData = void 0; +/** + * Incident Team data for an update request. + */ +var IncidentTeamUpdateData = /** @class */ (function () { + function IncidentTeamUpdateData() { + } + /** + * @ignore + */ + IncidentTeamUpdateData.getAttributeTypeMap = function () { + return IncidentTeamUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentTeamUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "IncidentTeamRelationships", + }, + type: { + baseName: "type", + type: "IncidentTeamType", + required: true, + }, + }; + return IncidentTeamUpdateData; +}()); +exports.IncidentTeamUpdateData = IncidentTeamUpdateData; +//# sourceMappingURL=IncidentTeamUpdateData.js.map + +/***/ }), + +/***/ 1174: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamUpdateRequest = void 0; +/** + * Update request with an incident team payload. + */ +var IncidentTeamUpdateRequest = /** @class */ (function () { + function IncidentTeamUpdateRequest() { + } + /** + * @ignore + */ + IncidentTeamUpdateRequest.getAttributeTypeMap = function () { + return IncidentTeamUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentTeamUpdateData", + required: true, + }, + }; + return IncidentTeamUpdateRequest; +}()); +exports.IncidentTeamUpdateRequest = IncidentTeamUpdateRequest; +//# sourceMappingURL=IncidentTeamUpdateRequest.js.map + +/***/ }), + +/***/ 72162: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTeamsResponse = void 0; +/** + * Response with a list of incident team payloads. + */ +var IncidentTeamsResponse = /** @class */ (function () { + function IncidentTeamsResponse() { + } + /** + * @ignore + */ + IncidentTeamsResponse.getAttributeTypeMap = function () { + return IncidentTeamsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTeamsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + meta: { + baseName: "meta", + type: "IncidentResponseMeta", + }, + }; + return IncidentTeamsResponse; +}()); +exports.IncidentTeamsResponse = IncidentTeamsResponse; +//# sourceMappingURL=IncidentTeamsResponse.js.map + +/***/ }), + +/***/ 48212: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTimelineCellMarkdownCreateAttributes = void 0; +/** + * Timeline cell data for Markdown timeline cells for a create request. + */ +var IncidentTimelineCellMarkdownCreateAttributes = /** @class */ (function () { + function IncidentTimelineCellMarkdownCreateAttributes() { + } + /** + * @ignore + */ + IncidentTimelineCellMarkdownCreateAttributes.getAttributeTypeMap = function () { + return IncidentTimelineCellMarkdownCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTimelineCellMarkdownCreateAttributes.attributeTypeMap = { + cellType: { + baseName: "cell_type", + type: "IncidentTimelineCellMarkdownContentType", + required: true, + }, + content: { + baseName: "content", + type: "IncidentTimelineCellMarkdownCreateAttributesContent", + required: true, + }, + important: { + baseName: "important", + type: "boolean", + }, + }; + return IncidentTimelineCellMarkdownCreateAttributes; +}()); +exports.IncidentTimelineCellMarkdownCreateAttributes = IncidentTimelineCellMarkdownCreateAttributes; +//# sourceMappingURL=IncidentTimelineCellMarkdownCreateAttributes.js.map + +/***/ }), + +/***/ 4504: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentTimelineCellMarkdownCreateAttributesContent = void 0; +/** + * The Markdown timeline cell contents. + */ +var IncidentTimelineCellMarkdownCreateAttributesContent = /** @class */ (function () { + function IncidentTimelineCellMarkdownCreateAttributesContent() { + } + /** + * @ignore + */ + IncidentTimelineCellMarkdownCreateAttributesContent.getAttributeTypeMap = function () { + return IncidentTimelineCellMarkdownCreateAttributesContent.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentTimelineCellMarkdownCreateAttributesContent.attributeTypeMap = { + content: { + baseName: "content", + type: "string", + }, + }; + return IncidentTimelineCellMarkdownCreateAttributesContent; +}()); +exports.IncidentTimelineCellMarkdownCreateAttributesContent = IncidentTimelineCellMarkdownCreateAttributesContent; +//# sourceMappingURL=IncidentTimelineCellMarkdownCreateAttributesContent.js.map + +/***/ }), + +/***/ 87879: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentUpdateAttributes = void 0; +/** + * The incident's attributes for an update request. + */ +var IncidentUpdateAttributes = /** @class */ (function () { + function IncidentUpdateAttributes() { + } + /** + * @ignore + */ + IncidentUpdateAttributes.getAttributeTypeMap = function () { + return IncidentUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentUpdateAttributes.attributeTypeMap = { + customerImpactEnd: { + baseName: "customer_impact_end", + type: "Date", + format: "date-time", + }, + customerImpactScope: { + baseName: "customer_impact_scope", + type: "string", + }, + customerImpactStart: { + baseName: "customer_impact_start", + type: "Date", + format: "date-time", + }, + customerImpacted: { + baseName: "customer_impacted", + type: "boolean", + }, + detected: { + baseName: "detected", + type: "Date", + format: "date-time", + }, + fields: { + baseName: "fields", + type: "{ [key: string]: IncidentFieldAttributes; }", + }, + notificationHandles: { + baseName: "notification_handles", + type: "Array", + }, + resolved: { + baseName: "resolved", + type: "Date", + format: "date-time", + }, + title: { + baseName: "title", + type: "string", + }, + }; + return IncidentUpdateAttributes; +}()); +exports.IncidentUpdateAttributes = IncidentUpdateAttributes; +//# sourceMappingURL=IncidentUpdateAttributes.js.map + +/***/ }), + +/***/ 14695: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentUpdateData = void 0; +/** + * Incident data for an update request. + */ +var IncidentUpdateData = /** @class */ (function () { + function IncidentUpdateData() { + } + /** + * @ignore + */ + IncidentUpdateData.getAttributeTypeMap = function () { + return IncidentUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "IncidentUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "IncidentUpdateRelationships", + }, + type: { + baseName: "type", + type: "IncidentType", + required: true, + }, + }; + return IncidentUpdateData; +}()); +exports.IncidentUpdateData = IncidentUpdateData; +//# sourceMappingURL=IncidentUpdateData.js.map + +/***/ }), + +/***/ 40863: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentUpdateRelationships = void 0; +/** + * The incident's relationships for an update request. + */ +var IncidentUpdateRelationships = /** @class */ (function () { + function IncidentUpdateRelationships() { + } + /** + * @ignore + */ + IncidentUpdateRelationships.getAttributeTypeMap = function () { + return IncidentUpdateRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentUpdateRelationships.attributeTypeMap = { + commanderUser: { + baseName: "commander_user", + type: "NullableRelationshipToUser", + }, + integrations: { + baseName: "integrations", + type: "RelationshipToIncidentIntegrationMetadatas", + }, + postmortem: { + baseName: "postmortem", + type: "RelationshipToIncidentPostmortem", + }, + }; + return IncidentUpdateRelationships; +}()); +exports.IncidentUpdateRelationships = IncidentUpdateRelationships; +//# sourceMappingURL=IncidentUpdateRelationships.js.map + +/***/ }), + +/***/ 94252: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentUpdateRequest = void 0; +/** + * Update request for an incident. + */ +var IncidentUpdateRequest = /** @class */ (function () { + function IncidentUpdateRequest() { + } + /** + * @ignore + */ + IncidentUpdateRequest.getAttributeTypeMap = function () { + return IncidentUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "IncidentUpdateData", + required: true, + }, + }; + return IncidentUpdateRequest; +}()); +exports.IncidentUpdateRequest = IncidentUpdateRequest; +//# sourceMappingURL=IncidentUpdateRequest.js.map + +/***/ }), + +/***/ 84660: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.IncidentsResponse = void 0; +/** + * Response with a list of incidents. + */ +var IncidentsResponse = /** @class */ (function () { + function IncidentsResponse() { + } + /** + * @ignore + */ + IncidentsResponse.getAttributeTypeMap = function () { + return IncidentsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + IncidentsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + included: { + baseName: "included", + type: "Array", + }, + meta: { + baseName: "meta", + type: "IncidentResponseMeta", + }, + }; + return IncidentsResponse; +}()); +exports.IncidentsResponse = IncidentsResponse; +//# sourceMappingURL=IncidentsResponse.js.map + +/***/ }), + +/***/ 33213: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ListApplicationKeysResponse = void 0; +/** + * Response for a list of application keys. + */ +var ListApplicationKeysResponse = /** @class */ (function () { + function ListApplicationKeysResponse() { + } + /** + * @ignore + */ + ListApplicationKeysResponse.getAttributeTypeMap = function () { + return ListApplicationKeysResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ListApplicationKeysResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return ListApplicationKeysResponse; +}()); +exports.ListApplicationKeysResponse = ListApplicationKeysResponse; +//# sourceMappingURL=ListApplicationKeysResponse.js.map + +/***/ }), + +/***/ 50679: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Log = void 0; +/** + * Object description of a log after being processed and stored by Datadog. + */ +var Log = /** @class */ (function () { + function Log() { + } + /** + * @ignore + */ + Log.getAttributeTypeMap = function () { + return Log.attributeTypeMap; + }; + /** + * @ignore + */ + Log.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "LogType", + }, + }; + return Log; +}()); +exports.Log = Log; +//# sourceMappingURL=Log.js.map + +/***/ }), + +/***/ 82583: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogAttributes = void 0; +/** + * JSON object containing all log attributes and their associated values. + */ +var LogAttributes = /** @class */ (function () { + function LogAttributes() { + } + /** + * @ignore + */ + LogAttributes.getAttributeTypeMap = function () { + return LogAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogAttributes.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "{ [key: string]: any; }", + }, + host: { + baseName: "host", + type: "string", + }, + message: { + baseName: "message", + type: "string", + }, + service: { + baseName: "service", + type: "string", + }, + status: { + baseName: "status", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + timestamp: { + baseName: "timestamp", + type: "Date", + format: "date-time", + }, + }; + return LogAttributes; +}()); +exports.LogAttributes = LogAttributes; +//# sourceMappingURL=LogAttributes.js.map + +/***/ }), + +/***/ 48920: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateBucket = void 0; +/** + * A bucket values + */ +var LogsAggregateBucket = /** @class */ (function () { + function LogsAggregateBucket() { + } + /** + * @ignore + */ + LogsAggregateBucket.getAttributeTypeMap = function () { + return LogsAggregateBucket.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateBucket.attributeTypeMap = { + by: { + baseName: "by", + type: "{ [key: string]: string; }", + }, + computes: { + baseName: "computes", + type: "{ [key: string]: LogsAggregateBucketValue; }", + }, + }; + return LogsAggregateBucket; +}()); +exports.LogsAggregateBucket = LogsAggregateBucket; +//# sourceMappingURL=LogsAggregateBucket.js.map + +/***/ }), + +/***/ 87989: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateBucketValueTimeseriesPoint = void 0; +/** + * A timeseries point + */ +var LogsAggregateBucketValueTimeseriesPoint = /** @class */ (function () { + function LogsAggregateBucketValueTimeseriesPoint() { + } + /** + * @ignore + */ + LogsAggregateBucketValueTimeseriesPoint.getAttributeTypeMap = function () { + return LogsAggregateBucketValueTimeseriesPoint.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateBucketValueTimeseriesPoint.attributeTypeMap = { + time: { + baseName: "time", + type: "string", + }, + value: { + baseName: "value", + type: "number", + format: "double", + }, + }; + return LogsAggregateBucketValueTimeseriesPoint; +}()); +exports.LogsAggregateBucketValueTimeseriesPoint = LogsAggregateBucketValueTimeseriesPoint; +//# sourceMappingURL=LogsAggregateBucketValueTimeseriesPoint.js.map + +/***/ }), + +/***/ 13619: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateRequest = void 0; +/** + * The object sent with the request to retrieve a list of logs from your organization. + */ +var LogsAggregateRequest = /** @class */ (function () { + function LogsAggregateRequest() { + } + /** + * @ignore + */ + LogsAggregateRequest.getAttributeTypeMap = function () { + return LogsAggregateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateRequest.attributeTypeMap = { + compute: { + baseName: "compute", + type: "Array", + }, + filter: { + baseName: "filter", + type: "LogsQueryFilter", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + options: { + baseName: "options", + type: "LogsQueryOptions", + }, + page: { + baseName: "page", + type: "LogsAggregateRequestPage", + }, + }; + return LogsAggregateRequest; +}()); +exports.LogsAggregateRequest = LogsAggregateRequest; +//# sourceMappingURL=LogsAggregateRequest.js.map + +/***/ }), + +/***/ 73702: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateRequestPage = void 0; +/** + * Paging settings + */ +var LogsAggregateRequestPage = /** @class */ (function () { + function LogsAggregateRequestPage() { + } + /** + * @ignore + */ + LogsAggregateRequestPage.getAttributeTypeMap = function () { + return LogsAggregateRequestPage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateRequestPage.attributeTypeMap = { + cursor: { + baseName: "cursor", + type: "string", + }, + }; + return LogsAggregateRequestPage; +}()); +exports.LogsAggregateRequestPage = LogsAggregateRequestPage; +//# sourceMappingURL=LogsAggregateRequestPage.js.map + +/***/ }), + +/***/ 42578: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateResponse = void 0; +/** + * The response object for the logs aggregate API endpoint + */ +var LogsAggregateResponse = /** @class */ (function () { + function LogsAggregateResponse() { + } + /** + * @ignore + */ + LogsAggregateResponse.getAttributeTypeMap = function () { + return LogsAggregateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsAggregateResponseData", + }, + meta: { + baseName: "meta", + type: "LogsResponseMetadata", + }, + }; + return LogsAggregateResponse; +}()); +exports.LogsAggregateResponse = LogsAggregateResponse; +//# sourceMappingURL=LogsAggregateResponse.js.map + +/***/ }), + +/***/ 95647: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateResponseData = void 0; +/** + * The query results + */ +var LogsAggregateResponseData = /** @class */ (function () { + function LogsAggregateResponseData() { + } + /** + * @ignore + */ + LogsAggregateResponseData.getAttributeTypeMap = function () { + return LogsAggregateResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateResponseData.attributeTypeMap = { + buckets: { + baseName: "buckets", + type: "Array", + }, + }; + return LogsAggregateResponseData; +}()); +exports.LogsAggregateResponseData = LogsAggregateResponseData; +//# sourceMappingURL=LogsAggregateResponseData.js.map + +/***/ }), + +/***/ 49817: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsAggregateSort = void 0; +/** + * A sort rule + */ +var LogsAggregateSort = /** @class */ (function () { + function LogsAggregateSort() { + } + /** + * @ignore + */ + LogsAggregateSort.getAttributeTypeMap = function () { + return LogsAggregateSort.attributeTypeMap; + }; + /** + * @ignore + */ + LogsAggregateSort.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "LogsAggregationFunction", + }, + metric: { + baseName: "metric", + type: "string", + }, + order: { + baseName: "order", + type: "LogsSortOrder", + }, + type: { + baseName: "type", + type: "LogsAggregateSortType", + }, + }; + return LogsAggregateSort; +}()); +exports.LogsAggregateSort = LogsAggregateSort; +//# sourceMappingURL=LogsAggregateSort.js.map + +/***/ }), + +/***/ 15665: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchive = void 0; +/** + * The logs archive. + */ +var LogsArchive = /** @class */ (function () { + function LogsArchive() { + } + /** + * @ignore + */ + LogsArchive.getAttributeTypeMap = function () { + return LogsArchive.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchive.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsArchiveDefinition", + }, + }; + return LogsArchive; +}()); +exports.LogsArchive = LogsArchive; +//# sourceMappingURL=LogsArchive.js.map + +/***/ }), + +/***/ 14064: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveAttributes = void 0; +/** + * The attributes associated with the archive. + */ +var LogsArchiveAttributes = /** @class */ (function () { + function LogsArchiveAttributes() { + } + /** + * @ignore + */ + LogsArchiveAttributes.getAttributeTypeMap = function () { + return LogsArchiveAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveAttributes.attributeTypeMap = { + destination: { + baseName: "destination", + type: "LogsArchiveDestination", + required: true, + }, + includeTags: { + baseName: "include_tags", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + rehydrationTags: { + baseName: "rehydration_tags", + type: "Array", + }, + state: { + baseName: "state", + type: "LogsArchiveState", + }, + }; + return LogsArchiveAttributes; +}()); +exports.LogsArchiveAttributes = LogsArchiveAttributes; +//# sourceMappingURL=LogsArchiveAttributes.js.map + +/***/ }), + +/***/ 20167: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveCreateRequest = void 0; +/** + * The logs archive. + */ +var LogsArchiveCreateRequest = /** @class */ (function () { + function LogsArchiveCreateRequest() { + } + /** + * @ignore + */ + LogsArchiveCreateRequest.getAttributeTypeMap = function () { + return LogsArchiveCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsArchiveCreateRequestDefinition", + }, + }; + return LogsArchiveCreateRequest; +}()); +exports.LogsArchiveCreateRequest = LogsArchiveCreateRequest; +//# sourceMappingURL=LogsArchiveCreateRequest.js.map + +/***/ }), + +/***/ 44357: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveCreateRequestAttributes = void 0; +/** + * The attributes associated with the archive. + */ +var LogsArchiveCreateRequestAttributes = /** @class */ (function () { + function LogsArchiveCreateRequestAttributes() { + } + /** + * @ignore + */ + LogsArchiveCreateRequestAttributes.getAttributeTypeMap = function () { + return LogsArchiveCreateRequestAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveCreateRequestAttributes.attributeTypeMap = { + destination: { + baseName: "destination", + type: "LogsArchiveCreateRequestDestination", + required: true, + }, + includeTags: { + baseName: "include_tags", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + rehydrationTags: { + baseName: "rehydration_tags", + type: "Array", + }, + }; + return LogsArchiveCreateRequestAttributes; +}()); +exports.LogsArchiveCreateRequestAttributes = LogsArchiveCreateRequestAttributes; +//# sourceMappingURL=LogsArchiveCreateRequestAttributes.js.map + +/***/ }), + +/***/ 41915: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveCreateRequestDefinition = void 0; +/** + * The definition of an archive. + */ +var LogsArchiveCreateRequestDefinition = /** @class */ (function () { + function LogsArchiveCreateRequestDefinition() { + } + /** + * @ignore + */ + LogsArchiveCreateRequestDefinition.getAttributeTypeMap = function () { + return LogsArchiveCreateRequestDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveCreateRequestDefinition.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsArchiveCreateRequestAttributes", + }, + type: { + baseName: "type", + type: "string", + required: true, + }, + }; + return LogsArchiveCreateRequestDefinition; +}()); +exports.LogsArchiveCreateRequestDefinition = LogsArchiveCreateRequestDefinition; +//# sourceMappingURL=LogsArchiveCreateRequestDefinition.js.map + +/***/ }), + +/***/ 48978: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveDefinition = void 0; +/** + * The definition of an archive. + */ +var LogsArchiveDefinition = /** @class */ (function () { + function LogsArchiveDefinition() { + } + /** + * @ignore + */ + LogsArchiveDefinition.getAttributeTypeMap = function () { + return LogsArchiveDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveDefinition.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsArchiveAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "string", + required: true, + }, + }; + return LogsArchiveDefinition; +}()); +exports.LogsArchiveDefinition = LogsArchiveDefinition; +//# sourceMappingURL=LogsArchiveDefinition.js.map + +/***/ }), + +/***/ 29038: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveDestinationAzure = void 0; +/** + * The Azure archive destination. + */ +var LogsArchiveDestinationAzure = /** @class */ (function () { + function LogsArchiveDestinationAzure() { + } + /** + * @ignore + */ + LogsArchiveDestinationAzure.getAttributeTypeMap = function () { + return LogsArchiveDestinationAzure.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveDestinationAzure.attributeTypeMap = { + container: { + baseName: "container", + type: "string", + required: true, + }, + integration: { + baseName: "integration", + type: "LogsArchiveIntegrationAzure", + required: true, + }, + path: { + baseName: "path", + type: "string", + }, + region: { + baseName: "region", + type: "string", + }, + storageAccount: { + baseName: "storage_account", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsArchiveDestinationAzureType", + required: true, + }, + }; + return LogsArchiveDestinationAzure; +}()); +exports.LogsArchiveDestinationAzure = LogsArchiveDestinationAzure; +//# sourceMappingURL=LogsArchiveDestinationAzure.js.map + +/***/ }), + +/***/ 71657: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveDestinationGCS = void 0; +/** + * The GCS archive destination. + */ +var LogsArchiveDestinationGCS = /** @class */ (function () { + function LogsArchiveDestinationGCS() { + } + /** + * @ignore + */ + LogsArchiveDestinationGCS.getAttributeTypeMap = function () { + return LogsArchiveDestinationGCS.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveDestinationGCS.attributeTypeMap = { + bucket: { + baseName: "bucket", + type: "string", + required: true, + }, + integration: { + baseName: "integration", + type: "LogsArchiveIntegrationGCS", + required: true, + }, + path: { + baseName: "path", + type: "string", + }, + type: { + baseName: "type", + type: "LogsArchiveDestinationGCSType", + required: true, + }, + }; + return LogsArchiveDestinationGCS; +}()); +exports.LogsArchiveDestinationGCS = LogsArchiveDestinationGCS; +//# sourceMappingURL=LogsArchiveDestinationGCS.js.map + +/***/ }), + +/***/ 87520: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveDestinationS3 = void 0; +/** + * The S3 archive destination. + */ +var LogsArchiveDestinationS3 = /** @class */ (function () { + function LogsArchiveDestinationS3() { + } + /** + * @ignore + */ + LogsArchiveDestinationS3.getAttributeTypeMap = function () { + return LogsArchiveDestinationS3.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveDestinationS3.attributeTypeMap = { + bucket: { + baseName: "bucket", + type: "string", + required: true, + }, + integration: { + baseName: "integration", + type: "LogsArchiveIntegrationS3", + required: true, + }, + path: { + baseName: "path", + type: "string", + }, + type: { + baseName: "type", + type: "LogsArchiveDestinationS3Type", + required: true, + }, + }; + return LogsArchiveDestinationS3; +}()); +exports.LogsArchiveDestinationS3 = LogsArchiveDestinationS3; +//# sourceMappingURL=LogsArchiveDestinationS3.js.map + +/***/ }), + +/***/ 90187: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveIntegrationAzure = void 0; +/** + * The Azure archive's integration destination. + */ +var LogsArchiveIntegrationAzure = /** @class */ (function () { + function LogsArchiveIntegrationAzure() { + } + /** + * @ignore + */ + LogsArchiveIntegrationAzure.getAttributeTypeMap = function () { + return LogsArchiveIntegrationAzure.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveIntegrationAzure.attributeTypeMap = { + clientId: { + baseName: "client_id", + type: "string", + required: true, + }, + tenantId: { + baseName: "tenant_id", + type: "string", + required: true, + }, + }; + return LogsArchiveIntegrationAzure; +}()); +exports.LogsArchiveIntegrationAzure = LogsArchiveIntegrationAzure; +//# sourceMappingURL=LogsArchiveIntegrationAzure.js.map + +/***/ }), + +/***/ 83645: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveIntegrationGCS = void 0; +/** + * The GCS archive's integration destination. + */ +var LogsArchiveIntegrationGCS = /** @class */ (function () { + function LogsArchiveIntegrationGCS() { + } + /** + * @ignore + */ + LogsArchiveIntegrationGCS.getAttributeTypeMap = function () { + return LogsArchiveIntegrationGCS.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveIntegrationGCS.attributeTypeMap = { + clientEmail: { + baseName: "client_email", + type: "string", + required: true, + }, + projectId: { + baseName: "project_id", + type: "string", + required: true, + }, + }; + return LogsArchiveIntegrationGCS; +}()); +exports.LogsArchiveIntegrationGCS = LogsArchiveIntegrationGCS; +//# sourceMappingURL=LogsArchiveIntegrationGCS.js.map + +/***/ }), + +/***/ 9681: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveIntegrationS3 = void 0; +/** + * The S3 Archive's integration destination. + */ +var LogsArchiveIntegrationS3 = /** @class */ (function () { + function LogsArchiveIntegrationS3() { + } + /** + * @ignore + */ + LogsArchiveIntegrationS3.getAttributeTypeMap = function () { + return LogsArchiveIntegrationS3.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveIntegrationS3.attributeTypeMap = { + accountId: { + baseName: "account_id", + type: "string", + required: true, + }, + roleName: { + baseName: "role_name", + type: "string", + required: true, + }, + }; + return LogsArchiveIntegrationS3; +}()); +exports.LogsArchiveIntegrationS3 = LogsArchiveIntegrationS3; +//# sourceMappingURL=LogsArchiveIntegrationS3.js.map + +/***/ }), + +/***/ 13220: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveOrder = void 0; +/** + * A ordered list of archive IDs. + */ +var LogsArchiveOrder = /** @class */ (function () { + function LogsArchiveOrder() { + } + /** + * @ignore + */ + LogsArchiveOrder.getAttributeTypeMap = function () { + return LogsArchiveOrder.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveOrder.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsArchiveOrderDefinition", + }, + }; + return LogsArchiveOrder; +}()); +exports.LogsArchiveOrder = LogsArchiveOrder; +//# sourceMappingURL=LogsArchiveOrder.js.map + +/***/ }), + +/***/ 33277: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveOrderAttributes = void 0; +/** + * The attributes associated with the archive order. + */ +var LogsArchiveOrderAttributes = /** @class */ (function () { + function LogsArchiveOrderAttributes() { + } + /** + * @ignore + */ + LogsArchiveOrderAttributes.getAttributeTypeMap = function () { + return LogsArchiveOrderAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveOrderAttributes.attributeTypeMap = { + archiveIds: { + baseName: "archive_ids", + type: "Array", + required: true, + }, + }; + return LogsArchiveOrderAttributes; +}()); +exports.LogsArchiveOrderAttributes = LogsArchiveOrderAttributes; +//# sourceMappingURL=LogsArchiveOrderAttributes.js.map + +/***/ }), + +/***/ 74878: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchiveOrderDefinition = void 0; +/** + * The definition of an archive order. + */ +var LogsArchiveOrderDefinition = /** @class */ (function () { + function LogsArchiveOrderDefinition() { + } + /** + * @ignore + */ + LogsArchiveOrderDefinition.getAttributeTypeMap = function () { + return LogsArchiveOrderDefinition.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchiveOrderDefinition.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsArchiveOrderAttributes", + required: true, + }, + type: { + baseName: "type", + type: "LogsArchiveOrderDefinitionType", + required: true, + }, + }; + return LogsArchiveOrderDefinition; +}()); +exports.LogsArchiveOrderDefinition = LogsArchiveOrderDefinition; +//# sourceMappingURL=LogsArchiveOrderDefinition.js.map + +/***/ }), + +/***/ 16852: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsArchives = void 0; +/** + * The available archives. + */ +var LogsArchives = /** @class */ (function () { + function LogsArchives() { + } + /** + * @ignore + */ + LogsArchives.getAttributeTypeMap = function () { + return LogsArchives.attributeTypeMap; + }; + /** + * @ignore + */ + LogsArchives.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return LogsArchives; +}()); +exports.LogsArchives = LogsArchives; +//# sourceMappingURL=LogsArchives.js.map + +/***/ }), + +/***/ 19236: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsCompute = void 0; +/** + * A compute rule to compute metrics or timeseries + */ +var LogsCompute = /** @class */ (function () { + function LogsCompute() { + } + /** + * @ignore + */ + LogsCompute.getAttributeTypeMap = function () { + return LogsCompute.attributeTypeMap; + }; + /** + * @ignore + */ + LogsCompute.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "LogsAggregationFunction", + required: true, + }, + interval: { + baseName: "interval", + type: "string", + }, + metric: { + baseName: "metric", + type: "string", + }, + type: { + baseName: "type", + type: "LogsComputeType", + }, + }; + return LogsCompute; +}()); +exports.LogsCompute = LogsCompute; +//# sourceMappingURL=LogsCompute.js.map + +/***/ }), + +/***/ 21104: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsGroupBy = void 0; +/** + * A group by rule + */ +var LogsGroupBy = /** @class */ (function () { + function LogsGroupBy() { + } + /** + * @ignore + */ + LogsGroupBy.getAttributeTypeMap = function () { + return LogsGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + LogsGroupBy.attributeTypeMap = { + facet: { + baseName: "facet", + type: "string", + required: true, + }, + histogram: { + baseName: "histogram", + type: "LogsGroupByHistogram", + }, + limit: { + baseName: "limit", + type: "number", + format: "int64", + }, + missing: { + baseName: "missing", + type: "LogsGroupByMissing", + }, + sort: { + baseName: "sort", + type: "LogsAggregateSort", + }, + total: { + baseName: "total", + type: "LogsGroupByTotal", + }, + }; + return LogsGroupBy; +}()); +exports.LogsGroupBy = LogsGroupBy; +//# sourceMappingURL=LogsGroupBy.js.map + +/***/ }), + +/***/ 2133: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsGroupByHistogram = void 0; +/** + * Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval. + */ +var LogsGroupByHistogram = /** @class */ (function () { + function LogsGroupByHistogram() { + } + /** + * @ignore + */ + LogsGroupByHistogram.getAttributeTypeMap = function () { + return LogsGroupByHistogram.attributeTypeMap; + }; + /** + * @ignore + */ + LogsGroupByHistogram.attributeTypeMap = { + interval: { + baseName: "interval", + type: "number", + required: true, + format: "double", + }, + max: { + baseName: "max", + type: "number", + required: true, + format: "double", + }, + min: { + baseName: "min", + type: "number", + required: true, + format: "double", + }, + }; + return LogsGroupByHistogram; +}()); +exports.LogsGroupByHistogram = LogsGroupByHistogram; +//# sourceMappingURL=LogsGroupByHistogram.js.map + +/***/ }), + +/***/ 46975: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListRequest = void 0; +/** + * The request for a logs list. + */ +var LogsListRequest = /** @class */ (function () { + function LogsListRequest() { + } + /** + * @ignore + */ + LogsListRequest.getAttributeTypeMap = function () { + return LogsListRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListRequest.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsQueryFilter", + }, + options: { + baseName: "options", + type: "LogsQueryOptions", + }, + page: { + baseName: "page", + type: "LogsListRequestPage", + }, + sort: { + baseName: "sort", + type: "LogsSort", + }, + }; + return LogsListRequest; +}()); +exports.LogsListRequest = LogsListRequest; +//# sourceMappingURL=LogsListRequest.js.map + +/***/ }), + +/***/ 92486: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListRequestPage = void 0; +/** + * Paging attributes for listing logs. + */ +var LogsListRequestPage = /** @class */ (function () { + function LogsListRequestPage() { + } + /** + * @ignore + */ + LogsListRequestPage.getAttributeTypeMap = function () { + return LogsListRequestPage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListRequestPage.attributeTypeMap = { + cursor: { + baseName: "cursor", + type: "string", + }, + limit: { + baseName: "limit", + type: "number", + format: "int32", + }, + }; + return LogsListRequestPage; +}()); +exports.LogsListRequestPage = LogsListRequestPage; +//# sourceMappingURL=LogsListRequestPage.js.map + +/***/ }), + +/***/ 62282: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListResponse = void 0; +/** + * Response object with all logs matching the request and pagination information. + */ +var LogsListResponse = /** @class */ (function () { + function LogsListResponse() { + } + /** + * @ignore + */ + LogsListResponse.getAttributeTypeMap = function () { + return LogsListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + links: { + baseName: "links", + type: "LogsListResponseLinks", + }, + meta: { + baseName: "meta", + type: "LogsResponseMetadata", + }, + }; + return LogsListResponse; +}()); +exports.LogsListResponse = LogsListResponse; +//# sourceMappingURL=LogsListResponse.js.map + +/***/ }), + +/***/ 79413: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsListResponseLinks = void 0; +/** + * Links attributes. + */ +var LogsListResponseLinks = /** @class */ (function () { + function LogsListResponseLinks() { + } + /** + * @ignore + */ + LogsListResponseLinks.getAttributeTypeMap = function () { + return LogsListResponseLinks.attributeTypeMap; + }; + /** + * @ignore + */ + LogsListResponseLinks.attributeTypeMap = { + next: { + baseName: "next", + type: "string", + }, + }; + return LogsListResponseLinks; +}()); +exports.LogsListResponseLinks = LogsListResponseLinks; +//# sourceMappingURL=LogsListResponseLinks.js.map + +/***/ }), + +/***/ 74170: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricCompute = void 0; +/** + * The compute rule to compute the log-based metric. + */ +var LogsMetricCompute = /** @class */ (function () { + function LogsMetricCompute() { + } + /** + * @ignore + */ + LogsMetricCompute.getAttributeTypeMap = function () { + return LogsMetricCompute.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricCompute.attributeTypeMap = { + aggregationType: { + baseName: "aggregation_type", + type: "LogsMetricComputeAggregationType", + required: true, + }, + path: { + baseName: "path", + type: "string", + }, + }; + return LogsMetricCompute; +}()); +exports.LogsMetricCompute = LogsMetricCompute; +//# sourceMappingURL=LogsMetricCompute.js.map + +/***/ }), + +/***/ 27156: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricCreateAttributes = void 0; +/** + * The object describing the Datadog log-based metric to create. + */ +var LogsMetricCreateAttributes = /** @class */ (function () { + function LogsMetricCreateAttributes() { + } + /** + * @ignore + */ + LogsMetricCreateAttributes.getAttributeTypeMap = function () { + return LogsMetricCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricCreateAttributes.attributeTypeMap = { + compute: { + baseName: "compute", + type: "LogsMetricCompute", + required: true, + }, + filter: { + baseName: "filter", + type: "LogsMetricFilter", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + }; + return LogsMetricCreateAttributes; +}()); +exports.LogsMetricCreateAttributes = LogsMetricCreateAttributes; +//# sourceMappingURL=LogsMetricCreateAttributes.js.map + +/***/ }), + +/***/ 67578: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricCreateData = void 0; +/** + * The new log-based metric properties. + */ +var LogsMetricCreateData = /** @class */ (function () { + function LogsMetricCreateData() { + } + /** + * @ignore + */ + LogsMetricCreateData.getAttributeTypeMap = function () { + return LogsMetricCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsMetricCreateAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "LogsMetricType", + required: true, + }, + }; + return LogsMetricCreateData; +}()); +exports.LogsMetricCreateData = LogsMetricCreateData; +//# sourceMappingURL=LogsMetricCreateData.js.map + +/***/ }), + +/***/ 64489: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricCreateRequest = void 0; +/** + * The new log-based metric body. + */ +var LogsMetricCreateRequest = /** @class */ (function () { + function LogsMetricCreateRequest() { + } + /** + * @ignore + */ + LogsMetricCreateRequest.getAttributeTypeMap = function () { + return LogsMetricCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsMetricCreateData", + required: true, + }, + }; + return LogsMetricCreateRequest; +}()); +exports.LogsMetricCreateRequest = LogsMetricCreateRequest; +//# sourceMappingURL=LogsMetricCreateRequest.js.map + +/***/ }), + +/***/ 95980: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricFilter = void 0; +/** + * The log-based metric filter. Logs matching this filter will be aggregated in this metric. + */ +var LogsMetricFilter = /** @class */ (function () { + function LogsMetricFilter() { + } + /** + * @ignore + */ + LogsMetricFilter.getAttributeTypeMap = function () { + return LogsMetricFilter.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricFilter.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + }, + }; + return LogsMetricFilter; +}()); +exports.LogsMetricFilter = LogsMetricFilter; +//# sourceMappingURL=LogsMetricFilter.js.map + +/***/ }), + +/***/ 21776: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricGroupBy = void 0; +/** + * A group by rule. + */ +var LogsMetricGroupBy = /** @class */ (function () { + function LogsMetricGroupBy() { + } + /** + * @ignore + */ + LogsMetricGroupBy.getAttributeTypeMap = function () { + return LogsMetricGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricGroupBy.attributeTypeMap = { + path: { + baseName: "path", + type: "string", + required: true, + }, + tagName: { + baseName: "tag_name", + type: "string", + }, + }; + return LogsMetricGroupBy; +}()); +exports.LogsMetricGroupBy = LogsMetricGroupBy; +//# sourceMappingURL=LogsMetricGroupBy.js.map + +/***/ }), + +/***/ 86871: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponse = void 0; +/** + * The log-based metric object. + */ +var LogsMetricResponse = /** @class */ (function () { + function LogsMetricResponse() { + } + /** + * @ignore + */ + LogsMetricResponse.getAttributeTypeMap = function () { + return LogsMetricResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsMetricResponseData", + }, + }; + return LogsMetricResponse; +}()); +exports.LogsMetricResponse = LogsMetricResponse; +//# sourceMappingURL=LogsMetricResponse.js.map + +/***/ }), + +/***/ 94655: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponseAttributes = void 0; +/** + * The object describing a Datadog log-based metric. + */ +var LogsMetricResponseAttributes = /** @class */ (function () { + function LogsMetricResponseAttributes() { + } + /** + * @ignore + */ + LogsMetricResponseAttributes.getAttributeTypeMap = function () { + return LogsMetricResponseAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponseAttributes.attributeTypeMap = { + compute: { + baseName: "compute", + type: "LogsMetricResponseCompute", + }, + filter: { + baseName: "filter", + type: "LogsMetricResponseFilter", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + }; + return LogsMetricResponseAttributes; +}()); +exports.LogsMetricResponseAttributes = LogsMetricResponseAttributes; +//# sourceMappingURL=LogsMetricResponseAttributes.js.map + +/***/ }), + +/***/ 66641: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponseCompute = void 0; +/** + * The compute rule to compute the log-based metric. + */ +var LogsMetricResponseCompute = /** @class */ (function () { + function LogsMetricResponseCompute() { + } + /** + * @ignore + */ + LogsMetricResponseCompute.getAttributeTypeMap = function () { + return LogsMetricResponseCompute.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponseCompute.attributeTypeMap = { + aggregationType: { + baseName: "aggregation_type", + type: "LogsMetricResponseComputeAggregationType", + }, + path: { + baseName: "path", + type: "string", + }, + }; + return LogsMetricResponseCompute; +}()); +exports.LogsMetricResponseCompute = LogsMetricResponseCompute; +//# sourceMappingURL=LogsMetricResponseCompute.js.map + +/***/ }), + +/***/ 2519: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponseData = void 0; +/** + * The log-based metric properties. + */ +var LogsMetricResponseData = /** @class */ (function () { + function LogsMetricResponseData() { + } + /** + * @ignore + */ + LogsMetricResponseData.getAttributeTypeMap = function () { + return LogsMetricResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsMetricResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "LogsMetricType", + }, + }; + return LogsMetricResponseData; +}()); +exports.LogsMetricResponseData = LogsMetricResponseData; +//# sourceMappingURL=LogsMetricResponseData.js.map + +/***/ }), + +/***/ 37718: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponseFilter = void 0; +/** + * The log-based metric filter. Logs matching this filter will be aggregated in this metric. + */ +var LogsMetricResponseFilter = /** @class */ (function () { + function LogsMetricResponseFilter() { + } + /** + * @ignore + */ + LogsMetricResponseFilter.getAttributeTypeMap = function () { + return LogsMetricResponseFilter.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponseFilter.attributeTypeMap = { + query: { + baseName: "query", + type: "string", + }, + }; + return LogsMetricResponseFilter; +}()); +exports.LogsMetricResponseFilter = LogsMetricResponseFilter; +//# sourceMappingURL=LogsMetricResponseFilter.js.map + +/***/ }), + +/***/ 83284: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricResponseGroupBy = void 0; +/** + * A group by rule. + */ +var LogsMetricResponseGroupBy = /** @class */ (function () { + function LogsMetricResponseGroupBy() { + } + /** + * @ignore + */ + LogsMetricResponseGroupBy.getAttributeTypeMap = function () { + return LogsMetricResponseGroupBy.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricResponseGroupBy.attributeTypeMap = { + path: { + baseName: "path", + type: "string", + }, + tagName: { + baseName: "tag_name", + type: "string", + }, + }; + return LogsMetricResponseGroupBy; +}()); +exports.LogsMetricResponseGroupBy = LogsMetricResponseGroupBy; +//# sourceMappingURL=LogsMetricResponseGroupBy.js.map + +/***/ }), + +/***/ 43114: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricUpdateAttributes = void 0; +/** + * The log-based metric properties that will be updated. + */ +var LogsMetricUpdateAttributes = /** @class */ (function () { + function LogsMetricUpdateAttributes() { + } + /** + * @ignore + */ + LogsMetricUpdateAttributes.getAttributeTypeMap = function () { + return LogsMetricUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricUpdateAttributes.attributeTypeMap = { + filter: { + baseName: "filter", + type: "LogsMetricFilter", + }, + groupBy: { + baseName: "group_by", + type: "Array", + }, + }; + return LogsMetricUpdateAttributes; +}()); +exports.LogsMetricUpdateAttributes = LogsMetricUpdateAttributes; +//# sourceMappingURL=LogsMetricUpdateAttributes.js.map + +/***/ }), + +/***/ 32319: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricUpdateData = void 0; +/** + * The new log-based metric properties. + */ +var LogsMetricUpdateData = /** @class */ (function () { + function LogsMetricUpdateData() { + } + /** + * @ignore + */ + LogsMetricUpdateData.getAttributeTypeMap = function () { + return LogsMetricUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "LogsMetricUpdateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "LogsMetricType", + required: true, + }, + }; + return LogsMetricUpdateData; +}()); +exports.LogsMetricUpdateData = LogsMetricUpdateData; +//# sourceMappingURL=LogsMetricUpdateData.js.map + +/***/ }), + +/***/ 84033: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricUpdateRequest = void 0; +/** + * The new log-based metric body. + */ +var LogsMetricUpdateRequest = /** @class */ (function () { + function LogsMetricUpdateRequest() { + } + /** + * @ignore + */ + LogsMetricUpdateRequest.getAttributeTypeMap = function () { + return LogsMetricUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "LogsMetricUpdateData", + required: true, + }, + }; + return LogsMetricUpdateRequest; +}()); +exports.LogsMetricUpdateRequest = LogsMetricUpdateRequest; +//# sourceMappingURL=LogsMetricUpdateRequest.js.map + +/***/ }), + +/***/ 57793: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsMetricsResponse = void 0; +/** + * All the available log-based metric objects. + */ +var LogsMetricsResponse = /** @class */ (function () { + function LogsMetricsResponse() { + } + /** + * @ignore + */ + LogsMetricsResponse.getAttributeTypeMap = function () { + return LogsMetricsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + LogsMetricsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return LogsMetricsResponse; +}()); +exports.LogsMetricsResponse = LogsMetricsResponse; +//# sourceMappingURL=LogsMetricsResponse.js.map + +/***/ }), + +/***/ 36574: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsQueryFilter = void 0; +/** + * The search and filter query settings + */ +var LogsQueryFilter = /** @class */ (function () { + function LogsQueryFilter() { + } + /** + * @ignore + */ + LogsQueryFilter.getAttributeTypeMap = function () { + return LogsQueryFilter.attributeTypeMap; + }; + /** + * @ignore + */ + LogsQueryFilter.attributeTypeMap = { + from: { + baseName: "from", + type: "string", + }, + indexes: { + baseName: "indexes", + type: "Array", + }, + query: { + baseName: "query", + type: "string", + }, + to: { + baseName: "to", + type: "string", + }, + }; + return LogsQueryFilter; +}()); +exports.LogsQueryFilter = LogsQueryFilter; +//# sourceMappingURL=LogsQueryFilter.js.map + +/***/ }), + +/***/ 75773: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsQueryOptions = void 0; +/** + * Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail. + */ +var LogsQueryOptions = /** @class */ (function () { + function LogsQueryOptions() { + } + /** + * @ignore + */ + LogsQueryOptions.getAttributeTypeMap = function () { + return LogsQueryOptions.attributeTypeMap; + }; + /** + * @ignore + */ + LogsQueryOptions.attributeTypeMap = { + timeOffset: { + baseName: "timeOffset", + type: "number", + format: "int64", + }, + timezone: { + baseName: "timezone", + type: "string", + }, + }; + return LogsQueryOptions; +}()); +exports.LogsQueryOptions = LogsQueryOptions; +//# sourceMappingURL=LogsQueryOptions.js.map + +/***/ }), + +/***/ 9675: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsResponseMetadata = void 0; +/** + * The metadata associated with a request + */ +var LogsResponseMetadata = /** @class */ (function () { + function LogsResponseMetadata() { + } + /** + * @ignore + */ + LogsResponseMetadata.getAttributeTypeMap = function () { + return LogsResponseMetadata.attributeTypeMap; + }; + /** + * @ignore + */ + LogsResponseMetadata.attributeTypeMap = { + elapsed: { + baseName: "elapsed", + type: "number", + format: "int64", + }, + page: { + baseName: "page", + type: "LogsResponseMetadataPage", + }, + requestId: { + baseName: "request_id", + type: "string", + }, + status: { + baseName: "status", + type: "LogsAggregateResponseStatus", + }, + warnings: { + baseName: "warnings", + type: "Array", + }, + }; + return LogsResponseMetadata; +}()); +exports.LogsResponseMetadata = LogsResponseMetadata; +//# sourceMappingURL=LogsResponseMetadata.js.map + +/***/ }), + +/***/ 9159: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsResponseMetadataPage = void 0; +/** + * Paging attributes. + */ +var LogsResponseMetadataPage = /** @class */ (function () { + function LogsResponseMetadataPage() { + } + /** + * @ignore + */ + LogsResponseMetadataPage.getAttributeTypeMap = function () { + return LogsResponseMetadataPage.attributeTypeMap; + }; + /** + * @ignore + */ + LogsResponseMetadataPage.attributeTypeMap = { + after: { + baseName: "after", + type: "string", + }, + }; + return LogsResponseMetadataPage; +}()); +exports.LogsResponseMetadataPage = LogsResponseMetadataPage; +//# sourceMappingURL=LogsResponseMetadataPage.js.map + +/***/ }), + +/***/ 32347: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.LogsWarning = void 0; +/** + * A warning message indicating something that went wrong with the query + */ +var LogsWarning = /** @class */ (function () { + function LogsWarning() { + } + /** + * @ignore + */ + LogsWarning.getAttributeTypeMap = function () { + return LogsWarning.attributeTypeMap; + }; + /** + * @ignore + */ + LogsWarning.attributeTypeMap = { + code: { + baseName: "code", + type: "string", + }, + detail: { + baseName: "detail", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + }; + return LogsWarning; +}()); +exports.LogsWarning = LogsWarning; +//# sourceMappingURL=LogsWarning.js.map + +/***/ }), + +/***/ 81125: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Metric = void 0; +/** + * Object for a single metric tag configuration. + */ +var Metric = /** @class */ (function () { + function Metric() { + } + /** + * @ignore + */ + Metric.getAttributeTypeMap = function () { + return Metric.attributeTypeMap; + }; + /** + * @ignore + */ + Metric.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricType", + }, + }; + return Metric; +}()); +exports.Metric = Metric; +//# sourceMappingURL=Metric.js.map + +/***/ }), + +/***/ 92059: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricAllTags = void 0; +/** + * Object for a single metric's indexed tags. + */ +var MetricAllTags = /** @class */ (function () { + function MetricAllTags() { + } + /** + * @ignore + */ + MetricAllTags.getAttributeTypeMap = function () { + return MetricAllTags.attributeTypeMap; + }; + /** + * @ignore + */ + MetricAllTags.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricAllTagsAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricType", + }, + }; + return MetricAllTags; +}()); +exports.MetricAllTags = MetricAllTags; +//# sourceMappingURL=MetricAllTags.js.map + +/***/ }), + +/***/ 5563: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricAllTagsAttributes = void 0; +/** + * Object containing the definition of a metric's tags. + */ +var MetricAllTagsAttributes = /** @class */ (function () { + function MetricAllTagsAttributes() { + } + /** + * @ignore + */ + MetricAllTagsAttributes.getAttributeTypeMap = function () { + return MetricAllTagsAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricAllTagsAttributes.attributeTypeMap = { + tags: { + baseName: "tags", + type: "Array", + }, + }; + return MetricAllTagsAttributes; +}()); +exports.MetricAllTagsAttributes = MetricAllTagsAttributes; +//# sourceMappingURL=MetricAllTagsAttributes.js.map + +/***/ }), + +/***/ 72220: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricAllTagsResponse = void 0; +/** + * Response object that includes a single metric's indexed tags. + */ +var MetricAllTagsResponse = /** @class */ (function () { + function MetricAllTagsResponse() { + } + /** + * @ignore + */ + MetricAllTagsResponse.getAttributeTypeMap = function () { + return MetricAllTagsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricAllTagsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricAllTags", + }, + }; + return MetricAllTagsResponse; +}()); +exports.MetricAllTagsResponse = MetricAllTagsResponse; +//# sourceMappingURL=MetricAllTagsResponse.js.map + +/***/ }), + +/***/ 91782: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigCreate = void 0; +/** + * Request object to bulk configure tags for metrics matching the given prefix. + */ +var MetricBulkTagConfigCreate = /** @class */ (function () { + function MetricBulkTagConfigCreate() { + } + /** + * @ignore + */ + MetricBulkTagConfigCreate.getAttributeTypeMap = function () { + return MetricBulkTagConfigCreate.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigCreate.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricBulkTagConfigCreateAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricBulkConfigureTagsType", + required: true, + }, + }; + return MetricBulkTagConfigCreate; +}()); +exports.MetricBulkTagConfigCreate = MetricBulkTagConfigCreate; +//# sourceMappingURL=MetricBulkTagConfigCreate.js.map + +/***/ }), + +/***/ 32326: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigCreateAttributes = void 0; +/** + * Optional parameters for bulk creating metric tag configurations. + */ +var MetricBulkTagConfigCreateAttributes = /** @class */ (function () { + function MetricBulkTagConfigCreateAttributes() { + } + /** + * @ignore + */ + MetricBulkTagConfigCreateAttributes.getAttributeTypeMap = function () { + return MetricBulkTagConfigCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigCreateAttributes.attributeTypeMap = { + emails: { + baseName: "emails", + type: "Array", + format: "email", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return MetricBulkTagConfigCreateAttributes; +}()); +exports.MetricBulkTagConfigCreateAttributes = MetricBulkTagConfigCreateAttributes; +//# sourceMappingURL=MetricBulkTagConfigCreateAttributes.js.map + +/***/ }), + +/***/ 4270: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigCreateRequest = void 0; +/** + * Wrapper object for a single bulk tag configuration request. + */ +var MetricBulkTagConfigCreateRequest = /** @class */ (function () { + function MetricBulkTagConfigCreateRequest() { + } + /** + * @ignore + */ + MetricBulkTagConfigCreateRequest.getAttributeTypeMap = function () { + return MetricBulkTagConfigCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricBulkTagConfigCreate", + required: true, + }, + }; + return MetricBulkTagConfigCreateRequest; +}()); +exports.MetricBulkTagConfigCreateRequest = MetricBulkTagConfigCreateRequest; +//# sourceMappingURL=MetricBulkTagConfigCreateRequest.js.map + +/***/ }), + +/***/ 72280: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigDelete = void 0; +/** + * Request object to bulk delete all tag configurations for metrics matching the given prefix. + */ +var MetricBulkTagConfigDelete = /** @class */ (function () { + function MetricBulkTagConfigDelete() { + } + /** + * @ignore + */ + MetricBulkTagConfigDelete.getAttributeTypeMap = function () { + return MetricBulkTagConfigDelete.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigDelete.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricBulkTagConfigDeleteAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricBulkConfigureTagsType", + required: true, + }, + }; + return MetricBulkTagConfigDelete; +}()); +exports.MetricBulkTagConfigDelete = MetricBulkTagConfigDelete; +//# sourceMappingURL=MetricBulkTagConfigDelete.js.map + +/***/ }), + +/***/ 86757: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigDeleteAttributes = void 0; +/** + * Optional parameters for bulk deleting metric tag configurations. + */ +var MetricBulkTagConfigDeleteAttributes = /** @class */ (function () { + function MetricBulkTagConfigDeleteAttributes() { + } + /** + * @ignore + */ + MetricBulkTagConfigDeleteAttributes.getAttributeTypeMap = function () { + return MetricBulkTagConfigDeleteAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigDeleteAttributes.attributeTypeMap = { + emails: { + baseName: "emails", + type: "Array", + format: "email", + }, + }; + return MetricBulkTagConfigDeleteAttributes; +}()); +exports.MetricBulkTagConfigDeleteAttributes = MetricBulkTagConfigDeleteAttributes; +//# sourceMappingURL=MetricBulkTagConfigDeleteAttributes.js.map + +/***/ }), + +/***/ 3217: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigDeleteRequest = void 0; +/** + * Wrapper object for a single bulk tag deletion request. + */ +var MetricBulkTagConfigDeleteRequest = /** @class */ (function () { + function MetricBulkTagConfigDeleteRequest() { + } + /** + * @ignore + */ + MetricBulkTagConfigDeleteRequest.getAttributeTypeMap = function () { + return MetricBulkTagConfigDeleteRequest.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigDeleteRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricBulkTagConfigDelete", + required: true, + }, + }; + return MetricBulkTagConfigDeleteRequest; +}()); +exports.MetricBulkTagConfigDeleteRequest = MetricBulkTagConfigDeleteRequest; +//# sourceMappingURL=MetricBulkTagConfigDeleteRequest.js.map + +/***/ }), + +/***/ 40953: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigResponse = void 0; +/** + * Wrapper for a single bulk tag configuration status response. + */ +var MetricBulkTagConfigResponse = /** @class */ (function () { + function MetricBulkTagConfigResponse() { + } + /** + * @ignore + */ + MetricBulkTagConfigResponse.getAttributeTypeMap = function () { + return MetricBulkTagConfigResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricBulkTagConfigStatus", + }, + }; + return MetricBulkTagConfigResponse; +}()); +exports.MetricBulkTagConfigResponse = MetricBulkTagConfigResponse; +//# sourceMappingURL=MetricBulkTagConfigResponse.js.map + +/***/ }), + +/***/ 57682: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigStatus = void 0; +/** + * The status of a request to bulk configure metric tags. It contains the fields from the original request for reference. + */ +var MetricBulkTagConfigStatus = /** @class */ (function () { + function MetricBulkTagConfigStatus() { + } + /** + * @ignore + */ + MetricBulkTagConfigStatus.getAttributeTypeMap = function () { + return MetricBulkTagConfigStatus.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigStatus.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricBulkTagConfigStatusAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricBulkConfigureTagsType", + required: true, + }, + }; + return MetricBulkTagConfigStatus; +}()); +exports.MetricBulkTagConfigStatus = MetricBulkTagConfigStatus; +//# sourceMappingURL=MetricBulkTagConfigStatus.js.map + +/***/ }), + +/***/ 82262: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricBulkTagConfigStatusAttributes = void 0; +/** + * Optional attributes for the status of a bulk tag configuration request. + */ +var MetricBulkTagConfigStatusAttributes = /** @class */ (function () { + function MetricBulkTagConfigStatusAttributes() { + } + /** + * @ignore + */ + MetricBulkTagConfigStatusAttributes.getAttributeTypeMap = function () { + return MetricBulkTagConfigStatusAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricBulkTagConfigStatusAttributes.attributeTypeMap = { + emails: { + baseName: "emails", + type: "Array", + format: "email", + }, + status: { + baseName: "status", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return MetricBulkTagConfigStatusAttributes; +}()); +exports.MetricBulkTagConfigStatusAttributes = MetricBulkTagConfigStatusAttributes; +//# sourceMappingURL=MetricBulkTagConfigStatusAttributes.js.map + +/***/ }), + +/***/ 17484: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricCustomAggregation = void 0; +/** + * A time and space aggregation combination for use in query. + */ +var MetricCustomAggregation = /** @class */ (function () { + function MetricCustomAggregation() { + } + /** + * @ignore + */ + MetricCustomAggregation.getAttributeTypeMap = function () { + return MetricCustomAggregation.attributeTypeMap; + }; + /** + * @ignore + */ + MetricCustomAggregation.attributeTypeMap = { + space: { + baseName: "space", + type: "MetricCustomSpaceAggregation", + required: true, + }, + time: { + baseName: "time", + type: "MetricCustomTimeAggregation", + required: true, + }, + }; + return MetricCustomAggregation; +}()); +exports.MetricCustomAggregation = MetricCustomAggregation; +//# sourceMappingURL=MetricCustomAggregation.js.map + +/***/ }), + +/***/ 85654: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricDistinctVolume = void 0; +/** + * Object for a single metric's distinct volume. + */ +var MetricDistinctVolume = /** @class */ (function () { + function MetricDistinctVolume() { + } + /** + * @ignore + */ + MetricDistinctVolume.getAttributeTypeMap = function () { + return MetricDistinctVolume.attributeTypeMap; + }; + /** + * @ignore + */ + MetricDistinctVolume.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricDistinctVolumeAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricDistinctVolumeType", + }, + }; + return MetricDistinctVolume; +}()); +exports.MetricDistinctVolume = MetricDistinctVolume; +//# sourceMappingURL=MetricDistinctVolume.js.map + +/***/ }), + +/***/ 23953: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricDistinctVolumeAttributes = void 0; +/** + * Object containing the definition of a metric's distinct volume. + */ +var MetricDistinctVolumeAttributes = /** @class */ (function () { + function MetricDistinctVolumeAttributes() { + } + /** + * @ignore + */ + MetricDistinctVolumeAttributes.getAttributeTypeMap = function () { + return MetricDistinctVolumeAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricDistinctVolumeAttributes.attributeTypeMap = { + distinctVolume: { + baseName: "distinct_volume", + type: "number", + format: "int64", + }, + }; + return MetricDistinctVolumeAttributes; +}()); +exports.MetricDistinctVolumeAttributes = MetricDistinctVolumeAttributes; +//# sourceMappingURL=MetricDistinctVolumeAttributes.js.map + +/***/ }), + +/***/ 8882: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricIngestedIndexedVolume = void 0; +/** + * Object for a single metric's ingested and indexed volume. + */ +var MetricIngestedIndexedVolume = /** @class */ (function () { + function MetricIngestedIndexedVolume() { + } + /** + * @ignore + */ + MetricIngestedIndexedVolume.getAttributeTypeMap = function () { + return MetricIngestedIndexedVolume.attributeTypeMap; + }; + /** + * @ignore + */ + MetricIngestedIndexedVolume.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricIngestedIndexedVolumeAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricIngestedIndexedVolumeType", + }, + }; + return MetricIngestedIndexedVolume; +}()); +exports.MetricIngestedIndexedVolume = MetricIngestedIndexedVolume; +//# sourceMappingURL=MetricIngestedIndexedVolume.js.map + +/***/ }), + +/***/ 65551: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricIngestedIndexedVolumeAttributes = void 0; +/** + * Object containing the definition of a metric's ingested and indexed volume. + */ +var MetricIngestedIndexedVolumeAttributes = /** @class */ (function () { + function MetricIngestedIndexedVolumeAttributes() { + } + /** + * @ignore + */ + MetricIngestedIndexedVolumeAttributes.getAttributeTypeMap = function () { + return MetricIngestedIndexedVolumeAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricIngestedIndexedVolumeAttributes.attributeTypeMap = { + indexedVolume: { + baseName: "indexed_volume", + type: "number", + format: "int64", + }, + ingestedVolume: { + baseName: "ingested_volume", + type: "number", + format: "int64", + }, + }; + return MetricIngestedIndexedVolumeAttributes; +}()); +exports.MetricIngestedIndexedVolumeAttributes = MetricIngestedIndexedVolumeAttributes; +//# sourceMappingURL=MetricIngestedIndexedVolumeAttributes.js.map + +/***/ }), + +/***/ 35857: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfiguration = void 0; +/** + * Object for a single metric tag configuration. + */ +var MetricTagConfiguration = /** @class */ (function () { + function MetricTagConfiguration() { + } + /** + * @ignore + */ + MetricTagConfiguration.getAttributeTypeMap = function () { + return MetricTagConfiguration.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfiguration.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricTagConfigurationAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricTagConfigurationType", + }, + }; + return MetricTagConfiguration; +}()); +exports.MetricTagConfiguration = MetricTagConfiguration; +//# sourceMappingURL=MetricTagConfiguration.js.map + +/***/ }), + +/***/ 9851: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationAttributes = void 0; +/** + * Object containing the definition of a metric tag configuration attributes. + */ +var MetricTagConfigurationAttributes = /** @class */ (function () { + function MetricTagConfigurationAttributes() { + } + /** + * @ignore + */ + MetricTagConfigurationAttributes.getAttributeTypeMap = function () { + return MetricTagConfigurationAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationAttributes.attributeTypeMap = { + aggregations: { + baseName: "aggregations", + type: "Array", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + includePercentiles: { + baseName: "include_percentiles", + type: "boolean", + }, + metricType: { + baseName: "metric_type", + type: "MetricTagConfigurationMetricTypes", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return MetricTagConfigurationAttributes; +}()); +exports.MetricTagConfigurationAttributes = MetricTagConfigurationAttributes; +//# sourceMappingURL=MetricTagConfigurationAttributes.js.map + +/***/ }), + +/***/ 19186: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationCreateAttributes = void 0; +/** + * Object containing the definition of a metric tag configuration to be created. + */ +var MetricTagConfigurationCreateAttributes = /** @class */ (function () { + function MetricTagConfigurationCreateAttributes() { + } + /** + * @ignore + */ + MetricTagConfigurationCreateAttributes.getAttributeTypeMap = function () { + return MetricTagConfigurationCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationCreateAttributes.attributeTypeMap = { + aggregations: { + baseName: "aggregations", + type: "Array", + }, + includePercentiles: { + baseName: "include_percentiles", + type: "boolean", + }, + metricType: { + baseName: "metric_type", + type: "MetricTagConfigurationMetricTypes", + required: true, + }, + tags: { + baseName: "tags", + type: "Array", + required: true, + }, + }; + return MetricTagConfigurationCreateAttributes; +}()); +exports.MetricTagConfigurationCreateAttributes = MetricTagConfigurationCreateAttributes; +//# sourceMappingURL=MetricTagConfigurationCreateAttributes.js.map + +/***/ }), + +/***/ 66135: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationCreateData = void 0; +/** + * Object for a single metric to be configure tags on. + */ +var MetricTagConfigurationCreateData = /** @class */ (function () { + function MetricTagConfigurationCreateData() { + } + /** + * @ignore + */ + MetricTagConfigurationCreateData.getAttributeTypeMap = function () { + return MetricTagConfigurationCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricTagConfigurationCreateAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricTagConfigurationType", + required: true, + }, + }; + return MetricTagConfigurationCreateData; +}()); +exports.MetricTagConfigurationCreateData = MetricTagConfigurationCreateData; +//# sourceMappingURL=MetricTagConfigurationCreateData.js.map + +/***/ }), + +/***/ 84050: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationCreateRequest = void 0; +/** + * Request object that includes the metric that you would like to configure tags for. + */ +var MetricTagConfigurationCreateRequest = /** @class */ (function () { + function MetricTagConfigurationCreateRequest() { + } + /** + * @ignore + */ + MetricTagConfigurationCreateRequest.getAttributeTypeMap = function () { + return MetricTagConfigurationCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricTagConfigurationCreateData", + required: true, + }, + }; + return MetricTagConfigurationCreateRequest; +}()); +exports.MetricTagConfigurationCreateRequest = MetricTagConfigurationCreateRequest; +//# sourceMappingURL=MetricTagConfigurationCreateRequest.js.map + +/***/ }), + +/***/ 55797: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationResponse = void 0; +/** + * Response object which includes a single metric's tag configuration. + */ +var MetricTagConfigurationResponse = /** @class */ (function () { + function MetricTagConfigurationResponse() { + } + /** + * @ignore + */ + MetricTagConfigurationResponse.getAttributeTypeMap = function () { + return MetricTagConfigurationResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricTagConfiguration", + }, + }; + return MetricTagConfigurationResponse; +}()); +exports.MetricTagConfigurationResponse = MetricTagConfigurationResponse; +//# sourceMappingURL=MetricTagConfigurationResponse.js.map + +/***/ }), + +/***/ 19503: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationUpdateAttributes = void 0; +/** + * Object containing the definition of a metric tag configuration to be updated. + */ +var MetricTagConfigurationUpdateAttributes = /** @class */ (function () { + function MetricTagConfigurationUpdateAttributes() { + } + /** + * @ignore + */ + MetricTagConfigurationUpdateAttributes.getAttributeTypeMap = function () { + return MetricTagConfigurationUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationUpdateAttributes.attributeTypeMap = { + aggregations: { + baseName: "aggregations", + type: "Array", + }, + includePercentiles: { + baseName: "include_percentiles", + type: "boolean", + }, + tags: { + baseName: "tags", + type: "Array", + }, + }; + return MetricTagConfigurationUpdateAttributes; +}()); +exports.MetricTagConfigurationUpdateAttributes = MetricTagConfigurationUpdateAttributes; +//# sourceMappingURL=MetricTagConfigurationUpdateAttributes.js.map + +/***/ }), + +/***/ 63194: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationUpdateData = void 0; +/** + * Object for a single tag configuration to be edited. + */ +var MetricTagConfigurationUpdateData = /** @class */ (function () { + function MetricTagConfigurationUpdateData() { + } + /** + * @ignore + */ + MetricTagConfigurationUpdateData.getAttributeTypeMap = function () { + return MetricTagConfigurationUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricTagConfigurationUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricTagConfigurationType", + required: true, + }, + }; + return MetricTagConfigurationUpdateData; +}()); +exports.MetricTagConfigurationUpdateData = MetricTagConfigurationUpdateData; +//# sourceMappingURL=MetricTagConfigurationUpdateData.js.map + +/***/ }), + +/***/ 19976: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricTagConfigurationUpdateRequest = void 0; +/** + * Request object that includes the metric that you would like to edit the tag configuration on. + */ +var MetricTagConfigurationUpdateRequest = /** @class */ (function () { + function MetricTagConfigurationUpdateRequest() { + } + /** + * @ignore + */ + MetricTagConfigurationUpdateRequest.getAttributeTypeMap = function () { + return MetricTagConfigurationUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + MetricTagConfigurationUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricTagConfigurationUpdateData", + required: true, + }, + }; + return MetricTagConfigurationUpdateRequest; +}()); +exports.MetricTagConfigurationUpdateRequest = MetricTagConfigurationUpdateRequest; +//# sourceMappingURL=MetricTagConfigurationUpdateRequest.js.map + +/***/ }), + +/***/ 72742: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricVolumesResponse = void 0; +/** + * Response object which includes a single metric's volume. + */ +var MetricVolumesResponse = /** @class */ (function () { + function MetricVolumesResponse() { + } + /** + * @ignore + */ + MetricVolumesResponse.getAttributeTypeMap = function () { + return MetricVolumesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricVolumesResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "MetricVolumes", + }, + }; + return MetricVolumesResponse; +}()); +exports.MetricVolumesResponse = MetricVolumesResponse; +//# sourceMappingURL=MetricVolumesResponse.js.map + +/***/ }), + +/***/ 43052: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.MetricsAndMetricTagConfigurationsResponse = void 0; +/** + * Response object that includes metrics and metric tag configurations. + */ +var MetricsAndMetricTagConfigurationsResponse = /** @class */ (function () { + function MetricsAndMetricTagConfigurationsResponse() { + } + /** + * @ignore + */ + MetricsAndMetricTagConfigurationsResponse.getAttributeTypeMap = function () { + return MetricsAndMetricTagConfigurationsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + MetricsAndMetricTagConfigurationsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return MetricsAndMetricTagConfigurationsResponse; +}()); +exports.MetricsAndMetricTagConfigurationsResponse = MetricsAndMetricTagConfigurationsResponse; +//# sourceMappingURL=MetricsAndMetricTagConfigurationsResponse.js.map + +/***/ }), + +/***/ 71426: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NullableRelationshipToUser = void 0; +/** + * Relationship to user. + */ +var NullableRelationshipToUser = /** @class */ (function () { + function NullableRelationshipToUser() { + } + /** + * @ignore + */ + NullableRelationshipToUser.getAttributeTypeMap = function () { + return NullableRelationshipToUser.attributeTypeMap; + }; + /** + * @ignore + */ + NullableRelationshipToUser.attributeTypeMap = { + data: { + baseName: "data", + type: "NullableRelationshipToUserData", + required: true, + }, + }; + return NullableRelationshipToUser; +}()); +exports.NullableRelationshipToUser = NullableRelationshipToUser; +//# sourceMappingURL=NullableRelationshipToUser.js.map + +/***/ }), + +/***/ 16203: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NullableRelationshipToUserData = void 0; +/** + * Relationship to user object. + */ +var NullableRelationshipToUserData = /** @class */ (function () { + function NullableRelationshipToUserData() { + } + /** + * @ignore + */ + NullableRelationshipToUserData.getAttributeTypeMap = function () { + return NullableRelationshipToUserData.attributeTypeMap; + }; + /** + * @ignore + */ + NullableRelationshipToUserData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "UsersType", + required: true, + }, + }; + return NullableRelationshipToUserData; +}()); +exports.NullableRelationshipToUserData = NullableRelationshipToUserData; +//# sourceMappingURL=NullableRelationshipToUserData.js.map + +/***/ }), + +/***/ 47805: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UnparsedObject = exports.ObjectSerializer = void 0; +var APIErrorResponse_1 = __nccwpck_require__(70205); +var APIKeyCreateAttributes_1 = __nccwpck_require__(59524); +var APIKeyCreateData_1 = __nccwpck_require__(18279); +var APIKeyCreateRequest_1 = __nccwpck_require__(58893); +var APIKeyRelationships_1 = __nccwpck_require__(54551); +var APIKeyResponse_1 = __nccwpck_require__(97531); +var APIKeyUpdateAttributes_1 = __nccwpck_require__(65168); +var APIKeyUpdateData_1 = __nccwpck_require__(51292); +var APIKeyUpdateRequest_1 = __nccwpck_require__(20585); +var APIKeysResponse_1 = __nccwpck_require__(13214); +var ApplicationKeyCreateAttributes_1 = __nccwpck_require__(71500); +var ApplicationKeyCreateData_1 = __nccwpck_require__(39673); +var ApplicationKeyCreateRequest_1 = __nccwpck_require__(89736); +var ApplicationKeyRelationships_1 = __nccwpck_require__(65634); +var ApplicationKeyResponse_1 = __nccwpck_require__(73297); +var ApplicationKeyUpdateAttributes_1 = __nccwpck_require__(38052); +var ApplicationKeyUpdateData_1 = __nccwpck_require__(3655); +var ApplicationKeyUpdateRequest_1 = __nccwpck_require__(19103); +var AuthNMapping_1 = __nccwpck_require__(80723); +var AuthNMappingAttributes_1 = __nccwpck_require__(70543); +var AuthNMappingCreateAttributes_1 = __nccwpck_require__(47073); +var AuthNMappingCreateData_1 = __nccwpck_require__(2847); +var AuthNMappingCreateRelationships_1 = __nccwpck_require__(20943); +var AuthNMappingCreateRequest_1 = __nccwpck_require__(32773); +var AuthNMappingRelationships_1 = __nccwpck_require__(17587); +var AuthNMappingResponse_1 = __nccwpck_require__(60064); +var AuthNMappingUpdateAttributes_1 = __nccwpck_require__(61653); +var AuthNMappingUpdateData_1 = __nccwpck_require__(98430); +var AuthNMappingUpdateRelationships_1 = __nccwpck_require__(39731); +var AuthNMappingUpdateRequest_1 = __nccwpck_require__(18093); +var AuthNMappingsResponse_1 = __nccwpck_require__(18439); +var CloudWorkloadSecurityAgentRuleAttributes_1 = __nccwpck_require__(60792); +var CloudWorkloadSecurityAgentRuleCreateAttributes_1 = __nccwpck_require__(91982); +var CloudWorkloadSecurityAgentRuleCreateData_1 = __nccwpck_require__(57506); +var CloudWorkloadSecurityAgentRuleCreateRequest_1 = __nccwpck_require__(11249); +var CloudWorkloadSecurityAgentRuleCreatorAttributes_1 = __nccwpck_require__(34366); +var CloudWorkloadSecurityAgentRuleData_1 = __nccwpck_require__(79526); +var CloudWorkloadSecurityAgentRuleResponse_1 = __nccwpck_require__(70516); +var CloudWorkloadSecurityAgentRuleUpdateAttributes_1 = __nccwpck_require__(43319); +var CloudWorkloadSecurityAgentRuleUpdateData_1 = __nccwpck_require__(92347); +var CloudWorkloadSecurityAgentRuleUpdateRequest_1 = __nccwpck_require__(96586); +var CloudWorkloadSecurityAgentRuleUpdaterAttributes_1 = __nccwpck_require__(22606); +var CloudWorkloadSecurityAgentRulesListResponse_1 = __nccwpck_require__(42739); +var Creator_1 = __nccwpck_require__(81580); +var DashboardListAddItemsRequest_1 = __nccwpck_require__(1746); +var DashboardListAddItemsResponse_1 = __nccwpck_require__(97047); +var DashboardListDeleteItemsRequest_1 = __nccwpck_require__(6487); +var DashboardListDeleteItemsResponse_1 = __nccwpck_require__(79067); +var DashboardListItem_1 = __nccwpck_require__(25719); +var DashboardListItemRequest_1 = __nccwpck_require__(72262); +var DashboardListItemResponse_1 = __nccwpck_require__(24037); +var DashboardListItems_1 = __nccwpck_require__(19638); +var DashboardListUpdateItemsRequest_1 = __nccwpck_require__(88487); +var DashboardListUpdateItemsResponse_1 = __nccwpck_require__(3644); +var FullAPIKey_1 = __nccwpck_require__(56159); +var FullAPIKeyAttributes_1 = __nccwpck_require__(25642); +var FullApplicationKey_1 = __nccwpck_require__(54147); +var FullApplicationKeyAttributes_1 = __nccwpck_require__(79380); +var HTTPLogError_1 = __nccwpck_require__(73991); +var HTTPLogErrors_1 = __nccwpck_require__(18911); +var HTTPLogItem_1 = __nccwpck_require__(40312); +var IncidentCreateAttributes_1 = __nccwpck_require__(85021); +var IncidentCreateData_1 = __nccwpck_require__(33708); +var IncidentCreateRelationships_1 = __nccwpck_require__(87980); +var IncidentCreateRequest_1 = __nccwpck_require__(79893); +var IncidentFieldAttributesMultipleValue_1 = __nccwpck_require__(85167); +var IncidentFieldAttributesSingleValue_1 = __nccwpck_require__(65717); +var IncidentNotificationHandle_1 = __nccwpck_require__(64132); +var IncidentResponse_1 = __nccwpck_require__(85933); +var IncidentResponseAttributes_1 = __nccwpck_require__(72948); +var IncidentResponseData_1 = __nccwpck_require__(20274); +var IncidentResponseMeta_1 = __nccwpck_require__(16729); +var IncidentResponseMetaPagination_1 = __nccwpck_require__(97345); +var IncidentResponseRelationships_1 = __nccwpck_require__(88233); +var IncidentServiceCreateAttributes_1 = __nccwpck_require__(81262); +var IncidentServiceCreateData_1 = __nccwpck_require__(50275); +var IncidentServiceCreateRequest_1 = __nccwpck_require__(61042); +var IncidentServiceRelationships_1 = __nccwpck_require__(67742); +var IncidentServiceResponse_1 = __nccwpck_require__(8010); +var IncidentServiceResponseAttributes_1 = __nccwpck_require__(64840); +var IncidentServiceResponseData_1 = __nccwpck_require__(13259); +var IncidentServiceUpdateAttributes_1 = __nccwpck_require__(2935); +var IncidentServiceUpdateData_1 = __nccwpck_require__(63215); +var IncidentServiceUpdateRequest_1 = __nccwpck_require__(97971); +var IncidentServicesResponse_1 = __nccwpck_require__(67102); +var IncidentTeamCreateAttributes_1 = __nccwpck_require__(20944); +var IncidentTeamCreateData_1 = __nccwpck_require__(83456); +var IncidentTeamCreateRequest_1 = __nccwpck_require__(46712); +var IncidentTeamRelationships_1 = __nccwpck_require__(31266); +var IncidentTeamResponse_1 = __nccwpck_require__(88841); +var IncidentTeamResponseAttributes_1 = __nccwpck_require__(13482); +var IncidentTeamResponseData_1 = __nccwpck_require__(79651); +var IncidentTeamUpdateAttributes_1 = __nccwpck_require__(14799); +var IncidentTeamUpdateData_1 = __nccwpck_require__(41914); +var IncidentTeamUpdateRequest_1 = __nccwpck_require__(1174); +var IncidentTeamsResponse_1 = __nccwpck_require__(72162); +var IncidentTimelineCellMarkdownCreateAttributes_1 = __nccwpck_require__(48212); +var IncidentTimelineCellMarkdownCreateAttributesContent_1 = __nccwpck_require__(4504); +var IncidentUpdateAttributes_1 = __nccwpck_require__(87879); +var IncidentUpdateData_1 = __nccwpck_require__(14695); +var IncidentUpdateRelationships_1 = __nccwpck_require__(40863); +var IncidentUpdateRequest_1 = __nccwpck_require__(94252); +var IncidentsResponse_1 = __nccwpck_require__(84660); +var ListApplicationKeysResponse_1 = __nccwpck_require__(33213); +var Log_1 = __nccwpck_require__(50679); +var LogAttributes_1 = __nccwpck_require__(82583); +var LogsAggregateBucket_1 = __nccwpck_require__(48920); +var LogsAggregateBucketValueTimeseriesPoint_1 = __nccwpck_require__(87989); +var LogsAggregateRequest_1 = __nccwpck_require__(13619); +var LogsAggregateRequestPage_1 = __nccwpck_require__(73702); +var LogsAggregateResponse_1 = __nccwpck_require__(42578); +var LogsAggregateResponseData_1 = __nccwpck_require__(95647); +var LogsAggregateSort_1 = __nccwpck_require__(49817); +var LogsArchive_1 = __nccwpck_require__(15665); +var LogsArchiveAttributes_1 = __nccwpck_require__(14064); +var LogsArchiveCreateRequest_1 = __nccwpck_require__(20167); +var LogsArchiveCreateRequestAttributes_1 = __nccwpck_require__(44357); +var LogsArchiveCreateRequestDefinition_1 = __nccwpck_require__(41915); +var LogsArchiveDefinition_1 = __nccwpck_require__(48978); +var LogsArchiveDestinationAzure_1 = __nccwpck_require__(29038); +var LogsArchiveDestinationGCS_1 = __nccwpck_require__(71657); +var LogsArchiveDestinationS3_1 = __nccwpck_require__(87520); +var LogsArchiveIntegrationAzure_1 = __nccwpck_require__(90187); +var LogsArchiveIntegrationGCS_1 = __nccwpck_require__(83645); +var LogsArchiveIntegrationS3_1 = __nccwpck_require__(9681); +var LogsArchiveOrder_1 = __nccwpck_require__(13220); +var LogsArchiveOrderAttributes_1 = __nccwpck_require__(33277); +var LogsArchiveOrderDefinition_1 = __nccwpck_require__(74878); +var LogsArchives_1 = __nccwpck_require__(16852); +var LogsCompute_1 = __nccwpck_require__(19236); +var LogsGroupBy_1 = __nccwpck_require__(21104); +var LogsGroupByHistogram_1 = __nccwpck_require__(2133); +var LogsListRequest_1 = __nccwpck_require__(46975); +var LogsListRequestPage_1 = __nccwpck_require__(92486); +var LogsListResponse_1 = __nccwpck_require__(62282); +var LogsListResponseLinks_1 = __nccwpck_require__(79413); +var LogsMetricCompute_1 = __nccwpck_require__(74170); +var LogsMetricCreateAttributes_1 = __nccwpck_require__(27156); +var LogsMetricCreateData_1 = __nccwpck_require__(67578); +var LogsMetricCreateRequest_1 = __nccwpck_require__(64489); +var LogsMetricFilter_1 = __nccwpck_require__(95980); +var LogsMetricGroupBy_1 = __nccwpck_require__(21776); +var LogsMetricResponse_1 = __nccwpck_require__(86871); +var LogsMetricResponseAttributes_1 = __nccwpck_require__(94655); +var LogsMetricResponseCompute_1 = __nccwpck_require__(66641); +var LogsMetricResponseData_1 = __nccwpck_require__(2519); +var LogsMetricResponseFilter_1 = __nccwpck_require__(37718); +var LogsMetricResponseGroupBy_1 = __nccwpck_require__(83284); +var LogsMetricUpdateAttributes_1 = __nccwpck_require__(43114); +var LogsMetricUpdateData_1 = __nccwpck_require__(32319); +var LogsMetricUpdateRequest_1 = __nccwpck_require__(84033); +var LogsMetricsResponse_1 = __nccwpck_require__(57793); +var LogsQueryFilter_1 = __nccwpck_require__(36574); +var LogsQueryOptions_1 = __nccwpck_require__(75773); +var LogsResponseMetadata_1 = __nccwpck_require__(9675); +var LogsResponseMetadataPage_1 = __nccwpck_require__(9159); +var LogsWarning_1 = __nccwpck_require__(32347); +var Metric_1 = __nccwpck_require__(81125); +var MetricAllTags_1 = __nccwpck_require__(92059); +var MetricAllTagsAttributes_1 = __nccwpck_require__(5563); +var MetricAllTagsResponse_1 = __nccwpck_require__(72220); +var MetricBulkTagConfigCreate_1 = __nccwpck_require__(91782); +var MetricBulkTagConfigCreateAttributes_1 = __nccwpck_require__(32326); +var MetricBulkTagConfigCreateRequest_1 = __nccwpck_require__(4270); +var MetricBulkTagConfigDelete_1 = __nccwpck_require__(72280); +var MetricBulkTagConfigDeleteAttributes_1 = __nccwpck_require__(86757); +var MetricBulkTagConfigDeleteRequest_1 = __nccwpck_require__(3217); +var MetricBulkTagConfigResponse_1 = __nccwpck_require__(40953); +var MetricBulkTagConfigStatus_1 = __nccwpck_require__(57682); +var MetricBulkTagConfigStatusAttributes_1 = __nccwpck_require__(82262); +var MetricCustomAggregation_1 = __nccwpck_require__(17484); +var MetricDistinctVolume_1 = __nccwpck_require__(85654); +var MetricDistinctVolumeAttributes_1 = __nccwpck_require__(23953); +var MetricIngestedIndexedVolume_1 = __nccwpck_require__(8882); +var MetricIngestedIndexedVolumeAttributes_1 = __nccwpck_require__(65551); +var MetricTagConfiguration_1 = __nccwpck_require__(35857); +var MetricTagConfigurationAttributes_1 = __nccwpck_require__(9851); +var MetricTagConfigurationCreateAttributes_1 = __nccwpck_require__(19186); +var MetricTagConfigurationCreateData_1 = __nccwpck_require__(66135); +var MetricTagConfigurationCreateRequest_1 = __nccwpck_require__(84050); +var MetricTagConfigurationResponse_1 = __nccwpck_require__(55797); +var MetricTagConfigurationUpdateAttributes_1 = __nccwpck_require__(19503); +var MetricTagConfigurationUpdateData_1 = __nccwpck_require__(63194); +var MetricTagConfigurationUpdateRequest_1 = __nccwpck_require__(19976); +var MetricVolumesResponse_1 = __nccwpck_require__(72742); +var MetricsAndMetricTagConfigurationsResponse_1 = __nccwpck_require__(43052); +var NullableRelationshipToUser_1 = __nccwpck_require__(71426); +var NullableRelationshipToUserData_1 = __nccwpck_require__(16203); +var Organization_1 = __nccwpck_require__(6229); +var OrganizationAttributes_1 = __nccwpck_require__(77933); +var Pagination_1 = __nccwpck_require__(35680); +var PartialAPIKey_1 = __nccwpck_require__(64447); +var PartialAPIKeyAttributes_1 = __nccwpck_require__(99573); +var PartialApplicationKey_1 = __nccwpck_require__(67979); +var PartialApplicationKeyAttributes_1 = __nccwpck_require__(96197); +var PartialApplicationKeyResponse_1 = __nccwpck_require__(52459); +var Permission_1 = __nccwpck_require__(50681); +var PermissionAttributes_1 = __nccwpck_require__(84187); +var PermissionsResponse_1 = __nccwpck_require__(99426); +var ProcessSummariesMeta_1 = __nccwpck_require__(30341); +var ProcessSummariesMetaPage_1 = __nccwpck_require__(88359); +var ProcessSummariesResponse_1 = __nccwpck_require__(61750); +var ProcessSummary_1 = __nccwpck_require__(35834); +var ProcessSummaryAttributes_1 = __nccwpck_require__(81126); +var RelationshipToIncidentIntegrationMetadataData_1 = __nccwpck_require__(43443); +var RelationshipToIncidentIntegrationMetadatas_1 = __nccwpck_require__(91471); +var RelationshipToIncidentPostmortem_1 = __nccwpck_require__(91589); +var RelationshipToIncidentPostmortemData_1 = __nccwpck_require__(57515); +var RelationshipToOrganization_1 = __nccwpck_require__(1786); +var RelationshipToOrganizationData_1 = __nccwpck_require__(3098); +var RelationshipToOrganizations_1 = __nccwpck_require__(16352); +var RelationshipToPermission_1 = __nccwpck_require__(91286); +var RelationshipToPermissionData_1 = __nccwpck_require__(84713); +var RelationshipToPermissions_1 = __nccwpck_require__(50913); +var RelationshipToRole_1 = __nccwpck_require__(38615); +var RelationshipToRoleData_1 = __nccwpck_require__(30312); +var RelationshipToRoles_1 = __nccwpck_require__(62595); +var RelationshipToSAMLAssertionAttribute_1 = __nccwpck_require__(62436); +var RelationshipToSAMLAssertionAttributeData_1 = __nccwpck_require__(93258); +var RelationshipToUser_1 = __nccwpck_require__(93801); +var RelationshipToUserData_1 = __nccwpck_require__(16328); +var RelationshipToUsers_1 = __nccwpck_require__(51783); +var ResponseMetaAttributes_1 = __nccwpck_require__(14990); +var Role_1 = __nccwpck_require__(49248); +var RoleAttributes_1 = __nccwpck_require__(82581); +var RoleClone_1 = __nccwpck_require__(96579); +var RoleCloneAttributes_1 = __nccwpck_require__(34979); +var RoleCloneRequest_1 = __nccwpck_require__(33124); +var RoleCreateAttributes_1 = __nccwpck_require__(65979); +var RoleCreateData_1 = __nccwpck_require__(67319); +var RoleCreateRequest_1 = __nccwpck_require__(55005); +var RoleCreateResponse_1 = __nccwpck_require__(87293); +var RoleCreateResponseData_1 = __nccwpck_require__(72479); +var RoleRelationships_1 = __nccwpck_require__(71594); +var RoleResponse_1 = __nccwpck_require__(2524); +var RoleResponseRelationships_1 = __nccwpck_require__(66950); +var RoleUpdateAttributes_1 = __nccwpck_require__(84628); +var RoleUpdateData_1 = __nccwpck_require__(77060); +var RoleUpdateRequest_1 = __nccwpck_require__(63322); +var RoleUpdateResponse_1 = __nccwpck_require__(22307); +var RoleUpdateResponseData_1 = __nccwpck_require__(39190); +var RolesResponse_1 = __nccwpck_require__(95334); +var SAMLAssertionAttribute_1 = __nccwpck_require__(98228); +var SAMLAssertionAttributeAttributes_1 = __nccwpck_require__(73923); +var SecurityFilter_1 = __nccwpck_require__(55447); +var SecurityFilterAttributes_1 = __nccwpck_require__(98576); +var SecurityFilterCreateAttributes_1 = __nccwpck_require__(39164); +var SecurityFilterCreateData_1 = __nccwpck_require__(73922); +var SecurityFilterCreateRequest_1 = __nccwpck_require__(80376); +var SecurityFilterExclusionFilter_1 = __nccwpck_require__(70566); +var SecurityFilterExclusionFilterResponse_1 = __nccwpck_require__(33320); +var SecurityFilterMeta_1 = __nccwpck_require__(27674); +var SecurityFilterResponse_1 = __nccwpck_require__(53785); +var SecurityFilterUpdateAttributes_1 = __nccwpck_require__(70723); +var SecurityFilterUpdateData_1 = __nccwpck_require__(64889); +var SecurityFilterUpdateRequest_1 = __nccwpck_require__(67365); +var SecurityFiltersResponse_1 = __nccwpck_require__(92892); +var SecurityMonitoringFilter_1 = __nccwpck_require__(24483); +var SecurityMonitoringListRulesResponse_1 = __nccwpck_require__(83457); +var SecurityMonitoringRuleCase_1 = __nccwpck_require__(38467); +var SecurityMonitoringRuleCaseCreate_1 = __nccwpck_require__(50909); +var SecurityMonitoringRuleCreatePayload_1 = __nccwpck_require__(58135); +var SecurityMonitoringRuleNewValueOptions_1 = __nccwpck_require__(10646); +var SecurityMonitoringRuleOptions_1 = __nccwpck_require__(41277); +var SecurityMonitoringRuleQuery_1 = __nccwpck_require__(31749); +var SecurityMonitoringRuleQueryCreate_1 = __nccwpck_require__(53635); +var SecurityMonitoringRuleResponse_1 = __nccwpck_require__(44333); +var SecurityMonitoringRuleUpdatePayload_1 = __nccwpck_require__(21004); +var SecurityMonitoringSignal_1 = __nccwpck_require__(73354); +var SecurityMonitoringSignalAttributes_1 = __nccwpck_require__(81335); +var SecurityMonitoringSignalListRequest_1 = __nccwpck_require__(13723); +var SecurityMonitoringSignalListRequestFilter_1 = __nccwpck_require__(75078); +var SecurityMonitoringSignalListRequestPage_1 = __nccwpck_require__(31123); +var SecurityMonitoringSignalsListResponse_1 = __nccwpck_require__(8869); +var SecurityMonitoringSignalsListResponseLinks_1 = __nccwpck_require__(53523); +var SecurityMonitoringSignalsListResponseMeta_1 = __nccwpck_require__(39585); +var SecurityMonitoringSignalsListResponseMetaPage_1 = __nccwpck_require__(54327); +var ServiceAccountCreateAttributes_1 = __nccwpck_require__(90326); +var ServiceAccountCreateData_1 = __nccwpck_require__(62468); +var ServiceAccountCreateRequest_1 = __nccwpck_require__(5390); +var User_1 = __nccwpck_require__(47786); +var UserAttributes_1 = __nccwpck_require__(42432); +var UserCreateAttributes_1 = __nccwpck_require__(66656); +var UserCreateData_1 = __nccwpck_require__(66646); +var UserCreateRequest_1 = __nccwpck_require__(87642); +var UserInvitationData_1 = __nccwpck_require__(77954); +var UserInvitationDataAttributes_1 = __nccwpck_require__(3798); +var UserInvitationRelationships_1 = __nccwpck_require__(18252); +var UserInvitationResponse_1 = __nccwpck_require__(14586); +var UserInvitationResponseData_1 = __nccwpck_require__(35653); +var UserInvitationsRequest_1 = __nccwpck_require__(89585); +var UserInvitationsResponse_1 = __nccwpck_require__(49353); +var UserRelationships_1 = __nccwpck_require__(58125); +var UserResponse_1 = __nccwpck_require__(18779); +var UserResponseRelationships_1 = __nccwpck_require__(20157); +var UserUpdateAttributes_1 = __nccwpck_require__(68822); +var UserUpdateData_1 = __nccwpck_require__(21330); +var UserUpdateRequest_1 = __nccwpck_require__(59906); +var UsersResponse_1 = __nccwpck_require__(18577); +var index_1 = __nccwpck_require__(53128); +var primitives = [ + "string", + "boolean", + "double", + "integer", + "long", + "float", + "number", + "any", +]; +var ARRAY_PREFIX = "Array<"; +var MAP_PREFIX = "{ [key: string]: "; +var supportedMediaTypes = { + "application/json": Infinity, + "text/json": 100, + "application/octet-stream": 0, +}; +var enumsMap = { + APIKeysSort: [ + "created_at", + "-created_at", + "last4", + "-last4", + "modified_at", + "-modified_at", + "name", + "-name", + ], + APIKeysType: ["api_keys"], + ApplicationKeysSort: [ + "created_at", + "-created_at", + "last4", + "-last4", + "name", + "-name", + ], + ApplicationKeysType: ["application_keys"], + AuthNMappingsSort: [ + "created_at", + "-created_at", + "role_id", + "-role_id", + "saml_assertion_attribute_id", + "-saml_assertion_attribute_id", + "role.name", + "-role.name", + "saml_assertion_attribute.attribute_key", + "-saml_assertion_attribute.attribute_key", + "saml_assertion_attribute.attribute_value", + "-saml_assertion_attribute.attribute_value", + ], + AuthNMappingsType: ["authn_mappings"], + CloudWorkloadSecurityAgentRuleType: ["agent_rule"], + ContentEncoding: ["gzip", "deflate"], + DashboardType: [ + "custom_timeboard", + "custom_screenboard", + "integration_screenboard", + "integration_timeboard", + "host_timeboard", + ], + IncidentFieldAttributesSingleValueType: ["dropdown", "textbox"], + IncidentFieldAttributesValueType: [ + "multiselect", + "textarray", + "metrictag", + "autocomplete", + ], + IncidentIntegrationMetadataType: ["incident_integrations"], + IncidentPostmortemType: ["incident_postmortems"], + IncidentRelatedObject: ["users"], + IncidentServiceType: ["services"], + IncidentTeamType: ["teams"], + IncidentTimelineCellMarkdownContentType: ["markdown"], + IncidentType: ["incidents"], + LogType: ["log"], + LogsAggregateResponseStatus: ["done", "timeout"], + LogsAggregateSortType: ["alphabetical", "measure"], + LogsAggregationFunction: [ + "count", + "cardinality", + "pc75", + "pc90", + "pc95", + "pc98", + "pc99", + "sum", + "min", + "max", + "avg", + ], + LogsArchiveDestinationAzureType: ["azure"], + LogsArchiveDestinationGCSType: ["gcs"], + LogsArchiveDestinationS3Type: ["s3"], + LogsArchiveOrderDefinitionType: ["archive_order"], + LogsArchiveState: ["UNKNOWN", "WORKING", "FAILING", "WORKING_AUTH_LEGACY"], + LogsComputeType: ["timeseries", "total"], + LogsMetricComputeAggregationType: ["count", "distribution"], + LogsMetricResponseComputeAggregationType: ["count", "distribution"], + LogsMetricType: ["logs_metrics"], + LogsSort: ["timestamp", "-timestamp"], + LogsSortOrder: ["asc", "desc"], + MetricBulkConfigureTagsType: ["metric_bulk_configure_tags"], + MetricCustomSpaceAggregation: ["avg", "max", "min", "sum"], + MetricCustomTimeAggregation: ["avg", "count", "max", "min", "sum"], + MetricDistinctVolumeType: ["distinct_metric_volumes"], + MetricIngestedIndexedVolumeType: ["metric_volumes"], + MetricTagConfigurationMetricTypes: ["gauge", "count", "rate", "distribution"], + MetricTagConfigurationType: ["manage_tags"], + MetricType: ["metrics"], + OrganizationsType: ["orgs"], + PermissionsType: ["permissions"], + ProcessSummaryType: ["process"], + QuerySortOrder: ["asc", "desc"], + RolesSort: [ + "name", + "-name", + "modified_at", + "-modified_at", + "user_count", + "-user_count", + ], + RolesType: ["roles"], + SAMLAssertionAttributesType: ["saml_assertion_attributes"], + SecurityFilterFilteredDataType: ["logs"], + SecurityFilterType: ["security_filters"], + SecurityMonitoringFilterAction: ["require", "suppress"], + SecurityMonitoringRuleDetectionMethod: [ + "threshold", + "new_value", + "anomaly_detection", + ], + SecurityMonitoringRuleEvaluationWindow: [ + 0, 60, 300, 600, 900, 1800, 3600, 7200, + ], + SecurityMonitoringRuleKeepAlive: [ + 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, + ], + SecurityMonitoringRuleMaxSignalDuration: [ + 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400, + ], + SecurityMonitoringRuleNewValueOptionsForgetAfter: [1, 2, 7, 14, 21, 28], + SecurityMonitoringRuleNewValueOptionsLearningDuration: [0, 1, 7], + SecurityMonitoringRuleQueryAggregation: [ + "count", + "cardinality", + "sum", + "max", + "new_value", + ], + SecurityMonitoringRuleSeverity: ["info", "low", "medium", "high", "critical"], + SecurityMonitoringRuleTypeCreate: ["log_detection", "workload_security"], + SecurityMonitoringRuleTypeRead: [ + "log_detection", + "infrastructure_configuration", + "workload_security", + "cloud_configuration", + ], + SecurityMonitoringSignalType: ["signal"], + SecurityMonitoringSignalsSort: ["timestamp", "-timestamp"], + UserInvitationsType: ["user_invitations"], + UsersType: ["users"], +}; +var typeMap = { + APIErrorResponse: APIErrorResponse_1.APIErrorResponse, + APIKeyCreateAttributes: APIKeyCreateAttributes_1.APIKeyCreateAttributes, + APIKeyCreateData: APIKeyCreateData_1.APIKeyCreateData, + APIKeyCreateRequest: APIKeyCreateRequest_1.APIKeyCreateRequest, + APIKeyRelationships: APIKeyRelationships_1.APIKeyRelationships, + APIKeyResponse: APIKeyResponse_1.APIKeyResponse, + APIKeyUpdateAttributes: APIKeyUpdateAttributes_1.APIKeyUpdateAttributes, + APIKeyUpdateData: APIKeyUpdateData_1.APIKeyUpdateData, + APIKeyUpdateRequest: APIKeyUpdateRequest_1.APIKeyUpdateRequest, + APIKeysResponse: APIKeysResponse_1.APIKeysResponse, + ApplicationKeyCreateAttributes: ApplicationKeyCreateAttributes_1.ApplicationKeyCreateAttributes, + ApplicationKeyCreateData: ApplicationKeyCreateData_1.ApplicationKeyCreateData, + ApplicationKeyCreateRequest: ApplicationKeyCreateRequest_1.ApplicationKeyCreateRequest, + ApplicationKeyRelationships: ApplicationKeyRelationships_1.ApplicationKeyRelationships, + ApplicationKeyResponse: ApplicationKeyResponse_1.ApplicationKeyResponse, + ApplicationKeyUpdateAttributes: ApplicationKeyUpdateAttributes_1.ApplicationKeyUpdateAttributes, + ApplicationKeyUpdateData: ApplicationKeyUpdateData_1.ApplicationKeyUpdateData, + ApplicationKeyUpdateRequest: ApplicationKeyUpdateRequest_1.ApplicationKeyUpdateRequest, + AuthNMapping: AuthNMapping_1.AuthNMapping, + AuthNMappingAttributes: AuthNMappingAttributes_1.AuthNMappingAttributes, + AuthNMappingCreateAttributes: AuthNMappingCreateAttributes_1.AuthNMappingCreateAttributes, + AuthNMappingCreateData: AuthNMappingCreateData_1.AuthNMappingCreateData, + AuthNMappingCreateRelationships: AuthNMappingCreateRelationships_1.AuthNMappingCreateRelationships, + AuthNMappingCreateRequest: AuthNMappingCreateRequest_1.AuthNMappingCreateRequest, + AuthNMappingRelationships: AuthNMappingRelationships_1.AuthNMappingRelationships, + AuthNMappingResponse: AuthNMappingResponse_1.AuthNMappingResponse, + AuthNMappingUpdateAttributes: AuthNMappingUpdateAttributes_1.AuthNMappingUpdateAttributes, + AuthNMappingUpdateData: AuthNMappingUpdateData_1.AuthNMappingUpdateData, + AuthNMappingUpdateRelationships: AuthNMappingUpdateRelationships_1.AuthNMappingUpdateRelationships, + AuthNMappingUpdateRequest: AuthNMappingUpdateRequest_1.AuthNMappingUpdateRequest, + AuthNMappingsResponse: AuthNMappingsResponse_1.AuthNMappingsResponse, + CloudWorkloadSecurityAgentRuleAttributes: CloudWorkloadSecurityAgentRuleAttributes_1.CloudWorkloadSecurityAgentRuleAttributes, + CloudWorkloadSecurityAgentRuleCreateAttributes: CloudWorkloadSecurityAgentRuleCreateAttributes_1.CloudWorkloadSecurityAgentRuleCreateAttributes, + CloudWorkloadSecurityAgentRuleCreateData: CloudWorkloadSecurityAgentRuleCreateData_1.CloudWorkloadSecurityAgentRuleCreateData, + CloudWorkloadSecurityAgentRuleCreateRequest: CloudWorkloadSecurityAgentRuleCreateRequest_1.CloudWorkloadSecurityAgentRuleCreateRequest, + CloudWorkloadSecurityAgentRuleCreatorAttributes: CloudWorkloadSecurityAgentRuleCreatorAttributes_1.CloudWorkloadSecurityAgentRuleCreatorAttributes, + CloudWorkloadSecurityAgentRuleData: CloudWorkloadSecurityAgentRuleData_1.CloudWorkloadSecurityAgentRuleData, + CloudWorkloadSecurityAgentRuleResponse: CloudWorkloadSecurityAgentRuleResponse_1.CloudWorkloadSecurityAgentRuleResponse, + CloudWorkloadSecurityAgentRuleUpdateAttributes: CloudWorkloadSecurityAgentRuleUpdateAttributes_1.CloudWorkloadSecurityAgentRuleUpdateAttributes, + CloudWorkloadSecurityAgentRuleUpdateData: CloudWorkloadSecurityAgentRuleUpdateData_1.CloudWorkloadSecurityAgentRuleUpdateData, + CloudWorkloadSecurityAgentRuleUpdateRequest: CloudWorkloadSecurityAgentRuleUpdateRequest_1.CloudWorkloadSecurityAgentRuleUpdateRequest, + CloudWorkloadSecurityAgentRuleUpdaterAttributes: CloudWorkloadSecurityAgentRuleUpdaterAttributes_1.CloudWorkloadSecurityAgentRuleUpdaterAttributes, + CloudWorkloadSecurityAgentRulesListResponse: CloudWorkloadSecurityAgentRulesListResponse_1.CloudWorkloadSecurityAgentRulesListResponse, + Creator: Creator_1.Creator, + DashboardListAddItemsRequest: DashboardListAddItemsRequest_1.DashboardListAddItemsRequest, + DashboardListAddItemsResponse: DashboardListAddItemsResponse_1.DashboardListAddItemsResponse, + DashboardListDeleteItemsRequest: DashboardListDeleteItemsRequest_1.DashboardListDeleteItemsRequest, + DashboardListDeleteItemsResponse: DashboardListDeleteItemsResponse_1.DashboardListDeleteItemsResponse, + DashboardListItem: DashboardListItem_1.DashboardListItem, + DashboardListItemRequest: DashboardListItemRequest_1.DashboardListItemRequest, + DashboardListItemResponse: DashboardListItemResponse_1.DashboardListItemResponse, + DashboardListItems: DashboardListItems_1.DashboardListItems, + DashboardListUpdateItemsRequest: DashboardListUpdateItemsRequest_1.DashboardListUpdateItemsRequest, + DashboardListUpdateItemsResponse: DashboardListUpdateItemsResponse_1.DashboardListUpdateItemsResponse, + FullAPIKey: FullAPIKey_1.FullAPIKey, + FullAPIKeyAttributes: FullAPIKeyAttributes_1.FullAPIKeyAttributes, + FullApplicationKey: FullApplicationKey_1.FullApplicationKey, + FullApplicationKeyAttributes: FullApplicationKeyAttributes_1.FullApplicationKeyAttributes, + HTTPLogError: HTTPLogError_1.HTTPLogError, + HTTPLogErrors: HTTPLogErrors_1.HTTPLogErrors, + HTTPLogItem: HTTPLogItem_1.HTTPLogItem, + IncidentCreateAttributes: IncidentCreateAttributes_1.IncidentCreateAttributes, + IncidentCreateData: IncidentCreateData_1.IncidentCreateData, + IncidentCreateRelationships: IncidentCreateRelationships_1.IncidentCreateRelationships, + IncidentCreateRequest: IncidentCreateRequest_1.IncidentCreateRequest, + IncidentFieldAttributesMultipleValue: IncidentFieldAttributesMultipleValue_1.IncidentFieldAttributesMultipleValue, + IncidentFieldAttributesSingleValue: IncidentFieldAttributesSingleValue_1.IncidentFieldAttributesSingleValue, + IncidentNotificationHandle: IncidentNotificationHandle_1.IncidentNotificationHandle, + IncidentResponse: IncidentResponse_1.IncidentResponse, + IncidentResponseAttributes: IncidentResponseAttributes_1.IncidentResponseAttributes, + IncidentResponseData: IncidentResponseData_1.IncidentResponseData, + IncidentResponseMeta: IncidentResponseMeta_1.IncidentResponseMeta, + IncidentResponseMetaPagination: IncidentResponseMetaPagination_1.IncidentResponseMetaPagination, + IncidentResponseRelationships: IncidentResponseRelationships_1.IncidentResponseRelationships, + IncidentServiceCreateAttributes: IncidentServiceCreateAttributes_1.IncidentServiceCreateAttributes, + IncidentServiceCreateData: IncidentServiceCreateData_1.IncidentServiceCreateData, + IncidentServiceCreateRequest: IncidentServiceCreateRequest_1.IncidentServiceCreateRequest, + IncidentServiceRelationships: IncidentServiceRelationships_1.IncidentServiceRelationships, + IncidentServiceResponse: IncidentServiceResponse_1.IncidentServiceResponse, + IncidentServiceResponseAttributes: IncidentServiceResponseAttributes_1.IncidentServiceResponseAttributes, + IncidentServiceResponseData: IncidentServiceResponseData_1.IncidentServiceResponseData, + IncidentServiceUpdateAttributes: IncidentServiceUpdateAttributes_1.IncidentServiceUpdateAttributes, + IncidentServiceUpdateData: IncidentServiceUpdateData_1.IncidentServiceUpdateData, + IncidentServiceUpdateRequest: IncidentServiceUpdateRequest_1.IncidentServiceUpdateRequest, + IncidentServicesResponse: IncidentServicesResponse_1.IncidentServicesResponse, + IncidentTeamCreateAttributes: IncidentTeamCreateAttributes_1.IncidentTeamCreateAttributes, + IncidentTeamCreateData: IncidentTeamCreateData_1.IncidentTeamCreateData, + IncidentTeamCreateRequest: IncidentTeamCreateRequest_1.IncidentTeamCreateRequest, + IncidentTeamRelationships: IncidentTeamRelationships_1.IncidentTeamRelationships, + IncidentTeamResponse: IncidentTeamResponse_1.IncidentTeamResponse, + IncidentTeamResponseAttributes: IncidentTeamResponseAttributes_1.IncidentTeamResponseAttributes, + IncidentTeamResponseData: IncidentTeamResponseData_1.IncidentTeamResponseData, + IncidentTeamUpdateAttributes: IncidentTeamUpdateAttributes_1.IncidentTeamUpdateAttributes, + IncidentTeamUpdateData: IncidentTeamUpdateData_1.IncidentTeamUpdateData, + IncidentTeamUpdateRequest: IncidentTeamUpdateRequest_1.IncidentTeamUpdateRequest, + IncidentTeamsResponse: IncidentTeamsResponse_1.IncidentTeamsResponse, + IncidentTimelineCellMarkdownCreateAttributes: IncidentTimelineCellMarkdownCreateAttributes_1.IncidentTimelineCellMarkdownCreateAttributes, + IncidentTimelineCellMarkdownCreateAttributesContent: IncidentTimelineCellMarkdownCreateAttributesContent_1.IncidentTimelineCellMarkdownCreateAttributesContent, + IncidentUpdateAttributes: IncidentUpdateAttributes_1.IncidentUpdateAttributes, + IncidentUpdateData: IncidentUpdateData_1.IncidentUpdateData, + IncidentUpdateRelationships: IncidentUpdateRelationships_1.IncidentUpdateRelationships, + IncidentUpdateRequest: IncidentUpdateRequest_1.IncidentUpdateRequest, + IncidentsResponse: IncidentsResponse_1.IncidentsResponse, + ListApplicationKeysResponse: ListApplicationKeysResponse_1.ListApplicationKeysResponse, + Log: Log_1.Log, + LogAttributes: LogAttributes_1.LogAttributes, + LogsAggregateBucket: LogsAggregateBucket_1.LogsAggregateBucket, + LogsAggregateBucketValueTimeseriesPoint: LogsAggregateBucketValueTimeseriesPoint_1.LogsAggregateBucketValueTimeseriesPoint, + LogsAggregateRequest: LogsAggregateRequest_1.LogsAggregateRequest, + LogsAggregateRequestPage: LogsAggregateRequestPage_1.LogsAggregateRequestPage, + LogsAggregateResponse: LogsAggregateResponse_1.LogsAggregateResponse, + LogsAggregateResponseData: LogsAggregateResponseData_1.LogsAggregateResponseData, + LogsAggregateSort: LogsAggregateSort_1.LogsAggregateSort, + LogsArchive: LogsArchive_1.LogsArchive, + LogsArchiveAttributes: LogsArchiveAttributes_1.LogsArchiveAttributes, + LogsArchiveCreateRequest: LogsArchiveCreateRequest_1.LogsArchiveCreateRequest, + LogsArchiveCreateRequestAttributes: LogsArchiveCreateRequestAttributes_1.LogsArchiveCreateRequestAttributes, + LogsArchiveCreateRequestDefinition: LogsArchiveCreateRequestDefinition_1.LogsArchiveCreateRequestDefinition, + LogsArchiveDefinition: LogsArchiveDefinition_1.LogsArchiveDefinition, + LogsArchiveDestinationAzure: LogsArchiveDestinationAzure_1.LogsArchiveDestinationAzure, + LogsArchiveDestinationGCS: LogsArchiveDestinationGCS_1.LogsArchiveDestinationGCS, + LogsArchiveDestinationS3: LogsArchiveDestinationS3_1.LogsArchiveDestinationS3, + LogsArchiveIntegrationAzure: LogsArchiveIntegrationAzure_1.LogsArchiveIntegrationAzure, + LogsArchiveIntegrationGCS: LogsArchiveIntegrationGCS_1.LogsArchiveIntegrationGCS, + LogsArchiveIntegrationS3: LogsArchiveIntegrationS3_1.LogsArchiveIntegrationS3, + LogsArchiveOrder: LogsArchiveOrder_1.LogsArchiveOrder, + LogsArchiveOrderAttributes: LogsArchiveOrderAttributes_1.LogsArchiveOrderAttributes, + LogsArchiveOrderDefinition: LogsArchiveOrderDefinition_1.LogsArchiveOrderDefinition, + LogsArchives: LogsArchives_1.LogsArchives, + LogsCompute: LogsCompute_1.LogsCompute, + LogsGroupBy: LogsGroupBy_1.LogsGroupBy, + LogsGroupByHistogram: LogsGroupByHistogram_1.LogsGroupByHistogram, + LogsListRequest: LogsListRequest_1.LogsListRequest, + LogsListRequestPage: LogsListRequestPage_1.LogsListRequestPage, + LogsListResponse: LogsListResponse_1.LogsListResponse, + LogsListResponseLinks: LogsListResponseLinks_1.LogsListResponseLinks, + LogsMetricCompute: LogsMetricCompute_1.LogsMetricCompute, + LogsMetricCreateAttributes: LogsMetricCreateAttributes_1.LogsMetricCreateAttributes, + LogsMetricCreateData: LogsMetricCreateData_1.LogsMetricCreateData, + LogsMetricCreateRequest: LogsMetricCreateRequest_1.LogsMetricCreateRequest, + LogsMetricFilter: LogsMetricFilter_1.LogsMetricFilter, + LogsMetricGroupBy: LogsMetricGroupBy_1.LogsMetricGroupBy, + LogsMetricResponse: LogsMetricResponse_1.LogsMetricResponse, + LogsMetricResponseAttributes: LogsMetricResponseAttributes_1.LogsMetricResponseAttributes, + LogsMetricResponseCompute: LogsMetricResponseCompute_1.LogsMetricResponseCompute, + LogsMetricResponseData: LogsMetricResponseData_1.LogsMetricResponseData, + LogsMetricResponseFilter: LogsMetricResponseFilter_1.LogsMetricResponseFilter, + LogsMetricResponseGroupBy: LogsMetricResponseGroupBy_1.LogsMetricResponseGroupBy, + LogsMetricUpdateAttributes: LogsMetricUpdateAttributes_1.LogsMetricUpdateAttributes, + LogsMetricUpdateData: LogsMetricUpdateData_1.LogsMetricUpdateData, + LogsMetricUpdateRequest: LogsMetricUpdateRequest_1.LogsMetricUpdateRequest, + LogsMetricsResponse: LogsMetricsResponse_1.LogsMetricsResponse, + LogsQueryFilter: LogsQueryFilter_1.LogsQueryFilter, + LogsQueryOptions: LogsQueryOptions_1.LogsQueryOptions, + LogsResponseMetadata: LogsResponseMetadata_1.LogsResponseMetadata, + LogsResponseMetadataPage: LogsResponseMetadataPage_1.LogsResponseMetadataPage, + LogsWarning: LogsWarning_1.LogsWarning, + Metric: Metric_1.Metric, + MetricAllTags: MetricAllTags_1.MetricAllTags, + MetricAllTagsAttributes: MetricAllTagsAttributes_1.MetricAllTagsAttributes, + MetricAllTagsResponse: MetricAllTagsResponse_1.MetricAllTagsResponse, + MetricBulkTagConfigCreate: MetricBulkTagConfigCreate_1.MetricBulkTagConfigCreate, + MetricBulkTagConfigCreateAttributes: MetricBulkTagConfigCreateAttributes_1.MetricBulkTagConfigCreateAttributes, + MetricBulkTagConfigCreateRequest: MetricBulkTagConfigCreateRequest_1.MetricBulkTagConfigCreateRequest, + MetricBulkTagConfigDelete: MetricBulkTagConfigDelete_1.MetricBulkTagConfigDelete, + MetricBulkTagConfigDeleteAttributes: MetricBulkTagConfigDeleteAttributes_1.MetricBulkTagConfigDeleteAttributes, + MetricBulkTagConfigDeleteRequest: MetricBulkTagConfigDeleteRequest_1.MetricBulkTagConfigDeleteRequest, + MetricBulkTagConfigResponse: MetricBulkTagConfigResponse_1.MetricBulkTagConfigResponse, + MetricBulkTagConfigStatus: MetricBulkTagConfigStatus_1.MetricBulkTagConfigStatus, + MetricBulkTagConfigStatusAttributes: MetricBulkTagConfigStatusAttributes_1.MetricBulkTagConfigStatusAttributes, + MetricCustomAggregation: MetricCustomAggregation_1.MetricCustomAggregation, + MetricDistinctVolume: MetricDistinctVolume_1.MetricDistinctVolume, + MetricDistinctVolumeAttributes: MetricDistinctVolumeAttributes_1.MetricDistinctVolumeAttributes, + MetricIngestedIndexedVolume: MetricIngestedIndexedVolume_1.MetricIngestedIndexedVolume, + MetricIngestedIndexedVolumeAttributes: MetricIngestedIndexedVolumeAttributes_1.MetricIngestedIndexedVolumeAttributes, + MetricTagConfiguration: MetricTagConfiguration_1.MetricTagConfiguration, + MetricTagConfigurationAttributes: MetricTagConfigurationAttributes_1.MetricTagConfigurationAttributes, + MetricTagConfigurationCreateAttributes: MetricTagConfigurationCreateAttributes_1.MetricTagConfigurationCreateAttributes, + MetricTagConfigurationCreateData: MetricTagConfigurationCreateData_1.MetricTagConfigurationCreateData, + MetricTagConfigurationCreateRequest: MetricTagConfigurationCreateRequest_1.MetricTagConfigurationCreateRequest, + MetricTagConfigurationResponse: MetricTagConfigurationResponse_1.MetricTagConfigurationResponse, + MetricTagConfigurationUpdateAttributes: MetricTagConfigurationUpdateAttributes_1.MetricTagConfigurationUpdateAttributes, + MetricTagConfigurationUpdateData: MetricTagConfigurationUpdateData_1.MetricTagConfigurationUpdateData, + MetricTagConfigurationUpdateRequest: MetricTagConfigurationUpdateRequest_1.MetricTagConfigurationUpdateRequest, + MetricVolumesResponse: MetricVolumesResponse_1.MetricVolumesResponse, + MetricsAndMetricTagConfigurationsResponse: MetricsAndMetricTagConfigurationsResponse_1.MetricsAndMetricTagConfigurationsResponse, + NullableRelationshipToUser: NullableRelationshipToUser_1.NullableRelationshipToUser, + NullableRelationshipToUserData: NullableRelationshipToUserData_1.NullableRelationshipToUserData, + Organization: Organization_1.Organization, + OrganizationAttributes: OrganizationAttributes_1.OrganizationAttributes, + Pagination: Pagination_1.Pagination, + PartialAPIKey: PartialAPIKey_1.PartialAPIKey, + PartialAPIKeyAttributes: PartialAPIKeyAttributes_1.PartialAPIKeyAttributes, + PartialApplicationKey: PartialApplicationKey_1.PartialApplicationKey, + PartialApplicationKeyAttributes: PartialApplicationKeyAttributes_1.PartialApplicationKeyAttributes, + PartialApplicationKeyResponse: PartialApplicationKeyResponse_1.PartialApplicationKeyResponse, + Permission: Permission_1.Permission, + PermissionAttributes: PermissionAttributes_1.PermissionAttributes, + PermissionsResponse: PermissionsResponse_1.PermissionsResponse, + ProcessSummariesMeta: ProcessSummariesMeta_1.ProcessSummariesMeta, + ProcessSummariesMetaPage: ProcessSummariesMetaPage_1.ProcessSummariesMetaPage, + ProcessSummariesResponse: ProcessSummariesResponse_1.ProcessSummariesResponse, + ProcessSummary: ProcessSummary_1.ProcessSummary, + ProcessSummaryAttributes: ProcessSummaryAttributes_1.ProcessSummaryAttributes, + RelationshipToIncidentIntegrationMetadataData: RelationshipToIncidentIntegrationMetadataData_1.RelationshipToIncidentIntegrationMetadataData, + RelationshipToIncidentIntegrationMetadatas: RelationshipToIncidentIntegrationMetadatas_1.RelationshipToIncidentIntegrationMetadatas, + RelationshipToIncidentPostmortem: RelationshipToIncidentPostmortem_1.RelationshipToIncidentPostmortem, + RelationshipToIncidentPostmortemData: RelationshipToIncidentPostmortemData_1.RelationshipToIncidentPostmortemData, + RelationshipToOrganization: RelationshipToOrganization_1.RelationshipToOrganization, + RelationshipToOrganizationData: RelationshipToOrganizationData_1.RelationshipToOrganizationData, + RelationshipToOrganizations: RelationshipToOrganizations_1.RelationshipToOrganizations, + RelationshipToPermission: RelationshipToPermission_1.RelationshipToPermission, + RelationshipToPermissionData: RelationshipToPermissionData_1.RelationshipToPermissionData, + RelationshipToPermissions: RelationshipToPermissions_1.RelationshipToPermissions, + RelationshipToRole: RelationshipToRole_1.RelationshipToRole, + RelationshipToRoleData: RelationshipToRoleData_1.RelationshipToRoleData, + RelationshipToRoles: RelationshipToRoles_1.RelationshipToRoles, + RelationshipToSAMLAssertionAttribute: RelationshipToSAMLAssertionAttribute_1.RelationshipToSAMLAssertionAttribute, + RelationshipToSAMLAssertionAttributeData: RelationshipToSAMLAssertionAttributeData_1.RelationshipToSAMLAssertionAttributeData, + RelationshipToUser: RelationshipToUser_1.RelationshipToUser, + RelationshipToUserData: RelationshipToUserData_1.RelationshipToUserData, + RelationshipToUsers: RelationshipToUsers_1.RelationshipToUsers, + ResponseMetaAttributes: ResponseMetaAttributes_1.ResponseMetaAttributes, + Role: Role_1.Role, + RoleAttributes: RoleAttributes_1.RoleAttributes, + RoleClone: RoleClone_1.RoleClone, + RoleCloneAttributes: RoleCloneAttributes_1.RoleCloneAttributes, + RoleCloneRequest: RoleCloneRequest_1.RoleCloneRequest, + RoleCreateAttributes: RoleCreateAttributes_1.RoleCreateAttributes, + RoleCreateData: RoleCreateData_1.RoleCreateData, + RoleCreateRequest: RoleCreateRequest_1.RoleCreateRequest, + RoleCreateResponse: RoleCreateResponse_1.RoleCreateResponse, + RoleCreateResponseData: RoleCreateResponseData_1.RoleCreateResponseData, + RoleRelationships: RoleRelationships_1.RoleRelationships, + RoleResponse: RoleResponse_1.RoleResponse, + RoleResponseRelationships: RoleResponseRelationships_1.RoleResponseRelationships, + RoleUpdateAttributes: RoleUpdateAttributes_1.RoleUpdateAttributes, + RoleUpdateData: RoleUpdateData_1.RoleUpdateData, + RoleUpdateRequest: RoleUpdateRequest_1.RoleUpdateRequest, + RoleUpdateResponse: RoleUpdateResponse_1.RoleUpdateResponse, + RoleUpdateResponseData: RoleUpdateResponseData_1.RoleUpdateResponseData, + RolesResponse: RolesResponse_1.RolesResponse, + SAMLAssertionAttribute: SAMLAssertionAttribute_1.SAMLAssertionAttribute, + SAMLAssertionAttributeAttributes: SAMLAssertionAttributeAttributes_1.SAMLAssertionAttributeAttributes, + SecurityFilter: SecurityFilter_1.SecurityFilter, + SecurityFilterAttributes: SecurityFilterAttributes_1.SecurityFilterAttributes, + SecurityFilterCreateAttributes: SecurityFilterCreateAttributes_1.SecurityFilterCreateAttributes, + SecurityFilterCreateData: SecurityFilterCreateData_1.SecurityFilterCreateData, + SecurityFilterCreateRequest: SecurityFilterCreateRequest_1.SecurityFilterCreateRequest, + SecurityFilterExclusionFilter: SecurityFilterExclusionFilter_1.SecurityFilterExclusionFilter, + SecurityFilterExclusionFilterResponse: SecurityFilterExclusionFilterResponse_1.SecurityFilterExclusionFilterResponse, + SecurityFilterMeta: SecurityFilterMeta_1.SecurityFilterMeta, + SecurityFilterResponse: SecurityFilterResponse_1.SecurityFilterResponse, + SecurityFilterUpdateAttributes: SecurityFilterUpdateAttributes_1.SecurityFilterUpdateAttributes, + SecurityFilterUpdateData: SecurityFilterUpdateData_1.SecurityFilterUpdateData, + SecurityFilterUpdateRequest: SecurityFilterUpdateRequest_1.SecurityFilterUpdateRequest, + SecurityFiltersResponse: SecurityFiltersResponse_1.SecurityFiltersResponse, + SecurityMonitoringFilter: SecurityMonitoringFilter_1.SecurityMonitoringFilter, + SecurityMonitoringListRulesResponse: SecurityMonitoringListRulesResponse_1.SecurityMonitoringListRulesResponse, + SecurityMonitoringRuleCase: SecurityMonitoringRuleCase_1.SecurityMonitoringRuleCase, + SecurityMonitoringRuleCaseCreate: SecurityMonitoringRuleCaseCreate_1.SecurityMonitoringRuleCaseCreate, + SecurityMonitoringRuleCreatePayload: SecurityMonitoringRuleCreatePayload_1.SecurityMonitoringRuleCreatePayload, + SecurityMonitoringRuleNewValueOptions: SecurityMonitoringRuleNewValueOptions_1.SecurityMonitoringRuleNewValueOptions, + SecurityMonitoringRuleOptions: SecurityMonitoringRuleOptions_1.SecurityMonitoringRuleOptions, + SecurityMonitoringRuleQuery: SecurityMonitoringRuleQuery_1.SecurityMonitoringRuleQuery, + SecurityMonitoringRuleQueryCreate: SecurityMonitoringRuleQueryCreate_1.SecurityMonitoringRuleQueryCreate, + SecurityMonitoringRuleResponse: SecurityMonitoringRuleResponse_1.SecurityMonitoringRuleResponse, + SecurityMonitoringRuleUpdatePayload: SecurityMonitoringRuleUpdatePayload_1.SecurityMonitoringRuleUpdatePayload, + SecurityMonitoringSignal: SecurityMonitoringSignal_1.SecurityMonitoringSignal, + SecurityMonitoringSignalAttributes: SecurityMonitoringSignalAttributes_1.SecurityMonitoringSignalAttributes, + SecurityMonitoringSignalListRequest: SecurityMonitoringSignalListRequest_1.SecurityMonitoringSignalListRequest, + SecurityMonitoringSignalListRequestFilter: SecurityMonitoringSignalListRequestFilter_1.SecurityMonitoringSignalListRequestFilter, + SecurityMonitoringSignalListRequestPage: SecurityMonitoringSignalListRequestPage_1.SecurityMonitoringSignalListRequestPage, + SecurityMonitoringSignalsListResponse: SecurityMonitoringSignalsListResponse_1.SecurityMonitoringSignalsListResponse, + SecurityMonitoringSignalsListResponseLinks: SecurityMonitoringSignalsListResponseLinks_1.SecurityMonitoringSignalsListResponseLinks, + SecurityMonitoringSignalsListResponseMeta: SecurityMonitoringSignalsListResponseMeta_1.SecurityMonitoringSignalsListResponseMeta, + SecurityMonitoringSignalsListResponseMetaPage: SecurityMonitoringSignalsListResponseMetaPage_1.SecurityMonitoringSignalsListResponseMetaPage, + ServiceAccountCreateAttributes: ServiceAccountCreateAttributes_1.ServiceAccountCreateAttributes, + ServiceAccountCreateData: ServiceAccountCreateData_1.ServiceAccountCreateData, + ServiceAccountCreateRequest: ServiceAccountCreateRequest_1.ServiceAccountCreateRequest, + User: User_1.User, + UserAttributes: UserAttributes_1.UserAttributes, + UserCreateAttributes: UserCreateAttributes_1.UserCreateAttributes, + UserCreateData: UserCreateData_1.UserCreateData, + UserCreateRequest: UserCreateRequest_1.UserCreateRequest, + UserInvitationData: UserInvitationData_1.UserInvitationData, + UserInvitationDataAttributes: UserInvitationDataAttributes_1.UserInvitationDataAttributes, + UserInvitationRelationships: UserInvitationRelationships_1.UserInvitationRelationships, + UserInvitationResponse: UserInvitationResponse_1.UserInvitationResponse, + UserInvitationResponseData: UserInvitationResponseData_1.UserInvitationResponseData, + UserInvitationsRequest: UserInvitationsRequest_1.UserInvitationsRequest, + UserInvitationsResponse: UserInvitationsResponse_1.UserInvitationsResponse, + UserRelationships: UserRelationships_1.UserRelationships, + UserResponse: UserResponse_1.UserResponse, + UserResponseRelationships: UserResponseRelationships_1.UserResponseRelationships, + UserUpdateAttributes: UserUpdateAttributes_1.UserUpdateAttributes, + UserUpdateData: UserUpdateData_1.UserUpdateData, + UserUpdateRequest: UserUpdateRequest_1.UserUpdateRequest, + UsersResponse: UsersResponse_1.UsersResponse, +}; +var oneOfMap = { + APIKeyResponseIncludedItem: ["User"], + ApplicationKeyResponseIncludedItem: ["Role", "User"], + AuthNMappingIncluded: ["Role", "SAMLAssertionAttribute"], + IncidentFieldAttributes: [ + "IncidentFieldAttributesMultipleValue", + "IncidentFieldAttributesSingleValue", + ], + IncidentResponseIncludedItem: ["User"], + IncidentServiceIncludedItems: ["User"], + IncidentTeamIncludedItems: ["User"], + IncidentTimelineCellCreateAttributes: [ + "IncidentTimelineCellMarkdownCreateAttributes", + ], + LogsAggregateBucketValue: [ + "Array", + "number", + "string", + ], + LogsArchiveCreateRequestDestination: [ + "LogsArchiveDestinationAzure", + "LogsArchiveDestinationGCS", + "LogsArchiveDestinationS3", + ], + LogsArchiveDestination: [ + "LogsArchiveDestinationAzure", + "LogsArchiveDestinationGCS", + "LogsArchiveDestinationS3", + ], + LogsGroupByMissing: ["number", "string"], + LogsGroupByTotal: ["boolean", "number", "string"], + MetricVolumes: ["MetricDistinctVolume", "MetricIngestedIndexedVolume"], + MetricsAndMetricTagConfigurations: ["Metric", "MetricTagConfiguration"], + UserResponseIncludedItem: ["Organization", "Permission", "Role"], +}; +var ObjectSerializer = /** @class */ (function () { + function ObjectSerializer() { + } + ObjectSerializer.serialize = function (data, type, format) { + if (data == undefined) { + return data; + } + else if (primitives.includes(type.toLowerCase())) { + return data; + } + else if (type.startsWith(ARRAY_PREFIX)) { + // Array => Type + var subType = type.substring(ARRAY_PREFIX.length, type.length - 1); + var transformedData = []; + for (var _i = 0, data_1 = data; _i < data_1.length; _i++) { + var element = data_1[_i]; + transformedData.push(ObjectSerializer.serialize(element, subType, format)); + } + return transformedData; + } + else if (type.startsWith(MAP_PREFIX)) { + // { [key: string]: Type; } => Type + var subType = type.substring(MAP_PREFIX.length, type.length - 3); + var transformedData = {}; + for (var key in data) { + transformedData[key] = ObjectSerializer.serialize(data[key], subType, format); + } + return transformedData; + } + else if (type === "Date") { + if ("string" == typeof data) { + return data; + } + if (format == "date") { + var month = data.getMonth() + 1; + month = month < 10 ? "0" + month.toString() : month.toString(); + var day = data.getDate(); + day = day < 10 ? "0" + day.toString() : day.toString(); + return data.getFullYear() + "-" + month + "-" + day; + } + else { + return data.toISOString(); + } + } + else { + if (enumsMap[type]) { + if (enumsMap[type].includes(data)) { + return data; + } + throw new TypeError("unknown enum value '".concat(data, "'")); + } + if (oneOfMap[type]) { + var oneOfs = []; + for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) { + var oneOf = _b[_a]; + try { + oneOfs.push(ObjectSerializer.serialize(data, oneOf, format)); + } + catch (e) { + index_1.logger.debug("could not serialize ".concat(oneOf, " (").concat(e, ")")); + } + } + if (oneOfs.length > 1) { + throw new TypeError("".concat(data, " matches multiple types from ").concat(oneOfMap[type], " ").concat(oneOfs)); + } + if (oneOfs.length == 0) { + throw new TypeError("".concat(data, " doesn't match any type from ").concat(oneOfMap[type], " ").concat(oneOfs)); + } + return oneOfs[0]; + } + if (!typeMap[type]) { + // dont know the type + throw new TypeError("unknown type '".concat(type, "'")); + } + // get the map for the correct type. + var attributesMap = typeMap[type].getAttributeTypeMap(); + var instance = {}; + for (var attributeName in attributesMap) { + var attributeObj = attributesMap[attributeName]; + instance[attributeObj.baseName] = ObjectSerializer.serialize(data[attributeName], attributeObj.type, attributeObj.format); + // check for required properties + if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && + instance[attributeObj.baseName] === undefined) { + throw new Error("missing required property '".concat(attributeObj.baseName, "'")); + } + if (enumsMap[attributeObj.type] && + !enumsMap[attributeObj.type].includes(instance[attributeObj.baseName])) { + instance.unparsedObject = instance[attributeObj.baseName]; + } + } + return instance; + } + }; + ObjectSerializer.deserialize = function (data, type, format) { + if (format === void 0) { format = ""; } + if (data == undefined) { + return data; + } + else if (primitives.includes(type.toLowerCase())) { + return data; + } + else if (type.startsWith(ARRAY_PREFIX)) { + // Array => Type + var subType = type.substring(ARRAY_PREFIX.length, type.length - 1); + var transformedData = []; + for (var _i = 0, data_2 = data; _i < data_2.length; _i++) { + var element = data_2[_i]; + transformedData.push(ObjectSerializer.deserialize(element, subType, format)); + } + return transformedData; + } + else if (type.startsWith(MAP_PREFIX)) { + // { [key: string]: Type; } => Type + var subType = type.substring(MAP_PREFIX.length, type.length - 3); + var transformedData = {}; + for (var key in data) { + transformedData[key] = ObjectSerializer.deserialize(data[key], subType, format); + } + return transformedData; + } + else if (type === "Date") { + return new Date(data); + } + else { + if (enumsMap[type]) { + return data; + } + if (oneOfMap[type]) { + var oneOfs = []; + for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) { + var oneOf = _b[_a]; + try { + var d = ObjectSerializer.deserialize(data, oneOf, format); + if ((d === null || d === void 0 ? void 0 : d.unparsedObject) === undefined) { + oneOfs.push(d); + } + } + catch (e) { + index_1.logger.debug("could not deserialize ".concat(oneOf, " (").concat(e, ")")); + } + } + if (oneOfs.length != 1) { + return new UnparsedObject(data); + } + return oneOfs[0]; + } + if (!typeMap[type]) { + // dont know the type + throw new TypeError("unknown type '".concat(type, "'")); + } + var instance = new typeMap[type](); + var attributesMap = typeMap[type].getAttributeTypeMap(); + for (var attributeName in attributesMap) { + var attributeObj = attributesMap[attributeName]; + instance[attributeName] = ObjectSerializer.deserialize(data[attributeObj.baseName], attributeObj.type, attributeObj.format); + // check for required properties + if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && instance[attributeName] === undefined) { + throw new Error("missing required property '".concat(attributeName, "'")); + } + // check for enum values + if (enumsMap[attributeObj.type] && + !enumsMap[attributeObj.type].includes(instance[attributeName])) { + instance.unparsedObject = instance[attributeName]; + } + } + return instance; + } + }; + /** + * Normalize media type + * + * We currently do not handle any media types attributes, i.e. anything + * after a semicolon. All content is assumed to be UTF-8 compatible. + */ + ObjectSerializer.normalizeMediaType = function (mediaType) { + if (mediaType === undefined) { + return undefined; + } + return mediaType.split(";")[0].trim().toLowerCase(); + }; + /** + * From a list of possible media types, choose the one we can handle best. + * + * The order of the given media types does not have any impact on the choice + * made. + */ + ObjectSerializer.getPreferredMediaType = function (mediaTypes) { + /** According to OAS 3 we should default to json */ + if (!mediaTypes) { + return "application/json"; + } + var normalMediaTypes = mediaTypes.map(this.normalizeMediaType); + var selectedMediaType = undefined; + var selectedRank = -Infinity; + for (var _i = 0, normalMediaTypes_1 = normalMediaTypes; _i < normalMediaTypes_1.length; _i++) { + var mediaType = normalMediaTypes_1[_i]; + if (mediaType === undefined) { + continue; + } + var supported = supportedMediaTypes[mediaType]; + if (supported !== undefined && supported > selectedRank) { + selectedMediaType = mediaType; + selectedRank = supported; + } + } + if (selectedMediaType === undefined) { + throw new Error("None of the given media types are supported: " + mediaTypes.join(", ")); + } + return selectedMediaType; + }; + /** + * Convert data to a string according the given media type + */ + ObjectSerializer.stringify = function (data, mediaType) { + if (mediaType === "application/json" || mediaType === "text/json") { + return JSON.stringify(data); + } + throw new Error("The mediaType " + + mediaType + + " is not supported by ObjectSerializer.stringify."); + }; + /** + * Parse data from a string according to the given media type + */ + ObjectSerializer.parse = function (rawData, mediaType) { + try { + return JSON.parse(rawData); + } + catch (error) { + index_1.logger.debug("could not parse ".concat(mediaType, ": ").concat(error)); + return rawData; + } + }; + return ObjectSerializer; +}()); +exports.ObjectSerializer = ObjectSerializer; +var UnparsedObject = /** @class */ (function () { + function UnparsedObject(data) { + this.unparsedObject = data; + } + return UnparsedObject; +}()); +exports.UnparsedObject = UnparsedObject; +//# sourceMappingURL=ObjectSerializer.js.map + +/***/ }), + +/***/ 6229: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Organization = void 0; +/** + * Organization object. + */ +var Organization = /** @class */ (function () { + function Organization() { + } + /** + * @ignore + */ + Organization.getAttributeTypeMap = function () { + return Organization.attributeTypeMap; + }; + /** + * @ignore + */ + Organization.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "OrganizationAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "OrganizationsType", + required: true, + }, + }; + return Organization; +}()); +exports.Organization = Organization; +//# sourceMappingURL=Organization.js.map + +/***/ }), + +/***/ 77933: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OrganizationAttributes = void 0; +/** + * Attributes of the organization. + */ +var OrganizationAttributes = /** @class */ (function () { + function OrganizationAttributes() { + } + /** + * @ignore + */ + OrganizationAttributes.getAttributeTypeMap = function () { + return OrganizationAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + OrganizationAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + publicId: { + baseName: "public_id", + type: "string", + }, + sharing: { + baseName: "sharing", + type: "string", + }, + url: { + baseName: "url", + type: "string", + }, + }; + return OrganizationAttributes; +}()); +exports.OrganizationAttributes = OrganizationAttributes; +//# sourceMappingURL=OrganizationAttributes.js.map + +/***/ }), + +/***/ 35680: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Pagination = void 0; +/** + * Pagination object. + */ +var Pagination = /** @class */ (function () { + function Pagination() { + } + /** + * @ignore + */ + Pagination.getAttributeTypeMap = function () { + return Pagination.attributeTypeMap; + }; + /** + * @ignore + */ + Pagination.attributeTypeMap = { + totalCount: { + baseName: "total_count", + type: "number", + format: "int64", + }, + totalFilteredCount: { + baseName: "total_filtered_count", + type: "number", + format: "int64", + }, + }; + return Pagination; +}()); +exports.Pagination = Pagination; +//# sourceMappingURL=Pagination.js.map + +/***/ }), + +/***/ 64447: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PartialAPIKey = void 0; +/** + * Partial Datadog API key. + */ +var PartialAPIKey = /** @class */ (function () { + function PartialAPIKey() { + } + /** + * @ignore + */ + PartialAPIKey.getAttributeTypeMap = function () { + return PartialAPIKey.attributeTypeMap; + }; + /** + * @ignore + */ + PartialAPIKey.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "PartialAPIKeyAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "APIKeyRelationships", + }, + type: { + baseName: "type", + type: "APIKeysType", + }, + }; + return PartialAPIKey; +}()); +exports.PartialAPIKey = PartialAPIKey; +//# sourceMappingURL=PartialAPIKey.js.map + +/***/ }), + +/***/ 99573: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PartialAPIKeyAttributes = void 0; +/** + * Attributes of a partial API key. + */ +var PartialAPIKeyAttributes = /** @class */ (function () { + function PartialAPIKeyAttributes() { + } + /** + * @ignore + */ + PartialAPIKeyAttributes.getAttributeTypeMap = function () { + return PartialAPIKeyAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + PartialAPIKeyAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "string", + }, + last4: { + baseName: "last4", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return PartialAPIKeyAttributes; +}()); +exports.PartialAPIKeyAttributes = PartialAPIKeyAttributes; +//# sourceMappingURL=PartialAPIKeyAttributes.js.map + +/***/ }), + +/***/ 67979: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PartialApplicationKey = void 0; +/** + * Partial Datadog application key. + */ +var PartialApplicationKey = /** @class */ (function () { + function PartialApplicationKey() { + } + /** + * @ignore + */ + PartialApplicationKey.getAttributeTypeMap = function () { + return PartialApplicationKey.attributeTypeMap; + }; + /** + * @ignore + */ + PartialApplicationKey.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "PartialApplicationKeyAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "ApplicationKeyRelationships", + }, + type: { + baseName: "type", + type: "ApplicationKeysType", + }, + }; + return PartialApplicationKey; +}()); +exports.PartialApplicationKey = PartialApplicationKey; +//# sourceMappingURL=PartialApplicationKey.js.map + +/***/ }), + +/***/ 96197: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PartialApplicationKeyAttributes = void 0; +/** + * Attributes of a partial application key. + */ +var PartialApplicationKeyAttributes = /** @class */ (function () { + function PartialApplicationKeyAttributes() { + } + /** + * @ignore + */ + PartialApplicationKeyAttributes.getAttributeTypeMap = function () { + return PartialApplicationKeyAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + PartialApplicationKeyAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "string", + }, + last4: { + baseName: "last4", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + scopes: { + baseName: "scopes", + type: "Array", + }, + }; + return PartialApplicationKeyAttributes; +}()); +exports.PartialApplicationKeyAttributes = PartialApplicationKeyAttributes; +//# sourceMappingURL=PartialApplicationKeyAttributes.js.map + +/***/ }), + +/***/ 52459: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PartialApplicationKeyResponse = void 0; +/** + * Response for retrieving a partial application key. + */ +var PartialApplicationKeyResponse = /** @class */ (function () { + function PartialApplicationKeyResponse() { + } + /** + * @ignore + */ + PartialApplicationKeyResponse.getAttributeTypeMap = function () { + return PartialApplicationKeyResponse.attributeTypeMap; + }; + /** + * @ignore + */ + PartialApplicationKeyResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "PartialApplicationKey", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return PartialApplicationKeyResponse; +}()); +exports.PartialApplicationKeyResponse = PartialApplicationKeyResponse; +//# sourceMappingURL=PartialApplicationKeyResponse.js.map + +/***/ }), + +/***/ 50681: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Permission = void 0; +/** + * Permission object. + */ +var Permission = /** @class */ (function () { + function Permission() { + } + /** + * @ignore + */ + Permission.getAttributeTypeMap = function () { + return Permission.attributeTypeMap; + }; + /** + * @ignore + */ + Permission.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "PermissionAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "PermissionsType", + required: true, + }, + }; + return Permission; +}()); +exports.Permission = Permission; +//# sourceMappingURL=Permission.js.map + +/***/ }), + +/***/ 84187: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PermissionAttributes = void 0; +/** + * Attributes of a permission. + */ +var PermissionAttributes = /** @class */ (function () { + function PermissionAttributes() { + } + /** + * @ignore + */ + PermissionAttributes.getAttributeTypeMap = function () { + return PermissionAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + PermissionAttributes.attributeTypeMap = { + created: { + baseName: "created", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + displayName: { + baseName: "display_name", + type: "string", + }, + displayType: { + baseName: "display_type", + type: "string", + }, + groupName: { + baseName: "group_name", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + restricted: { + baseName: "restricted", + type: "boolean", + }, + }; + return PermissionAttributes; +}()); +exports.PermissionAttributes = PermissionAttributes; +//# sourceMappingURL=PermissionAttributes.js.map + +/***/ }), + +/***/ 99426: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PermissionsResponse = void 0; +/** + * Payload with API-returned permissions. + */ +var PermissionsResponse = /** @class */ (function () { + function PermissionsResponse() { + } + /** + * @ignore + */ + PermissionsResponse.getAttributeTypeMap = function () { + return PermissionsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + PermissionsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return PermissionsResponse; +}()); +exports.PermissionsResponse = PermissionsResponse; +//# sourceMappingURL=PermissionsResponse.js.map + +/***/ }), + +/***/ 30341: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessSummariesMeta = void 0; +/** + * Response metadata object. + */ +var ProcessSummariesMeta = /** @class */ (function () { + function ProcessSummariesMeta() { + } + /** + * @ignore + */ + ProcessSummariesMeta.getAttributeTypeMap = function () { + return ProcessSummariesMeta.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessSummariesMeta.attributeTypeMap = { + page: { + baseName: "page", + type: "ProcessSummariesMetaPage", + }, + }; + return ProcessSummariesMeta; +}()); +exports.ProcessSummariesMeta = ProcessSummariesMeta; +//# sourceMappingURL=ProcessSummariesMeta.js.map + +/***/ }), + +/***/ 88359: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessSummariesMetaPage = void 0; +/** + * Paging attributes. + */ +var ProcessSummariesMetaPage = /** @class */ (function () { + function ProcessSummariesMetaPage() { + } + /** + * @ignore + */ + ProcessSummariesMetaPage.getAttributeTypeMap = function () { + return ProcessSummariesMetaPage.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessSummariesMetaPage.attributeTypeMap = { + after: { + baseName: "after", + type: "string", + }, + size: { + baseName: "size", + type: "number", + format: "int32", + }, + }; + return ProcessSummariesMetaPage; +}()); +exports.ProcessSummariesMetaPage = ProcessSummariesMetaPage; +//# sourceMappingURL=ProcessSummariesMetaPage.js.map + +/***/ }), + +/***/ 61750: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessSummariesResponse = void 0; +/** + * List of process summaries. + */ +var ProcessSummariesResponse = /** @class */ (function () { + function ProcessSummariesResponse() { + } + /** + * @ignore + */ + ProcessSummariesResponse.getAttributeTypeMap = function () { + return ProcessSummariesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessSummariesResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ProcessSummariesMeta", + }, + }; + return ProcessSummariesResponse; +}()); +exports.ProcessSummariesResponse = ProcessSummariesResponse; +//# sourceMappingURL=ProcessSummariesResponse.js.map + +/***/ }), + +/***/ 35834: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessSummary = void 0; +/** + * Process summary object. + */ +var ProcessSummary = /** @class */ (function () { + function ProcessSummary() { + } + /** + * @ignore + */ + ProcessSummary.getAttributeTypeMap = function () { + return ProcessSummary.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessSummary.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ProcessSummaryAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "ProcessSummaryType", + }, + }; + return ProcessSummary; +}()); +exports.ProcessSummary = ProcessSummary; +//# sourceMappingURL=ProcessSummary.js.map + +/***/ }), + +/***/ 81126: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ProcessSummaryAttributes = void 0; +/** + * Attributes for a process summary. + */ +var ProcessSummaryAttributes = /** @class */ (function () { + function ProcessSummaryAttributes() { + } + /** + * @ignore + */ + ProcessSummaryAttributes.getAttributeTypeMap = function () { + return ProcessSummaryAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ProcessSummaryAttributes.attributeTypeMap = { + cmdline: { + baseName: "cmdline", + type: "string", + }, + host: { + baseName: "host", + type: "string", + }, + pid: { + baseName: "pid", + type: "number", + format: "int64", + }, + ppid: { + baseName: "ppid", + type: "number", + format: "int64", + }, + start: { + baseName: "start", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + timestamp: { + baseName: "timestamp", + type: "string", + }, + user: { + baseName: "user", + type: "string", + }, + }; + return ProcessSummaryAttributes; +}()); +exports.ProcessSummaryAttributes = ProcessSummaryAttributes; +//# sourceMappingURL=ProcessSummaryAttributes.js.map + +/***/ }), + +/***/ 43443: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToIncidentIntegrationMetadataData = void 0; +/** + * A relationship reference for an integration metadata object. + */ +var RelationshipToIncidentIntegrationMetadataData = /** @class */ (function () { + function RelationshipToIncidentIntegrationMetadataData() { + } + /** + * @ignore + */ + RelationshipToIncidentIntegrationMetadataData.getAttributeTypeMap = function () { + return RelationshipToIncidentIntegrationMetadataData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToIncidentIntegrationMetadataData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "IncidentIntegrationMetadataType", + required: true, + }, + }; + return RelationshipToIncidentIntegrationMetadataData; +}()); +exports.RelationshipToIncidentIntegrationMetadataData = RelationshipToIncidentIntegrationMetadataData; +//# sourceMappingURL=RelationshipToIncidentIntegrationMetadataData.js.map + +/***/ }), + +/***/ 91471: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToIncidentIntegrationMetadatas = void 0; +/** + * A relationship reference for multiple integration metadata objects. + */ +var RelationshipToIncidentIntegrationMetadatas = /** @class */ (function () { + function RelationshipToIncidentIntegrationMetadatas() { + } + /** + * @ignore + */ + RelationshipToIncidentIntegrationMetadatas.getAttributeTypeMap = function () { + return RelationshipToIncidentIntegrationMetadatas.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToIncidentIntegrationMetadatas.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return RelationshipToIncidentIntegrationMetadatas; +}()); +exports.RelationshipToIncidentIntegrationMetadatas = RelationshipToIncidentIntegrationMetadatas; +//# sourceMappingURL=RelationshipToIncidentIntegrationMetadatas.js.map + +/***/ }), + +/***/ 91589: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToIncidentPostmortem = void 0; +/** + * A relationship reference for postmortems. + */ +var RelationshipToIncidentPostmortem = /** @class */ (function () { + function RelationshipToIncidentPostmortem() { + } + /** + * @ignore + */ + RelationshipToIncidentPostmortem.getAttributeTypeMap = function () { + return RelationshipToIncidentPostmortem.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToIncidentPostmortem.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToIncidentPostmortemData", + required: true, + }, + }; + return RelationshipToIncidentPostmortem; +}()); +exports.RelationshipToIncidentPostmortem = RelationshipToIncidentPostmortem; +//# sourceMappingURL=RelationshipToIncidentPostmortem.js.map + +/***/ }), + +/***/ 57515: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToIncidentPostmortemData = void 0; +/** + * The postmortem relationship data. + */ +var RelationshipToIncidentPostmortemData = /** @class */ (function () { + function RelationshipToIncidentPostmortemData() { + } + /** + * @ignore + */ + RelationshipToIncidentPostmortemData.getAttributeTypeMap = function () { + return RelationshipToIncidentPostmortemData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToIncidentPostmortemData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "IncidentPostmortemType", + required: true, + }, + }; + return RelationshipToIncidentPostmortemData; +}()); +exports.RelationshipToIncidentPostmortemData = RelationshipToIncidentPostmortemData; +//# sourceMappingURL=RelationshipToIncidentPostmortemData.js.map + +/***/ }), + +/***/ 1786: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToOrganization = void 0; +/** + * Relationship to an organization. + */ +var RelationshipToOrganization = /** @class */ (function () { + function RelationshipToOrganization() { + } + /** + * @ignore + */ + RelationshipToOrganization.getAttributeTypeMap = function () { + return RelationshipToOrganization.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToOrganization.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToOrganizationData", + required: true, + }, + }; + return RelationshipToOrganization; +}()); +exports.RelationshipToOrganization = RelationshipToOrganization; +//# sourceMappingURL=RelationshipToOrganization.js.map + +/***/ }), + +/***/ 3098: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToOrganizationData = void 0; +/** + * Relationship to organization object. + */ +var RelationshipToOrganizationData = /** @class */ (function () { + function RelationshipToOrganizationData() { + } + /** + * @ignore + */ + RelationshipToOrganizationData.getAttributeTypeMap = function () { + return RelationshipToOrganizationData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToOrganizationData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "OrganizationsType", + required: true, + }, + }; + return RelationshipToOrganizationData; +}()); +exports.RelationshipToOrganizationData = RelationshipToOrganizationData; +//# sourceMappingURL=RelationshipToOrganizationData.js.map + +/***/ }), + +/***/ 16352: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToOrganizations = void 0; +/** + * Relationship to organizations. + */ +var RelationshipToOrganizations = /** @class */ (function () { + function RelationshipToOrganizations() { + } + /** + * @ignore + */ + RelationshipToOrganizations.getAttributeTypeMap = function () { + return RelationshipToOrganizations.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToOrganizations.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return RelationshipToOrganizations; +}()); +exports.RelationshipToOrganizations = RelationshipToOrganizations; +//# sourceMappingURL=RelationshipToOrganizations.js.map + +/***/ }), + +/***/ 91286: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToPermission = void 0; +/** + * Relationship to a permissions object. + */ +var RelationshipToPermission = /** @class */ (function () { + function RelationshipToPermission() { + } + /** + * @ignore + */ + RelationshipToPermission.getAttributeTypeMap = function () { + return RelationshipToPermission.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToPermission.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToPermissionData", + }, + }; + return RelationshipToPermission; +}()); +exports.RelationshipToPermission = RelationshipToPermission; +//# sourceMappingURL=RelationshipToPermission.js.map + +/***/ }), + +/***/ 84713: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToPermissionData = void 0; +/** + * Relationship to permission object. + */ +var RelationshipToPermissionData = /** @class */ (function () { + function RelationshipToPermissionData() { + } + /** + * @ignore + */ + RelationshipToPermissionData.getAttributeTypeMap = function () { + return RelationshipToPermissionData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToPermissionData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "PermissionsType", + }, + }; + return RelationshipToPermissionData; +}()); +exports.RelationshipToPermissionData = RelationshipToPermissionData; +//# sourceMappingURL=RelationshipToPermissionData.js.map + +/***/ }), + +/***/ 50913: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToPermissions = void 0; +/** + * Relationship to multiple permissions objects. + */ +var RelationshipToPermissions = /** @class */ (function () { + function RelationshipToPermissions() { + } + /** + * @ignore + */ + RelationshipToPermissions.getAttributeTypeMap = function () { + return RelationshipToPermissions.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToPermissions.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return RelationshipToPermissions; +}()); +exports.RelationshipToPermissions = RelationshipToPermissions; +//# sourceMappingURL=RelationshipToPermissions.js.map + +/***/ }), + +/***/ 38615: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToRole = void 0; +/** + * Relationship to role. + */ +var RelationshipToRole = /** @class */ (function () { + function RelationshipToRole() { + } + /** + * @ignore + */ + RelationshipToRole.getAttributeTypeMap = function () { + return RelationshipToRole.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToRole.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToRoleData", + }, + }; + return RelationshipToRole; +}()); +exports.RelationshipToRole = RelationshipToRole; +//# sourceMappingURL=RelationshipToRole.js.map + +/***/ }), + +/***/ 30312: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToRoleData = void 0; +/** + * Relationship to role object. + */ +var RelationshipToRoleData = /** @class */ (function () { + function RelationshipToRoleData() { + } + /** + * @ignore + */ + RelationshipToRoleData.getAttributeTypeMap = function () { + return RelationshipToRoleData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToRoleData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "RolesType", + }, + }; + return RelationshipToRoleData; +}()); +exports.RelationshipToRoleData = RelationshipToRoleData; +//# sourceMappingURL=RelationshipToRoleData.js.map + +/***/ }), + +/***/ 62595: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToRoles = void 0; +/** + * Relationship to roles. + */ +var RelationshipToRoles = /** @class */ (function () { + function RelationshipToRoles() { + } + /** + * @ignore + */ + RelationshipToRoles.getAttributeTypeMap = function () { + return RelationshipToRoles.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToRoles.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return RelationshipToRoles; +}()); +exports.RelationshipToRoles = RelationshipToRoles; +//# sourceMappingURL=RelationshipToRoles.js.map + +/***/ }), + +/***/ 62436: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToSAMLAssertionAttribute = void 0; +/** + * AuthN Mapping relationship to SAML Assertion Attribute. + */ +var RelationshipToSAMLAssertionAttribute = /** @class */ (function () { + function RelationshipToSAMLAssertionAttribute() { + } + /** + * @ignore + */ + RelationshipToSAMLAssertionAttribute.getAttributeTypeMap = function () { + return RelationshipToSAMLAssertionAttribute.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToSAMLAssertionAttribute.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToSAMLAssertionAttributeData", + required: true, + }, + }; + return RelationshipToSAMLAssertionAttribute; +}()); +exports.RelationshipToSAMLAssertionAttribute = RelationshipToSAMLAssertionAttribute; +//# sourceMappingURL=RelationshipToSAMLAssertionAttribute.js.map + +/***/ }), + +/***/ 93258: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToSAMLAssertionAttributeData = void 0; +/** + * Data of AuthN Mapping relationship to SAML Assertion Attribute. + */ +var RelationshipToSAMLAssertionAttributeData = /** @class */ (function () { + function RelationshipToSAMLAssertionAttributeData() { + } + /** + * @ignore + */ + RelationshipToSAMLAssertionAttributeData.getAttributeTypeMap = function () { + return RelationshipToSAMLAssertionAttributeData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToSAMLAssertionAttributeData.attributeTypeMap = { + id: { + baseName: "id", + type: "number", + required: true, + format: "int32", + }, + type: { + baseName: "type", + type: "SAMLAssertionAttributesType", + required: true, + }, + }; + return RelationshipToSAMLAssertionAttributeData; +}()); +exports.RelationshipToSAMLAssertionAttributeData = RelationshipToSAMLAssertionAttributeData; +//# sourceMappingURL=RelationshipToSAMLAssertionAttributeData.js.map + +/***/ }), + +/***/ 93801: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToUser = void 0; +/** + * Relationship to user. + */ +var RelationshipToUser = /** @class */ (function () { + function RelationshipToUser() { + } + /** + * @ignore + */ + RelationshipToUser.getAttributeTypeMap = function () { + return RelationshipToUser.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToUser.attributeTypeMap = { + data: { + baseName: "data", + type: "RelationshipToUserData", + required: true, + }, + }; + return RelationshipToUser; +}()); +exports.RelationshipToUser = RelationshipToUser; +//# sourceMappingURL=RelationshipToUser.js.map + +/***/ }), + +/***/ 16328: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToUserData = void 0; +/** + * Relationship to user object. + */ +var RelationshipToUserData = /** @class */ (function () { + function RelationshipToUserData() { + } + /** + * @ignore + */ + RelationshipToUserData.getAttributeTypeMap = function () { + return RelationshipToUserData.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToUserData.attributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "UsersType", + required: true, + }, + }; + return RelationshipToUserData; +}()); +exports.RelationshipToUserData = RelationshipToUserData; +//# sourceMappingURL=RelationshipToUserData.js.map + +/***/ }), + +/***/ 51783: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RelationshipToUsers = void 0; +/** + * Relationship to users. + */ +var RelationshipToUsers = /** @class */ (function () { + function RelationshipToUsers() { + } + /** + * @ignore + */ + RelationshipToUsers.getAttributeTypeMap = function () { + return RelationshipToUsers.attributeTypeMap; + }; + /** + * @ignore + */ + RelationshipToUsers.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return RelationshipToUsers; +}()); +exports.RelationshipToUsers = RelationshipToUsers; +//# sourceMappingURL=RelationshipToUsers.js.map + +/***/ }), + +/***/ 14990: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ResponseMetaAttributes = void 0; +/** + * Object describing meta attributes of response. + */ +var ResponseMetaAttributes = /** @class */ (function () { + function ResponseMetaAttributes() { + } + /** + * @ignore + */ + ResponseMetaAttributes.getAttributeTypeMap = function () { + return ResponseMetaAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ResponseMetaAttributes.attributeTypeMap = { + page: { + baseName: "page", + type: "Pagination", + }, + }; + return ResponseMetaAttributes; +}()); +exports.ResponseMetaAttributes = ResponseMetaAttributes; +//# sourceMappingURL=ResponseMetaAttributes.js.map + +/***/ }), + +/***/ 49248: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Role = void 0; +/** + * Role object returned by the API. + */ +var Role = /** @class */ (function () { + function Role() { + } + /** + * @ignore + */ + Role.getAttributeTypeMap = function () { + return Role.attributeTypeMap; + }; + /** + * @ignore + */ + Role.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "RoleResponseRelationships", + }, + type: { + baseName: "type", + type: "RolesType", + required: true, + }, + }; + return Role; +}()); +exports.Role = Role; +//# sourceMappingURL=Role.js.map + +/***/ }), + +/***/ 82581: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleAttributes = void 0; +/** + * Attributes of the role. + */ +var RoleAttributes = /** @class */ (function () { + function RoleAttributes() { + } + /** + * @ignore + */ + RoleAttributes.getAttributeTypeMap = function () { + return RoleAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + RoleAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + userCount: { + baseName: "user_count", + type: "number", + format: "int64", + }, + }; + return RoleAttributes; +}()); +exports.RoleAttributes = RoleAttributes; +//# sourceMappingURL=RoleAttributes.js.map + +/***/ }), + +/***/ 96579: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleClone = void 0; +/** + * Data for the clone role request. + */ +var RoleClone = /** @class */ (function () { + function RoleClone() { + } + /** + * @ignore + */ + RoleClone.getAttributeTypeMap = function () { + return RoleClone.attributeTypeMap; + }; + /** + * @ignore + */ + RoleClone.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleCloneAttributes", + required: true, + }, + type: { + baseName: "type", + type: "RolesType", + required: true, + }, + }; + return RoleClone; +}()); +exports.RoleClone = RoleClone; +//# sourceMappingURL=RoleClone.js.map + +/***/ }), + +/***/ 34979: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCloneAttributes = void 0; +/** + * Attributes required to create a new role by cloning an existing one. + */ +var RoleCloneAttributes = /** @class */ (function () { + function RoleCloneAttributes() { + } + /** + * @ignore + */ + RoleCloneAttributes.getAttributeTypeMap = function () { + return RoleCloneAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCloneAttributes.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return RoleCloneAttributes; +}()); +exports.RoleCloneAttributes = RoleCloneAttributes; +//# sourceMappingURL=RoleCloneAttributes.js.map + +/***/ }), + +/***/ 33124: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCloneRequest = void 0; +/** + * Request to create a role by cloning an existing role. + */ +var RoleCloneRequest = /** @class */ (function () { + function RoleCloneRequest() { + } + /** + * @ignore + */ + RoleCloneRequest.getAttributeTypeMap = function () { + return RoleCloneRequest.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCloneRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "RoleClone", + required: true, + }, + }; + return RoleCloneRequest; +}()); +exports.RoleCloneRequest = RoleCloneRequest; +//# sourceMappingURL=RoleCloneRequest.js.map + +/***/ }), + +/***/ 65979: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCreateAttributes = void 0; +/** + * Attributes of the created role. + */ +var RoleCreateAttributes = /** @class */ (function () { + function RoleCreateAttributes() { + } + /** + * @ignore + */ + RoleCreateAttributes.getAttributeTypeMap = function () { + return RoleCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCreateAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + return RoleCreateAttributes; +}()); +exports.RoleCreateAttributes = RoleCreateAttributes; +//# sourceMappingURL=RoleCreateAttributes.js.map + +/***/ }), + +/***/ 67319: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCreateData = void 0; +/** + * Data related to the creation of a role. + */ +var RoleCreateData = /** @class */ (function () { + function RoleCreateData() { + } + /** + * @ignore + */ + RoleCreateData.getAttributeTypeMap = function () { + return RoleCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleCreateAttributes", + required: true, + }, + relationships: { + baseName: "relationships", + type: "RoleRelationships", + }, + type: { + baseName: "type", + type: "RolesType", + }, + }; + return RoleCreateData; +}()); +exports.RoleCreateData = RoleCreateData; +//# sourceMappingURL=RoleCreateData.js.map + +/***/ }), + +/***/ 55005: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCreateRequest = void 0; +/** + * Create a role. + */ +var RoleCreateRequest = /** @class */ (function () { + function RoleCreateRequest() { + } + /** + * @ignore + */ + RoleCreateRequest.getAttributeTypeMap = function () { + return RoleCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "RoleCreateData", + required: true, + }, + }; + return RoleCreateRequest; +}()); +exports.RoleCreateRequest = RoleCreateRequest; +//# sourceMappingURL=RoleCreateRequest.js.map + +/***/ }), + +/***/ 87293: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCreateResponse = void 0; +/** + * Response containing information about a created role. + */ +var RoleCreateResponse = /** @class */ (function () { + function RoleCreateResponse() { + } + /** + * @ignore + */ + RoleCreateResponse.getAttributeTypeMap = function () { + return RoleCreateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCreateResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "RoleCreateResponseData", + }, + }; + return RoleCreateResponse; +}()); +exports.RoleCreateResponse = RoleCreateResponse; +//# sourceMappingURL=RoleCreateResponse.js.map + +/***/ }), + +/***/ 72479: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleCreateResponseData = void 0; +/** + * Role object returned by the API. + */ +var RoleCreateResponseData = /** @class */ (function () { + function RoleCreateResponseData() { + } + /** + * @ignore + */ + RoleCreateResponseData.getAttributeTypeMap = function () { + return RoleCreateResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + RoleCreateResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleCreateAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "RoleResponseRelationships", + }, + type: { + baseName: "type", + type: "RolesType", + required: true, + }, + }; + return RoleCreateResponseData; +}()); +exports.RoleCreateResponseData = RoleCreateResponseData; +//# sourceMappingURL=RoleCreateResponseData.js.map + +/***/ }), + +/***/ 71594: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleRelationships = void 0; +/** + * Relationships of the role object. + */ +var RoleRelationships = /** @class */ (function () { + function RoleRelationships() { + } + /** + * @ignore + */ + RoleRelationships.getAttributeTypeMap = function () { + return RoleRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + RoleRelationships.attributeTypeMap = { + permissions: { + baseName: "permissions", + type: "RelationshipToPermissions", + }, + users: { + baseName: "users", + type: "RelationshipToUsers", + }, + }; + return RoleRelationships; +}()); +exports.RoleRelationships = RoleRelationships; +//# sourceMappingURL=RoleRelationships.js.map + +/***/ }), + +/***/ 2524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleResponse = void 0; +/** + * Response containing information about a single role. + */ +var RoleResponse = /** @class */ (function () { + function RoleResponse() { + } + /** + * @ignore + */ + RoleResponse.getAttributeTypeMap = function () { + return RoleResponse.attributeTypeMap; + }; + /** + * @ignore + */ + RoleResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Role", + }, + }; + return RoleResponse; +}()); +exports.RoleResponse = RoleResponse; +//# sourceMappingURL=RoleResponse.js.map + +/***/ }), + +/***/ 66950: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleResponseRelationships = void 0; +/** + * Relationships of the role object returned by the API. + */ +var RoleResponseRelationships = /** @class */ (function () { + function RoleResponseRelationships() { + } + /** + * @ignore + */ + RoleResponseRelationships.getAttributeTypeMap = function () { + return RoleResponseRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + RoleResponseRelationships.attributeTypeMap = { + permissions: { + baseName: "permissions", + type: "RelationshipToPermissions", + }, + }; + return RoleResponseRelationships; +}()); +exports.RoleResponseRelationships = RoleResponseRelationships; +//# sourceMappingURL=RoleResponseRelationships.js.map + +/***/ }), + +/***/ 84628: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleUpdateAttributes = void 0; +/** + * Attributes of the role. + */ +var RoleUpdateAttributes = /** @class */ (function () { + function RoleUpdateAttributes() { + } + /** + * @ignore + */ + RoleUpdateAttributes.getAttributeTypeMap = function () { + return RoleUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + RoleUpdateAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return RoleUpdateAttributes; +}()); +exports.RoleUpdateAttributes = RoleUpdateAttributes; +//# sourceMappingURL=RoleUpdateAttributes.js.map + +/***/ }), + +/***/ 77060: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleUpdateData = void 0; +/** + * Data related to the update of a role. + */ +var RoleUpdateData = /** @class */ (function () { + function RoleUpdateData() { + } + /** + * @ignore + */ + RoleUpdateData.getAttributeTypeMap = function () { + return RoleUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + RoleUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleUpdateAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "RolesType", + required: true, + }, + }; + return RoleUpdateData; +}()); +exports.RoleUpdateData = RoleUpdateData; +//# sourceMappingURL=RoleUpdateData.js.map + +/***/ }), + +/***/ 63322: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleUpdateRequest = void 0; +/** + * Update a role. + */ +var RoleUpdateRequest = /** @class */ (function () { + function RoleUpdateRequest() { + } + /** + * @ignore + */ + RoleUpdateRequest.getAttributeTypeMap = function () { + return RoleUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + RoleUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "RoleUpdateData", + required: true, + }, + }; + return RoleUpdateRequest; +}()); +exports.RoleUpdateRequest = RoleUpdateRequest; +//# sourceMappingURL=RoleUpdateRequest.js.map + +/***/ }), + +/***/ 22307: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleUpdateResponse = void 0; +/** + * Response containing information about an updated role. + */ +var RoleUpdateResponse = /** @class */ (function () { + function RoleUpdateResponse() { + } + /** + * @ignore + */ + RoleUpdateResponse.getAttributeTypeMap = function () { + return RoleUpdateResponse.attributeTypeMap; + }; + /** + * @ignore + */ + RoleUpdateResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "RoleUpdateResponseData", + }, + }; + return RoleUpdateResponse; +}()); +exports.RoleUpdateResponse = RoleUpdateResponse; +//# sourceMappingURL=RoleUpdateResponse.js.map + +/***/ }), + +/***/ 39190: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RoleUpdateResponseData = void 0; +/** + * Role object returned by the API. + */ +var RoleUpdateResponseData = /** @class */ (function () { + function RoleUpdateResponseData() { + } + /** + * @ignore + */ + RoleUpdateResponseData.getAttributeTypeMap = function () { + return RoleUpdateResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + RoleUpdateResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "RoleUpdateAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "RoleResponseRelationships", + }, + type: { + baseName: "type", + type: "RolesType", + required: true, + }, + }; + return RoleUpdateResponseData; +}()); +exports.RoleUpdateResponseData = RoleUpdateResponseData; +//# sourceMappingURL=RoleUpdateResponseData.js.map + +/***/ }), + +/***/ 95334: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.RolesResponse = void 0; +/** + * Response containing information about multiple roles. + */ +var RolesResponse = /** @class */ (function () { + function RolesResponse() { + } + /** + * @ignore + */ + RolesResponse.getAttributeTypeMap = function () { + return RolesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + RolesResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ResponseMetaAttributes", + }, + }; + return RolesResponse; +}()); +exports.RolesResponse = RolesResponse; +//# sourceMappingURL=RolesResponse.js.map + +/***/ }), + +/***/ 98228: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SAMLAssertionAttribute = void 0; +/** + * SAML assertion attribute. + */ +var SAMLAssertionAttribute = /** @class */ (function () { + function SAMLAssertionAttribute() { + } + /** + * @ignore + */ + SAMLAssertionAttribute.getAttributeTypeMap = function () { + return SAMLAssertionAttribute.attributeTypeMap; + }; + /** + * @ignore + */ + SAMLAssertionAttribute.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SAMLAssertionAttributeAttributes", + }, + id: { + baseName: "id", + type: "number", + required: true, + format: "int32", + }, + type: { + baseName: "type", + type: "SAMLAssertionAttributesType", + required: true, + }, + }; + return SAMLAssertionAttribute; +}()); +exports.SAMLAssertionAttribute = SAMLAssertionAttribute; +//# sourceMappingURL=SAMLAssertionAttribute.js.map + +/***/ }), + +/***/ 73923: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SAMLAssertionAttributeAttributes = void 0; +/** + * Key/Value pair of attributes used in SAML assertion attributes. + */ +var SAMLAssertionAttributeAttributes = /** @class */ (function () { + function SAMLAssertionAttributeAttributes() { + } + /** + * @ignore + */ + SAMLAssertionAttributeAttributes.getAttributeTypeMap = function () { + return SAMLAssertionAttributeAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SAMLAssertionAttributeAttributes.attributeTypeMap = { + attributeKey: { + baseName: "attribute_key", + type: "string", + }, + attributeValue: { + baseName: "attribute_value", + type: "string", + }, + }; + return SAMLAssertionAttributeAttributes; +}()); +exports.SAMLAssertionAttributeAttributes = SAMLAssertionAttributeAttributes; +//# sourceMappingURL=SAMLAssertionAttributeAttributes.js.map + +/***/ }), + +/***/ 55447: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilter = void 0; +/** + * The security filter's properties. + */ +var SecurityFilter = /** @class */ (function () { + function SecurityFilter() { + } + /** + * @ignore + */ + SecurityFilter.getAttributeTypeMap = function () { + return SecurityFilter.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilter.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SecurityFilterAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "SecurityFilterType", + }, + }; + return SecurityFilter; +}()); +exports.SecurityFilter = SecurityFilter; +//# sourceMappingURL=SecurityFilter.js.map + +/***/ }), + +/***/ 98576: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterAttributes = void 0; +/** + * The object describing a security filter. + */ +var SecurityFilterAttributes = /** @class */ (function () { + function SecurityFilterAttributes() { + } + /** + * @ignore + */ + SecurityFilterAttributes.getAttributeTypeMap = function () { + return SecurityFilterAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterAttributes.attributeTypeMap = { + exclusionFilters: { + baseName: "exclusion_filters", + type: "Array", + }, + filteredDataType: { + baseName: "filtered_data_type", + type: "SecurityFilterFilteredDataType", + }, + isBuiltin: { + baseName: "is_builtin", + type: "boolean", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + version: { + baseName: "version", + type: "number", + format: "int32", + }, + }; + return SecurityFilterAttributes; +}()); +exports.SecurityFilterAttributes = SecurityFilterAttributes; +//# sourceMappingURL=SecurityFilterAttributes.js.map + +/***/ }), + +/***/ 39164: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterCreateAttributes = void 0; +/** + * Object containing the attributes of the security filter to be created. + */ +var SecurityFilterCreateAttributes = /** @class */ (function () { + function SecurityFilterCreateAttributes() { + } + /** + * @ignore + */ + SecurityFilterCreateAttributes.getAttributeTypeMap = function () { + return SecurityFilterCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterCreateAttributes.attributeTypeMap = { + exclusionFilters: { + baseName: "exclusion_filters", + type: "Array", + required: true, + }, + filteredDataType: { + baseName: "filtered_data_type", + type: "SecurityFilterFilteredDataType", + required: true, + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return SecurityFilterCreateAttributes; +}()); +exports.SecurityFilterCreateAttributes = SecurityFilterCreateAttributes; +//# sourceMappingURL=SecurityFilterCreateAttributes.js.map + +/***/ }), + +/***/ 73922: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterCreateData = void 0; +/** + * Object for a single security filter. + */ +var SecurityFilterCreateData = /** @class */ (function () { + function SecurityFilterCreateData() { + } + /** + * @ignore + */ + SecurityFilterCreateData.getAttributeTypeMap = function () { + return SecurityFilterCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SecurityFilterCreateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "SecurityFilterType", + required: true, + }, + }; + return SecurityFilterCreateData; +}()); +exports.SecurityFilterCreateData = SecurityFilterCreateData; +//# sourceMappingURL=SecurityFilterCreateData.js.map + +/***/ }), + +/***/ 80376: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterCreateRequest = void 0; +/** + * Request object that includes the security filter that you would like to create. + */ +var SecurityFilterCreateRequest = /** @class */ (function () { + function SecurityFilterCreateRequest() { + } + /** + * @ignore + */ + SecurityFilterCreateRequest.getAttributeTypeMap = function () { + return SecurityFilterCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "SecurityFilterCreateData", + required: true, + }, + }; + return SecurityFilterCreateRequest; +}()); +exports.SecurityFilterCreateRequest = SecurityFilterCreateRequest; +//# sourceMappingURL=SecurityFilterCreateRequest.js.map + +/***/ }), + +/***/ 70566: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterExclusionFilter = void 0; +/** + * Exclusion filter for the security filter. + */ +var SecurityFilterExclusionFilter = /** @class */ (function () { + function SecurityFilterExclusionFilter() { + } + /** + * @ignore + */ + SecurityFilterExclusionFilter.getAttributeTypeMap = function () { + return SecurityFilterExclusionFilter.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterExclusionFilter.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return SecurityFilterExclusionFilter; +}()); +exports.SecurityFilterExclusionFilter = SecurityFilterExclusionFilter; +//# sourceMappingURL=SecurityFilterExclusionFilter.js.map + +/***/ }), + +/***/ 33320: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterExclusionFilterResponse = void 0; +/** + * A single exclusion filter. + */ +var SecurityFilterExclusionFilterResponse = /** @class */ (function () { + function SecurityFilterExclusionFilterResponse() { + } + /** + * @ignore + */ + SecurityFilterExclusionFilterResponse.getAttributeTypeMap = function () { + return SecurityFilterExclusionFilterResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterExclusionFilterResponse.attributeTypeMap = { + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + }; + return SecurityFilterExclusionFilterResponse; +}()); +exports.SecurityFilterExclusionFilterResponse = SecurityFilterExclusionFilterResponse; +//# sourceMappingURL=SecurityFilterExclusionFilterResponse.js.map + +/***/ }), + +/***/ 27674: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterMeta = void 0; +/** + * Optional metadata associated to the response. + */ +var SecurityFilterMeta = /** @class */ (function () { + function SecurityFilterMeta() { + } + /** + * @ignore + */ + SecurityFilterMeta.getAttributeTypeMap = function () { + return SecurityFilterMeta.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterMeta.attributeTypeMap = { + warning: { + baseName: "warning", + type: "string", + }, + }; + return SecurityFilterMeta; +}()); +exports.SecurityFilterMeta = SecurityFilterMeta; +//# sourceMappingURL=SecurityFilterMeta.js.map + +/***/ }), + +/***/ 53785: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterResponse = void 0; +/** + * Response object which includes a single security filter. + */ +var SecurityFilterResponse = /** @class */ (function () { + function SecurityFilterResponse() { + } + /** + * @ignore + */ + SecurityFilterResponse.getAttributeTypeMap = function () { + return SecurityFilterResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "SecurityFilter", + }, + meta: { + baseName: "meta", + type: "SecurityFilterMeta", + }, + }; + return SecurityFilterResponse; +}()); +exports.SecurityFilterResponse = SecurityFilterResponse; +//# sourceMappingURL=SecurityFilterResponse.js.map + +/***/ }), + +/***/ 70723: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterUpdateAttributes = void 0; +/** + * The security filters properties to be updated. + */ +var SecurityFilterUpdateAttributes = /** @class */ (function () { + function SecurityFilterUpdateAttributes() { + } + /** + * @ignore + */ + SecurityFilterUpdateAttributes.getAttributeTypeMap = function () { + return SecurityFilterUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterUpdateAttributes.attributeTypeMap = { + exclusionFilters: { + baseName: "exclusion_filters", + type: "Array", + }, + filteredDataType: { + baseName: "filtered_data_type", + type: "SecurityFilterFilteredDataType", + }, + isEnabled: { + baseName: "is_enabled", + type: "boolean", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + version: { + baseName: "version", + type: "number", + format: "int32", + }, + }; + return SecurityFilterUpdateAttributes; +}()); +exports.SecurityFilterUpdateAttributes = SecurityFilterUpdateAttributes; +//# sourceMappingURL=SecurityFilterUpdateAttributes.js.map + +/***/ }), + +/***/ 64889: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterUpdateData = void 0; +/** + * The new security filter properties. + */ +var SecurityFilterUpdateData = /** @class */ (function () { + function SecurityFilterUpdateData() { + } + /** + * @ignore + */ + SecurityFilterUpdateData.getAttributeTypeMap = function () { + return SecurityFilterUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SecurityFilterUpdateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "SecurityFilterType", + required: true, + }, + }; + return SecurityFilterUpdateData; +}()); +exports.SecurityFilterUpdateData = SecurityFilterUpdateData; +//# sourceMappingURL=SecurityFilterUpdateData.js.map + +/***/ }), + +/***/ 67365: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFilterUpdateRequest = void 0; +/** + * The new security filter body. + */ +var SecurityFilterUpdateRequest = /** @class */ (function () { + function SecurityFilterUpdateRequest() { + } + /** + * @ignore + */ + SecurityFilterUpdateRequest.getAttributeTypeMap = function () { + return SecurityFilterUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFilterUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "SecurityFilterUpdateData", + required: true, + }, + }; + return SecurityFilterUpdateRequest; +}()); +exports.SecurityFilterUpdateRequest = SecurityFilterUpdateRequest; +//# sourceMappingURL=SecurityFilterUpdateRequest.js.map + +/***/ }), + +/***/ 92892: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityFiltersResponse = void 0; +/** + * All the available security filters objects. + */ +var SecurityFiltersResponse = /** @class */ (function () { + function SecurityFiltersResponse() { + } + /** + * @ignore + */ + SecurityFiltersResponse.getAttributeTypeMap = function () { + return SecurityFiltersResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityFiltersResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "SecurityFilterMeta", + }, + }; + return SecurityFiltersResponse; +}()); +exports.SecurityFiltersResponse = SecurityFiltersResponse; +//# sourceMappingURL=SecurityFiltersResponse.js.map + +/***/ }), + +/***/ 24483: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringFilter = void 0; +/** + * The rule's suppression filter. + */ +var SecurityMonitoringFilter = /** @class */ (function () { + function SecurityMonitoringFilter() { + } + /** + * @ignore + */ + SecurityMonitoringFilter.getAttributeTypeMap = function () { + return SecurityMonitoringFilter.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringFilter.attributeTypeMap = { + action: { + baseName: "action", + type: "SecurityMonitoringFilterAction", + }, + query: { + baseName: "query", + type: "string", + }, + }; + return SecurityMonitoringFilter; +}()); +exports.SecurityMonitoringFilter = SecurityMonitoringFilter; +//# sourceMappingURL=SecurityMonitoringFilter.js.map + +/***/ }), + +/***/ 83457: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringListRulesResponse = void 0; +/** + * List of rules. + */ +var SecurityMonitoringListRulesResponse = /** @class */ (function () { + function SecurityMonitoringListRulesResponse() { + } + /** + * @ignore + */ + SecurityMonitoringListRulesResponse.getAttributeTypeMap = function () { + return SecurityMonitoringListRulesResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringListRulesResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ResponseMetaAttributes", + }, + }; + return SecurityMonitoringListRulesResponse; +}()); +exports.SecurityMonitoringListRulesResponse = SecurityMonitoringListRulesResponse; +//# sourceMappingURL=SecurityMonitoringListRulesResponse.js.map + +/***/ }), + +/***/ 38467: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleCase = void 0; +/** + * Case when signal is generated. + */ +var SecurityMonitoringRuleCase = /** @class */ (function () { + function SecurityMonitoringRuleCase() { + } + /** + * @ignore + */ + SecurityMonitoringRuleCase.getAttributeTypeMap = function () { + return SecurityMonitoringRuleCase.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleCase.attributeTypeMap = { + condition: { + baseName: "condition", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + notifications: { + baseName: "notifications", + type: "Array", + }, + status: { + baseName: "status", + type: "SecurityMonitoringRuleSeverity", + }, + }; + return SecurityMonitoringRuleCase; +}()); +exports.SecurityMonitoringRuleCase = SecurityMonitoringRuleCase; +//# sourceMappingURL=SecurityMonitoringRuleCase.js.map + +/***/ }), + +/***/ 50909: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleCaseCreate = void 0; +/** + * Case when signal is generated. + */ +var SecurityMonitoringRuleCaseCreate = /** @class */ (function () { + function SecurityMonitoringRuleCaseCreate() { + } + /** + * @ignore + */ + SecurityMonitoringRuleCaseCreate.getAttributeTypeMap = function () { + return SecurityMonitoringRuleCaseCreate.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleCaseCreate.attributeTypeMap = { + condition: { + baseName: "condition", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + notifications: { + baseName: "notifications", + type: "Array", + }, + status: { + baseName: "status", + type: "SecurityMonitoringRuleSeverity", + required: true, + }, + }; + return SecurityMonitoringRuleCaseCreate; +}()); +exports.SecurityMonitoringRuleCaseCreate = SecurityMonitoringRuleCaseCreate; +//# sourceMappingURL=SecurityMonitoringRuleCaseCreate.js.map + +/***/ }), + +/***/ 58135: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleCreatePayload = void 0; +/** + * Create a new rule. + */ +var SecurityMonitoringRuleCreatePayload = /** @class */ (function () { + function SecurityMonitoringRuleCreatePayload() { + } + /** + * @ignore + */ + SecurityMonitoringRuleCreatePayload.getAttributeTypeMap = function () { + return SecurityMonitoringRuleCreatePayload.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleCreatePayload.attributeTypeMap = { + cases: { + baseName: "cases", + type: "Array", + required: true, + }, + filters: { + baseName: "filters", + type: "Array", + }, + hasExtendedTitle: { + baseName: "hasExtendedTitle", + type: "boolean", + }, + isEnabled: { + baseName: "isEnabled", + type: "boolean", + required: true, + }, + message: { + baseName: "message", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + options: { + baseName: "options", + type: "SecurityMonitoringRuleOptions", + required: true, + }, + queries: { + baseName: "queries", + type: "Array", + required: true, + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "SecurityMonitoringRuleTypeCreate", + }, + }; + return SecurityMonitoringRuleCreatePayload; +}()); +exports.SecurityMonitoringRuleCreatePayload = SecurityMonitoringRuleCreatePayload; +//# sourceMappingURL=SecurityMonitoringRuleCreatePayload.js.map + +/***/ }), + +/***/ 10646: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleNewValueOptions = void 0; +/** + * Options on new value rules. + */ +var SecurityMonitoringRuleNewValueOptions = /** @class */ (function () { + function SecurityMonitoringRuleNewValueOptions() { + } + /** + * @ignore + */ + SecurityMonitoringRuleNewValueOptions.getAttributeTypeMap = function () { + return SecurityMonitoringRuleNewValueOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleNewValueOptions.attributeTypeMap = { + forgetAfter: { + baseName: "forgetAfter", + type: "SecurityMonitoringRuleNewValueOptionsForgetAfter", + }, + learningDuration: { + baseName: "learningDuration", + type: "SecurityMonitoringRuleNewValueOptionsLearningDuration", + }, + }; + return SecurityMonitoringRuleNewValueOptions; +}()); +exports.SecurityMonitoringRuleNewValueOptions = SecurityMonitoringRuleNewValueOptions; +//# sourceMappingURL=SecurityMonitoringRuleNewValueOptions.js.map + +/***/ }), + +/***/ 41277: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleOptions = void 0; +/** + * Options on rules. + */ +var SecurityMonitoringRuleOptions = /** @class */ (function () { + function SecurityMonitoringRuleOptions() { + } + /** + * @ignore + */ + SecurityMonitoringRuleOptions.getAttributeTypeMap = function () { + return SecurityMonitoringRuleOptions.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleOptions.attributeTypeMap = { + detectionMethod: { + baseName: "detectionMethod", + type: "SecurityMonitoringRuleDetectionMethod", + }, + evaluationWindow: { + baseName: "evaluationWindow", + type: "SecurityMonitoringRuleEvaluationWindow", + }, + keepAlive: { + baseName: "keepAlive", + type: "SecurityMonitoringRuleKeepAlive", + }, + maxSignalDuration: { + baseName: "maxSignalDuration", + type: "SecurityMonitoringRuleMaxSignalDuration", + }, + newValueOptions: { + baseName: "newValueOptions", + type: "SecurityMonitoringRuleNewValueOptions", + }, + }; + return SecurityMonitoringRuleOptions; +}()); +exports.SecurityMonitoringRuleOptions = SecurityMonitoringRuleOptions; +//# sourceMappingURL=SecurityMonitoringRuleOptions.js.map + +/***/ }), + +/***/ 31749: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleQuery = void 0; +/** + * Query for matching rule. + */ +var SecurityMonitoringRuleQuery = /** @class */ (function () { + function SecurityMonitoringRuleQuery() { + } + /** + * @ignore + */ + SecurityMonitoringRuleQuery.getAttributeTypeMap = function () { + return SecurityMonitoringRuleQuery.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleQuery.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "SecurityMonitoringRuleQueryAggregation", + }, + distinctFields: { + baseName: "distinctFields", + type: "Array", + }, + groupByFields: { + baseName: "groupByFields", + type: "Array", + }, + metric: { + baseName: "metric", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + }; + return SecurityMonitoringRuleQuery; +}()); +exports.SecurityMonitoringRuleQuery = SecurityMonitoringRuleQuery; +//# sourceMappingURL=SecurityMonitoringRuleQuery.js.map + +/***/ }), + +/***/ 53635: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleQueryCreate = void 0; +/** + * Query for matching rule. + */ +var SecurityMonitoringRuleQueryCreate = /** @class */ (function () { + function SecurityMonitoringRuleQueryCreate() { + } + /** + * @ignore + */ + SecurityMonitoringRuleQueryCreate.getAttributeTypeMap = function () { + return SecurityMonitoringRuleQueryCreate.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleQueryCreate.attributeTypeMap = { + aggregation: { + baseName: "aggregation", + type: "SecurityMonitoringRuleQueryAggregation", + }, + distinctFields: { + baseName: "distinctFields", + type: "Array", + }, + groupByFields: { + baseName: "groupByFields", + type: "Array", + }, + metric: { + baseName: "metric", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + required: true, + }, + }; + return SecurityMonitoringRuleQueryCreate; +}()); +exports.SecurityMonitoringRuleQueryCreate = SecurityMonitoringRuleQueryCreate; +//# sourceMappingURL=SecurityMonitoringRuleQueryCreate.js.map + +/***/ }), + +/***/ 44333: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleResponse = void 0; +/** + * Rule. + */ +var SecurityMonitoringRuleResponse = /** @class */ (function () { + function SecurityMonitoringRuleResponse() { + } + /** + * @ignore + */ + SecurityMonitoringRuleResponse.getAttributeTypeMap = function () { + return SecurityMonitoringRuleResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleResponse.attributeTypeMap = { + cases: { + baseName: "cases", + type: "Array", + }, + createdAt: { + baseName: "createdAt", + type: "number", + format: "int64", + }, + creationAuthorId: { + baseName: "creationAuthorId", + type: "number", + format: "int64", + }, + filters: { + baseName: "filters", + type: "Array", + }, + hasExtendedTitle: { + baseName: "hasExtendedTitle", + type: "boolean", + }, + id: { + baseName: "id", + type: "string", + }, + isDefault: { + baseName: "isDefault", + type: "boolean", + }, + isDeleted: { + baseName: "isDeleted", + type: "boolean", + }, + isEnabled: { + baseName: "isEnabled", + type: "boolean", + }, + message: { + baseName: "message", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + options: { + baseName: "options", + type: "SecurityMonitoringRuleOptions", + }, + queries: { + baseName: "queries", + type: "Array", + }, + tags: { + baseName: "tags", + type: "Array", + }, + type: { + baseName: "type", + type: "SecurityMonitoringRuleTypeRead", + }, + updateAuthorId: { + baseName: "updateAuthorId", + type: "number", + format: "int64", + }, + version: { + baseName: "version", + type: "number", + format: "int64", + }, + }; + return SecurityMonitoringRuleResponse; +}()); +exports.SecurityMonitoringRuleResponse = SecurityMonitoringRuleResponse; +//# sourceMappingURL=SecurityMonitoringRuleResponse.js.map + +/***/ }), + +/***/ 21004: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringRuleUpdatePayload = void 0; +/** + * Update an existing rule. + */ +var SecurityMonitoringRuleUpdatePayload = /** @class */ (function () { + function SecurityMonitoringRuleUpdatePayload() { + } + /** + * @ignore + */ + SecurityMonitoringRuleUpdatePayload.getAttributeTypeMap = function () { + return SecurityMonitoringRuleUpdatePayload.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringRuleUpdatePayload.attributeTypeMap = { + cases: { + baseName: "cases", + type: "Array", + }, + filters: { + baseName: "filters", + type: "Array", + }, + hasExtendedTitle: { + baseName: "hasExtendedTitle", + type: "boolean", + }, + isEnabled: { + baseName: "isEnabled", + type: "boolean", + }, + message: { + baseName: "message", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + options: { + baseName: "options", + type: "SecurityMonitoringRuleOptions", + }, + queries: { + baseName: "queries", + type: "Array", + }, + tags: { + baseName: "tags", + type: "Array", + }, + version: { + baseName: "version", + type: "number", + format: "int32", + }, + }; + return SecurityMonitoringRuleUpdatePayload; +}()); +exports.SecurityMonitoringRuleUpdatePayload = SecurityMonitoringRuleUpdatePayload; +//# sourceMappingURL=SecurityMonitoringRuleUpdatePayload.js.map + +/***/ }), + +/***/ 73354: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignal = void 0; +/** + * Object description of a security signal. + */ +var SecurityMonitoringSignal = /** @class */ (function () { + function SecurityMonitoringSignal() { + } + /** + * @ignore + */ + SecurityMonitoringSignal.getAttributeTypeMap = function () { + return SecurityMonitoringSignal.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignal.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "SecurityMonitoringSignalAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "SecurityMonitoringSignalType", + }, + }; + return SecurityMonitoringSignal; +}()); +exports.SecurityMonitoringSignal = SecurityMonitoringSignal; +//# sourceMappingURL=SecurityMonitoringSignal.js.map + +/***/ }), + +/***/ 81335: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalAttributes = void 0; +/** + * The object containing all signal attributes and their associated values. + */ +var SecurityMonitoringSignalAttributes = /** @class */ (function () { + function SecurityMonitoringSignalAttributes() { + } + /** + * @ignore + */ + SecurityMonitoringSignalAttributes.getAttributeTypeMap = function () { + return SecurityMonitoringSignalAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalAttributes.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "{ [key: string]: any; }", + }, + message: { + baseName: "message", + type: "string", + }, + tags: { + baseName: "tags", + type: "Array", + }, + timestamp: { + baseName: "timestamp", + type: "Date", + format: "date-time", + }, + }; + return SecurityMonitoringSignalAttributes; +}()); +exports.SecurityMonitoringSignalAttributes = SecurityMonitoringSignalAttributes; +//# sourceMappingURL=SecurityMonitoringSignalAttributes.js.map + +/***/ }), + +/***/ 13723: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalListRequest = void 0; +/** + * The request for a security signal list. + */ +var SecurityMonitoringSignalListRequest = /** @class */ (function () { + function SecurityMonitoringSignalListRequest() { + } + /** + * @ignore + */ + SecurityMonitoringSignalListRequest.getAttributeTypeMap = function () { + return SecurityMonitoringSignalListRequest.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalListRequest.attributeTypeMap = { + filter: { + baseName: "filter", + type: "SecurityMonitoringSignalListRequestFilter", + }, + page: { + baseName: "page", + type: "SecurityMonitoringSignalListRequestPage", + }, + sort: { + baseName: "sort", + type: "SecurityMonitoringSignalsSort", + }, + }; + return SecurityMonitoringSignalListRequest; +}()); +exports.SecurityMonitoringSignalListRequest = SecurityMonitoringSignalListRequest; +//# sourceMappingURL=SecurityMonitoringSignalListRequest.js.map + +/***/ }), + +/***/ 75078: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalListRequestFilter = void 0; +/** + * Search filters for listing security signals. + */ +var SecurityMonitoringSignalListRequestFilter = /** @class */ (function () { + function SecurityMonitoringSignalListRequestFilter() { + } + /** + * @ignore + */ + SecurityMonitoringSignalListRequestFilter.getAttributeTypeMap = function () { + return SecurityMonitoringSignalListRequestFilter.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalListRequestFilter.attributeTypeMap = { + from: { + baseName: "from", + type: "Date", + format: "date-time", + }, + query: { + baseName: "query", + type: "string", + }, + to: { + baseName: "to", + type: "Date", + format: "date-time", + }, + }; + return SecurityMonitoringSignalListRequestFilter; +}()); +exports.SecurityMonitoringSignalListRequestFilter = SecurityMonitoringSignalListRequestFilter; +//# sourceMappingURL=SecurityMonitoringSignalListRequestFilter.js.map + +/***/ }), + +/***/ 31123: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalListRequestPage = void 0; +/** + * The paging attributes for listing security signals. + */ +var SecurityMonitoringSignalListRequestPage = /** @class */ (function () { + function SecurityMonitoringSignalListRequestPage() { + } + /** + * @ignore + */ + SecurityMonitoringSignalListRequestPage.getAttributeTypeMap = function () { + return SecurityMonitoringSignalListRequestPage.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalListRequestPage.attributeTypeMap = { + cursor: { + baseName: "cursor", + type: "string", + }, + limit: { + baseName: "limit", + type: "number", + format: "int32", + }, + }; + return SecurityMonitoringSignalListRequestPage; +}()); +exports.SecurityMonitoringSignalListRequestPage = SecurityMonitoringSignalListRequestPage; +//# sourceMappingURL=SecurityMonitoringSignalListRequestPage.js.map + +/***/ }), + +/***/ 8869: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalsListResponse = void 0; +/** + * The response object with all security signals matching the request and pagination information. + */ +var SecurityMonitoringSignalsListResponse = /** @class */ (function () { + function SecurityMonitoringSignalsListResponse() { + } + /** + * @ignore + */ + SecurityMonitoringSignalsListResponse.getAttributeTypeMap = function () { + return SecurityMonitoringSignalsListResponse.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalsListResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + links: { + baseName: "links", + type: "SecurityMonitoringSignalsListResponseLinks", + }, + meta: { + baseName: "meta", + type: "SecurityMonitoringSignalsListResponseMeta", + }, + }; + return SecurityMonitoringSignalsListResponse; +}()); +exports.SecurityMonitoringSignalsListResponse = SecurityMonitoringSignalsListResponse; +//# sourceMappingURL=SecurityMonitoringSignalsListResponse.js.map + +/***/ }), + +/***/ 53523: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalsListResponseLinks = void 0; +/** + * Links attributes. + */ +var SecurityMonitoringSignalsListResponseLinks = /** @class */ (function () { + function SecurityMonitoringSignalsListResponseLinks() { + } + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseLinks.getAttributeTypeMap = function () { + return SecurityMonitoringSignalsListResponseLinks.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseLinks.attributeTypeMap = { + next: { + baseName: "next", + type: "string", + }, + }; + return SecurityMonitoringSignalsListResponseLinks; +}()); +exports.SecurityMonitoringSignalsListResponseLinks = SecurityMonitoringSignalsListResponseLinks; +//# sourceMappingURL=SecurityMonitoringSignalsListResponseLinks.js.map + +/***/ }), + +/***/ 39585: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalsListResponseMeta = void 0; +/** + * Meta attributes. + */ +var SecurityMonitoringSignalsListResponseMeta = /** @class */ (function () { + function SecurityMonitoringSignalsListResponseMeta() { + } + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseMeta.getAttributeTypeMap = function () { + return SecurityMonitoringSignalsListResponseMeta.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseMeta.attributeTypeMap = { + page: { + baseName: "page", + type: "SecurityMonitoringSignalsListResponseMetaPage", + }, + }; + return SecurityMonitoringSignalsListResponseMeta; +}()); +exports.SecurityMonitoringSignalsListResponseMeta = SecurityMonitoringSignalsListResponseMeta; +//# sourceMappingURL=SecurityMonitoringSignalsListResponseMeta.js.map + +/***/ }), + +/***/ 54327: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SecurityMonitoringSignalsListResponseMetaPage = void 0; +/** + * Paging attributes. + */ +var SecurityMonitoringSignalsListResponseMetaPage = /** @class */ (function () { + function SecurityMonitoringSignalsListResponseMetaPage() { + } + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseMetaPage.getAttributeTypeMap = function () { + return SecurityMonitoringSignalsListResponseMetaPage.attributeTypeMap; + }; + /** + * @ignore + */ + SecurityMonitoringSignalsListResponseMetaPage.attributeTypeMap = { + after: { + baseName: "after", + type: "string", + }, + }; + return SecurityMonitoringSignalsListResponseMetaPage; +}()); +exports.SecurityMonitoringSignalsListResponseMetaPage = SecurityMonitoringSignalsListResponseMetaPage; +//# sourceMappingURL=SecurityMonitoringSignalsListResponseMetaPage.js.map + +/***/ }), + +/***/ 90326: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceAccountCreateAttributes = void 0; +/** + * Attributes of the created user. + */ +var ServiceAccountCreateAttributes = /** @class */ (function () { + function ServiceAccountCreateAttributes() { + } + /** + * @ignore + */ + ServiceAccountCreateAttributes.getAttributeTypeMap = function () { + return ServiceAccountCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceAccountCreateAttributes.attributeTypeMap = { + email: { + baseName: "email", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + }, + serviceAccount: { + baseName: "service_account", + type: "boolean", + required: true, + }, + title: { + baseName: "title", + type: "string", + }, + }; + return ServiceAccountCreateAttributes; +}()); +exports.ServiceAccountCreateAttributes = ServiceAccountCreateAttributes; +//# sourceMappingURL=ServiceAccountCreateAttributes.js.map + +/***/ }), + +/***/ 62468: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceAccountCreateData = void 0; +/** + * Object to create a service account User. + */ +var ServiceAccountCreateData = /** @class */ (function () { + function ServiceAccountCreateData() { + } + /** + * @ignore + */ + ServiceAccountCreateData.getAttributeTypeMap = function () { + return ServiceAccountCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceAccountCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ServiceAccountCreateAttributes", + required: true, + }, + relationships: { + baseName: "relationships", + type: "UserRelationships", + }, + type: { + baseName: "type", + type: "UsersType", + required: true, + }, + }; + return ServiceAccountCreateData; +}()); +exports.ServiceAccountCreateData = ServiceAccountCreateData; +//# sourceMappingURL=ServiceAccountCreateData.js.map + +/***/ }), + +/***/ 5390: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ServiceAccountCreateRequest = void 0; +/** + * Create a service account. + */ +var ServiceAccountCreateRequest = /** @class */ (function () { + function ServiceAccountCreateRequest() { + } + /** + * @ignore + */ + ServiceAccountCreateRequest.getAttributeTypeMap = function () { + return ServiceAccountCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + ServiceAccountCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "ServiceAccountCreateData", + required: true, + }, + }; + return ServiceAccountCreateRequest; +}()); +exports.ServiceAccountCreateRequest = ServiceAccountCreateRequest; +//# sourceMappingURL=ServiceAccountCreateRequest.js.map + +/***/ }), + +/***/ 47786: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.User = void 0; +/** + * User object returned by the API. + */ +var User = /** @class */ (function () { + function User() { + } + /** + * @ignore + */ + User.getAttributeTypeMap = function () { + return User.attributeTypeMap; + }; + /** + * @ignore + */ + User.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UserAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + relationships: { + baseName: "relationships", + type: "UserResponseRelationships", + }, + type: { + baseName: "type", + type: "UsersType", + }, + }; + return User; +}()); +exports.User = User; +//# sourceMappingURL=User.js.map + +/***/ }), + +/***/ 42432: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserAttributes = void 0; +/** + * Attributes of user object returned by the API. + */ +var UserAttributes = /** @class */ (function () { + function UserAttributes() { + } + /** + * @ignore + */ + UserAttributes.getAttributeTypeMap = function () { + return UserAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UserAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + disabled: { + baseName: "disabled", + type: "boolean", + }, + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + icon: { + baseName: "icon", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + name: { + baseName: "name", + type: "string", + }, + serviceAccount: { + baseName: "service_account", + type: "boolean", + }, + status: { + baseName: "status", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + verified: { + baseName: "verified", + type: "boolean", + }, + }; + return UserAttributes; +}()); +exports.UserAttributes = UserAttributes; +//# sourceMappingURL=UserAttributes.js.map + +/***/ }), + +/***/ 66656: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserCreateAttributes = void 0; +/** + * Attributes of the created user. + */ +var UserCreateAttributes = /** @class */ (function () { + function UserCreateAttributes() { + } + /** + * @ignore + */ + UserCreateAttributes.getAttributeTypeMap = function () { + return UserCreateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UserCreateAttributes.attributeTypeMap = { + email: { + baseName: "email", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + }, + title: { + baseName: "title", + type: "string", + }, + }; + return UserCreateAttributes; +}()); +exports.UserCreateAttributes = UserCreateAttributes; +//# sourceMappingURL=UserCreateAttributes.js.map + +/***/ }), + +/***/ 66646: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserCreateData = void 0; +/** + * Object to create a user. + */ +var UserCreateData = /** @class */ (function () { + function UserCreateData() { + } + /** + * @ignore + */ + UserCreateData.getAttributeTypeMap = function () { + return UserCreateData.attributeTypeMap; + }; + /** + * @ignore + */ + UserCreateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UserCreateAttributes", + required: true, + }, + relationships: { + baseName: "relationships", + type: "UserRelationships", + }, + type: { + baseName: "type", + type: "UsersType", + required: true, + }, + }; + return UserCreateData; +}()); +exports.UserCreateData = UserCreateData; +//# sourceMappingURL=UserCreateData.js.map + +/***/ }), + +/***/ 87642: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserCreateRequest = void 0; +/** + * Create a user. + */ +var UserCreateRequest = /** @class */ (function () { + function UserCreateRequest() { + } + /** + * @ignore + */ + UserCreateRequest.getAttributeTypeMap = function () { + return UserCreateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + UserCreateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "UserCreateData", + required: true, + }, + }; + return UserCreateRequest; +}()); +exports.UserCreateRequest = UserCreateRequest; +//# sourceMappingURL=UserCreateRequest.js.map + +/***/ }), + +/***/ 77954: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationData = void 0; +/** + * Object to create a user invitation. + */ +var UserInvitationData = /** @class */ (function () { + function UserInvitationData() { + } + /** + * @ignore + */ + UserInvitationData.getAttributeTypeMap = function () { + return UserInvitationData.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationData.attributeTypeMap = { + relationships: { + baseName: "relationships", + type: "UserInvitationRelationships", + required: true, + }, + type: { + baseName: "type", + type: "UserInvitationsType", + required: true, + }, + }; + return UserInvitationData; +}()); +exports.UserInvitationData = UserInvitationData; +//# sourceMappingURL=UserInvitationData.js.map + +/***/ }), + +/***/ 3798: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationDataAttributes = void 0; +/** + * Attributes of a user invitation. + */ +var UserInvitationDataAttributes = /** @class */ (function () { + function UserInvitationDataAttributes() { + } + /** + * @ignore + */ + UserInvitationDataAttributes.getAttributeTypeMap = function () { + return UserInvitationDataAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationDataAttributes.attributeTypeMap = { + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + expiresAt: { + baseName: "expires_at", + type: "Date", + format: "date-time", + }, + inviteType: { + baseName: "invite_type", + type: "string", + }, + uuid: { + baseName: "uuid", + type: "string", + }, + }; + return UserInvitationDataAttributes; +}()); +exports.UserInvitationDataAttributes = UserInvitationDataAttributes; +//# sourceMappingURL=UserInvitationDataAttributes.js.map + +/***/ }), + +/***/ 18252: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationRelationships = void 0; +/** + * Relationships data for user invitation. + */ +var UserInvitationRelationships = /** @class */ (function () { + function UserInvitationRelationships() { + } + /** + * @ignore + */ + UserInvitationRelationships.getAttributeTypeMap = function () { + return UserInvitationRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationRelationships.attributeTypeMap = { + user: { + baseName: "user", + type: "RelationshipToUser", + required: true, + }, + }; + return UserInvitationRelationships; +}()); +exports.UserInvitationRelationships = UserInvitationRelationships; +//# sourceMappingURL=UserInvitationRelationships.js.map + +/***/ }), + +/***/ 14586: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationResponse = void 0; +/** + * User invitation as returned by the API. + */ +var UserInvitationResponse = /** @class */ (function () { + function UserInvitationResponse() { + } + /** + * @ignore + */ + UserInvitationResponse.getAttributeTypeMap = function () { + return UserInvitationResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "UserInvitationResponseData", + }, + }; + return UserInvitationResponse; +}()); +exports.UserInvitationResponse = UserInvitationResponse; +//# sourceMappingURL=UserInvitationResponse.js.map + +/***/ }), + +/***/ 35653: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationResponseData = void 0; +/** + * Object of a user invitation returned by the API. + */ +var UserInvitationResponseData = /** @class */ (function () { + function UserInvitationResponseData() { + } + /** + * @ignore + */ + UserInvitationResponseData.getAttributeTypeMap = function () { + return UserInvitationResponseData.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationResponseData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UserInvitationDataAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "UserInvitationsType", + }, + }; + return UserInvitationResponseData; +}()); +exports.UserInvitationResponseData = UserInvitationResponseData; +//# sourceMappingURL=UserInvitationResponseData.js.map + +/***/ }), + +/***/ 89585: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationsRequest = void 0; +/** + * Object to invite users to join the organization. + */ +var UserInvitationsRequest = /** @class */ (function () { + function UserInvitationsRequest() { + } + /** + * @ignore + */ + UserInvitationsRequest.getAttributeTypeMap = function () { + return UserInvitationsRequest.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationsRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + return UserInvitationsRequest; +}()); +exports.UserInvitationsRequest = UserInvitationsRequest; +//# sourceMappingURL=UserInvitationsRequest.js.map + +/***/ }), + +/***/ 49353: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserInvitationsResponse = void 0; +/** + * User invitations as returned by the API. + */ +var UserInvitationsResponse = /** @class */ (function () { + function UserInvitationsResponse() { + } + /** + * @ignore + */ + UserInvitationsResponse.getAttributeTypeMap = function () { + return UserInvitationsResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserInvitationsResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + return UserInvitationsResponse; +}()); +exports.UserInvitationsResponse = UserInvitationsResponse; +//# sourceMappingURL=UserInvitationsResponse.js.map + +/***/ }), + +/***/ 58125: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserRelationships = void 0; +/** + * Relationships of the user object. + */ +var UserRelationships = /** @class */ (function () { + function UserRelationships() { + } + /** + * @ignore + */ + UserRelationships.getAttributeTypeMap = function () { + return UserRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + UserRelationships.attributeTypeMap = { + roles: { + baseName: "roles", + type: "RelationshipToRoles", + }, + }; + return UserRelationships; +}()); +exports.UserRelationships = UserRelationships; +//# sourceMappingURL=UserRelationships.js.map + +/***/ }), + +/***/ 18779: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserResponse = void 0; +/** + * Response containing information about a single user. + */ +var UserResponse = /** @class */ (function () { + function UserResponse() { + } + /** + * @ignore + */ + UserResponse.getAttributeTypeMap = function () { + return UserResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UserResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "User", + }, + included: { + baseName: "included", + type: "Array", + }, + }; + return UserResponse; +}()); +exports.UserResponse = UserResponse; +//# sourceMappingURL=UserResponse.js.map + +/***/ }), + +/***/ 20157: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserResponseRelationships = void 0; +/** + * Relationships of the user object returned by the API. + */ +var UserResponseRelationships = /** @class */ (function () { + function UserResponseRelationships() { + } + /** + * @ignore + */ + UserResponseRelationships.getAttributeTypeMap = function () { + return UserResponseRelationships.attributeTypeMap; + }; + /** + * @ignore + */ + UserResponseRelationships.attributeTypeMap = { + org: { + baseName: "org", + type: "RelationshipToOrganization", + }, + otherOrgs: { + baseName: "other_orgs", + type: "RelationshipToOrganizations", + }, + otherUsers: { + baseName: "other_users", + type: "RelationshipToUsers", + }, + roles: { + baseName: "roles", + type: "RelationshipToRoles", + }, + }; + return UserResponseRelationships; +}()); +exports.UserResponseRelationships = UserResponseRelationships; +//# sourceMappingURL=UserResponseRelationships.js.map + +/***/ }), + +/***/ 68822: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserUpdateAttributes = void 0; +/** + * Attributes of the edited user. + */ +var UserUpdateAttributes = /** @class */ (function () { + function UserUpdateAttributes() { + } + /** + * @ignore + */ + UserUpdateAttributes.getAttributeTypeMap = function () { + return UserUpdateAttributes.attributeTypeMap; + }; + /** + * @ignore + */ + UserUpdateAttributes.attributeTypeMap = { + disabled: { + baseName: "disabled", + type: "boolean", + }, + email: { + baseName: "email", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + return UserUpdateAttributes; +}()); +exports.UserUpdateAttributes = UserUpdateAttributes; +//# sourceMappingURL=UserUpdateAttributes.js.map + +/***/ }), + +/***/ 21330: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserUpdateData = void 0; +/** + * Object to update a user. + */ +var UserUpdateData = /** @class */ (function () { + function UserUpdateData() { + } + /** + * @ignore + */ + UserUpdateData.getAttributeTypeMap = function () { + return UserUpdateData.attributeTypeMap; + }; + /** + * @ignore + */ + UserUpdateData.attributeTypeMap = { + attributes: { + baseName: "attributes", + type: "UserUpdateAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "UsersType", + required: true, + }, + }; + return UserUpdateData; +}()); +exports.UserUpdateData = UserUpdateData; +//# sourceMappingURL=UserUpdateData.js.map + +/***/ }), + +/***/ 59906: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UserUpdateRequest = void 0; +/** + * Update a user. + */ +var UserUpdateRequest = /** @class */ (function () { + function UserUpdateRequest() { + } + /** + * @ignore + */ + UserUpdateRequest.getAttributeTypeMap = function () { + return UserUpdateRequest.attributeTypeMap; + }; + /** + * @ignore + */ + UserUpdateRequest.attributeTypeMap = { + data: { + baseName: "data", + type: "UserUpdateData", + required: true, + }, + }; + return UserUpdateRequest; +}()); +exports.UserUpdateRequest = UserUpdateRequest; +//# sourceMappingURL=UserUpdateRequest.js.map + +/***/ }), + +/***/ 18577: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.UsersResponse = void 0; +/** + * Response containing information about multiple users. + */ +var UsersResponse = /** @class */ (function () { + function UsersResponse() { + } + /** + * @ignore + */ + UsersResponse.getAttributeTypeMap = function () { + return UsersResponse.attributeTypeMap; + }; + /** + * @ignore + */ + UsersResponse.attributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + included: { + baseName: "included", + type: "Array", + }, + meta: { + baseName: "meta", + type: "ResponseMetaAttributes", + }, + }; + return UsersResponse; +}()); +exports.UsersResponse = UsersResponse; +//# sourceMappingURL=UsersResponse.js.map + +/***/ }), + +/***/ 42523: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.operationServers = exports.servers = exports.server3 = exports.server2 = exports.server1 = exports.ServerConfiguration = exports.BaseServerConfiguration = void 0; +var http_1 = __nccwpck_require__(88621); +/** + * + * Represents the configuration of a server + * + */ +var BaseServerConfiguration = /** @class */ (function () { + function BaseServerConfiguration(url, variableConfiguration) { + this.url = url; + this.variableConfiguration = variableConfiguration; + } + /** + * Sets the value of the variables of this server. + * + * @param variableConfiguration a partial variable configuration for the variables contained in the url + */ + BaseServerConfiguration.prototype.setVariables = function (variableConfiguration) { + Object.assign(this.variableConfiguration, variableConfiguration); + }; + BaseServerConfiguration.prototype.getConfiguration = function () { + return this.variableConfiguration; + }; + BaseServerConfiguration.prototype.getUrl = function () { + var replacedUrl = this.url; + for (var key in this.variableConfiguration) { + var re = new RegExp("{" + key + "}", "g"); + replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]); + } + return replacedUrl; + }; + /** + * Creates a new request context for this server using the url with variables + * replaced with their respective values and the endpoint of the request appended. + * + * @param endpoint the endpoint to be queried on the server + * @param httpMethod httpMethod to be used + * + */ + BaseServerConfiguration.prototype.makeRequestContext = function (endpoint, httpMethod) { + return new http_1.RequestContext(this.getUrl() + endpoint, httpMethod); + }; + return BaseServerConfiguration; +}()); +exports.BaseServerConfiguration = BaseServerConfiguration; +/** + * + * Represents the configuration of a server including its + * url template and variable configuration based on the url. + * + */ +var ServerConfiguration = /** @class */ (function (_super) { + __extends(ServerConfiguration, _super); + function ServerConfiguration() { + return _super !== null && _super.apply(this, arguments) || this; + } + return ServerConfiguration; +}(BaseServerConfiguration)); +exports.ServerConfiguration = ServerConfiguration; +exports.server1 = new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "api", +}); +exports.server2 = new ServerConfiguration("{protocol}://{name}", { + name: "api.datadoghq.com", + protocol: "https", +}); +exports.server3 = new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "api", +}); +exports.servers = [exports.server1, exports.server2, exports.server3]; +exports.operationServers = { + "LogsApi.submitLog": [ + new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "http-intake.logs", + }), + new ServerConfiguration("{protocol}://{name}", { + name: "http-intake.logs.datadoghq.com", + protocol: "https", + }), + new ServerConfiguration("https://{subdomain}.{site}", { + site: "datadoghq.com", + subdomain: "http-intake.logs", + }), + ], +}; +//# sourceMappingURL=servers.js.map + +/***/ }), + +/***/ 99354: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isCodeInRange = void 0; +/** + * Returns if a specific http code is in a given code range + * where the code range is defined as a combination of digits + * and "X" (the letter X) with a length of 3 + * + * @param codeRange string with length 3 consisting of digits and "X" (the letter X) + * @param code the http status code to be checked against the code range + */ +function isCodeInRange(codeRange, code) { + // This is how the default value is encoded in OAG + if (codeRange === "0") { + return true; + } + if (codeRange == code.toString()) { + return true; + } + else { + var codeString = code.toString(); + if (codeString.length != codeRange.length) { + return false; + } + for (var i = 0; i < codeString.length; i++) { + if (codeRange.charAt(i) != "X" && + codeRange.charAt(i) != codeString.charAt(i)) { + return false; + } + } + return true; + } +} +exports.isCodeInRange = isCodeInRange; +//# sourceMappingURL=util.js.map + +/***/ }), + +/***/ 55180: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.userAgent = void 0; +var os = __importStar(__nccwpck_require__(22037)); +var version_1 = __nccwpck_require__(87920); +exports.userAgent = "datadog-api-client-typescript/".concat(version_1.version, " (node ").concat(process.versions.node, "; os ").concat(os.type(), "; arch ").concat(os.arch(), ")"); +//# sourceMappingURL=userAgent.js.map + +/***/ }), + +/***/ 87920: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.version = void 0; +exports.version = "1.0.0-beta.8"; +//# sourceMappingURL=version.js.map + +/***/ }), + +/***/ 50382: +/***/ ((module) => { + +/* eslint-disable node/no-deprecated-api */ + +var toString = Object.prototype.toString + +var isModern = ( + typeof Buffer !== 'undefined' && + typeof Buffer.alloc === 'function' && + typeof Buffer.allocUnsafe === 'function' && + typeof Buffer.from === 'function' +) + +function isArrayBuffer (input) { + return toString.call(input).slice(8, -1) === 'ArrayBuffer' +} + +function fromArrayBuffer (obj, byteOffset, length) { + byteOffset >>>= 0 + + var maxLength = obj.byteLength - byteOffset + + if (maxLength < 0) { + throw new RangeError("'offset' is out of bounds") + } + + if (length === undefined) { + length = maxLength + } else { + length >>>= 0 + + if (length > maxLength) { + throw new RangeError("'length' is out of bounds") + } + } + + return isModern + ? Buffer.from(obj.slice(byteOffset, byteOffset + length)) + : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length))) +} + +function fromString (string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8' + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding') + } + + return isModern + ? Buffer.from(string, encoding) + : new Buffer(string, encoding) +} + +function bufferFrom (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number') + } + + if (isArrayBuffer(value)) { + return fromArrayBuffer(value, encodingOrOffset, length) + } + + if (typeof value === 'string') { + return fromString(value, encodingOrOffset) + } + + return isModern + ? Buffer.from(value) + : new Buffer(value) +} + +module.exports = bufferFrom + + +/***/ }), + +/***/ 25647: +/***/ ((module, exports, __nccwpck_require__) => { + +const nodeFetch = __nccwpck_require__(62194) +const realFetch = nodeFetch.default || nodeFetch + +const fetch = function (url, options) { + // Support schemaless URIs on the server for parity with the browser. + // Ex: //github.com/ -> https://github.com/ + if (/^\/\//.test(url)) { + url = 'https:' + url + } + return realFetch.call(this, url, options) +} + +fetch.ponyfill = true + +module.exports = exports = fetch +exports.fetch = fetch +exports.Headers = nodeFetch.Headers +exports.Request = nodeFetch.Request +exports.Response = nodeFetch.Response + +// Needed for TypeScript consumers without esModuleInterop. +exports["default"] = fetch + + +/***/ }), + +/***/ 62194: +/***/ ((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__(28665)); +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; + + +/***/ }), + +/***/ 40334: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +async function auth(token) { + const tokenType = token.split(/\./).length === 3 ? "app" : /^v\d+\./.test(token) ? "installation" : "oauth"; + return { + type: "token", + token: token, + tokenType + }; +} + +/** + * Prefix token for usage in the Authorization header + * + * @param token OAuth token or JSON Web Token + */ +function withAuthorizationPrefix(token) { + if (token.split(/\./).length === 3) { + return `bearer ${token}`; + } + + return `token ${token}`; +} + +async function hook(token, request, route, parameters) { + const endpoint = request.endpoint.merge(route, parameters); + endpoint.headers.authorization = withAuthorizationPrefix(token); + return request(endpoint); +} + +const createTokenAuth = function createTokenAuth(token) { + if (!token) { + throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); + } + + if (typeof token !== "string") { + throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); + } + + token = token.replace(/^(token|bearer) +/i, ""); + return Object.assign(auth.bind(null, token), { + hook: hook.bind(null, token) + }); +}; + +exports.createTokenAuth = createTokenAuth; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 76762: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var universalUserAgent = __nccwpck_require__(45030); +var beforeAfterHook = __nccwpck_require__(83682); +var request = __nccwpck_require__(36234); +var graphql = __nccwpck_require__(88467); +var authToken = __nccwpck_require__(40334); + +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + + var target = _objectWithoutPropertiesLoose(source, excluded); + + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; +} + +const VERSION = "3.5.1"; + +const _excluded = ["authStrategy"]; +class Octokit { + constructor(options = {}) { + const hook = new beforeAfterHook.Collection(); + const requestDefaults = { + baseUrl: request.request.endpoint.DEFAULTS.baseUrl, + headers: {}, + request: Object.assign({}, options.request, { + // @ts-ignore internal usage only, no need to type + hook: hook.bind(null, "request") + }), + mediaType: { + previews: [], + format: "" + } + }; // prepend default user agent with `options.userAgent` if set + + requestDefaults.headers["user-agent"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(" "); + + if (options.baseUrl) { + requestDefaults.baseUrl = options.baseUrl; + } + + if (options.previews) { + requestDefaults.mediaType.previews = options.previews; + } + + if (options.timeZone) { + requestDefaults.headers["time-zone"] = options.timeZone; + } + + this.request = request.request.defaults(requestDefaults); + this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults); + this.log = Object.assign({ + debug: () => {}, + info: () => {}, + warn: console.warn.bind(console), + error: console.error.bind(console) + }, options.log); + this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance + // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered. + // (2) If only `options.auth` is set, use the default token authentication strategy. + // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance. + // TODO: type `options.auth` based on `options.authStrategy`. + + if (!options.authStrategy) { + if (!options.auth) { + // (1) + this.auth = async () => ({ + type: "unauthenticated" + }); + } else { + // (2) + const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\_(ツ)_/¯ + + hook.wrap("request", auth.hook); + this.auth = auth; + } + } else { + const { + authStrategy + } = options, + otherOptions = _objectWithoutProperties(options, _excluded); + + const auth = authStrategy(Object.assign({ + request: this.request, + log: this.log, + // we pass the current octokit instance as well as its constructor options + // to allow for authentication strategies that return a new octokit instance + // that shares the same internal state as the current one. The original + // requirement for this was the "event-octokit" authentication strategy + // of https://github.com/probot/octokit-auth-probot. + octokit: this, + octokitOptions: otherOptions + }, options.auth)); // @ts-ignore ¯\_(ツ)_/¯ + + hook.wrap("request", auth.hook); + this.auth = auth; + } // apply plugins + // https://stackoverflow.com/a/16345172 + + + const classConstructor = this.constructor; + classConstructor.plugins.forEach(plugin => { + Object.assign(this, plugin(this, options)); + }); + } + + static defaults(defaults) { + const OctokitWithDefaults = class extends this { + constructor(...args) { + const options = args[0] || {}; + + if (typeof defaults === "function") { + super(defaults(options)); + return; + } + + super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? { + userAgent: `${options.userAgent} ${defaults.userAgent}` + } : null)); + } + + }; + return OctokitWithDefaults; + } + /** + * Attach a plugin (or many) to your Octokit instance. + * + * @example + * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) + */ + + + static plugin(...newPlugins) { + var _a; + + const currentPlugins = this.plugins; + const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a); + return NewOctokit; + } + +} +Octokit.VERSION = VERSION; +Octokit.plugins = []; + +exports.Octokit = Octokit; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 59440: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var isPlainObject = __nccwpck_require__(63287); +var universalUserAgent = __nccwpck_require__(45030); + +function lowercaseKeys(object) { + if (!object) { + return {}; + } + + return Object.keys(object).reduce((newObj, key) => { + newObj[key.toLowerCase()] = object[key]; + return newObj; + }, {}); +} + +function mergeDeep(defaults, options) { + const result = Object.assign({}, defaults); + Object.keys(options).forEach(key => { + if (isPlainObject.isPlainObject(options[key])) { + if (!(key in defaults)) Object.assign(result, { + [key]: options[key] + });else result[key] = mergeDeep(defaults[key], options[key]); + } else { + Object.assign(result, { + [key]: options[key] + }); + } + }); + return result; +} + +function removeUndefinedProperties(obj) { + for (const key in obj) { + if (obj[key] === undefined) { + delete obj[key]; + } + } + + return obj; +} + +function merge(defaults, route, options) { + if (typeof route === "string") { + let [method, url] = route.split(" "); + options = Object.assign(url ? { + method, + url + } : { + url: method + }, options); + } else { + options = Object.assign({}, route); + } // lowercase header names before merging with defaults to avoid duplicates + + + options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging + + removeUndefinedProperties(options); + removeUndefinedProperties(options.headers); + const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten + + if (defaults && defaults.mediaType.previews.length) { + mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews); + } + + mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, "")); + return mergedOptions; +} + +function addQueryParameters(url, parameters) { + const separator = /\?/.test(url) ? "&" : "?"; + const names = Object.keys(parameters); + + if (names.length === 0) { + return url; + } + + return url + separator + names.map(name => { + if (name === "q") { + return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); + } + + return `${name}=${encodeURIComponent(parameters[name])}`; + }).join("&"); +} + +const urlVariableRegex = /\{[^}]+\}/g; + +function removeNonChars(variableName) { + return variableName.replace(/^\W+|\W+$/g, "").split(/,/); +} + +function extractUrlVariableNames(url) { + const matches = url.match(urlVariableRegex); + + if (!matches) { + return []; + } + + return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); +} + +function omit(object, keysToOmit) { + return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => { + obj[key] = object[key]; + return obj; + }, {}); +} + +// Based on https://github.com/bramstein/url-template, licensed under BSD +// TODO: create separate package. +// +// 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. + +/* istanbul ignore file */ +function encodeReserved(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(""); +} + +function encodeUnreserved(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} + +function encodeValue(operator, value, key) { + value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); + + if (key) { + return encodeUnreserved(key) + "=" + value; + } else { + return value; + } +} + +function isDefined(value) { + return value !== undefined && value !== null; +} + +function isKeyOperator(operator) { + return operator === ";" || operator === "&" || operator === "?"; +} + +function getValues(context, operator, key, modifier) { + var value = context[key], + result = []; + + if (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(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + } else { + if (modifier === "*") { + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : "")); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + result.push(encodeValue(operator, value[k], k)); + } + }); + } + } else { + const tmp = []; + + if (Array.isArray(value)) { + value.filter(isDefined).forEach(function (value) { + tmp.push(encodeValue(operator, value)); + }); + } else { + Object.keys(value).forEach(function (k) { + if (isDefined(value[k])) { + tmp.push(encodeUnreserved(k)); + tmp.push(encodeValue(operator, value[k].toString())); + } + }); + } + + if (isKeyOperator(operator)) { + result.push(encodeUnreserved(key) + "=" + tmp.join(",")); + } else if (tmp.length !== 0) { + result.push(tmp.join(",")); + } + } + } + } else { + if (operator === ";") { + if (isDefined(value)) { + result.push(encodeUnreserved(key)); + } + } else if (value === "" && (operator === "&" || operator === "?")) { + result.push(encodeUnreserved(key) + "="); + } else if (value === "") { + result.push(""); + } + } + + return result; +} + +function parseUrl(template) { + return { + expand: expand.bind(null, template) + }; +} + +function expand(template, context) { + var operators = ["+", "#", ".", "/", ";", "?", "&"]; + return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { + if (expression) { + let operator = ""; + const 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(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 encodeReserved(literal); + } + }); +} + +function parse(options) { + // https://fetch.spec.whatwg.org/#methods + let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible + + let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); + let headers = Object.assign({}, options.headers); + let body; + let parameters = omit(options, ["method", "baseUrl", "url", "headers", "request", "mediaType"]); // extract variable names from URL to calculate remaining variables later + + const urlVariableNames = extractUrlVariableNames(url); + url = parseUrl(url).expand(parameters); + + if (!/^http/.test(url)) { + url = options.baseUrl + url; + } + + const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat("baseUrl"); + const remainingParameters = omit(parameters, omittedParameters); + const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); + + if (!isBinaryRequest) { + if (options.mediaType.format) { + // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw + headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(","); + } + + if (options.mediaType.previews.length) { + const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; + headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => { + const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; + return `application/vnd.github.${preview}-preview${format}`; + }).join(","); + } + } // for GET/HEAD requests, set URL query parameters from remaining parameters + // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters + + + if (["GET", "HEAD"].includes(method)) { + url = addQueryParameters(url, remainingParameters); + } else { + if ("data" in remainingParameters) { + body = remainingParameters.data; + } else { + if (Object.keys(remainingParameters).length) { + body = remainingParameters; + } else { + headers["content-length"] = 0; + } + } + } // default content-type for JSON if body is set + + + if (!headers["content-type"] && typeof body !== "undefined") { + headers["content-type"] = "application/json; charset=utf-8"; + } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body. + // fetch does not allow to set `content-length` header, but we can set body to an empty string + + + if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { + body = ""; + } // Only return body/request keys if present + + + return Object.assign({ + method, + url, + headers + }, typeof body !== "undefined" ? { + body + } : null, options.request ? { + request: options.request + } : null); +} + +function endpointWithDefaults(defaults, route, options) { + return parse(merge(defaults, route, options)); +} + +function withDefaults(oldDefaults, newDefaults) { + const DEFAULTS = merge(oldDefaults, newDefaults); + const endpoint = endpointWithDefaults.bind(null, DEFAULTS); + return Object.assign(endpoint, { + DEFAULTS, + defaults: withDefaults.bind(null, DEFAULTS), + merge: merge.bind(null, DEFAULTS), + parse + }); +} + +const VERSION = "6.0.12"; + +const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. +// So we use RequestParameters and add method as additional required property. + +const DEFAULTS = { + method: "GET", + baseUrl: "https://api.github.com", + headers: { + accept: "application/vnd.github.v3+json", + "user-agent": userAgent + }, + mediaType: { + format: "", + previews: [] + } +}; + +const endpoint = withDefaults(null, DEFAULTS); + +exports.endpoint = endpoint; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 88467: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +var request = __nccwpck_require__(36234); +var universalUserAgent = __nccwpck_require__(45030); + +const VERSION = "4.6.4"; + +class GraphqlError extends Error { + constructor(request, response) { + const message = response.data.errors[0].message; + super(message); + Object.assign(this, response.data); + Object.assign(this, { + headers: response.headers + }); + this.name = "GraphqlError"; + this.request = request; // Maintains proper stack trace (only available on V8) + + /* istanbul ignore next */ + + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + } + +} + +const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; +const FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; +const GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; +function graphql(request, query, options) { + if (options) { + if (typeof query === "string" && "query" in options) { + return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`)); + } + + for (const key in options) { + if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue; + return Promise.reject(new Error(`[@octokit/graphql] "${key}" cannot be used as variable name`)); + } + } + + const parsedOptions = typeof query === "string" ? Object.assign({ + query + }, options) : query; + const requestOptions = Object.keys(parsedOptions).reduce((result, key) => { + if (NON_VARIABLE_OPTIONS.includes(key)) { + result[key] = parsedOptions[key]; + return result; + } + + if (!result.variables) { + result.variables = {}; + } + + result.variables[key] = parsedOptions[key]; + return result; + }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix + // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451 + + const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl; + + if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { + requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); + } + + return request(requestOptions).then(response => { + if (response.data.errors) { + const headers = {}; + + for (const key of Object.keys(response.headers)) { + headers[key] = response.headers[key]; + } + + throw new GraphqlError(requestOptions, { + headers, + data: response.data + }); + } + + return response.data.data; + }); +} + +function withDefaults(request$1, newDefaults) { + const newRequest = request$1.defaults(newDefaults); + + const newApi = (query, options) => { + return graphql(newRequest, query, options); + }; + + return Object.assign(newApi, { + defaults: withDefaults.bind(null, newRequest), + endpoint: request.request.endpoint + }); +} + +const graphql$1 = withDefaults(request.request, { + headers: { + "user-agent": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}` + }, + method: "POST", + url: "/graphql" +}); +function withCustomRequest(customRequest) { + return withDefaults(customRequest, { + method: "POST", + url: "/graphql" + }); +} + +exports.graphql = graphql$1; +exports.withCustomRequest = withCustomRequest; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 64193: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +const VERSION = "2.14.0"; + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + + if (enumerableOnly) { + symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + } + + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/** + * Some “list” response that can be paginated have a different response structure + * + * They have a `total_count` key in the response (search also has `incomplete_results`, + * /installation/repositories also has `repository_selection`), as well as a key with + * the list of the items which name varies from endpoint to endpoint. + * + * Octokit normalizes these responses so that paginated results are always returned following + * the same structure. One challenge is that if the list response has only one page, no Link + * header is provided, so this header alone is not sufficient to check wether a response is + * paginated or not. + * + * We check if a "total_count" key is present in the response data, but also make sure that + * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would + * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref + */ +function normalizePaginatedListResponse(response) { + // endpoints can respond with 204 if repository is empty + if (!response.data) { + return _objectSpread2(_objectSpread2({}, response), {}, { + data: [] + }); + } + + const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); + if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way + // to retrieve the same information. + + const incompleteResults = response.data.incomplete_results; + const repositorySelection = response.data.repository_selection; + const totalCount = response.data.total_count; + delete response.data.incomplete_results; + delete response.data.repository_selection; + delete response.data.total_count; + const namespaceKey = Object.keys(response.data)[0]; + const data = response.data[namespaceKey]; + response.data = data; + + if (typeof incompleteResults !== "undefined") { + response.data.incomplete_results = incompleteResults; + } + + if (typeof repositorySelection !== "undefined") { + response.data.repository_selection = repositorySelection; + } + + response.data.total_count = totalCount; + return response; +} + +function iterator(octokit, route, parameters) { + const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); + const requestMethod = typeof route === "function" ? route : octokit.request; + const method = options.method; + const headers = options.headers; + let url = options.url; + return { + [Symbol.asyncIterator]: () => ({ + async next() { + if (!url) return { + done: true + }; + + try { + const response = await requestMethod({ + method, + url, + headers + }); + const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format: + // '; rel="next", ; rel="last"' + // sets `url` to undefined if "next" URL is not present or `link` header is not set + + url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1]; + return { + value: normalizedResponse + }; + } catch (error) { + if (error.status !== 409) throw error; + url = ""; + return { + value: { + status: 200, + headers: {}, + data: [] + } + }; + } + } + + }) + }; +} + +function paginate(octokit, route, parameters, mapFn) { + if (typeof parameters === "function") { + mapFn = parameters; + parameters = undefined; + } + + return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); +} + +function gather(octokit, results, iterator, mapFn) { + return iterator.next().then(result => { + if (result.done) { + return results; + } + + let earlyExit = false; + + function done() { + earlyExit = true; + } + + results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); + + if (earlyExit) { + return results; + } + + return gather(octokit, results, iterator, mapFn); + }); +} + +const composePaginateRest = Object.assign(paginate, { + iterator +}); + +const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /applications/grants", "GET /authorizations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/actions/runners/downloads", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/runners/downloads", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/credential-authorizations", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/team-sync/groups", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runners/downloads", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/git/matching-refs/{ref}", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", "GET /repos/{owner}/{repo}/issues/{issue_number}/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", "GET /repos/{owner}/{repo}/keys", "GET /repos/{owner}/{repo}/labels", "GET /repos/{owner}/{repo}/milestones", "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", "GET /repos/{owner}/{repo}/notifications", "GET /repos/{owner}/{repo}/pages/builds", "GET /repos/{owner}/{repo}/projects", "GET /repos/{owner}/{repo}/pulls", "GET /repos/{owner}/{repo}/pulls/comments", "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", "GET /repos/{owner}/{repo}/releases", "GET /repos/{owner}/{repo}/releases/{release_id}/assets", "GET /repos/{owner}/{repo}/secret-scanning/alerts", "GET /repos/{owner}/{repo}/stargazers", "GET /repos/{owner}/{repo}/subscribers", "GET /repos/{owner}/{repo}/tags", "GET /repos/{owner}/{repo}/teams", "GET /repositories", "GET /repositories/{repository_id}/environments/{environment_name}/secrets", "GET /scim/v2/enterprises/{enterprise}/Groups", "GET /scim/v2/enterprises/{enterprise}/Users", "GET /scim/v2/organizations/{org}/Users", "GET /search/code", "GET /search/commits", "GET /search/issues", "GET /search/labels", "GET /search/repositories", "GET /search/topics", "GET /search/users", "GET /teams/{team_id}/discussions", "GET /teams/{team_id}/discussions/{discussion_number}/comments", "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /teams/{team_id}/discussions/{discussion_number}/reactions", "GET /teams/{team_id}/invitations", "GET /teams/{team_id}/members", "GET /teams/{team_id}/projects", "GET /teams/{team_id}/repos", "GET /teams/{team_id}/team-sync/group-mappings", "GET /teams/{team_id}/teams", "GET /user/blocks", "GET /user/emails", "GET /user/followers", "GET /user/following", "GET /user/gpg_keys", "GET /user/installations", "GET /user/installations/{installation_id}/repositories", "GET /user/issues", "GET /user/keys", "GET /user/marketplace_purchases", "GET /user/marketplace_purchases/stubbed", "GET /user/memberships/orgs", "GET /user/migrations", "GET /user/migrations/{migration_id}/repositories", "GET /user/orgs", "GET /user/public_emails", "GET /user/repos", "GET /user/repository_invitations", "GET /user/starred", "GET /user/subscriptions", "GET /user/teams", "GET /users", "GET /users/{username}/events", "GET /users/{username}/events/orgs/{org}", "GET /users/{username}/events/public", "GET /users/{username}/followers", "GET /users/{username}/following", "GET /users/{username}/gists", "GET /users/{username}/gpg_keys", "GET /users/{username}/keys", "GET /users/{username}/orgs", "GET /users/{username}/projects", "GET /users/{username}/received_events", "GET /users/{username}/received_events/public", "GET /users/{username}/repos", "GET /users/{username}/starred", "GET /users/{username}/subscriptions"]; + +function isPaginatingEndpoint(arg) { + if (typeof arg === "string") { + return paginatingEndpoints.includes(arg); + } else { + return false; + } +} + +/** + * @param octokit Octokit instance + * @param options Options passed to Octokit constructor + */ + +function paginateRest(octokit) { + return { + paginate: Object.assign(paginate.bind(null, octokit), { + iterator: iterator.bind(null, octokit) + }) + }; +} +paginateRest.VERSION = VERSION; + +exports.composePaginateRest = composePaginateRest; +exports.isPaginatingEndpoint = isPaginatingEndpoint; +exports.paginateRest = paginateRest; +exports.paginatingEndpoints = paginatingEndpoints; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 83044: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + + if (enumerableOnly) { + symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + }); + } + + keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] != null ? arguments[i] : {}; + + if (i % 2) { + ownKeys(Object(source), true).forEach(function (key) { + _defineProperty(target, key, source[key]); + }); + } else if (Object.getOwnPropertyDescriptors) { + Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); + } else { + ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + } + + return target; +} + +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +const Endpoints = { + actions: { + addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], + approveWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"], + cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], + createOrUpdateEnvironmentSecret: ["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], + createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], + createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"], + createRegistrationTokenForOrg: ["POST /orgs/{org}/actions/runners/registration-token"], + createRegistrationTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/registration-token"], + createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], + createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"], + createWorkflowDispatch: ["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"], + deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], + deleteEnvironmentSecret: ["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], + deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], + deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"], + deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"], + deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"], + deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], + deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], + disableSelectedRepositoryGithubActionsOrganization: ["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"], + disableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"], + downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"], + downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"], + downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], + enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"], + enableWorkflow: ["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"], + getAllowedActionsOrganization: ["GET /orgs/{org}/actions/permissions/selected-actions"], + getAllowedActionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"], + getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], + getEnvironmentPublicKey: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"], + getEnvironmentSecret: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"], + getGithubActionsPermissionsOrganization: ["GET /orgs/{org}/actions/permissions"], + getGithubActionsPermissionsRepository: ["GET /repos/{owner}/{repo}/actions/permissions"], + getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], + getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], + getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], + getPendingDeploymentsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], + getRepoPermissions: ["GET /repos/{owner}/{repo}/actions/permissions", {}, { + renamed: ["actions", "getGithubActionsPermissionsRepository"] + }], + getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], + getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], + getReviewsForRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"], + getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], + getSelfHostedRunnerForRepo: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"], + getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], + getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], + getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], + getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], + listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], + listEnvironmentSecrets: ["GET /repositories/{repository_id}/environments/{environment_name}/secrets"], + listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], + listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], + listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], + listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], + listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], + listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"], + listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"], + listSelectedRepositoriesEnabledGithubActionsOrganization: ["GET /orgs/{org}/actions/permissions/repositories"], + listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], + listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], + listWorkflowRunArtifacts: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"], + listWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"], + listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], + reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], + removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], + reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], + setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"], + setAllowedActionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"], + setGithubActionsPermissionsOrganization: ["PUT /orgs/{org}/actions/permissions"], + setGithubActionsPermissionsRepository: ["PUT /repos/{owner}/{repo}/actions/permissions"], + setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"], + setSelectedRepositoriesEnabledGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories"] + }, + activity: { + checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], + deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], + deleteThreadSubscription: ["DELETE /notifications/threads/{thread_id}/subscription"], + getFeeds: ["GET /feeds"], + getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], + getThread: ["GET /notifications/threads/{thread_id}"], + getThreadSubscriptionForAuthenticatedUser: ["GET /notifications/threads/{thread_id}/subscription"], + listEventsForAuthenticatedUser: ["GET /users/{username}/events"], + listNotificationsForAuthenticatedUser: ["GET /notifications"], + listOrgEventsForAuthenticatedUser: ["GET /users/{username}/events/orgs/{org}"], + listPublicEvents: ["GET /events"], + listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], + listPublicEventsForUser: ["GET /users/{username}/events/public"], + listPublicOrgEvents: ["GET /orgs/{org}/events"], + listReceivedEventsForUser: ["GET /users/{username}/received_events"], + listReceivedPublicEventsForUser: ["GET /users/{username}/received_events/public"], + listRepoEvents: ["GET /repos/{owner}/{repo}/events"], + listRepoNotificationsForAuthenticatedUser: ["GET /repos/{owner}/{repo}/notifications"], + listReposStarredByAuthenticatedUser: ["GET /user/starred"], + listReposStarredByUser: ["GET /users/{username}/starred"], + listReposWatchedByUser: ["GET /users/{username}/subscriptions"], + listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], + listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], + listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], + markNotificationsAsRead: ["PUT /notifications"], + markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], + markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], + setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], + setThreadSubscription: ["PUT /notifications/threads/{thread_id}/subscription"], + starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], + unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] + }, + apps: { + addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], + checkToken: ["POST /applications/{client_id}/token"], + createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { + mediaType: { + previews: ["corsair"] + } + }], + createContentAttachmentForRepo: ["POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments", { + mediaType: { + previews: ["corsair"] + } + }], + createFromManifest: ["POST /app-manifests/{code}/conversions"], + createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens"], + deleteAuthorization: ["DELETE /applications/{client_id}/grant"], + deleteInstallation: ["DELETE /app/installations/{installation_id}"], + deleteToken: ["DELETE /applications/{client_id}/token"], + getAuthenticated: ["GET /app"], + getBySlug: ["GET /apps/{app_slug}"], + getInstallation: ["GET /app/installations/{installation_id}"], + getOrgInstallation: ["GET /orgs/{org}/installation"], + getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], + getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"], + getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"], + getUserInstallation: ["GET /users/{username}/installation"], + getWebhookConfigForApp: ["GET /app/hook/config"], + getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], + listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], + listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"], + listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories"], + listInstallations: ["GET /app/installations"], + listInstallationsForAuthenticatedUser: ["GET /user/installations"], + listPlans: ["GET /marketplace_listing/plans"], + listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], + listReposAccessibleToInstallation: ["GET /installation/repositories"], + listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], + listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"], + listWebhookDeliveries: ["GET /app/hook/deliveries"], + redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"], + removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"], + resetToken: ["PATCH /applications/{client_id}/token"], + revokeInstallationAccessToken: ["DELETE /installation/token"], + scopeToken: ["POST /applications/{client_id}/token/scoped"], + suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], + unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"], + updateWebhookConfigForApp: ["PATCH /app/hook/config"] + }, + billing: { + getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], + getGithubActionsBillingUser: ["GET /users/{username}/settings/billing/actions"], + getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], + getGithubPackagesBillingUser: ["GET /users/{username}/settings/billing/packages"], + getSharedStorageBillingOrg: ["GET /orgs/{org}/settings/billing/shared-storage"], + getSharedStorageBillingUser: ["GET /users/{username}/settings/billing/shared-storage"] + }, + checks: { + create: ["POST /repos/{owner}/{repo}/check-runs"], + createSuite: ["POST /repos/{owner}/{repo}/check-suites"], + get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], + getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], + listAnnotations: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"], + listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], + listForSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"], + listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], + rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"], + setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"], + update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"] + }, + codeScanning: { + deleteAnalysis: ["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"], + getAlert: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", {}, { + renamedParameters: { + alert_id: "alert_number" + } + }], + getAnalysis: ["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"], + getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], + listAlertInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"], + listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], + listAlertsInstances: ["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", {}, { + renamed: ["codeScanning", "listAlertInstances"] + }], + listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], + updateAlert: ["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"], + uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] + }, + codesOfConduct: { + getAllCodesOfConduct: ["GET /codes_of_conduct"], + getConductCode: ["GET /codes_of_conduct/{key}"], + getForRepo: ["GET /repos/{owner}/{repo}/community/code_of_conduct", { + mediaType: { + previews: ["scarlet-witch"] + } + }] + }, + emojis: { + get: ["GET /emojis"] + }, + enterpriseAdmin: { + disableSelectedOrganizationGithubActionsEnterprise: ["DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], + enableSelectedOrganizationGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}"], + getAllowedActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/selected-actions"], + getGithubActionsPermissionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions"], + listSelectedOrganizationsEnabledGithubActionsEnterprise: ["GET /enterprises/{enterprise}/actions/permissions/organizations"], + setAllowedActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/selected-actions"], + setGithubActionsPermissionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions"], + setSelectedOrganizationsEnabledGithubActionsEnterprise: ["PUT /enterprises/{enterprise}/actions/permissions/organizations"] + }, + gists: { + checkIsStarred: ["GET /gists/{gist_id}/star"], + create: ["POST /gists"], + createComment: ["POST /gists/{gist_id}/comments"], + delete: ["DELETE /gists/{gist_id}"], + deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], + fork: ["POST /gists/{gist_id}/forks"], + get: ["GET /gists/{gist_id}"], + getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], + getRevision: ["GET /gists/{gist_id}/{sha}"], + list: ["GET /gists"], + listComments: ["GET /gists/{gist_id}/comments"], + listCommits: ["GET /gists/{gist_id}/commits"], + listForUser: ["GET /users/{username}/gists"], + listForks: ["GET /gists/{gist_id}/forks"], + listPublic: ["GET /gists/public"], + listStarred: ["GET /gists/starred"], + star: ["PUT /gists/{gist_id}/star"], + unstar: ["DELETE /gists/{gist_id}/star"], + update: ["PATCH /gists/{gist_id}"], + updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] + }, + git: { + createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], + createCommit: ["POST /repos/{owner}/{repo}/git/commits"], + createRef: ["POST /repos/{owner}/{repo}/git/refs"], + createTag: ["POST /repos/{owner}/{repo}/git/tags"], + createTree: ["POST /repos/{owner}/{repo}/git/trees"], + deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], + getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], + getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], + getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], + getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], + getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], + listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], + updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] + }, + gitignore: { + getAllTemplates: ["GET /gitignore/templates"], + getTemplate: ["GET /gitignore/templates/{name}"] + }, + interactions: { + getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], + getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], + getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], + getRestrictionsForYourPublicRepos: ["GET /user/interaction-limits", {}, { + renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] + }], + removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], + removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], + removeRestrictionsForRepo: ["DELETE /repos/{owner}/{repo}/interaction-limits"], + removeRestrictionsForYourPublicRepos: ["DELETE /user/interaction-limits", {}, { + renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] + }], + setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], + setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], + setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], + setRestrictionsForYourPublicRepos: ["PUT /user/interaction-limits", {}, { + renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] + }] + }, + issues: { + addAssignees: ["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"], + addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], + checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], + create: ["POST /repos/{owner}/{repo}/issues"], + createComment: ["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"], + createLabel: ["POST /repos/{owner}/{repo}/labels"], + createMilestone: ["POST /repos/{owner}/{repo}/milestones"], + deleteComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"], + deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], + deleteMilestone: ["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"], + get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], + getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], + getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], + getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], + getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], + list: ["GET /issues"], + listAssignees: ["GET /repos/{owner}/{repo}/assignees"], + listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], + listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], + listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], + listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], + listEventsForTimeline: ["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", { + mediaType: { + previews: ["mockingbird"] + } + }], + listForAuthenticatedUser: ["GET /user/issues"], + listForOrg: ["GET /orgs/{org}/issues"], + listForRepo: ["GET /repos/{owner}/{repo}/issues"], + listLabelsForMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"], + listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], + listLabelsOnIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"], + listMilestones: ["GET /repos/{owner}/{repo}/milestones"], + lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], + removeAllLabels: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"], + removeAssignees: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"], + removeLabel: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"], + setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], + unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], + update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], + updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], + updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], + updateMilestone: ["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"] + }, + licenses: { + get: ["GET /licenses/{license}"], + getAllCommonlyUsed: ["GET /licenses"], + getForRepo: ["GET /repos/{owner}/{repo}/license"] + }, + markdown: { + render: ["POST /markdown"], + renderRaw: ["POST /markdown/raw", { + headers: { + "content-type": "text/plain; charset=utf-8" + } + }] + }, + meta: { + get: ["GET /meta"], + getOctocat: ["GET /octocat"], + getZen: ["GET /zen"], + root: ["GET /"] + }, + migrations: { + cancelImport: ["DELETE /repos/{owner}/{repo}/import"], + deleteArchiveForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/archive", { + mediaType: { + previews: ["wyandotte"] + } + }], + deleteArchiveForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/archive", { + mediaType: { + previews: ["wyandotte"] + } + }], + downloadArchiveForOrg: ["GET /orgs/{org}/migrations/{migration_id}/archive", { + mediaType: { + previews: ["wyandotte"] + } + }], + getArchiveForAuthenticatedUser: ["GET /user/migrations/{migration_id}/archive", { + mediaType: { + previews: ["wyandotte"] + } + }], + getCommitAuthors: ["GET /repos/{owner}/{repo}/import/authors"], + getImportStatus: ["GET /repos/{owner}/{repo}/import"], + getLargeFiles: ["GET /repos/{owner}/{repo}/import/large_files"], + getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}", { + mediaType: { + previews: ["wyandotte"] + } + }], + getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}", { + mediaType: { + previews: ["wyandotte"] + } + }], + listForAuthenticatedUser: ["GET /user/migrations", { + mediaType: { + previews: ["wyandotte"] + } + }], + listForOrg: ["GET /orgs/{org}/migrations", { + mediaType: { + previews: ["wyandotte"] + } + }], + listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories", { + mediaType: { + previews: ["wyandotte"] + } + }], + listReposForUser: ["GET /user/migrations/{migration_id}/repositories", { + mediaType: { + previews: ["wyandotte"] + } + }], + mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], + setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], + startForAuthenticatedUser: ["POST /user/migrations"], + startForOrg: ["POST /orgs/{org}/migrations"], + startImport: ["PUT /repos/{owner}/{repo}/import"], + unlockRepoForAuthenticatedUser: ["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock", { + mediaType: { + previews: ["wyandotte"] + } + }], + unlockRepoForOrg: ["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", { + mediaType: { + previews: ["wyandotte"] + } + }], + updateImport: ["PATCH /repos/{owner}/{repo}/import"] + }, + orgs: { + blockUser: ["PUT /orgs/{org}/blocks/{username}"], + cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], + checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], + checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], + checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], + convertMemberToOutsideCollaborator: ["PUT /orgs/{org}/outside_collaborators/{username}"], + createInvitation: ["POST /orgs/{org}/invitations"], + createWebhook: ["POST /orgs/{org}/hooks"], + deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], + get: ["GET /orgs/{org}"], + getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], + getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], + getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], + getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], + getWebhookDelivery: ["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"], + list: ["GET /organizations"], + listAppInstallations: ["GET /orgs/{org}/installations"], + listBlockedUsers: ["GET /orgs/{org}/blocks"], + listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], + listForAuthenticatedUser: ["GET /user/orgs"], + listForUser: ["GET /users/{username}/orgs"], + listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], + listMembers: ["GET /orgs/{org}/members"], + listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], + listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], + listPendingInvitations: ["GET /orgs/{org}/invitations"], + listPublicMembers: ["GET /orgs/{org}/public_members"], + listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], + listWebhooks: ["GET /orgs/{org}/hooks"], + pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], + redeliverWebhookDelivery: ["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], + removeMember: ["DELETE /orgs/{org}/members/{username}"], + removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], + removeOutsideCollaborator: ["DELETE /orgs/{org}/outside_collaborators/{username}"], + removePublicMembershipForAuthenticatedUser: ["DELETE /orgs/{org}/public_members/{username}"], + setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], + setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"], + unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], + update: ["PATCH /orgs/{org}"], + updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"], + updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], + updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"] + }, + packages: { + deletePackageForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}"], + deletePackageForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}"], + deletePackageVersionForAuthenticatedUser: ["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], + deletePackageVersionForOrg: ["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], + getAllPackageVersionsForAPackageOwnedByAnOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions", {}, { + renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] + }], + getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions", {}, { + renamed: ["packages", "getAllPackageVersionsForPackageOwnedByAuthenticatedUser"] + }], + getAllPackageVersionsForPackageOwnedByAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions"], + getAllPackageVersionsForPackageOwnedByOrg: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"], + getAllPackageVersionsForPackageOwnedByUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions"], + getPackageForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}"], + getPackageForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}"], + getPackageForUser: ["GET /users/{username}/packages/{package_type}/{package_name}"], + getPackageVersionForAuthenticatedUser: ["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"], + getPackageVersionForOrganization: ["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"], + getPackageVersionForUser: ["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"], + restorePackageForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/restore{?token}"], + restorePackageForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"], + restorePackageVersionForAuthenticatedUser: ["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"], + restorePackageVersionForOrg: ["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"] + }, + projects: { + addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}", { + mediaType: { + previews: ["inertia"] + } + }], + createCard: ["POST /projects/columns/{column_id}/cards", { + mediaType: { + previews: ["inertia"] + } + }], + createColumn: ["POST /projects/{project_id}/columns", { + mediaType: { + previews: ["inertia"] + } + }], + createForAuthenticatedUser: ["POST /user/projects", { + mediaType: { + previews: ["inertia"] + } + }], + createForOrg: ["POST /orgs/{org}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + createForRepo: ["POST /repos/{owner}/{repo}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + delete: ["DELETE /projects/{project_id}", { + mediaType: { + previews: ["inertia"] + } + }], + deleteCard: ["DELETE /projects/columns/cards/{card_id}", { + mediaType: { + previews: ["inertia"] + } + }], + deleteColumn: ["DELETE /projects/columns/{column_id}", { + mediaType: { + previews: ["inertia"] + } + }], + get: ["GET /projects/{project_id}", { + mediaType: { + previews: ["inertia"] + } + }], + getCard: ["GET /projects/columns/cards/{card_id}", { + mediaType: { + previews: ["inertia"] + } + }], + getColumn: ["GET /projects/columns/{column_id}", { + mediaType: { + previews: ["inertia"] + } + }], + getPermissionForUser: ["GET /projects/{project_id}/collaborators/{username}/permission", { + mediaType: { + previews: ["inertia"] + } + }], + listCards: ["GET /projects/columns/{column_id}/cards", { + mediaType: { + previews: ["inertia"] + } + }], + listCollaborators: ["GET /projects/{project_id}/collaborators", { + mediaType: { + previews: ["inertia"] + } + }], + listColumns: ["GET /projects/{project_id}/columns", { + mediaType: { + previews: ["inertia"] + } + }], + listForOrg: ["GET /orgs/{org}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + listForRepo: ["GET /repos/{owner}/{repo}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + listForUser: ["GET /users/{username}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + moveCard: ["POST /projects/columns/cards/{card_id}/moves", { + mediaType: { + previews: ["inertia"] + } + }], + moveColumn: ["POST /projects/columns/{column_id}/moves", { + mediaType: { + previews: ["inertia"] + } + }], + removeCollaborator: ["DELETE /projects/{project_id}/collaborators/{username}", { + mediaType: { + previews: ["inertia"] + } + }], + update: ["PATCH /projects/{project_id}", { + mediaType: { + previews: ["inertia"] + } + }], + updateCard: ["PATCH /projects/columns/cards/{card_id}", { + mediaType: { + previews: ["inertia"] + } + }], + updateColumn: ["PATCH /projects/columns/{column_id}", { + mediaType: { + previews: ["inertia"] + } + }] + }, + pulls: { + checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], + create: ["POST /repos/{owner}/{repo}/pulls"], + createReplyForReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"], + createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], + createReviewComment: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"], + deletePendingReview: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], + deleteReviewComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"], + dismissReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"], + get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], + getReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], + getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], + list: ["GET /repos/{owner}/{repo}/pulls"], + listCommentsForReview: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"], + listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], + listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], + listRequestedReviewers: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], + listReviewComments: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"], + listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], + listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], + merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], + removeRequestedReviewers: ["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], + requestReviewers: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"], + submitReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"], + update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], + updateBranch: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch", { + mediaType: { + previews: ["lydian"] + } + }], + updateReview: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"], + updateReviewComment: ["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"] + }, + rateLimit: { + get: ["GET /rate_limit"] + }, + reactions: { + createForCommitComment: ["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForIssue: ["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForIssueComment: ["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForPullRequestReviewComment: ["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForRelease: ["POST /repos/{owner}/{repo}/releases/{release_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForTeamDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + createForTeamDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForIssue: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForIssueComment: ["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForPullRequestComment: ["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForTeamDiscussion: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteForTeamDiscussionComment: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + deleteLegacy: ["DELETE /reactions/{reaction_id}", { + mediaType: { + previews: ["squirrel-girl"] + } + }, { + deprecated: "octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy" + }], + listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + listForIssueComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + listForPullRequestReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + listForTeamDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }], + listForTeamDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", { + mediaType: { + previews: ["squirrel-girl"] + } + }] + }, + repos: { + acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], + addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { + mapToData: "apps" + }], + addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], + addStatusCheckContexts: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { + mapToData: "contexts" + }], + addTeamAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { + mapToData: "teams" + }], + addUserAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { + mapToData: "users" + }], + checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], + checkVulnerabilityAlerts: ["GET /repos/{owner}/{repo}/vulnerability-alerts", { + mediaType: { + previews: ["dorian"] + } + }], + compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], + compareCommitsWithBasehead: ["GET /repos/{owner}/{repo}/compare/{basehead}"], + createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], + createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { + mediaType: { + previews: ["zzzax"] + } + }], + createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], + createDeployKey: ["POST /repos/{owner}/{repo}/keys"], + createDeployment: ["POST /repos/{owner}/{repo}/deployments"], + createDeploymentStatus: ["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], + createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], + createForAuthenticatedUser: ["POST /user/repos"], + createFork: ["POST /repos/{owner}/{repo}/forks"], + createInOrg: ["POST /orgs/{org}/repos"], + createOrUpdateEnvironment: ["PUT /repos/{owner}/{repo}/environments/{environment_name}"], + createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], + createPagesSite: ["POST /repos/{owner}/{repo}/pages", { + mediaType: { + previews: ["switcheroo"] + } + }], + createRelease: ["POST /repos/{owner}/{repo}/releases"], + createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { + mediaType: { + previews: ["baptiste"] + } + }], + createWebhook: ["POST /repos/{owner}/{repo}/hooks"], + declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], + delete: ["DELETE /repos/{owner}/{repo}"], + deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], + deleteAdminBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], + deleteAnEnvironment: ["DELETE /repos/{owner}/{repo}/environments/{environment_name}"], + deleteBranchProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"], + deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], + deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { + mediaType: { + previews: ["zzzax"] + } + }], + deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], + deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], + deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], + deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], + deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { + mediaType: { + previews: ["switcheroo"] + } + }], + deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], + deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], + deleteReleaseAsset: ["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"], + deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], + disableAutomatedSecurityFixes: ["DELETE /repos/{owner}/{repo}/automated-security-fixes", { + mediaType: { + previews: ["london"] + } + }], + disableVulnerabilityAlerts: ["DELETE /repos/{owner}/{repo}/vulnerability-alerts", { + mediaType: { + previews: ["dorian"] + } + }], + downloadArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}", {}, { + renamed: ["repos", "downloadZipballArchive"] + }], + downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], + downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], + enableAutomatedSecurityFixes: ["PUT /repos/{owner}/{repo}/automated-security-fixes", { + mediaType: { + previews: ["london"] + } + }], + enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts", { + mediaType: { + previews: ["dorian"] + } + }], + get: ["GET /repos/{owner}/{repo}"], + getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], + getAdminBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], + getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], + getAllStatusCheckContexts: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"], + getAllTopics: ["GET /repos/{owner}/{repo}/topics", { + mediaType: { + previews: ["mercy"] + } + }], + getAppsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"], + getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], + getBranchProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection"], + getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], + getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], + getCollaboratorPermissionLevel: ["GET /repos/{owner}/{repo}/collaborators/{username}/permission"], + getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], + getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], + getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], + getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], + getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { + mediaType: { + previews: ["zzzax"] + } + }], + getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], + getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], + getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], + getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], + getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], + getDeploymentStatus: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"], + getEnvironment: ["GET /repos/{owner}/{repo}/environments/{environment_name}"], + getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], + getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], + getPages: ["GET /repos/{owner}/{repo}/pages"], + getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], + getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], + getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], + getPullRequestReviewProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], + getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], + getReadme: ["GET /repos/{owner}/{repo}/readme"], + getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], + getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], + getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], + getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], + getStatusChecksProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], + getTeamsWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"], + getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], + getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], + getUsersWithAccessToProtectedBranch: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"], + getViews: ["GET /repos/{owner}/{repo}/traffic/views"], + getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], + getWebhookConfigForRepo: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"], + getWebhookDelivery: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"], + listBranches: ["GET /repos/{owner}/{repo}/branches"], + listBranchesForHeadCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", { + mediaType: { + previews: ["groot"] + } + }], + listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], + listCommentsForCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"], + listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], + listCommitStatusesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/statuses"], + listCommits: ["GET /repos/{owner}/{repo}/commits"], + listContributors: ["GET /repos/{owner}/{repo}/contributors"], + listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], + listDeploymentStatuses: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"], + listDeployments: ["GET /repos/{owner}/{repo}/deployments"], + listForAuthenticatedUser: ["GET /user/repos"], + listForOrg: ["GET /orgs/{org}/repos"], + listForUser: ["GET /users/{username}/repos"], + listForks: ["GET /repos/{owner}/{repo}/forks"], + listInvitations: ["GET /repos/{owner}/{repo}/invitations"], + listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], + listLanguages: ["GET /repos/{owner}/{repo}/languages"], + listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], + listPublic: ["GET /repositories"], + listPullRequestsAssociatedWithCommit: ["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", { + mediaType: { + previews: ["groot"] + } + }], + listReleaseAssets: ["GET /repos/{owner}/{repo}/releases/{release_id}/assets"], + listReleases: ["GET /repos/{owner}/{repo}/releases"], + listTags: ["GET /repos/{owner}/{repo}/tags"], + listTeams: ["GET /repos/{owner}/{repo}/teams"], + listWebhookDeliveries: ["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"], + listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], + merge: ["POST /repos/{owner}/{repo}/merges"], + pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], + redeliverWebhookDelivery: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"], + removeAppAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { + mapToData: "apps" + }], + removeCollaborator: ["DELETE /repos/{owner}/{repo}/collaborators/{username}"], + removeStatusCheckContexts: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { + mapToData: "contexts" + }], + removeStatusCheckProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], + removeTeamAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { + mapToData: "teams" + }], + removeUserAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { + mapToData: "users" + }], + renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], + replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics", { + mediaType: { + previews: ["mercy"] + } + }], + requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], + setAdminBranchProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"], + setAppAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { + mapToData: "apps" + }], + setStatusCheckContexts: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", {}, { + mapToData: "contexts" + }], + setTeamAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", {}, { + mapToData: "teams" + }], + setUserAccessRestrictions: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", {}, { + mapToData: "users" + }], + testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], + transfer: ["POST /repos/{owner}/{repo}/transfer"], + update: ["PATCH /repos/{owner}/{repo}"], + updateBranchProtection: ["PUT /repos/{owner}/{repo}/branches/{branch}/protection"], + updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], + updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], + updateInvitation: ["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"], + updatePullRequestReviewProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], + updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], + updateReleaseAsset: ["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"], + updateStatusCheckPotection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", {}, { + renamed: ["repos", "updateStatusCheckProtection"] + }], + updateStatusCheckProtection: ["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"], + updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], + updateWebhookConfigForRepo: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"], + uploadReleaseAsset: ["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", { + baseUrl: "https://uploads.github.com" + }] + }, + search: { + code: ["GET /search/code"], + commits: ["GET /search/commits", { + mediaType: { + previews: ["cloak"] + } + }], + issuesAndPullRequests: ["GET /search/issues"], + labels: ["GET /search/labels"], + repos: ["GET /search/repositories"], + topics: ["GET /search/topics", { + mediaType: { + previews: ["mercy"] + } + }], + users: ["GET /search/users"] + }, + secretScanning: { + getAlert: ["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"], + listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], + updateAlert: ["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"] + }, + teams: { + addOrUpdateMembershipForUserInOrg: ["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"], + addOrUpdateProjectPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}", { + mediaType: { + previews: ["inertia"] + } + }], + addOrUpdateRepoPermissionsInOrg: ["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], + checkPermissionsForProjectInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}", { + mediaType: { + previews: ["inertia"] + } + }], + checkPermissionsForRepoInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], + create: ["POST /orgs/{org}/teams"], + createDiscussionCommentInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], + createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], + deleteDiscussionCommentInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], + deleteDiscussionInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], + deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], + getByName: ["GET /orgs/{org}/teams/{team_slug}"], + getDiscussionCommentInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], + getDiscussionInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], + getMembershipForUserInOrg: ["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"], + list: ["GET /orgs/{org}/teams"], + listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], + listDiscussionCommentsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"], + listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], + listForAuthenticatedUser: ["GET /user/teams"], + listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], + listPendingInvitationsInOrg: ["GET /orgs/{org}/teams/{team_slug}/invitations"], + listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects", { + mediaType: { + previews: ["inertia"] + } + }], + listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], + removeMembershipForUserInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"], + removeProjectInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"], + removeRepoInOrg: ["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"], + updateDiscussionCommentInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"], + updateDiscussionInOrg: ["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"], + updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] + }, + users: { + addEmailForAuthenticated: ["POST /user/emails"], + block: ["PUT /user/blocks/{username}"], + checkBlocked: ["GET /user/blocks/{username}"], + checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], + checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], + createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], + createPublicSshKeyForAuthenticated: ["POST /user/keys"], + deleteEmailForAuthenticated: ["DELETE /user/emails"], + deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], + deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], + follow: ["PUT /user/following/{username}"], + getAuthenticated: ["GET /user"], + getByUsername: ["GET /users/{username}"], + getContextForUser: ["GET /users/{username}/hovercard"], + getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], + getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], + list: ["GET /users"], + listBlockedByAuthenticated: ["GET /user/blocks"], + listEmailsForAuthenticated: ["GET /user/emails"], + listFollowedByAuthenticated: ["GET /user/following"], + listFollowersForAuthenticatedUser: ["GET /user/followers"], + listFollowersForUser: ["GET /users/{username}/followers"], + listFollowingForUser: ["GET /users/{username}/following"], + listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], + listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], + listPublicEmailsForAuthenticated: ["GET /user/public_emails"], + listPublicKeysForUser: ["GET /users/{username}/keys"], + listPublicSshKeysForAuthenticated: ["GET /user/keys"], + setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], + unblock: ["DELETE /user/blocks/{username}"], + unfollow: ["DELETE /user/following/{username}"], + updateAuthenticated: ["PATCH /user"] + } +}; + +const VERSION = "5.4.2"; + +function endpointsToMethods(octokit, endpointsMap) { + const newMethods = {}; + + for (const [scope, endpoints] of Object.entries(endpointsMap)) { + for (const [methodName, endpoint] of Object.entries(endpoints)) { + const [route, defaults, decorations] = endpoint; + const [method, url] = route.split(/ /); + const endpointDefaults = Object.assign({ + method, + url + }, defaults); + + if (!newMethods[scope]) { + newMethods[scope] = {}; + } + + const scopeMethods = newMethods[scope]; + + if (decorations) { + scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations); + continue; + } + + scopeMethods[methodName] = octokit.request.defaults(endpointDefaults); + } + } + + return newMethods; +} + +function decorate(octokit, scope, methodName, defaults, decorations) { + const requestWithDefaults = octokit.request.defaults(defaults); + /* istanbul ignore next */ + + function withDecorations(...args) { + // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 + let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData` + + if (decorations.mapToData) { + options = Object.assign({}, options, { + data: options[decorations.mapToData], + [decorations.mapToData]: undefined + }); + return requestWithDefaults(options); + } + + if (decorations.renamed) { + const [newScope, newMethodName] = decorations.renamed; + octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`); + } + + if (decorations.deprecated) { + octokit.log.warn(decorations.deprecated); + } + + if (decorations.renamedParameters) { + // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 + const options = requestWithDefaults.endpoint.merge(...args); + + for (const [name, alias] of Object.entries(decorations.renamedParameters)) { + if (name in options) { + octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`); + + if (!(alias in options)) { + options[alias] = options[name]; + } + + delete options[name]; + } + } + + return requestWithDefaults(options); + } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488 + + + return requestWithDefaults(...args); + } + + return Object.assign(withDecorations, requestWithDefaults); +} + +function restEndpointMethods(octokit) { + const api = endpointsToMethods(octokit, Endpoints); + return { + rest: api + }; +} +restEndpointMethods.VERSION = VERSION; +function legacyRestEndpointMethods(octokit) { + const api = endpointsToMethods(octokit, Endpoints); + return _objectSpread2(_objectSpread2({}, api), {}, { + rest: api + }); +} +legacyRestEndpointMethods.VERSION = VERSION; + +exports.legacyRestEndpointMethods = legacyRestEndpointMethods; +exports.restEndpointMethods = restEndpointMethods; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 10537: +/***/ ((__unused_webpack_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 deprecation = __nccwpck_require__(58932); +var once = _interopDefault(__nccwpck_require__(1223)); + +const logOnceCode = once(deprecation => console.warn(deprecation)); +const logOnceHeaders = once(deprecation => console.warn(deprecation)); +/** + * Error with extra properties to help with debugging + */ + +class RequestError extends Error { + constructor(message, statusCode, options) { + super(message); // Maintains proper stack trace (only available on V8) + + /* istanbul ignore next */ + + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + + this.name = "HttpError"; + this.status = statusCode; + let headers; + + if ("headers" in options && typeof options.headers !== "undefined") { + headers = options.headers; + } + + if ("response" in options) { + this.response = options.response; + headers = options.response.headers; + } // redact request credentials without mutating original request options + + + const requestCopy = Object.assign({}, options.request); + + if (options.request.headers.authorization) { + requestCopy.headers = Object.assign({}, options.request.headers, { + authorization: options.request.headers.authorization.replace(/ .*$/, " [REDACTED]") + }); + } + + requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit + // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications + .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended + // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header + .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); + this.request = requestCopy; // deprecations + + Object.defineProperty(this, "code", { + get() { + logOnceCode(new deprecation.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")); + return statusCode; + } + + }); + Object.defineProperty(this, "headers", { + get() { + logOnceHeaders(new deprecation.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")); + return headers || {}; + } + + }); + } + +} + +exports.RequestError = RequestError; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 36234: +/***/ ((__unused_webpack_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 endpoint = __nccwpck_require__(59440); +var universalUserAgent = __nccwpck_require__(45030); +var isPlainObject = __nccwpck_require__(63287); +var nodeFetch = _interopDefault(__nccwpck_require__(80467)); +var requestError = __nccwpck_require__(10537); + +const VERSION = "5.6.0"; + +function getBufferResponse(response) { + return response.arrayBuffer(); +} + +function fetchWrapper(requestOptions) { + const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; + + if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { + requestOptions.body = JSON.stringify(requestOptions.body); + } + + let headers = {}; + let status; + let url; + const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch; + return fetch(requestOptions.url, Object.assign({ + method: requestOptions.method, + body: requestOptions.body, + headers: requestOptions.headers, + redirect: requestOptions.redirect + }, // `requestOptions.request.agent` type is incompatible + // see https://github.com/octokit/types.ts/pull/264 + requestOptions.request)).then(async response => { + url = response.url; + status = response.status; + + for (const keyAndValue of response.headers) { + headers[keyAndValue[0]] = keyAndValue[1]; + } + + if ("deprecation" in headers) { + const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); + const deprecationLink = matches && matches.pop(); + log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`); + } + + if (status === 204 || status === 205) { + return; + } // GitHub API returns 200 for HEAD requests + + + if (requestOptions.method === "HEAD") { + if (status < 400) { + return; + } + + throw new requestError.RequestError(response.statusText, status, { + response: { + url, + status, + headers, + data: undefined + }, + request: requestOptions + }); + } + + if (status === 304) { + throw new requestError.RequestError("Not modified", status, { + response: { + url, + status, + headers, + data: await getResponseData(response) + }, + request: requestOptions + }); + } + + if (status >= 400) { + const data = await getResponseData(response); + const error = new requestError.RequestError(toErrorMessage(data), status, { + response: { + url, + status, + headers, + data + }, + request: requestOptions + }); + throw error; + } + + return getResponseData(response); + }).then(data => { + return { + status, + url, + headers, + data + }; + }).catch(error => { + if (error instanceof requestError.RequestError) throw error; + throw new requestError.RequestError(error.message, 500, { + request: requestOptions + }); + }); +} + +async function getResponseData(response) { + const contentType = response.headers.get("content-type"); + + if (/application\/json/.test(contentType)) { + return response.json(); + } + + if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { + return response.text(); + } + + return getBufferResponse(response); +} + +function toErrorMessage(data) { + if (typeof data === "string") return data; // istanbul ignore else - just in case + + if ("message" in data) { + if (Array.isArray(data.errors)) { + return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; + } + + return data.message; + } // istanbul ignore next - just in case + + + return `Unknown error: ${JSON.stringify(data)}`; +} + +function withDefaults(oldEndpoint, newDefaults) { + const endpoint = oldEndpoint.defaults(newDefaults); + + const newApi = function (route, parameters) { + const endpointOptions = endpoint.merge(route, parameters); + + if (!endpointOptions.request || !endpointOptions.request.hook) { + return fetchWrapper(endpoint.parse(endpointOptions)); + } + + const request = (route, parameters) => { + return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); + }; + + Object.assign(request, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); + return endpointOptions.request.hook(request, endpointOptions); + }; + + return Object.assign(newApi, { + endpoint, + defaults: withDefaults.bind(null, endpoint) + }); +} + +const request = withDefaults(endpoint.endpoint, { + headers: { + "user-agent": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}` + } +}); + +exports.request = request; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 14812: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = +{ + parallel : __nccwpck_require__(8210), + serial : __nccwpck_require__(50445), + serialOrdered : __nccwpck_require__(3578) +}; + + +/***/ }), + +/***/ 1700: +/***/ ((module) => { + +// API +module.exports = abort; + +/** + * Aborts leftover active jobs + * + * @param {object} state - current state object + */ +function abort(state) +{ + Object.keys(state.jobs).forEach(clean.bind(state)); + + // reset leftover jobs + state.jobs = {}; +} + +/** + * Cleans up leftover job by invoking abort function for the provided job id + * + * @this state + * @param {string|number} key - job id to abort + */ +function clean(key) +{ + if (typeof this.jobs[key] == 'function') + { + this.jobs[key](); + } +} + + +/***/ }), + +/***/ 72794: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var defer = __nccwpck_require__(15295); + +// API +module.exports = async; + +/** + * Runs provided callback asynchronously + * even if callback itself is not + * + * @param {function} callback - callback to invoke + * @returns {function} - augmented callback + */ +function async(callback) +{ + var isAsync = false; + + // check if async happened + defer(function() { isAsync = true; }); + + return function async_callback(err, result) + { + if (isAsync) + { + callback(err, result); + } + else + { + defer(function nextTick_callback() + { + callback(err, result); + }); + } + }; +} + + +/***/ }), + +/***/ 15295: +/***/ ((module) => { + +module.exports = defer; + +/** + * Runs provided function on next iteration of the event loop + * + * @param {function} fn - function to run + */ +function defer(fn) +{ + var nextTick = typeof setImmediate == 'function' + ? setImmediate + : ( + typeof process == 'object' && typeof process.nextTick == 'function' + ? process.nextTick + : null + ); + + if (nextTick) + { + nextTick(fn); + } + else + { + setTimeout(fn, 0); + } +} + + +/***/ }), + +/***/ 9023: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var async = __nccwpck_require__(72794) + , abort = __nccwpck_require__(1700) + ; + +// API +module.exports = iterate; + +/** + * Iterates over each job object + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {object} state - current job status + * @param {function} callback - invoked when all elements processed + */ +function iterate(list, iterator, state, callback) +{ + // store current index + var key = state['keyedList'] ? state['keyedList'][state.index] : state.index; + + state.jobs[key] = runJob(iterator, key, list[key], function(error, output) + { + // don't repeat yourself + // skip secondary callbacks + if (!(key in state.jobs)) + { + return; + } + + // clean up jobs + delete state.jobs[key]; + + if (error) + { + // don't process rest of the results + // stop still active jobs + // and reset the list + abort(state); + } + else + { + state.results[key] = output; + } + + // return salvaged results + callback(error, state.results); + }); +} + +/** + * Runs iterator over provided job element + * + * @param {function} iterator - iterator to invoke + * @param {string|number} key - key/index of the element in the list of jobs + * @param {mixed} item - job description + * @param {function} callback - invoked after iterator is done with the job + * @returns {function|mixed} - job abort function or something else + */ +function runJob(iterator, key, item, callback) +{ + var aborter; + + // allow shortcut if iterator expects only two arguments + if (iterator.length == 2) + { + aborter = iterator(item, async(callback)); + } + // otherwise go with full three arguments + else + { + aborter = iterator(item, key, async(callback)); + } + + return aborter; +} + + +/***/ }), + +/***/ 42474: +/***/ ((module) => { + +// API +module.exports = state; + +/** + * Creates initial state object + * for iteration over list + * + * @param {array|object} list - list to iterate over + * @param {function|null} sortMethod - function to use for keys sort, + * or `null` to keep them as is + * @returns {object} - initial state object + */ +function state(list, sortMethod) +{ + var isNamedList = !Array.isArray(list) + , initState = + { + index : 0, + keyedList: isNamedList || sortMethod ? Object.keys(list) : null, + jobs : {}, + results : isNamedList ? {} : [], + size : isNamedList ? Object.keys(list).length : list.length + } + ; + + if (sortMethod) + { + // sort array keys based on it's values + // sort object's keys just on own merit + initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) + { + return sortMethod(list[a], list[b]); + }); + } + + return initState; +} + + +/***/ }), + +/***/ 37942: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var abort = __nccwpck_require__(1700) + , async = __nccwpck_require__(72794) + ; + +// API +module.exports = terminator; + +/** + * Terminates jobs in the attached state context + * + * @this AsyncKitState# + * @param {function} callback - final callback to invoke after termination + */ +function terminator(callback) +{ + if (!Object.keys(this.jobs).length) + { + return; + } + + // fast forward iteration index + this.index = this.size; + + // abort jobs + abort(this); + + // send back results we have so far + async(callback)(null, this.results); +} + + +/***/ }), + +/***/ 8210: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var iterate = __nccwpck_require__(9023) + , initState = __nccwpck_require__(42474) + , terminator = __nccwpck_require__(37942) + ; + +// Public API +module.exports = parallel; + +/** + * Runs iterator over provided array elements in parallel + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function parallel(list, iterator, callback) +{ + var state = initState(list); + + while (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, function(error, result) + { + if (error) + { + callback(error, result); + return; + } + + // looks like it's the last one + if (Object.keys(state.jobs).length === 0) + { + callback(null, state.results); + return; + } + }); + + state.index++; + } + + return terminator.bind(state, callback); +} + + +/***/ }), + +/***/ 50445: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var serialOrdered = __nccwpck_require__(3578); + +// Public API +module.exports = serial; + +/** + * Runs iterator over provided array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serial(list, iterator, callback) +{ + return serialOrdered(list, iterator, null, callback); +} + + +/***/ }), + +/***/ 3578: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var iterate = __nccwpck_require__(9023) + , initState = __nccwpck_require__(42474) + , terminator = __nccwpck_require__(37942) + ; + +// Public API +module.exports = serialOrdered; +// sorting helpers +module.exports.ascending = ascending; +module.exports.descending = descending; + +/** + * Runs iterator over provided sorted array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} sortMethod - custom sort function + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serialOrdered(list, iterator, sortMethod, callback) +{ + var state = initState(list, sortMethod); + + iterate(list, iterator, state, function iteratorHandler(error, result) + { + if (error) + { + callback(error, result); + return; + } + + state.index++; + + // are we there yet? + if (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, iteratorHandler); + return; + } + + // done here + callback(null, state.results); + }); + + return terminator.bind(state, callback); +} + +/* + * -- Sort methods + */ + +/** + * sort helper to sort array elements in ascending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function ascending(a, b) +{ + return a < b ? -1 : a > b ? 1 : 0; +} + +/** + * sort helper to sort array elements in descending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function descending(a, b) +{ + return -1 * ascending(a, b); +} + + +/***/ }), + +/***/ 83682: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var register = __nccwpck_require__(44670) +var addHook = __nccwpck_require__(5549) +var removeHook = __nccwpck_require__(6819) + +// bind with array of arguments: https://stackoverflow.com/a/21792913 +var bind = Function.bind +var bindable = bind.bind(bind) + +function bindApi (hook, state, name) { + var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state]) + hook.api = { remove: removeHookRef } + hook.remove = removeHookRef + + ;['before', 'error', 'after', 'wrap'].forEach(function (kind) { + var args = name ? [state, kind, name] : [state, kind] + hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args) + }) +} + +function HookSingular () { + var singularHookName = 'h' + var singularHookState = { + registry: {} + } + var singularHook = register.bind(null, singularHookState, singularHookName) + bindApi(singularHook, singularHookState, singularHookName) + return singularHook +} + +function HookCollection () { + var state = { + registry: {} + } + + var hook = register.bind(null, state) + bindApi(hook, state) + + return hook +} + +var collectionHookDeprecationMessageDisplayed = false +function Hook () { + if (!collectionHookDeprecationMessageDisplayed) { + console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4') + collectionHookDeprecationMessageDisplayed = true + } + return HookCollection() +} + +Hook.Singular = HookSingular.bind() +Hook.Collection = HookCollection.bind() + +module.exports = Hook +// expose constructors as a named property for TypeScript +module.exports.Hook = Hook +module.exports.Singular = Hook.Singular +module.exports.Collection = Hook.Collection + + +/***/ }), + +/***/ 5549: +/***/ ((module) => { + +module.exports = addHook; + +function addHook(state, kind, name, hook) { + var orig = hook; + if (!state.registry[name]) { + state.registry[name] = []; + } + + if (kind === "before") { + hook = function (method, options) { + return Promise.resolve() + .then(orig.bind(null, options)) + .then(method.bind(null, options)); + }; + } + + if (kind === "after") { + hook = function (method, options) { + var result; + return Promise.resolve() + .then(method.bind(null, options)) + .then(function (result_) { + result = result_; + return orig(result, options); + }) + .then(function () { + return result; + }); + }; + } + + if (kind === "error") { + hook = function (method, options) { + return Promise.resolve() + .then(method.bind(null, options)) + .catch(function (error) { + return orig(error, options); + }); + }; + } + + state.registry[name].push({ + hook: hook, + orig: orig, + }); +} + + +/***/ }), + +/***/ 44670: +/***/ ((module) => { + +module.exports = register; + +function register(state, name, method, options) { + if (typeof method !== "function") { + throw new Error("method for before hook must be a function"); + } + + if (!options) { + options = {}; + } + + if (Array.isArray(name)) { + return name.reverse().reduce(function (callback, name) { + return register.bind(null, state, name, callback, options); + }, method)(); + } + + return Promise.resolve().then(function () { + if (!state.registry[name]) { + return method(options); + } + + return state.registry[name].reduce(function (method, registered) { + return registered.hook.bind(null, method, options); + }, method)(); + }); +} + + +/***/ }), + +/***/ 6819: +/***/ ((module) => { + +module.exports = removeHook; + +function removeHook(state, name, method) { + if (!state.registry[name]) { + return; + } + + var index = state.registry[name] + .map(function (registered) { + return registered.orig; + }) + .indexOf(method); + + if (index === -1) { + return; + } + + state.registry[name].splice(index, 1); +} + + +/***/ }), + +/***/ 85443: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var util = __nccwpck_require__(73837); +var Stream = (__nccwpck_require__(12781).Stream); +var DelayedStream = __nccwpck_require__(18611); + +module.exports = CombinedStream; +function CombinedStream() { + this.writable = false; + this.readable = true; + this.dataSize = 0; + this.maxDataSize = 2 * 1024 * 1024; + this.pauseStreams = true; + + this._released = false; + this._streams = []; + this._currentStream = null; + this._insideLoop = false; + this._pendingNext = false; +} +util.inherits(CombinedStream, Stream); + +CombinedStream.create = function(options) { + var combinedStream = new this(); + + options = options || {}; + for (var option in options) { + combinedStream[option] = options[option]; + } + + return combinedStream; +}; + +CombinedStream.isStreamLike = function(stream) { + return (typeof stream !== 'function') + && (typeof stream !== 'string') + && (typeof stream !== 'boolean') + && (typeof stream !== 'number') + && (!Buffer.isBuffer(stream)); +}; + +CombinedStream.prototype.append = function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + + if (isStreamLike) { + if (!(stream instanceof DelayedStream)) { + var newStream = DelayedStream.create(stream, { + maxDataSize: Infinity, + pauseStream: this.pauseStreams, + }); + stream.on('data', this._checkDataSize.bind(this)); + stream = newStream; + } + + this._handleErrors(stream); + + if (this.pauseStreams) { + stream.pause(); + } + } + + this._streams.push(stream); + return this; +}; + +CombinedStream.prototype.pipe = function(dest, options) { + Stream.prototype.pipe.call(this, dest, options); + this.resume(); + return dest; +}; + +CombinedStream.prototype._getNext = function() { + this._currentStream = null; + + if (this._insideLoop) { + this._pendingNext = true; + return; // defer call + } + + this._insideLoop = true; + try { + do { + this._pendingNext = false; + this._realGetNext(); + } while (this._pendingNext); + } finally { + this._insideLoop = false; + } +}; + +CombinedStream.prototype._realGetNext = function() { + var stream = this._streams.shift(); + + + if (typeof stream == 'undefined') { + this.end(); + return; + } + + if (typeof stream !== 'function') { + this._pipeNext(stream); + return; + } + + var getStream = stream; + getStream(function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('data', this._checkDataSize.bind(this)); + this._handleErrors(stream); + } + + this._pipeNext(stream); + }.bind(this)); +}; + +CombinedStream.prototype._pipeNext = function(stream) { + this._currentStream = stream; + + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('end', this._getNext.bind(this)); + stream.pipe(this, {end: false}); + return; + } + + var value = stream; + this.write(value); + this._getNext(); +}; + +CombinedStream.prototype._handleErrors = function(stream) { + var self = this; + stream.on('error', function(err) { + self._emitError(err); + }); +}; + +CombinedStream.prototype.write = function(data) { + this.emit('data', data); +}; + +CombinedStream.prototype.pause = function() { + if (!this.pauseStreams) { + return; + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause(); + this.emit('pause'); +}; + +CombinedStream.prototype.resume = function() { + if (!this._released) { + this._released = true; + this.writable = true; + this._getNext(); + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume(); + this.emit('resume'); +}; + +CombinedStream.prototype.end = function() { + this._reset(); + this.emit('end'); +}; + +CombinedStream.prototype.destroy = function() { + this._reset(); + this.emit('close'); +}; + +CombinedStream.prototype._reset = function() { + this.writable = false; + this._streams = []; + this._currentStream = null; +}; + +CombinedStream.prototype._checkDataSize = function() { + this._updateDataSize(); + if (this.dataSize <= this.maxDataSize) { + return; + } + + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'; + this._emitError(new Error(message)); +}; + +CombinedStream.prototype._updateDataSize = function() { + this.dataSize = 0; + + var self = this; + this._streams.forEach(function(stream) { + if (!stream.dataSize) { + return; + } + + self.dataSize += stream.dataSize; + }); + + if (this._currentStream && this._currentStream.dataSize) { + this.dataSize += this._currentStream.dataSize; + } +}; + +CombinedStream.prototype._emitError = function(err) { + this._reset(); + this.emit('error', err); +}; + + +/***/ }), + +/***/ 18611: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var Stream = (__nccwpck_require__(12781).Stream); +var util = __nccwpck_require__(73837); + +module.exports = DelayedStream; +function DelayedStream() { + this.source = null; + this.dataSize = 0; + this.maxDataSize = 1024 * 1024; + this.pauseStream = true; + + this._maxDataSizeExceeded = false; + this._released = false; + this._bufferedEvents = []; +} +util.inherits(DelayedStream, Stream); + +DelayedStream.create = function(source, options) { + var delayedStream = new this(); + + options = options || {}; + for (var option in options) { + delayedStream[option] = options[option]; + } + + delayedStream.source = source; + + var realEmit = source.emit; + source.emit = function() { + delayedStream._handleEmit(arguments); + return realEmit.apply(source, arguments); + }; + + source.on('error', function() {}); + if (delayedStream.pauseStream) { + source.pause(); + } + + return delayedStream; +}; + +Object.defineProperty(DelayedStream.prototype, 'readable', { + configurable: true, + enumerable: true, + get: function() { + return this.source.readable; + } +}); + +DelayedStream.prototype.setEncoding = function() { + return this.source.setEncoding.apply(this.source, arguments); +}; + +DelayedStream.prototype.resume = function() { + if (!this._released) { + this.release(); + } + + this.source.resume(); +}; + +DelayedStream.prototype.pause = function() { + this.source.pause(); +}; + +DelayedStream.prototype.release = function() { + this._released = true; + + this._bufferedEvents.forEach(function(args) { + this.emit.apply(this, args); + }.bind(this)); + this._bufferedEvents = []; +}; + +DelayedStream.prototype.pipe = function() { + var r = Stream.prototype.pipe.apply(this, arguments); + this.resume(); + return r; +}; + +DelayedStream.prototype._handleEmit = function(args) { + if (this._released) { + this.emit.apply(this, args); + return; + } + + if (args[0] === 'data') { + this.dataSize += args[1].length; + this._checkIfMaxDataSizeExceeded(); + } + + this._bufferedEvents.push(args); +}; + +DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { + if (this._maxDataSizeExceeded) { + return; + } + + if (this.dataSize <= this.maxDataSize) { + return; + } + + this._maxDataSizeExceeded = true; + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.' + this.emit('error', new Error(message)); +}; + + +/***/ }), + +/***/ 58932: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +class Deprecation extends Error { + constructor(message) { + super(message); // Maintains proper stack trace (only available on V8) + + /* istanbul ignore next */ + + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + + this.name = 'Deprecation'; + } + +} + +exports.Deprecation = Deprecation; + + +/***/ }), + +/***/ 64334: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var CombinedStream = __nccwpck_require__(85443); +var util = __nccwpck_require__(73837); +var path = __nccwpck_require__(71017); +var http = __nccwpck_require__(13685); +var https = __nccwpck_require__(95687); +var parseUrl = (__nccwpck_require__(57310).parse); +var fs = __nccwpck_require__(57147); +var mime = __nccwpck_require__(43583); +var asynckit = __nccwpck_require__(14812); +var populate = __nccwpck_require__(17142); + +// Public API +module.exports = FormData; + +// make it a Stream +util.inherits(FormData, CombinedStream); + +/** + * Create readable "multipart/form-data" streams. + * Can be used to submit forms + * and file uploads to other web applications. + * + * @constructor + * @param {Object} options - Properties to be added/overriden for FormData and CombinedStream + */ +function FormData(options) { + if (!(this instanceof FormData)) { + return new FormData(options); + } + + this._overheadLength = 0; + this._valueLength = 0; + this._valuesToMeasure = []; + + CombinedStream.call(this); + + options = options || {}; + for (var option in options) { + this[option] = options[option]; + } +} + +FormData.LINE_BREAK = '\r\n'; +FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream'; + +FormData.prototype.append = function(field, value, options) { + + options = options || {}; + + // allow filename as single option + if (typeof options == 'string') { + options = {filename: options}; + } + + var append = CombinedStream.prototype.append.bind(this); + + // all that streamy business can't handle numbers + if (typeof value == 'number') { + value = '' + value; + } + + // https://github.com/felixge/node-form-data/issues/38 + if (util.isArray(value)) { + // Please convert your array into string + // the way web server expects it + this._error(new Error('Arrays are not supported.')); + return; + } + + var header = this._multiPartHeader(field, value, options); + var footer = this._multiPartFooter(); + + append(header); + append(value); + append(footer); + + // pass along options.knownLength + this._trackLength(header, value, options); +}; + +FormData.prototype._trackLength = function(header, value, options) { + var valueLength = 0; + + // used w/ getLengthSync(), when length is known. + // e.g. for streaming directly from a remote server, + // w/ a known file a size, and not wanting to wait for + // incoming file to finish to get its size. + if (options.knownLength != null) { + valueLength += +options.knownLength; + } else if (Buffer.isBuffer(value)) { + valueLength = value.length; + } else if (typeof value === 'string') { + valueLength = Buffer.byteLength(value); + } + + this._valueLength += valueLength; + + // @check why add CRLF? does this account for custom/multiple CRLFs? + this._overheadLength += + Buffer.byteLength(header) + + FormData.LINE_BREAK.length; + + // empty or either doesn't have path or not an http response + if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) )) { + return; + } + + // no need to bother with the length + if (!options.knownLength) { + this._valuesToMeasure.push(value); + } +}; + +FormData.prototype._lengthRetriever = function(value, callback) { + + if (value.hasOwnProperty('fd')) { + + // take read range into a account + // `end` = Infinity –> read file till the end + // + // TODO: Looks like there is bug in Node fs.createReadStream + // it doesn't respect `end` options without `start` options + // Fix it when node fixes it. + // https://github.com/joyent/node/issues/7819 + if (value.end != undefined && value.end != Infinity && value.start != undefined) { + + // when end specified + // no need to calculate range + // inclusive, starts with 0 + callback(null, value.end + 1 - (value.start ? value.start : 0)); + + // not that fast snoopy + } else { + // still need to fetch file size from fs + fs.stat(value.path, function(err, stat) { + + var fileSize; + + if (err) { + callback(err); + return; + } + + // update final size based on the range options + fileSize = stat.size - (value.start ? value.start : 0); + callback(null, fileSize); + }); + } + + // or http response + } else if (value.hasOwnProperty('httpVersion')) { + callback(null, +value.headers['content-length']); + + // or request stream http://github.com/mikeal/request + } else if (value.hasOwnProperty('httpModule')) { + // wait till response come back + value.on('response', function(response) { + value.pause(); + callback(null, +response.headers['content-length']); + }); + value.resume(); + + // something else + } else { + callback('Unknown stream'); + } +}; + +FormData.prototype._multiPartHeader = function(field, value, options) { + // custom header specified (as string)? + // it becomes responsible for boundary + // (e.g. to handle extra CRLFs on .NET servers) + if (typeof options.header == 'string') { + return options.header; + } + + var contentDisposition = this._getContentDisposition(value, options); + var contentType = this._getContentType(value, options); + + var contents = ''; + var headers = { + // add custom disposition as third element or keep it two elements if not + 'Content-Disposition': ['form-data', 'name="' + field + '"'].concat(contentDisposition || []), + // if no content type. allow it to be empty array + 'Content-Type': [].concat(contentType || []) + }; + + // allow custom headers. + if (typeof options.header == 'object') { + populate(headers, options.header); + } + + var header; + for (var prop in headers) { + if (!headers.hasOwnProperty(prop)) continue; + header = headers[prop]; + + // skip nullish headers. + if (header == null) { + continue; + } + + // convert all headers to arrays. + if (!Array.isArray(header)) { + header = [header]; + } + + // add non-empty headers. + if (header.length) { + contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; + } + } + + return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK; +}; + +FormData.prototype._getContentDisposition = function(value, options) { + + var filename + , contentDisposition + ; + + if (typeof options.filepath === 'string') { + // custom filepath for relative paths + filename = path.normalize(options.filepath).replace(/\\/g, '/'); + } else if (options.filename || value.name || value.path) { + // custom filename take precedence + // formidable and the browser add a name property + // fs- and request- streams have path property + filename = path.basename(options.filename || value.name || value.path); + } else if (value.readable && value.hasOwnProperty('httpVersion')) { + // or try http response + filename = path.basename(value.client._httpMessage.path || ''); + } + + if (filename) { + contentDisposition = 'filename="' + filename + '"'; + } + + return contentDisposition; +}; + +FormData.prototype._getContentType = function(value, options) { + + // use custom content-type above all + var contentType = options.contentType; + + // or try `name` from formidable, browser + if (!contentType && value.name) { + contentType = mime.lookup(value.name); + } + + // or try `path` from fs-, request- streams + if (!contentType && value.path) { + contentType = mime.lookup(value.path); + } + + // or if it's http-reponse + if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) { + contentType = value.headers['content-type']; + } + + // or guess it from the filepath or filename + if (!contentType && (options.filepath || options.filename)) { + contentType = mime.lookup(options.filepath || options.filename); + } + + // fallback to the default content type if `value` is not simple value + if (!contentType && typeof value == 'object') { + contentType = FormData.DEFAULT_CONTENT_TYPE; + } + + return contentType; +}; + +FormData.prototype._multiPartFooter = function() { + return function(next) { + var footer = FormData.LINE_BREAK; + + var lastPart = (this._streams.length === 0); + if (lastPart) { + footer += this._lastBoundary(); + } + + next(footer); + }.bind(this); +}; + +FormData.prototype._lastBoundary = function() { + return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK; +}; + +FormData.prototype.getHeaders = function(userHeaders) { + var header; + var formHeaders = { + 'content-type': 'multipart/form-data; boundary=' + this.getBoundary() + }; + + for (header in userHeaders) { + if (userHeaders.hasOwnProperty(header)) { + formHeaders[header.toLowerCase()] = userHeaders[header]; + } + } + + return formHeaders; +}; + +FormData.prototype.setBoundary = function(boundary) { + this._boundary = boundary; +}; + +FormData.prototype.getBoundary = function() { + if (!this._boundary) { + this._generateBoundary(); + } + + return this._boundary; +}; + +FormData.prototype.getBuffer = function() { + var dataBuffer = new Buffer.alloc( 0 ); + var boundary = this.getBoundary(); + + // Create the form content. Add Line breaks to the end of data. + for (var i = 0, len = this._streams.length; i < len; i++) { + if (typeof this._streams[i] !== 'function') { + + // Add content to the buffer. + if(Buffer.isBuffer(this._streams[i])) { + dataBuffer = Buffer.concat( [dataBuffer, this._streams[i]]); + }else { + dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(this._streams[i])]); + } + + // Add break after content. + if (typeof this._streams[i] !== 'string' || this._streams[i].substring( 2, boundary.length + 2 ) !== boundary) { + dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(FormData.LINE_BREAK)] ); + } + } + } + + // Add the footer and return the Buffer object. + return Buffer.concat( [dataBuffer, Buffer.from(this._lastBoundary())] ); +}; + +FormData.prototype._generateBoundary = function() { + // This generates a 50 character boundary similar to those used by Firefox. + // They are optimized for boyer-moore parsing. + var boundary = '--------------------------'; + for (var i = 0; i < 24; i++) { + boundary += Math.floor(Math.random() * 10).toString(16); + } + + this._boundary = boundary; +}; + +// Note: getLengthSync DOESN'T calculate streams length +// As workaround one can calculate file size manually +// and add it as knownLength option +FormData.prototype.getLengthSync = function() { + var knownLength = this._overheadLength + this._valueLength; + + // Don't get confused, there are 3 "internal" streams for each keyval pair + // so it basically checks if there is any value added to the form + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + // https://github.com/form-data/form-data/issues/40 + if (!this.hasKnownLength()) { + // Some async length retrievers are present + // therefore synchronous length calculation is false. + // Please use getLength(callback) to get proper length + this._error(new Error('Cannot calculate proper length in synchronous way.')); + } + + return knownLength; +}; + +// Public API to check if length of added values is known +// https://github.com/form-data/form-data/issues/196 +// https://github.com/form-data/form-data/issues/262 +FormData.prototype.hasKnownLength = function() { + var hasKnownLength = true; + + if (this._valuesToMeasure.length) { + hasKnownLength = false; + } + + return hasKnownLength; +}; + +FormData.prototype.getLength = function(cb) { + var knownLength = this._overheadLength + this._valueLength; + + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + if (!this._valuesToMeasure.length) { + process.nextTick(cb.bind(this, null, knownLength)); + return; + } + + asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) { + if (err) { + cb(err); + return; + } + + values.forEach(function(length) { + knownLength += length; + }); + + cb(null, knownLength); + }); +}; + +FormData.prototype.submit = function(params, cb) { + var request + , options + , defaults = {method: 'post'} + ; + + // parse provided url if it's string + // or treat it as options object + if (typeof params == 'string') { + + params = parseUrl(params); + options = populate({ + port: params.port, + path: params.pathname, + host: params.hostname, + protocol: params.protocol + }, defaults); + + // use custom params + } else { + + options = populate(params, defaults); + // if no port provided use default one + if (!options.port) { + options.port = options.protocol == 'https:' ? 443 : 80; + } + } + + // put that good code in getHeaders to some use + options.headers = this.getHeaders(params.headers); + + // https if specified, fallback to http in any other case + if (options.protocol == 'https:') { + request = https.request(options); + } else { + request = http.request(options); + } + + // get content length and fire away + this.getLength(function(err, length) { + if (err) { + this._error(err); + return; + } + + // add content length + request.setHeader('Content-Length', length); + + this.pipe(request); + if (cb) { + var onResponse; + + var callback = function (error, responce) { + request.removeListener('error', callback); + request.removeListener('response', onResponse); + + return cb.call(this, error, responce); + }; + + onResponse = callback.bind(this, null); + + request.on('error', callback); + request.on('response', onResponse); + } + }.bind(this)); + + return request; +}; + +FormData.prototype._error = function(err) { + if (!this.error) { + this.error = err; + this.pause(); + this.emit('error', err); + } +}; + +FormData.prototype.toString = function () { + return '[object FormData]'; +}; + + +/***/ }), + +/***/ 17142: +/***/ ((module) => { + +// populates missing values +module.exports = function(dst, src) { + + Object.keys(src).forEach(function(prop) + { + dst[prop] = dst[prop] || src[prop]; + }); + + return dst; +}; + + +/***/ }), + +/***/ 63287: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + +function isObject(o) { + return Object.prototype.toString.call(o) === '[object Object]'; +} + +function isPlainObject(o) { + var ctor,prot; + + if (isObject(o) === false) return false; + + // If has modified constructor + ctor = o.constructor; + if (ctor === undefined) return true; + + // If has modified prototype + prot = ctor.prototype; + if (isObject(prot) === false) return false; + + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty('isPrototypeOf') === false) { + return false; + } + + // Most likely a plain Object + return true; +} + +exports.isPlainObject = isPlainObject; + + +/***/ }), + +/***/ 21917: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + + +var loader = __nccwpck_require__(51161); +var dumper = __nccwpck_require__(68866); + + +function renamed(from, to) { + return function () { + throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' + + 'Use yaml.' + to + ' instead, which is now safe by default.'); + }; +} + + +module.exports.Type = __nccwpck_require__(6073); +module.exports.Schema = __nccwpck_require__(21082); +module.exports.FAILSAFE_SCHEMA = __nccwpck_require__(28562); +module.exports.JSON_SCHEMA = __nccwpck_require__(1035); +module.exports.CORE_SCHEMA = __nccwpck_require__(12011); +module.exports.DEFAULT_SCHEMA = __nccwpck_require__(18759); +module.exports.load = loader.load; +module.exports.loadAll = loader.loadAll; +module.exports.dump = dumper.dump; +module.exports.YAMLException = __nccwpck_require__(68179); + +// Re-export all types in case user wants to create custom schema +module.exports.types = { + binary: __nccwpck_require__(77900), + float: __nccwpck_require__(42705), + map: __nccwpck_require__(86150), + null: __nccwpck_require__(20721), + pairs: __nccwpck_require__(96860), + set: __nccwpck_require__(79548), + timestamp: __nccwpck_require__(99212), + bool: __nccwpck_require__(64993), + int: __nccwpck_require__(11615), + merge: __nccwpck_require__(86104), + omap: __nccwpck_require__(19046), + seq: __nccwpck_require__(67283), + str: __nccwpck_require__(23619) +}; + +// Removed functions from JS-YAML 3.0.x +module.exports.safeLoad = renamed('safeLoad', 'load'); +module.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll'); +module.exports.safeDump = renamed('safeDump', 'dump'); + + +/***/ }), + +/***/ 26829: +/***/ ((module) => { + +"use strict"; + + + +function isNothing(subject) { + return (typeof subject === 'undefined') || (subject === null); +} + + +function isObject(subject) { + return (typeof subject === 'object') && (subject !== null); +} + + +function toArray(sequence) { + if (Array.isArray(sequence)) return sequence; + else if (isNothing(sequence)) return []; + + return [ sequence ]; +} + + +function extend(target, source) { + var index, length, key, sourceKeys; + + if (source) { + sourceKeys = Object.keys(source); + + for (index = 0, length = sourceKeys.length; index < length; index += 1) { + key = sourceKeys[index]; + target[key] = source[key]; + } + } + + return target; +} + + +function repeat(string, count) { + var result = '', cycle; + + for (cycle = 0; cycle < count; cycle += 1) { + result += string; + } + + return result; +} + + +function isNegativeZero(number) { + return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number); +} + + +module.exports.isNothing = isNothing; +module.exports.isObject = isObject; +module.exports.toArray = toArray; +module.exports.repeat = repeat; +module.exports.isNegativeZero = isNegativeZero; +module.exports.extend = extend; + + +/***/ }), + +/***/ 68866: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/*eslint-disable no-use-before-define*/ + +var common = __nccwpck_require__(26829); +var YAMLException = __nccwpck_require__(68179); +var DEFAULT_SCHEMA = __nccwpck_require__(18759); + +var _toString = Object.prototype.toString; +var _hasOwnProperty = Object.prototype.hasOwnProperty; + +var CHAR_BOM = 0xFEFF; +var CHAR_TAB = 0x09; /* Tab */ +var CHAR_LINE_FEED = 0x0A; /* LF */ +var CHAR_CARRIAGE_RETURN = 0x0D; /* CR */ +var CHAR_SPACE = 0x20; /* Space */ +var CHAR_EXCLAMATION = 0x21; /* ! */ +var CHAR_DOUBLE_QUOTE = 0x22; /* " */ +var CHAR_SHARP = 0x23; /* # */ +var CHAR_PERCENT = 0x25; /* % */ +var CHAR_AMPERSAND = 0x26; /* & */ +var CHAR_SINGLE_QUOTE = 0x27; /* ' */ +var CHAR_ASTERISK = 0x2A; /* * */ +var CHAR_COMMA = 0x2C; /* , */ +var CHAR_MINUS = 0x2D; /* - */ +var CHAR_COLON = 0x3A; /* : */ +var CHAR_EQUALS = 0x3D; /* = */ +var CHAR_GREATER_THAN = 0x3E; /* > */ +var CHAR_QUESTION = 0x3F; /* ? */ +var CHAR_COMMERCIAL_AT = 0x40; /* @ */ +var CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */ +var CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */ +var CHAR_GRAVE_ACCENT = 0x60; /* ` */ +var CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */ +var CHAR_VERTICAL_LINE = 0x7C; /* | */ +var CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */ + +var ESCAPE_SEQUENCES = {}; + +ESCAPE_SEQUENCES[0x00] = '\\0'; +ESCAPE_SEQUENCES[0x07] = '\\a'; +ESCAPE_SEQUENCES[0x08] = '\\b'; +ESCAPE_SEQUENCES[0x09] = '\\t'; +ESCAPE_SEQUENCES[0x0A] = '\\n'; +ESCAPE_SEQUENCES[0x0B] = '\\v'; +ESCAPE_SEQUENCES[0x0C] = '\\f'; +ESCAPE_SEQUENCES[0x0D] = '\\r'; +ESCAPE_SEQUENCES[0x1B] = '\\e'; +ESCAPE_SEQUENCES[0x22] = '\\"'; +ESCAPE_SEQUENCES[0x5C] = '\\\\'; +ESCAPE_SEQUENCES[0x85] = '\\N'; +ESCAPE_SEQUENCES[0xA0] = '\\_'; +ESCAPE_SEQUENCES[0x2028] = '\\L'; +ESCAPE_SEQUENCES[0x2029] = '\\P'; + +var DEPRECATED_BOOLEANS_SYNTAX = [ + 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON', + 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF' +]; + +var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/; + +function compileStyleMap(schema, map) { + var result, keys, index, length, tag, style, type; + + if (map === null) return {}; + + result = {}; + keys = Object.keys(map); + + for (index = 0, length = keys.length; index < length; index += 1) { + tag = keys[index]; + style = String(map[tag]); + + if (tag.slice(0, 2) === '!!') { + tag = 'tag:yaml.org,2002:' + tag.slice(2); + } + type = schema.compiledTypeMap['fallback'][tag]; + + if (type && _hasOwnProperty.call(type.styleAliases, style)) { + style = type.styleAliases[style]; + } + + result[tag] = style; + } + + return result; +} + +function encodeHex(character) { + var string, handle, length; + + string = character.toString(16).toUpperCase(); + + if (character <= 0xFF) { + handle = 'x'; + length = 2; + } else if (character <= 0xFFFF) { + handle = 'u'; + length = 4; + } else if (character <= 0xFFFFFFFF) { + handle = 'U'; + length = 8; + } else { + throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF'); + } + + return '\\' + handle + common.repeat('0', length - string.length) + string; +} + + +var QUOTING_TYPE_SINGLE = 1, + QUOTING_TYPE_DOUBLE = 2; + +function State(options) { + this.schema = options['schema'] || DEFAULT_SCHEMA; + this.indent = Math.max(1, (options['indent'] || 2)); + this.noArrayIndent = options['noArrayIndent'] || false; + this.skipInvalid = options['skipInvalid'] || false; + this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']); + this.styleMap = compileStyleMap(this.schema, options['styles'] || null); + this.sortKeys = options['sortKeys'] || false; + this.lineWidth = options['lineWidth'] || 80; + this.noRefs = options['noRefs'] || false; + this.noCompatMode = options['noCompatMode'] || false; + this.condenseFlow = options['condenseFlow'] || false; + this.quotingType = options['quotingType'] === '"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE; + this.forceQuotes = options['forceQuotes'] || false; + this.replacer = typeof options['replacer'] === 'function' ? options['replacer'] : null; + + this.implicitTypes = this.schema.compiledImplicit; + this.explicitTypes = this.schema.compiledExplicit; + + this.tag = null; + this.result = ''; + + this.duplicates = []; + this.usedDuplicates = null; +} + +// Indents every line in a string. Empty lines (\n only) are not indented. +function indentString(string, spaces) { + var ind = common.repeat(' ', spaces), + position = 0, + next = -1, + result = '', + line, + length = string.length; + + while (position < length) { + next = string.indexOf('\n', position); + if (next === -1) { + line = string.slice(position); + position = length; + } else { + line = string.slice(position, next + 1); + position = next + 1; + } + + if (line.length && line !== '\n') result += ind; + + result += line; + } + + return result; +} + +function generateNextLine(state, level) { + return '\n' + common.repeat(' ', state.indent * level); +} + +function testImplicitResolving(state, str) { + var index, length, type; + + for (index = 0, length = state.implicitTypes.length; index < length; index += 1) { + type = state.implicitTypes[index]; + + if (type.resolve(str)) { + return true; + } + } + + return false; +} + +// [33] s-white ::= s-space | s-tab +function isWhitespace(c) { + return c === CHAR_SPACE || c === CHAR_TAB; +} + +// Returns true if the character can be printed without escaping. +// From YAML 1.2: "any allowed characters known to be non-printable +// should also be escaped. [However,] This isn’t mandatory" +// Derived from nb-char - \t - #x85 - #xA0 - #x2028 - #x2029. +function isPrintable(c) { + return (0x00020 <= c && c <= 0x00007E) + || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029) + || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM) + || (0x10000 <= c && c <= 0x10FFFF); +} + +// [34] ns-char ::= nb-char - s-white +// [27] nb-char ::= c-printable - b-char - c-byte-order-mark +// [26] b-char ::= b-line-feed | b-carriage-return +// Including s-white (for some reason, examples doesn't match specs in this aspect) +// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark +function isNsCharOrWhitespace(c) { + return isPrintable(c) + && c !== CHAR_BOM + // - b-char + && c !== CHAR_CARRIAGE_RETURN + && c !== CHAR_LINE_FEED; +} + +// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out +// c = flow-in ⇒ ns-plain-safe-in +// c = block-key ⇒ ns-plain-safe-out +// c = flow-key ⇒ ns-plain-safe-in +// [128] ns-plain-safe-out ::= ns-char +// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator +// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” ) +// | ( /* An ns-char preceding */ “#” ) +// | ( “:” /* Followed by an ns-plain-safe(c) */ ) +function isPlainSafe(c, prev, inblock) { + var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c); + var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c); + return ( + // ns-plain-safe + inblock ? // c = flow-in + cIsNsCharOrWhitespace + : cIsNsCharOrWhitespace + // - c-flow-indicator + && c !== CHAR_COMMA + && c !== CHAR_LEFT_SQUARE_BRACKET + && c !== CHAR_RIGHT_SQUARE_BRACKET + && c !== CHAR_LEFT_CURLY_BRACKET + && c !== CHAR_RIGHT_CURLY_BRACKET + ) + // ns-plain-char + && c !== CHAR_SHARP // false on '#' + && !(prev === CHAR_COLON && !cIsNsChar) // false on ': ' + || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#' + || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]' +} + +// Simplified test for values allowed as the first character in plain style. +function isPlainSafeFirst(c) { + // Uses a subset of ns-char - c-indicator + // where ns-char = nb-char - s-white. + // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part + return isPrintable(c) && c !== CHAR_BOM + && !isWhitespace(c) // - s-white + // - (c-indicator ::= + // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}” + && c !== CHAR_MINUS + && c !== CHAR_QUESTION + && c !== CHAR_COLON + && c !== CHAR_COMMA + && c !== CHAR_LEFT_SQUARE_BRACKET + && c !== CHAR_RIGHT_SQUARE_BRACKET + && c !== CHAR_LEFT_CURLY_BRACKET + && c !== CHAR_RIGHT_CURLY_BRACKET + // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “"” + && c !== CHAR_SHARP + && c !== CHAR_AMPERSAND + && c !== CHAR_ASTERISK + && c !== CHAR_EXCLAMATION + && c !== CHAR_VERTICAL_LINE + && c !== CHAR_EQUALS + && c !== CHAR_GREATER_THAN + && c !== CHAR_SINGLE_QUOTE + && c !== CHAR_DOUBLE_QUOTE + // | “%” | “@” | “`”) + && c !== CHAR_PERCENT + && c !== CHAR_COMMERCIAL_AT + && c !== CHAR_GRAVE_ACCENT; +} + +// Simplified test for values allowed as the last character in plain style. +function isPlainSafeLast(c) { + // just not whitespace or colon, it will be checked to be plain character later + return !isWhitespace(c) && c !== CHAR_COLON; +} + +// Same as 'string'.codePointAt(pos), but works in older browsers. +function codePointAt(string, pos) { + var first = string.charCodeAt(pos), second; + if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) { + second = string.charCodeAt(pos + 1); + if (second >= 0xDC00 && second <= 0xDFFF) { + // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; + } + } + return first; +} + +// Determines whether block indentation indicator is required. +function needIndentIndicator(string) { + var leadingSpaceRe = /^\n* /; + return leadingSpaceRe.test(string); +} + +var STYLE_PLAIN = 1, + STYLE_SINGLE = 2, + STYLE_LITERAL = 3, + STYLE_FOLDED = 4, + STYLE_DOUBLE = 5; + +// Determines which scalar styles are possible and returns the preferred style. +// lineWidth = -1 => no limit. +// Pre-conditions: str.length > 0. +// Post-conditions: +// STYLE_PLAIN or STYLE_SINGLE => no \n are in the string. +// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1). +// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1). +function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, + testAmbiguousType, quotingType, forceQuotes, inblock) { + + var i; + var char = 0; + var prevChar = null; + var hasLineBreak = false; + var hasFoldableLine = false; // only checked if shouldTrackWidth + var shouldTrackWidth = lineWidth !== -1; + var previousLineBreak = -1; // count the first line correctly + var plain = isPlainSafeFirst(codePointAt(string, 0)) + && isPlainSafeLast(codePointAt(string, string.length - 1)); + + if (singleLineOnly || forceQuotes) { + // Case: no block styles. + // Check for disallowed characters to rule out plain and single. + for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + if (!isPrintable(char)) { + return STYLE_DOUBLE; + } + plain = plain && isPlainSafe(char, prevChar, inblock); + prevChar = char; + } + } else { + // Case: block styles permitted. + for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + if (char === CHAR_LINE_FEED) { + hasLineBreak = true; + // Check if any line can be folded. + if (shouldTrackWidth) { + hasFoldableLine = hasFoldableLine || + // Foldable line = too long, and not more-indented. + (i - previousLineBreak - 1 > lineWidth && + string[previousLineBreak + 1] !== ' '); + previousLineBreak = i; + } + } else if (!isPrintable(char)) { + return STYLE_DOUBLE; + } + plain = plain && isPlainSafe(char, prevChar, inblock); + prevChar = char; + } + // in case the end is missing a \n + hasFoldableLine = hasFoldableLine || (shouldTrackWidth && + (i - previousLineBreak - 1 > lineWidth && + string[previousLineBreak + 1] !== ' ')); + } + // Although every style can represent \n without escaping, prefer block styles + // for multiline, since they're more readable and they don't add empty lines. + // Also prefer folding a super-long line. + if (!hasLineBreak && !hasFoldableLine) { + // Strings interpretable as another type have to be quoted; + // e.g. the string 'true' vs. the boolean true. + if (plain && !forceQuotes && !testAmbiguousType(string)) { + return STYLE_PLAIN; + } + return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; + } + // Edge case: block indentation indicator can only have one digit. + if (indentPerLevel > 9 && needIndentIndicator(string)) { + return STYLE_DOUBLE; + } + // At this point we know block styles are valid. + // Prefer literal style unless we want to fold. + if (!forceQuotes) { + return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL; + } + return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE; +} + +// Note: line breaking/folding is implemented for only the folded style. +// NB. We drop the last trailing newline (if any) of a returned block scalar +// since the dumper adds its own newline. This always works: +// • No ending newline => unaffected; already using strip "-" chomping. +// • Ending newline => removed then restored. +// Importantly, this keeps the "+" chomp indicator from gaining an extra line. +function writeScalar(state, string, level, iskey, inblock) { + state.dump = (function () { + if (string.length === 0) { + return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''"; + } + if (!state.noCompatMode) { + if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) { + return state.quotingType === QUOTING_TYPE_DOUBLE ? ('"' + string + '"') : ("'" + string + "'"); + } + } + + var indent = state.indent * Math.max(1, level); // no 0-indent scalars + // As indentation gets deeper, let the width decrease monotonically + // to the lower bound min(state.lineWidth, 40). + // Note that this implies + // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound. + // state.lineWidth > 40 + state.indent: width decreases until the lower bound. + // This behaves better than a constant minimum width which disallows narrower options, + // or an indent threshold which causes the width to suddenly increase. + var lineWidth = state.lineWidth === -1 + ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); + + // Without knowing if keys are implicit/explicit, assume implicit for safety. + var singleLineOnly = iskey + // No block styles in flow mode. + || (state.flowLevel > -1 && level >= state.flowLevel); + function testAmbiguity(string) { + return testImplicitResolving(state, string); + } + + switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, + testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) { + + case STYLE_PLAIN: + return string; + case STYLE_SINGLE: + return "'" + string.replace(/'/g, "''") + "'"; + case STYLE_LITERAL: + return '|' + blockHeader(string, state.indent) + + dropEndingNewline(indentString(string, indent)); + case STYLE_FOLDED: + return '>' + blockHeader(string, state.indent) + + dropEndingNewline(indentString(foldString(string, lineWidth), indent)); + case STYLE_DOUBLE: + return '"' + escapeString(string, lineWidth) + '"'; + default: + throw new YAMLException('impossible error: invalid scalar style'); + } + }()); +} + +// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9. +function blockHeader(string, indentPerLevel) { + var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ''; + + // note the special case: the string '\n' counts as a "trailing" empty line. + var clip = string[string.length - 1] === '\n'; + var keep = clip && (string[string.length - 2] === '\n' || string === '\n'); + var chomp = keep ? '+' : (clip ? '' : '-'); + + return indentIndicator + chomp + '\n'; +} + +// (See the note for writeScalar.) +function dropEndingNewline(string) { + return string[string.length - 1] === '\n' ? string.slice(0, -1) : string; +} + +// Note: a long line without a suitable break point will exceed the width limit. +// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0. +function foldString(string, width) { + // In folded style, $k$ consecutive newlines output as $k+1$ newlines— + // unless they're before or after a more-indented line, or at the very + // beginning or end, in which case $k$ maps to $k$. + // Therefore, parse each chunk as newline(s) followed by a content line. + var lineRe = /(\n+)([^\n]*)/g; + + // first line (possibly an empty line) + var result = (function () { + var nextLF = string.indexOf('\n'); + nextLF = nextLF !== -1 ? nextLF : string.length; + lineRe.lastIndex = nextLF; + return foldLine(string.slice(0, nextLF), width); + }()); + // If we haven't reached the first content line yet, don't add an extra \n. + var prevMoreIndented = string[0] === '\n' || string[0] === ' '; + var moreIndented; + + // rest of the lines + var match; + while ((match = lineRe.exec(string))) { + var prefix = match[1], line = match[2]; + moreIndented = (line[0] === ' '); + result += prefix + + (!prevMoreIndented && !moreIndented && line !== '' + ? '\n' : '') + + foldLine(line, width); + prevMoreIndented = moreIndented; + } + + return result; +} + +// Greedy line breaking. +// Picks the longest line under the limit each time, +// otherwise settles for the shortest line over the limit. +// NB. More-indented lines *cannot* be folded, as that would add an extra \n. +function foldLine(line, width) { + if (line === '' || line[0] === ' ') return line; + + // Since a more-indented line adds a \n, breaks can't be followed by a space. + var breakRe = / [^ ]/g; // note: the match index will always be <= length-2. + var match; + // start is an inclusive index. end, curr, and next are exclusive. + var start = 0, end, curr = 0, next = 0; + var result = ''; + + // Invariants: 0 <= start <= length-1. + // 0 <= curr <= next <= max(0, length-2). curr - start <= width. + // Inside the loop: + // A match implies length >= 2, so curr and next are <= length-2. + while ((match = breakRe.exec(line))) { + next = match.index; + // maintain invariant: curr - start <= width + if (next - start > width) { + end = (curr > start) ? curr : next; // derive end <= length-2 + result += '\n' + line.slice(start, end); + // skip the space that was output as \n + start = end + 1; // derive start <= length-1 + } + curr = next; + } + + // By the invariants, start <= length-1, so there is something left over. + // It is either the whole string or a part starting from non-whitespace. + result += '\n'; + // Insert a break if the remainder is too long and there is a break available. + if (line.length - start > width && curr > start) { + result += line.slice(start, curr) + '\n' + line.slice(curr + 1); + } else { + result += line.slice(start); + } + + return result.slice(1); // drop extra \n joiner +} + +// Escapes a double-quoted string. +function escapeString(string) { + var result = ''; + var char = 0; + var escapeSeq; + + for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) { + char = codePointAt(string, i); + escapeSeq = ESCAPE_SEQUENCES[char]; + + if (!escapeSeq && isPrintable(char)) { + result += string[i]; + if (char >= 0x10000) result += string[i + 1]; + } else { + result += escapeSeq || encodeHex(char); + } + } + + return result; +} + +function writeFlowSequence(state, level, object) { + var _result = '', + _tag = state.tag, + index, + length, + value; + + for (index = 0, length = object.length; index < length; index += 1) { + value = object[index]; + + if (state.replacer) { + value = state.replacer.call(object, String(index), value); + } + + // Write only valid elements, put null instead of invalid elements. + if (writeNode(state, level, value, false, false) || + (typeof value === 'undefined' && + writeNode(state, level, null, false, false))) { + + if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : ''); + _result += state.dump; + } + } + + state.tag = _tag; + state.dump = '[' + _result + ']'; +} + +function writeBlockSequence(state, level, object, compact) { + var _result = '', + _tag = state.tag, + index, + length, + value; + + for (index = 0, length = object.length; index < length; index += 1) { + value = object[index]; + + if (state.replacer) { + value = state.replacer.call(object, String(index), value); + } + + // Write only valid elements, put null instead of invalid elements. + if (writeNode(state, level + 1, value, true, true, false, true) || + (typeof value === 'undefined' && + writeNode(state, level + 1, null, true, true, false, true))) { + + if (!compact || _result !== '') { + _result += generateNextLine(state, level); + } + + if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { + _result += '-'; + } else { + _result += '- '; + } + + _result += state.dump; + } + } + + state.tag = _tag; + state.dump = _result || '[]'; // Empty sequence if no valid values. +} + +function writeFlowMapping(state, level, object) { + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + pairBuffer; + + for (index = 0, length = objectKeyList.length; index < length; index += 1) { + + pairBuffer = ''; + if (_result !== '') pairBuffer += ', '; + + if (state.condenseFlow) pairBuffer += '"'; + + objectKey = objectKeyList[index]; + objectValue = object[objectKey]; + + if (state.replacer) { + objectValue = state.replacer.call(object, objectKey, objectValue); + } + + if (!writeNode(state, level, objectKey, false, false)) { + continue; // Skip this pair because of invalid key; + } + + if (state.dump.length > 1024) pairBuffer += '? '; + + pairBuffer += state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' '); + + if (!writeNode(state, level, objectValue, false, false)) { + continue; // Skip this pair because of invalid value. + } + + pairBuffer += state.dump; + + // Both key and value are valid. + _result += pairBuffer; + } + + state.tag = _tag; + state.dump = '{' + _result + '}'; +} + +function writeBlockMapping(state, level, object, compact) { + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + explicitPair, + pairBuffer; + + // Allow sorting keys so that the output file is deterministic + if (state.sortKeys === true) { + // Default sorting + objectKeyList.sort(); + } else if (typeof state.sortKeys === 'function') { + // Custom sort function + objectKeyList.sort(state.sortKeys); + } else if (state.sortKeys) { + // Something is wrong + throw new YAMLException('sortKeys must be a boolean or a function'); + } + + for (index = 0, length = objectKeyList.length; index < length; index += 1) { + pairBuffer = ''; + + if (!compact || _result !== '') { + pairBuffer += generateNextLine(state, level); + } + + objectKey = objectKeyList[index]; + objectValue = object[objectKey]; + + if (state.replacer) { + objectValue = state.replacer.call(object, objectKey, objectValue); + } + + if (!writeNode(state, level + 1, objectKey, true, true, true)) { + continue; // Skip this pair because of invalid key. + } + + explicitPair = (state.tag !== null && state.tag !== '?') || + (state.dump && state.dump.length > 1024); + + if (explicitPair) { + if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { + pairBuffer += '?'; + } else { + pairBuffer += '? '; + } + } + + pairBuffer += state.dump; + + if (explicitPair) { + pairBuffer += generateNextLine(state, level); + } + + if (!writeNode(state, level + 1, objectValue, true, explicitPair)) { + continue; // Skip this pair because of invalid value. + } + + if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { + pairBuffer += ':'; + } else { + pairBuffer += ': '; + } + + pairBuffer += state.dump; + + // Both key and value are valid. + _result += pairBuffer; + } + + state.tag = _tag; + state.dump = _result || '{}'; // Empty mapping if no valid pairs. +} + +function detectType(state, object, explicit) { + var _result, typeList, index, length, type, style; + + typeList = explicit ? state.explicitTypes : state.implicitTypes; + + for (index = 0, length = typeList.length; index < length; index += 1) { + type = typeList[index]; + + if ((type.instanceOf || type.predicate) && + (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) && + (!type.predicate || type.predicate(object))) { + + if (explicit) { + if (type.multi && type.representName) { + state.tag = type.representName(object); + } else { + state.tag = type.tag; + } + } else { + state.tag = '?'; + } + + if (type.represent) { + style = state.styleMap[type.tag] || type.defaultStyle; + + if (_toString.call(type.represent) === '[object Function]') { + _result = type.represent(object, style); + } else if (_hasOwnProperty.call(type.represent, style)) { + _result = type.represent[style](object, style); + } else { + throw new YAMLException('!<' + type.tag + '> tag resolver accepts not "' + style + '" style'); + } + + state.dump = _result; + } + + return true; + } + } + + return false; +} + +// Serializes `object` and writes it to global `result`. +// Returns true on success, or false on invalid object. +// +function writeNode(state, level, object, block, compact, iskey, isblockseq) { + state.tag = null; + state.dump = object; + + if (!detectType(state, object, false)) { + detectType(state, object, true); + } + + var type = _toString.call(state.dump); + var inblock = block; + var tagStr; + + if (block) { + block = (state.flowLevel < 0 || state.flowLevel > level); + } + + var objectOrArray = type === '[object Object]' || type === '[object Array]', + duplicateIndex, + duplicate; + + if (objectOrArray) { + duplicateIndex = state.duplicates.indexOf(object); + duplicate = duplicateIndex !== -1; + } + + if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) { + compact = false; + } + + if (duplicate && state.usedDuplicates[duplicateIndex]) { + state.dump = '*ref_' + duplicateIndex; + } else { + if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) { + state.usedDuplicates[duplicateIndex] = true; + } + if (type === '[object Object]') { + if (block && (Object.keys(state.dump).length !== 0)) { + writeBlockMapping(state, level, state.dump, compact); + if (duplicate) { + state.dump = '&ref_' + duplicateIndex + state.dump; + } + } else { + writeFlowMapping(state, level, state.dump); + if (duplicate) { + state.dump = '&ref_' + duplicateIndex + ' ' + state.dump; + } + } + } else if (type === '[object Array]') { + if (block && (state.dump.length !== 0)) { + if (state.noArrayIndent && !isblockseq && level > 0) { + writeBlockSequence(state, level - 1, state.dump, compact); + } else { + writeBlockSequence(state, level, state.dump, compact); + } + if (duplicate) { + state.dump = '&ref_' + duplicateIndex + state.dump; + } + } else { + writeFlowSequence(state, level, state.dump); + if (duplicate) { + state.dump = '&ref_' + duplicateIndex + ' ' + state.dump; + } + } + } else if (type === '[object String]') { + if (state.tag !== '?') { + writeScalar(state, state.dump, level, iskey, inblock); + } + } else if (type === '[object Undefined]') { + return false; + } else { + if (state.skipInvalid) return false; + throw new YAMLException('unacceptable kind of an object to dump ' + type); + } + + if (state.tag !== null && state.tag !== '?') { + // Need to encode all characters except those allowed by the spec: + // + // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */ + // [36] ns-hex-digit ::= ns-dec-digit + // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */ + // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */ + // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-” + // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#” + // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,” + // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]” + // + // Also need to encode '!' because it has special meaning (end of tag prefix). + // + tagStr = encodeURI( + state.tag[0] === '!' ? state.tag.slice(1) : state.tag + ).replace(/!/g, '%21'); + + if (state.tag[0] === '!') { + tagStr = '!' + tagStr; + } else if (tagStr.slice(0, 18) === 'tag:yaml.org,2002:') { + tagStr = '!!' + tagStr.slice(18); + } else { + tagStr = '!<' + tagStr + '>'; + } + + state.dump = tagStr + ' ' + state.dump; + } + } + + return true; +} + +function getDuplicateReferences(object, state) { + var objects = [], + duplicatesIndexes = [], + index, + length; + + inspectNode(object, objects, duplicatesIndexes); + + for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) { + state.duplicates.push(objects[duplicatesIndexes[index]]); + } + state.usedDuplicates = new Array(length); +} + +function inspectNode(object, objects, duplicatesIndexes) { + var objectKeyList, + index, + length; + + if (object !== null && typeof object === 'object') { + index = objects.indexOf(object); + if (index !== -1) { + if (duplicatesIndexes.indexOf(index) === -1) { + duplicatesIndexes.push(index); + } + } else { + objects.push(object); + + if (Array.isArray(object)) { + for (index = 0, length = object.length; index < length; index += 1) { + inspectNode(object[index], objects, duplicatesIndexes); + } + } else { + objectKeyList = Object.keys(object); + + for (index = 0, length = objectKeyList.length; index < length; index += 1) { + inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes); + } + } + } + } +} + +function dump(input, options) { + options = options || {}; + + var state = new State(options); + + if (!state.noRefs) getDuplicateReferences(input, state); + + var value = input; + + if (state.replacer) { + value = state.replacer.call({ '': value }, '', value); + } + + if (writeNode(state, 0, value, true, true)) return state.dump + '\n'; + + return ''; +} + +module.exports.dump = dump; + + +/***/ }), + +/***/ 68179: +/***/ ((module) => { + +"use strict"; +// YAML error class. http://stackoverflow.com/questions/8458984 +// + + + +function formatError(exception, compact) { + var where = '', message = exception.reason || '(unknown reason)'; + + if (!exception.mark) return message; + + if (exception.mark.name) { + where += 'in "' + exception.mark.name + '" '; + } + + where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')'; + + if (!compact && exception.mark.snippet) { + where += '\n\n' + exception.mark.snippet; + } + + return message + ' ' + where; +} + + +function YAMLException(reason, mark) { + // Super constructor + Error.call(this); + + this.name = 'YAMLException'; + this.reason = reason; + this.mark = mark; + this.message = formatError(this, false); + + // Include stack trace in error object + if (Error.captureStackTrace) { + // Chrome and NodeJS + Error.captureStackTrace(this, this.constructor); + } else { + // FF, IE 10+ and Safari 6+. Fallback for others + this.stack = (new Error()).stack || ''; + } +} + + +// Inherit from Error +YAMLException.prototype = Object.create(Error.prototype); +YAMLException.prototype.constructor = YAMLException; + + +YAMLException.prototype.toString = function toString(compact) { + return this.name + ': ' + formatError(this, compact); +}; + + +module.exports = YAMLException; + + +/***/ }), + +/***/ 51161: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/*eslint-disable max-len,no-use-before-define*/ + +var common = __nccwpck_require__(26829); +var YAMLException = __nccwpck_require__(68179); +var makeSnippet = __nccwpck_require__(96975); +var DEFAULT_SCHEMA = __nccwpck_require__(18759); + + +var _hasOwnProperty = Object.prototype.hasOwnProperty; + + +var CONTEXT_FLOW_IN = 1; +var CONTEXT_FLOW_OUT = 2; +var CONTEXT_BLOCK_IN = 3; +var CONTEXT_BLOCK_OUT = 4; + + +var CHOMPING_CLIP = 1; +var CHOMPING_STRIP = 2; +var CHOMPING_KEEP = 3; + + +var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; +var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/; +var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/; +var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i; +var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i; + + +function _class(obj) { return Object.prototype.toString.call(obj); } + +function is_EOL(c) { + return (c === 0x0A/* LF */) || (c === 0x0D/* CR */); +} + +function is_WHITE_SPACE(c) { + return (c === 0x09/* Tab */) || (c === 0x20/* Space */); +} + +function is_WS_OR_EOL(c) { + return (c === 0x09/* Tab */) || + (c === 0x20/* Space */) || + (c === 0x0A/* LF */) || + (c === 0x0D/* CR */); +} + +function is_FLOW_INDICATOR(c) { + return c === 0x2C/* , */ || + c === 0x5B/* [ */ || + c === 0x5D/* ] */ || + c === 0x7B/* { */ || + c === 0x7D/* } */; +} + +function fromHexCode(c) { + var lc; + + if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { + return c - 0x30; + } + + /*eslint-disable no-bitwise*/ + lc = c | 0x20; + + if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) { + return lc - 0x61 + 10; + } + + return -1; +} + +function escapedHexLen(c) { + if (c === 0x78/* x */) { return 2; } + if (c === 0x75/* u */) { return 4; } + if (c === 0x55/* U */) { return 8; } + return 0; +} + +function fromDecimalCode(c) { + if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) { + return c - 0x30; + } + + return -1; +} + +function simpleEscapeSequence(c) { + /* eslint-disable indent */ + return (c === 0x30/* 0 */) ? '\x00' : + (c === 0x61/* a */) ? '\x07' : + (c === 0x62/* b */) ? '\x08' : + (c === 0x74/* t */) ? '\x09' : + (c === 0x09/* Tab */) ? '\x09' : + (c === 0x6E/* n */) ? '\x0A' : + (c === 0x76/* v */) ? '\x0B' : + (c === 0x66/* f */) ? '\x0C' : + (c === 0x72/* r */) ? '\x0D' : + (c === 0x65/* e */) ? '\x1B' : + (c === 0x20/* Space */) ? ' ' : + (c === 0x22/* " */) ? '\x22' : + (c === 0x2F/* / */) ? '/' : + (c === 0x5C/* \ */) ? '\x5C' : + (c === 0x4E/* N */) ? '\x85' : + (c === 0x5F/* _ */) ? '\xA0' : + (c === 0x4C/* L */) ? '\u2028' : + (c === 0x50/* P */) ? '\u2029' : ''; +} + +function charFromCodepoint(c) { + if (c <= 0xFFFF) { + return String.fromCharCode(c); + } + // Encode UTF-16 surrogate pair + // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF + return String.fromCharCode( + ((c - 0x010000) >> 10) + 0xD800, + ((c - 0x010000) & 0x03FF) + 0xDC00 + ); +} + +var simpleEscapeCheck = new Array(256); // integer, for fast access +var simpleEscapeMap = new Array(256); +for (var i = 0; i < 256; i++) { + simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0; + simpleEscapeMap[i] = simpleEscapeSequence(i); +} + + +function State(input, options) { + this.input = input; + + this.filename = options['filename'] || null; + this.schema = options['schema'] || DEFAULT_SCHEMA; + this.onWarning = options['onWarning'] || null; + // (Hidden) Remove? makes the loader to expect YAML 1.1 documents + // if such documents have no explicit %YAML directive + this.legacy = options['legacy'] || false; + + this.json = options['json'] || false; + this.listener = options['listener'] || null; + + this.implicitTypes = this.schema.compiledImplicit; + this.typeMap = this.schema.compiledTypeMap; + + this.length = input.length; + this.position = 0; + this.line = 0; + this.lineStart = 0; + this.lineIndent = 0; + + // position of first leading tab in the current line, + // used to make sure there are no tabs in the indentation + this.firstTabInLine = -1; + + this.documents = []; + + /* + this.version; + this.checkLineBreaks; + this.tagMap; + this.anchorMap; + this.tag; + this.anchor; + this.kind; + this.result;*/ + +} + + +function generateError(state, message) { + var mark = { + name: state.filename, + buffer: state.input.slice(0, -1), // omit trailing \0 + position: state.position, + line: state.line, + column: state.position - state.lineStart + }; + + mark.snippet = makeSnippet(mark); + + return new YAMLException(message, mark); +} + +function throwError(state, message) { + throw generateError(state, message); +} + +function throwWarning(state, message) { + if (state.onWarning) { + state.onWarning.call(null, generateError(state, message)); + } +} + + +var directiveHandlers = { + + YAML: function handleYamlDirective(state, name, args) { + + var match, major, minor; + + if (state.version !== null) { + throwError(state, 'duplication of %YAML directive'); + } + + if (args.length !== 1) { + throwError(state, 'YAML directive accepts exactly one argument'); + } + + match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]); + + if (match === null) { + throwError(state, 'ill-formed argument of the YAML directive'); + } + + major = parseInt(match[1], 10); + minor = parseInt(match[2], 10); + + if (major !== 1) { + throwError(state, 'unacceptable YAML version of the document'); + } + + state.version = args[0]; + state.checkLineBreaks = (minor < 2); + + if (minor !== 1 && minor !== 2) { + throwWarning(state, 'unsupported YAML version of the document'); + } + }, + + TAG: function handleTagDirective(state, name, args) { + + var handle, prefix; + + if (args.length !== 2) { + throwError(state, 'TAG directive accepts exactly two arguments'); + } + + handle = args[0]; + prefix = args[1]; + + if (!PATTERN_TAG_HANDLE.test(handle)) { + throwError(state, 'ill-formed tag handle (first argument) of the TAG directive'); + } + + if (_hasOwnProperty.call(state.tagMap, handle)) { + throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle'); + } + + if (!PATTERN_TAG_URI.test(prefix)) { + throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive'); + } + + try { + prefix = decodeURIComponent(prefix); + } catch (err) { + throwError(state, 'tag prefix is malformed: ' + prefix); + } + + state.tagMap[handle] = prefix; + } +}; + + +function captureSegment(state, start, end, checkJson) { + var _position, _length, _character, _result; + + if (start < end) { + _result = state.input.slice(start, end); + + if (checkJson) { + for (_position = 0, _length = _result.length; _position < _length; _position += 1) { + _character = _result.charCodeAt(_position); + if (!(_character === 0x09 || + (0x20 <= _character && _character <= 0x10FFFF))) { + throwError(state, 'expected valid JSON character'); + } + } + } else if (PATTERN_NON_PRINTABLE.test(_result)) { + throwError(state, 'the stream contains non-printable characters'); + } + + state.result += _result; + } +} + +function mergeMappings(state, destination, source, overridableKeys) { + var sourceKeys, key, index, quantity; + + if (!common.isObject(source)) { + throwError(state, 'cannot merge mappings; the provided source object is unacceptable'); + } + + sourceKeys = Object.keys(source); + + for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) { + key = sourceKeys[index]; + + if (!_hasOwnProperty.call(destination, key)) { + destination[key] = source[key]; + overridableKeys[key] = true; + } + } +} + +function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, + startLine, startLineStart, startPos) { + + var index, quantity; + + // The output is a plain object here, so keys can only be strings. + // We need to convert keyNode to a string, but doing so can hang the process + // (deeply nested arrays that explode exponentially using aliases). + if (Array.isArray(keyNode)) { + keyNode = Array.prototype.slice.call(keyNode); + + for (index = 0, quantity = keyNode.length; index < quantity; index += 1) { + if (Array.isArray(keyNode[index])) { + throwError(state, 'nested arrays are not supported inside keys'); + } + + if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') { + keyNode[index] = '[object Object]'; + } + } + } + + // Avoid code execution in load() via toString property + // (still use its own toString for arrays, timestamps, + // and whatever user schema extensions happen to have @@toStringTag) + if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') { + keyNode = '[object Object]'; + } + + + keyNode = String(keyNode); + + if (_result === null) { + _result = {}; + } + + if (keyTag === 'tag:yaml.org,2002:merge') { + if (Array.isArray(valueNode)) { + for (index = 0, quantity = valueNode.length; index < quantity; index += 1) { + mergeMappings(state, _result, valueNode[index], overridableKeys); + } + } else { + mergeMappings(state, _result, valueNode, overridableKeys); + } + } else { + if (!state.json && + !_hasOwnProperty.call(overridableKeys, keyNode) && + _hasOwnProperty.call(_result, keyNode)) { + state.line = startLine || state.line; + state.lineStart = startLineStart || state.lineStart; + state.position = startPos || state.position; + throwError(state, 'duplicated mapping key'); + } + + // used for this specific key only because Object.defineProperty is slow + if (keyNode === '__proto__') { + Object.defineProperty(_result, keyNode, { + configurable: true, + enumerable: true, + writable: true, + value: valueNode + }); + } else { + _result[keyNode] = valueNode; + } + delete overridableKeys[keyNode]; + } + + return _result; +} + +function readLineBreak(state) { + var ch; + + ch = state.input.charCodeAt(state.position); + + if (ch === 0x0A/* LF */) { + state.position++; + } else if (ch === 0x0D/* CR */) { + state.position++; + if (state.input.charCodeAt(state.position) === 0x0A/* LF */) { + state.position++; + } + } else { + throwError(state, 'a line break is expected'); + } + + state.line += 1; + state.lineStart = state.position; + state.firstTabInLine = -1; +} + +function skipSeparationSpace(state, allowComments, checkIndent) { + var lineBreaks = 0, + ch = state.input.charCodeAt(state.position); + + while (ch !== 0) { + while (is_WHITE_SPACE(ch)) { + if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) { + state.firstTabInLine = state.position; + } + ch = state.input.charCodeAt(++state.position); + } + + if (allowComments && ch === 0x23/* # */) { + do { + ch = state.input.charCodeAt(++state.position); + } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0); + } + + if (is_EOL(ch)) { + readLineBreak(state); + + ch = state.input.charCodeAt(state.position); + lineBreaks++; + state.lineIndent = 0; + + while (ch === 0x20/* Space */) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); + } + } else { + break; + } + } + + if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) { + throwWarning(state, 'deficient indentation'); + } + + return lineBreaks; +} + +function testDocumentSeparator(state) { + var _position = state.position, + ch; + + ch = state.input.charCodeAt(_position); + + // Condition state.position === state.lineStart is tested + // in parent on each call, for efficiency. No needs to test here again. + if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) && + ch === state.input.charCodeAt(_position + 1) && + ch === state.input.charCodeAt(_position + 2)) { + + _position += 3; + + ch = state.input.charCodeAt(_position); + + if (ch === 0 || is_WS_OR_EOL(ch)) { + return true; + } + } + + return false; +} + +function writeFoldedLines(state, count) { + if (count === 1) { + state.result += ' '; + } else if (count > 1) { + state.result += common.repeat('\n', count - 1); + } +} + + +function readPlainScalar(state, nodeIndent, withinFlowCollection) { + var preceding, + following, + captureStart, + captureEnd, + hasPendingContent, + _line, + _lineStart, + _lineIndent, + _kind = state.kind, + _result = state.result, + ch; + + ch = state.input.charCodeAt(state.position); + + if (is_WS_OR_EOL(ch) || + is_FLOW_INDICATOR(ch) || + ch === 0x23/* # */ || + ch === 0x26/* & */ || + ch === 0x2A/* * */ || + ch === 0x21/* ! */ || + ch === 0x7C/* | */ || + ch === 0x3E/* > */ || + ch === 0x27/* ' */ || + ch === 0x22/* " */ || + ch === 0x25/* % */ || + ch === 0x40/* @ */ || + ch === 0x60/* ` */) { + return false; + } + + if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) { + following = state.input.charCodeAt(state.position + 1); + + if (is_WS_OR_EOL(following) || + withinFlowCollection && is_FLOW_INDICATOR(following)) { + return false; + } + } + + state.kind = 'scalar'; + state.result = ''; + captureStart = captureEnd = state.position; + hasPendingContent = false; + + while (ch !== 0) { + if (ch === 0x3A/* : */) { + following = state.input.charCodeAt(state.position + 1); + + if (is_WS_OR_EOL(following) || + withinFlowCollection && is_FLOW_INDICATOR(following)) { + break; + } + + } else if (ch === 0x23/* # */) { + preceding = state.input.charCodeAt(state.position - 1); + + if (is_WS_OR_EOL(preceding)) { + break; + } + + } else if ((state.position === state.lineStart && testDocumentSeparator(state)) || + withinFlowCollection && is_FLOW_INDICATOR(ch)) { + break; + + } else if (is_EOL(ch)) { + _line = state.line; + _lineStart = state.lineStart; + _lineIndent = state.lineIndent; + skipSeparationSpace(state, false, -1); + + if (state.lineIndent >= nodeIndent) { + hasPendingContent = true; + ch = state.input.charCodeAt(state.position); + continue; + } else { + state.position = captureEnd; + state.line = _line; + state.lineStart = _lineStart; + state.lineIndent = _lineIndent; + break; + } + } + + if (hasPendingContent) { + captureSegment(state, captureStart, captureEnd, false); + writeFoldedLines(state, state.line - _line); + captureStart = captureEnd = state.position; + hasPendingContent = false; + } + + if (!is_WHITE_SPACE(ch)) { + captureEnd = state.position + 1; + } + + ch = state.input.charCodeAt(++state.position); + } + + captureSegment(state, captureStart, captureEnd, false); + + if (state.result) { + return true; + } + + state.kind = _kind; + state.result = _result; + return false; +} + +function readSingleQuotedScalar(state, nodeIndent) { + var ch, + captureStart, captureEnd; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x27/* ' */) { + return false; + } + + state.kind = 'scalar'; + state.result = ''; + state.position++; + captureStart = captureEnd = state.position; + + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 0x27/* ' */) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); + + if (ch === 0x27/* ' */) { + captureStart = state.position; + state.position++; + captureEnd = state.position; + } else { + return true; + } + + } else if (is_EOL(ch)) { + captureSegment(state, captureStart, captureEnd, true); + writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); + captureStart = captureEnd = state.position; + + } else if (state.position === state.lineStart && testDocumentSeparator(state)) { + throwError(state, 'unexpected end of the document within a single quoted scalar'); + + } else { + state.position++; + captureEnd = state.position; + } + } + + throwError(state, 'unexpected end of the stream within a single quoted scalar'); +} + +function readDoubleQuotedScalar(state, nodeIndent) { + var captureStart, + captureEnd, + hexLength, + hexResult, + tmp, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x22/* " */) { + return false; + } + + state.kind = 'scalar'; + state.result = ''; + state.position++; + captureStart = captureEnd = state.position; + + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + if (ch === 0x22/* " */) { + captureSegment(state, captureStart, state.position, true); + state.position++; + return true; + + } else if (ch === 0x5C/* \ */) { + captureSegment(state, captureStart, state.position, true); + ch = state.input.charCodeAt(++state.position); + + if (is_EOL(ch)) { + skipSeparationSpace(state, false, nodeIndent); + + // TODO: rework to inline fn with no type cast? + } else if (ch < 256 && simpleEscapeCheck[ch]) { + state.result += simpleEscapeMap[ch]; + state.position++; + + } else if ((tmp = escapedHexLen(ch)) > 0) { + hexLength = tmp; + hexResult = 0; + + for (; hexLength > 0; hexLength--) { + ch = state.input.charCodeAt(++state.position); + + if ((tmp = fromHexCode(ch)) >= 0) { + hexResult = (hexResult << 4) + tmp; + + } else { + throwError(state, 'expected hexadecimal character'); + } + } + + state.result += charFromCodepoint(hexResult); + + state.position++; + + } else { + throwError(state, 'unknown escape sequence'); + } + + captureStart = captureEnd = state.position; + + } else if (is_EOL(ch)) { + captureSegment(state, captureStart, captureEnd, true); + writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); + captureStart = captureEnd = state.position; + + } else if (state.position === state.lineStart && testDocumentSeparator(state)) { + throwError(state, 'unexpected end of the document within a double quoted scalar'); + + } else { + state.position++; + captureEnd = state.position; + } + } + + throwError(state, 'unexpected end of the stream within a double quoted scalar'); +} + +function readFlowCollection(state, nodeIndent) { + var readNext = true, + _line, + _lineStart, + _pos, + _tag = state.tag, + _result, + _anchor = state.anchor, + following, + terminator, + isPair, + isExplicitPair, + isMapping, + overridableKeys = Object.create(null), + keyNode, + keyTag, + valueNode, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch === 0x5B/* [ */) { + terminator = 0x5D;/* ] */ + isMapping = false; + _result = []; + } else if (ch === 0x7B/* { */) { + terminator = 0x7D;/* } */ + isMapping = true; + _result = {}; + } else { + return false; + } + + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + + ch = state.input.charCodeAt(++state.position); + + while (ch !== 0) { + skipSeparationSpace(state, true, nodeIndent); + + ch = state.input.charCodeAt(state.position); + + if (ch === terminator) { + state.position++; + state.tag = _tag; + state.anchor = _anchor; + state.kind = isMapping ? 'mapping' : 'sequence'; + state.result = _result; + return true; + } else if (!readNext) { + throwError(state, 'missed comma between flow collection entries'); + } else if (ch === 0x2C/* , */) { + // "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4 + throwError(state, "expected the node content, but found ','"); + } + + keyTag = keyNode = valueNode = null; + isPair = isExplicitPair = false; + + if (ch === 0x3F/* ? */) { + following = state.input.charCodeAt(state.position + 1); + + if (is_WS_OR_EOL(following)) { + isPair = isExplicitPair = true; + state.position++; + skipSeparationSpace(state, true, nodeIndent); + } + } + + _line = state.line; // Save the current line. + _lineStart = state.lineStart; + _pos = state.position; + composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); + keyTag = state.tag; + keyNode = state.result; + skipSeparationSpace(state, true, nodeIndent); + + ch = state.input.charCodeAt(state.position); + + if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) { + isPair = true; + ch = state.input.charCodeAt(++state.position); + skipSeparationSpace(state, true, nodeIndent); + composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true); + valueNode = state.result; + } + + if (isMapping) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos); + } else if (isPair) { + _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos)); + } else { + _result.push(keyNode); + } + + skipSeparationSpace(state, true, nodeIndent); + + ch = state.input.charCodeAt(state.position); + + if (ch === 0x2C/* , */) { + readNext = true; + ch = state.input.charCodeAt(++state.position); + } else { + readNext = false; + } + } + + throwError(state, 'unexpected end of the stream within a flow collection'); +} + +function readBlockScalar(state, nodeIndent) { + var captureStart, + folding, + chomping = CHOMPING_CLIP, + didReadContent = false, + detectedIndent = false, + textIndent = nodeIndent, + emptyLines = 0, + atMoreIndented = false, + tmp, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch === 0x7C/* | */) { + folding = false; + } else if (ch === 0x3E/* > */) { + folding = true; + } else { + return false; + } + + state.kind = 'scalar'; + state.result = ''; + + while (ch !== 0) { + ch = state.input.charCodeAt(++state.position); + + if (ch === 0x2B/* + */ || ch === 0x2D/* - */) { + if (CHOMPING_CLIP === chomping) { + chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP; + } else { + throwError(state, 'repeat of a chomping mode identifier'); + } + + } else if ((tmp = fromDecimalCode(ch)) >= 0) { + if (tmp === 0) { + throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one'); + } else if (!detectedIndent) { + textIndent = nodeIndent + tmp - 1; + detectedIndent = true; + } else { + throwError(state, 'repeat of an indentation width identifier'); + } + + } else { + break; + } + } + + if (is_WHITE_SPACE(ch)) { + do { ch = state.input.charCodeAt(++state.position); } + while (is_WHITE_SPACE(ch)); + + if (ch === 0x23/* # */) { + do { ch = state.input.charCodeAt(++state.position); } + while (!is_EOL(ch) && (ch !== 0)); + } + } + + while (ch !== 0) { + readLineBreak(state); + state.lineIndent = 0; + + ch = state.input.charCodeAt(state.position); + + while ((!detectedIndent || state.lineIndent < textIndent) && + (ch === 0x20/* Space */)) { + state.lineIndent++; + ch = state.input.charCodeAt(++state.position); + } + + if (!detectedIndent && state.lineIndent > textIndent) { + textIndent = state.lineIndent; + } + + if (is_EOL(ch)) { + emptyLines++; + continue; + } + + // End of the scalar. + if (state.lineIndent < textIndent) { + + // Perform the chomping. + if (chomping === CHOMPING_KEEP) { + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + } else if (chomping === CHOMPING_CLIP) { + if (didReadContent) { // i.e. only if the scalar is not empty. + state.result += '\n'; + } + } + + // Break this `while` cycle and go to the funciton's epilogue. + break; + } + + // Folded style: use fancy rules to handle line breaks. + if (folding) { + + // Lines starting with white space characters (more-indented lines) are not folded. + if (is_WHITE_SPACE(ch)) { + atMoreIndented = true; + // except for the first content line (cf. Example 8.1) + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + + // End of more-indented block. + } else if (atMoreIndented) { + atMoreIndented = false; + state.result += common.repeat('\n', emptyLines + 1); + + // Just one line break - perceive as the same line. + } else if (emptyLines === 0) { + if (didReadContent) { // i.e. only if we have already read some scalar content. + state.result += ' '; + } + + // Several line breaks - perceive as different lines. + } else { + state.result += common.repeat('\n', emptyLines); + } + + // Literal style: just add exact number of line breaks between content lines. + } else { + // Keep all line breaks except the header line break. + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); + } + + didReadContent = true; + detectedIndent = true; + emptyLines = 0; + captureStart = state.position; + + while (!is_EOL(ch) && (ch !== 0)) { + ch = state.input.charCodeAt(++state.position); + } + + captureSegment(state, captureStart, state.position, false); + } + + return true; +} + +function readBlockSequence(state, nodeIndent) { + var _line, + _tag = state.tag, + _anchor = state.anchor, + _result = [], + following, + detected = false, + ch; + + // there is a leading tab before this token, so it can't be a block sequence/mapping; + // it can still be flow sequence/mapping or a scalar + if (state.firstTabInLine !== -1) return false; + + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + + ch = state.input.charCodeAt(state.position); + + while (ch !== 0) { + if (state.firstTabInLine !== -1) { + state.position = state.firstTabInLine; + throwError(state, 'tab characters must not be used in indentation'); + } + + if (ch !== 0x2D/* - */) { + break; + } + + following = state.input.charCodeAt(state.position + 1); + + if (!is_WS_OR_EOL(following)) { + break; + } + + detected = true; + state.position++; + + if (skipSeparationSpace(state, true, -1)) { + if (state.lineIndent <= nodeIndent) { + _result.push(null); + ch = state.input.charCodeAt(state.position); + continue; + } + } + + _line = state.line; + composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true); + _result.push(state.result); + skipSeparationSpace(state, true, -1); + + ch = state.input.charCodeAt(state.position); + + if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) { + throwError(state, 'bad indentation of a sequence entry'); + } else if (state.lineIndent < nodeIndent) { + break; + } + } + + if (detected) { + state.tag = _tag; + state.anchor = _anchor; + state.kind = 'sequence'; + state.result = _result; + return true; + } + return false; +} + +function readBlockMapping(state, nodeIndent, flowIndent) { + var following, + allowCompact, + _line, + _keyLine, + _keyLineStart, + _keyPos, + _tag = state.tag, + _anchor = state.anchor, + _result = {}, + overridableKeys = Object.create(null), + keyTag = null, + keyNode = null, + valueNode = null, + atExplicitKey = false, + detected = false, + ch; + + // there is a leading tab before this token, so it can't be a block sequence/mapping; + // it can still be flow sequence/mapping or a scalar + if (state.firstTabInLine !== -1) return false; + + if (state.anchor !== null) { + state.anchorMap[state.anchor] = _result; + } + + ch = state.input.charCodeAt(state.position); + + while (ch !== 0) { + if (!atExplicitKey && state.firstTabInLine !== -1) { + state.position = state.firstTabInLine; + throwError(state, 'tab characters must not be used in indentation'); + } + + following = state.input.charCodeAt(state.position + 1); + _line = state.line; // Save the current line. + + // + // Explicit notation case. There are two separate blocks: + // first for the key (denoted by "?") and second for the value (denoted by ":") + // + if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) { + + if (ch === 0x3F/* ? */) { + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + + detected = true; + atExplicitKey = true; + allowCompact = true; + + } else if (atExplicitKey) { + // i.e. 0x3A/* : */ === character after the explicit key. + atExplicitKey = false; + allowCompact = true; + + } else { + throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line'); + } + + state.position += 1; + ch = following; + + // + // Implicit notation case. Flow-style node as the key first, then ":", and the value. + // + } else { + _keyLine = state.line; + _keyLineStart = state.lineStart; + _keyPos = state.position; + + if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) { + // Neither implicit nor explicit notation. + // Reading is done. Go to the epilogue. + break; + } + + if (state.line === _line) { + ch = state.input.charCodeAt(state.position); + + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + if (ch === 0x3A/* : */) { + ch = state.input.charCodeAt(++state.position); + + if (!is_WS_OR_EOL(ch)) { + throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping'); + } + + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + + detected = true; + atExplicitKey = false; + allowCompact = false; + keyTag = state.tag; + keyNode = state.result; + + } else if (detected) { + throwError(state, 'can not read an implicit mapping pair; a colon is missed'); + + } else { + state.tag = _tag; + state.anchor = _anchor; + return true; // Keep the result of `composeNode`. + } + + } else if (detected) { + throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key'); + + } else { + state.tag = _tag; + state.anchor = _anchor; + return true; // Keep the result of `composeNode`. + } + } + + // + // Common reading code for both explicit and implicit notations. + // + if (state.line === _line || state.lineIndent > nodeIndent) { + if (atExplicitKey) { + _keyLine = state.line; + _keyLineStart = state.lineStart; + _keyPos = state.position; + } + + if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) { + if (atExplicitKey) { + keyNode = state.result; + } else { + valueNode = state.result; + } + } + + if (!atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos); + keyTag = keyNode = valueNode = null; + } + + skipSeparationSpace(state, true, -1); + ch = state.input.charCodeAt(state.position); + } + + if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) { + throwError(state, 'bad indentation of a mapping entry'); + } else if (state.lineIndent < nodeIndent) { + break; + } + } + + // + // Epilogue. + // + + // Special case: last mapping's node contains only the key in explicit notation. + if (atExplicitKey) { + storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos); + } + + // Expose the resulting mapping. + if (detected) { + state.tag = _tag; + state.anchor = _anchor; + state.kind = 'mapping'; + state.result = _result; + } + + return detected; +} + +function readTagProperty(state) { + var _position, + isVerbatim = false, + isNamed = false, + tagHandle, + tagName, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x21/* ! */) return false; + + if (state.tag !== null) { + throwError(state, 'duplication of a tag property'); + } + + ch = state.input.charCodeAt(++state.position); + + if (ch === 0x3C/* < */) { + isVerbatim = true; + ch = state.input.charCodeAt(++state.position); + + } else if (ch === 0x21/* ! */) { + isNamed = true; + tagHandle = '!!'; + ch = state.input.charCodeAt(++state.position); + + } else { + tagHandle = '!'; + } + + _position = state.position; + + if (isVerbatim) { + do { ch = state.input.charCodeAt(++state.position); } + while (ch !== 0 && ch !== 0x3E/* > */); + + if (state.position < state.length) { + tagName = state.input.slice(_position, state.position); + ch = state.input.charCodeAt(++state.position); + } else { + throwError(state, 'unexpected end of the stream within a verbatim tag'); + } + } else { + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + + if (ch === 0x21/* ! */) { + if (!isNamed) { + tagHandle = state.input.slice(_position - 1, state.position + 1); + + if (!PATTERN_TAG_HANDLE.test(tagHandle)) { + throwError(state, 'named tag handle cannot contain such characters'); + } + + isNamed = true; + _position = state.position + 1; + } else { + throwError(state, 'tag suffix cannot contain exclamation marks'); + } + } + + ch = state.input.charCodeAt(++state.position); + } + + tagName = state.input.slice(_position, state.position); + + if (PATTERN_FLOW_INDICATORS.test(tagName)) { + throwError(state, 'tag suffix cannot contain flow indicator characters'); + } + } + + if (tagName && !PATTERN_TAG_URI.test(tagName)) { + throwError(state, 'tag name cannot contain such characters: ' + tagName); + } + + try { + tagName = decodeURIComponent(tagName); + } catch (err) { + throwError(state, 'tag name is malformed: ' + tagName); + } + + if (isVerbatim) { + state.tag = tagName; + + } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) { + state.tag = state.tagMap[tagHandle] + tagName; + + } else if (tagHandle === '!') { + state.tag = '!' + tagName; + + } else if (tagHandle === '!!') { + state.tag = 'tag:yaml.org,2002:' + tagName; + + } else { + throwError(state, 'undeclared tag handle "' + tagHandle + '"'); + } + + return true; +} + +function readAnchorProperty(state) { + var _position, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x26/* & */) return false; + + if (state.anchor !== null) { + throwError(state, 'duplication of an anchor property'); + } + + ch = state.input.charCodeAt(++state.position); + _position = state.position; + + while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + if (state.position === _position) { + throwError(state, 'name of an anchor node must contain at least one character'); + } + + state.anchor = state.input.slice(_position, state.position); + return true; +} + +function readAlias(state) { + var _position, alias, + ch; + + ch = state.input.charCodeAt(state.position); + + if (ch !== 0x2A/* * */) return false; + + ch = state.input.charCodeAt(++state.position); + _position = state.position; + + while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + if (state.position === _position) { + throwError(state, 'name of an alias node must contain at least one character'); + } + + alias = state.input.slice(_position, state.position); + + if (!_hasOwnProperty.call(state.anchorMap, alias)) { + throwError(state, 'unidentified alias "' + alias + '"'); + } + + state.result = state.anchorMap[alias]; + skipSeparationSpace(state, true, -1); + return true; +} + +function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { + var allowBlockStyles, + allowBlockScalars, + allowBlockCollections, + indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) { + indentStatus = 1; + } else if (state.lineIndent === parentIndent) { + indentStatus = 0; + } else if (state.lineIndent < parentIndent) { + indentStatus = -1; + } + } + } + + if (indentStatus === 1) { + while (readTagProperty(state) || readAnchorProperty(state)) { + if (skipSeparationSpace(state, true, -1)) { + atNewLine = true; + allowBlockCollections = allowBlockStyles; + + if (state.lineIndent > parentIndent) { + indentStatus = 1; + } else if (state.lineIndent === parentIndent) { + indentStatus = 0; + } else if (state.lineIndent < parentIndent) { + indentStatus = -1; + } + } else { + allowBlockCollections = false; + } + } + } + + if (allowBlockCollections) { + allowBlockCollections = atNewLine || allowCompact; + } + + if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) { + if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) { + flowIndent = parentIndent; + } else { + flowIndent = parentIndent + 1; + } + + blockIndent = state.position - state.lineStart; + + if (indentStatus === 1) { + if (allowBlockCollections && + (readBlockSequence(state, blockIndent) || + readBlockMapping(state, blockIndent, flowIndent)) || + readFlowCollection(state, flowIndent)) { + hasContent = true; + } else { + if ((allowBlockScalars && readBlockScalar(state, flowIndent)) || + readSingleQuotedScalar(state, flowIndent) || + readDoubleQuotedScalar(state, flowIndent)) { + hasContent = true; + + } else if (readAlias(state)) { + hasContent = true; + + if (state.tag !== null || state.anchor !== null) { + throwError(state, 'alias node should not have any properties'); + } + + } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) { + hasContent = true; + + if (state.tag === null) { + state.tag = '?'; + } + } + + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + } + } else if (indentStatus === 0) { + // Special case: block sequences are allowed to have same indentation level as the parent. + // http://www.yaml.org/spec/1.2/spec.html#id2799784 + hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); + } + } + + if (state.tag === null) { + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + + } else if (state.tag === '?') { + // Implicit resolving is not allowed for non-scalar types, and '?' + // non-specific tag is only automatically assigned to plain scalars. + // + // We only need to check kind conformity in case user explicitly assigns '?' + // tag, for example like this: "! [0]" + // + if (state.result !== null && state.kind !== 'scalar') { + throwError(state, 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"'); + } + + for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) { + type = state.implicitTypes[typeIndex]; + + if (type.resolve(state.result)) { // `state.result` updated in resolver if matched + state.result = type.construct(state.result); + state.tag = type.tag; + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + break; + } + } + } else if (state.tag !== '!') { + if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) { + type = state.typeMap[state.kind || 'fallback'][state.tag]; + } else { + // looking for multi type + type = null; + typeList = state.typeMap.multi[state.kind || 'fallback']; + + for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) { + if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) { + type = typeList[typeIndex]; + break; + } + } + } + + if (!type) { + throwError(state, 'unknown tag !<' + state.tag + '>'); + } + + if (state.result !== null && type.kind !== state.kind) { + throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'); + } + + if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched + throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag'); + } else { + state.result = type.construct(state.result, state.tag); + if (state.anchor !== null) { + state.anchorMap[state.anchor] = state.result; + } + } + } + + if (state.listener !== null) { + state.listener('close', state); + } + return state.tag !== null || state.anchor !== null || hasContent; +} + +function readDocument(state) { + var documentStart = state.position, + _position, + directiveName, + directiveArgs, + hasDirectives = false, + ch; + + state.version = null; + state.checkLineBreaks = state.legacy; + state.tagMap = Object.create(null); + state.anchorMap = Object.create(null); + + while ((ch = state.input.charCodeAt(state.position)) !== 0) { + skipSeparationSpace(state, true, -1); + + ch = state.input.charCodeAt(state.position); + + if (state.lineIndent > 0 || ch !== 0x25/* % */) { + break; + } + + hasDirectives = true; + ch = state.input.charCodeAt(++state.position); + _position = state.position; + + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + directiveName = state.input.slice(_position, state.position); + directiveArgs = []; + + if (directiveName.length < 1) { + throwError(state, 'directive name must not be less than one character in length'); + } + + while (ch !== 0) { + while (is_WHITE_SPACE(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + if (ch === 0x23/* # */) { + do { ch = state.input.charCodeAt(++state.position); } + while (ch !== 0 && !is_EOL(ch)); + break; + } + + if (is_EOL(ch)) break; + + _position = state.position; + + while (ch !== 0 && !is_WS_OR_EOL(ch)) { + ch = state.input.charCodeAt(++state.position); + } + + directiveArgs.push(state.input.slice(_position, state.position)); + } + + if (ch !== 0) readLineBreak(state); + + if (_hasOwnProperty.call(directiveHandlers, directiveName)) { + directiveHandlers[directiveName](state, directiveName, directiveArgs); + } else { + throwWarning(state, 'unknown document directive "' + directiveName + '"'); + } + } + + skipSeparationSpace(state, true, -1); + + if (state.lineIndent === 0 && + state.input.charCodeAt(state.position) === 0x2D/* - */ && + state.input.charCodeAt(state.position + 1) === 0x2D/* - */ && + state.input.charCodeAt(state.position + 2) === 0x2D/* - */) { + state.position += 3; + skipSeparationSpace(state, true, -1); + + } else if (hasDirectives) { + throwError(state, 'directives end mark is expected'); + } + + composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); + skipSeparationSpace(state, true, -1); + + if (state.checkLineBreaks && + PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) { + throwWarning(state, 'non-ASCII line breaks are interpreted as content'); + } + + state.documents.push(state.result); + + if (state.position === state.lineStart && testDocumentSeparator(state)) { + + if (state.input.charCodeAt(state.position) === 0x2E/* . */) { + state.position += 3; + skipSeparationSpace(state, true, -1); + } + return; + } + + if (state.position < (state.length - 1)) { + throwError(state, 'end of the stream or a document separator is expected'); + } else { + return; + } +} + + +function loadDocuments(input, options) { + input = String(input); + options = options || {}; + + if (input.length !== 0) { + + // Add tailing `\n` if not exists + if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ && + input.charCodeAt(input.length - 1) !== 0x0D/* CR */) { + input += '\n'; + } + + // Strip BOM + if (input.charCodeAt(0) === 0xFEFF) { + input = input.slice(1); + } + } + + var state = new State(input, options); + + var nullpos = input.indexOf('\0'); + + if (nullpos !== -1) { + state.position = nullpos; + throwError(state, 'null byte is not allowed in input'); + } + + // Use 0 as string terminator. That significantly simplifies bounds check. + state.input += '\0'; + + while (state.input.charCodeAt(state.position) === 0x20/* Space */) { + state.lineIndent += 1; + state.position += 1; + } + + while (state.position < (state.length - 1)) { + readDocument(state); + } + + return state.documents; +} + + +function loadAll(input, iterator, options) { + if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') { + options = iterator; + iterator = null; + } + + var documents = loadDocuments(input, options); + + if (typeof iterator !== 'function') { + return documents; + } + + for (var index = 0, length = documents.length; index < length; index += 1) { + iterator(documents[index]); + } +} + + +function load(input, options) { + var documents = loadDocuments(input, options); + + if (documents.length === 0) { + /*eslint-disable no-undefined*/ + return undefined; + } else if (documents.length === 1) { + return documents[0]; + } + throw new YAMLException('expected a single document in the stream, but found more'); +} + + +module.exports.loadAll = loadAll; +module.exports.load = load; + + +/***/ }), + +/***/ 21082: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/*eslint-disable max-len*/ + +var YAMLException = __nccwpck_require__(68179); +var Type = __nccwpck_require__(6073); + + +function compileList(schema, name) { + var result = []; + + schema[name].forEach(function (currentType) { + var newIndex = result.length; + + result.forEach(function (previousType, previousIndex) { + if (previousType.tag === currentType.tag && + previousType.kind === currentType.kind && + previousType.multi === currentType.multi) { + + newIndex = previousIndex; + } + }); + + result[newIndex] = currentType; + }); + + return result; +} + + +function compileMap(/* lists... */) { + var result = { + scalar: {}, + sequence: {}, + mapping: {}, + fallback: {}, + multi: { + scalar: [], + sequence: [], + mapping: [], + fallback: [] + } + }, index, length; + + function collectType(type) { + if (type.multi) { + result.multi[type.kind].push(type); + result.multi['fallback'].push(type); + } else { + result[type.kind][type.tag] = result['fallback'][type.tag] = type; + } + } + + for (index = 0, length = arguments.length; index < length; index += 1) { + arguments[index].forEach(collectType); + } + return result; +} + + +function Schema(definition) { + return this.extend(definition); +} + + +Schema.prototype.extend = function extend(definition) { + var implicit = []; + var explicit = []; + + if (definition instanceof Type) { + // Schema.extend(type) + explicit.push(definition); + + } else if (Array.isArray(definition)) { + // Schema.extend([ type1, type2, ... ]) + explicit = explicit.concat(definition); + + } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) { + // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] }) + if (definition.implicit) implicit = implicit.concat(definition.implicit); + if (definition.explicit) explicit = explicit.concat(definition.explicit); + + } else { + throw new YAMLException('Schema.extend argument should be a Type, [ Type ], ' + + 'or a schema definition ({ implicit: [...], explicit: [...] })'); + } + + implicit.forEach(function (type) { + if (!(type instanceof Type)) { + throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.'); + } + + if (type.loadKind && type.loadKind !== 'scalar') { + throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.'); + } + + if (type.multi) { + throw new YAMLException('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.'); + } + }); + + explicit.forEach(function (type) { + if (!(type instanceof Type)) { + throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.'); + } + }); + + var result = Object.create(Schema.prototype); + + result.implicit = (this.implicit || []).concat(implicit); + result.explicit = (this.explicit || []).concat(explicit); + + result.compiledImplicit = compileList(result, 'implicit'); + result.compiledExplicit = compileList(result, 'explicit'); + result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit); + + return result; +}; + + +module.exports = Schema; + + +/***/ }), + +/***/ 12011: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// Standard YAML's Core schema. +// http://www.yaml.org/spec/1.2/spec.html#id2804923 +// +// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. +// So, Core schema has no distinctions from JSON schema is JS-YAML. + + + + + +module.exports = __nccwpck_require__(1035); + + +/***/ }), + +/***/ 18759: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// JS-YAML's default schema for `safeLoad` function. +// It is not described in the YAML specification. +// +// This schema is based on standard YAML's Core schema and includes most of +// extra types described at YAML tag repository. (http://yaml.org/type/) + + + + + +module.exports = (__nccwpck_require__(12011).extend)({ + implicit: [ + __nccwpck_require__(99212), + __nccwpck_require__(86104) + ], + explicit: [ + __nccwpck_require__(77900), + __nccwpck_require__(19046), + __nccwpck_require__(96860), + __nccwpck_require__(79548) + ] +}); + + +/***/ }), + +/***/ 28562: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// Standard YAML's Failsafe schema. +// http://www.yaml.org/spec/1.2/spec.html#id2802346 + + + + + +var Schema = __nccwpck_require__(21082); + + +module.exports = new Schema({ + explicit: [ + __nccwpck_require__(23619), + __nccwpck_require__(67283), + __nccwpck_require__(86150) + ] +}); + + +/***/ }), + +/***/ 1035: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// Standard YAML's JSON schema. +// http://www.yaml.org/spec/1.2/spec.html#id2803231 +// +// NOTE: JS-YAML does not support schema-specific tag resolution restrictions. +// So, this schema is not such strict as defined in the YAML specification. +// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc. + + + + + +module.exports = (__nccwpck_require__(28562).extend)({ + implicit: [ + __nccwpck_require__(20721), + __nccwpck_require__(64993), + __nccwpck_require__(11615), + __nccwpck_require__(42705) + ] +}); + + +/***/ }), + +/***/ 96975: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + + +var common = __nccwpck_require__(26829); + + +// get snippet for a single line, respecting maxLength +function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { + var head = ''; + var tail = ''; + var maxHalfLength = Math.floor(maxLineLength / 2) - 1; + + if (position - lineStart > maxHalfLength) { + head = ' ... '; + lineStart = position - maxHalfLength + head.length; + } + + if (lineEnd - position > maxHalfLength) { + tail = ' ...'; + lineEnd = position + maxHalfLength - tail.length; + } + + return { + str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail, + pos: position - lineStart + head.length // relative position + }; +} + + +function padStart(string, max) { + return common.repeat(' ', max - string.length) + string; +} + + +function makeSnippet(mark, options) { + options = Object.create(options || null); + + if (!mark.buffer) return null; + + if (!options.maxLength) options.maxLength = 79; + if (typeof options.indent !== 'number') options.indent = 1; + if (typeof options.linesBefore !== 'number') options.linesBefore = 3; + if (typeof options.linesAfter !== 'number') options.linesAfter = 2; + + var re = /\r?\n|\r|\0/g; + var lineStarts = [ 0 ]; + var lineEnds = []; + var match; + var foundLineNo = -1; + + while ((match = re.exec(mark.buffer))) { + lineEnds.push(match.index); + lineStarts.push(match.index + match[0].length); + + if (mark.position <= match.index && foundLineNo < 0) { + foundLineNo = lineStarts.length - 2; + } + } + + if (foundLineNo < 0) foundLineNo = lineStarts.length - 1; + + var result = '', i, line; + var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length; + var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3); + + for (i = 1; i <= options.linesBefore; i++) { + if (foundLineNo - i < 0) break; + line = getLine( + mark.buffer, + lineStarts[foundLineNo - i], + lineEnds[foundLineNo - i], + mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), + maxLineLength + ); + result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + + ' | ' + line.str + '\n' + result; + } + + line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength); + result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + + ' | ' + line.str + '\n'; + result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\n'; + + for (i = 1; i <= options.linesAfter; i++) { + if (foundLineNo + i >= lineEnds.length) break; + line = getLine( + mark.buffer, + lineStarts[foundLineNo + i], + lineEnds[foundLineNo + i], + mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), + maxLineLength + ); + result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + + ' | ' + line.str + '\n'; + } + + return result.replace(/\n$/, ''); +} + + +module.exports = makeSnippet; + + +/***/ }), + +/***/ 6073: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var YAMLException = __nccwpck_require__(68179); + +var TYPE_CONSTRUCTOR_OPTIONS = [ + 'kind', + 'multi', + 'resolve', + 'construct', + 'instanceOf', + 'predicate', + 'represent', + 'representName', + 'defaultStyle', + 'styleAliases' +]; + +var YAML_NODE_KINDS = [ + 'scalar', + 'sequence', + 'mapping' +]; + +function compileStyleAliases(map) { + var result = {}; + + if (map !== null) { + Object.keys(map).forEach(function (style) { + map[style].forEach(function (alias) { + result[String(alias)] = style; + }); + }); + } + + return result; +} + +function Type(tag, options) { + options = options || {}; + + Object.keys(options).forEach(function (name) { + if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) { + throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.'); + } + }); + + // TODO: Add tag format check. + this.options = options; // keep original options in case user wants to extend this type later + this.tag = tag; + this.kind = options['kind'] || null; + this.resolve = options['resolve'] || function () { return true; }; + this.construct = options['construct'] || function (data) { return data; }; + this.instanceOf = options['instanceOf'] || null; + this.predicate = options['predicate'] || null; + this.represent = options['represent'] || null; + this.representName = options['representName'] || null; + this.defaultStyle = options['defaultStyle'] || null; + this.multi = options['multi'] || false; + this.styleAliases = compileStyleAliases(options['styleAliases'] || null); + + if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { + throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); + } +} + +module.exports = Type; + + +/***/ }), + +/***/ 77900: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/*eslint-disable no-bitwise*/ + + +var Type = __nccwpck_require__(6073); + + +// [ 64, 65, 66 ] -> [ padding, CR, LF ] +var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r'; + + +function resolveYamlBinary(data) { + if (data === null) return false; + + var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP; + + // Convert one by one. + for (idx = 0; idx < max; idx++) { + code = map.indexOf(data.charAt(idx)); + + // Skip CR/LF + if (code > 64) continue; + + // Fail on illegal characters + if (code < 0) return false; + + bitlen += 6; + } + + // If there are any bits left, source was corrupted + return (bitlen % 8) === 0; +} + +function constructYamlBinary(data) { + var idx, tailbits, + input = data.replace(/[\r\n=]/g, ''), // remove CR/LF & padding to simplify scan + max = input.length, + map = BASE64_MAP, + bits = 0, + result = []; + + // Collect by 6*4 bits (3 bytes) + + for (idx = 0; idx < max; idx++) { + if ((idx % 4 === 0) && idx) { + result.push((bits >> 16) & 0xFF); + result.push((bits >> 8) & 0xFF); + result.push(bits & 0xFF); + } + + bits = (bits << 6) | map.indexOf(input.charAt(idx)); + } + + // Dump tail + + tailbits = (max % 4) * 6; + + if (tailbits === 0) { + result.push((bits >> 16) & 0xFF); + result.push((bits >> 8) & 0xFF); + result.push(bits & 0xFF); + } else if (tailbits === 18) { + result.push((bits >> 10) & 0xFF); + result.push((bits >> 2) & 0xFF); + } else if (tailbits === 12) { + result.push((bits >> 4) & 0xFF); + } + + return new Uint8Array(result); +} + +function representYamlBinary(object /*, style*/) { + var result = '', bits = 0, idx, tail, + max = object.length, + map = BASE64_MAP; + + // Convert every three bytes to 4 ASCII characters. + + for (idx = 0; idx < max; idx++) { + if ((idx % 3 === 0) && idx) { + result += map[(bits >> 18) & 0x3F]; + result += map[(bits >> 12) & 0x3F]; + result += map[(bits >> 6) & 0x3F]; + result += map[bits & 0x3F]; + } + + bits = (bits << 8) + object[idx]; + } + + // Dump tail + + tail = max % 3; + + if (tail === 0) { + result += map[(bits >> 18) & 0x3F]; + result += map[(bits >> 12) & 0x3F]; + result += map[(bits >> 6) & 0x3F]; + result += map[bits & 0x3F]; + } else if (tail === 2) { + result += map[(bits >> 10) & 0x3F]; + result += map[(bits >> 4) & 0x3F]; + result += map[(bits << 2) & 0x3F]; + result += map[64]; + } else if (tail === 1) { + result += map[(bits >> 2) & 0x3F]; + result += map[(bits << 4) & 0x3F]; + result += map[64]; + result += map[64]; + } + + return result; +} + +function isBinary(obj) { + return Object.prototype.toString.call(obj) === '[object Uint8Array]'; +} + +module.exports = new Type('tag:yaml.org,2002:binary', { + kind: 'scalar', + resolve: resolveYamlBinary, + construct: constructYamlBinary, + predicate: isBinary, + represent: representYamlBinary +}); + + +/***/ }), + +/***/ 64993: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +function resolveYamlBoolean(data) { + if (data === null) return false; + + var max = data.length; + + return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || + (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE')); +} + +function constructYamlBoolean(data) { + return data === 'true' || + data === 'True' || + data === 'TRUE'; +} + +function isBoolean(object) { + return Object.prototype.toString.call(object) === '[object Boolean]'; +} + +module.exports = new Type('tag:yaml.org,2002:bool', { + kind: 'scalar', + resolve: resolveYamlBoolean, + construct: constructYamlBoolean, + predicate: isBoolean, + represent: { + lowercase: function (object) { return object ? 'true' : 'false'; }, + uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; }, + camelcase: function (object) { return object ? 'True' : 'False'; } + }, + defaultStyle: 'lowercase' +}); + + +/***/ }), + +/***/ 42705: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var common = __nccwpck_require__(26829); +var Type = __nccwpck_require__(6073); + +var YAML_FLOAT_PATTERN = new RegExp( + // 2.5e4, 2.5 and integers + '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' + + // .2e4, .2 + // special case, seems not from spec + '|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' + + // .inf + '|[-+]?\\.(?:inf|Inf|INF)' + + // .nan + '|\\.(?:nan|NaN|NAN))$'); + +function resolveYamlFloat(data) { + if (data === null) return false; + + if (!YAML_FLOAT_PATTERN.test(data) || + // Quick hack to not allow integers end with `_` + // Probably should update regexp & check speed + data[data.length - 1] === '_') { + return false; + } + + return true; +} + +function constructYamlFloat(data) { + var value, sign; + + value = data.replace(/_/g, '').toLowerCase(); + sign = value[0] === '-' ? -1 : 1; + + if ('+-'.indexOf(value[0]) >= 0) { + value = value.slice(1); + } + + if (value === '.inf') { + return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; + + } else if (value === '.nan') { + return NaN; + } + return sign * parseFloat(value, 10); +} + + +var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/; + +function representYamlFloat(object, style) { + var res; + + if (isNaN(object)) { + switch (style) { + case 'lowercase': return '.nan'; + case 'uppercase': return '.NAN'; + case 'camelcase': return '.NaN'; + } + } else if (Number.POSITIVE_INFINITY === object) { + switch (style) { + case 'lowercase': return '.inf'; + case 'uppercase': return '.INF'; + case 'camelcase': return '.Inf'; + } + } else if (Number.NEGATIVE_INFINITY === object) { + switch (style) { + case 'lowercase': return '-.inf'; + case 'uppercase': return '-.INF'; + case 'camelcase': return '-.Inf'; + } + } else if (common.isNegativeZero(object)) { + return '-0.0'; + } + + res = object.toString(10); + + // JS stringifier can build scientific format without dots: 5e-100, + // while YAML requres dot: 5.e-100. Fix it with simple hack + + return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res; +} + +function isFloat(object) { + return (Object.prototype.toString.call(object) === '[object Number]') && + (object % 1 !== 0 || common.isNegativeZero(object)); +} + +module.exports = new Type('tag:yaml.org,2002:float', { + kind: 'scalar', + resolve: resolveYamlFloat, + construct: constructYamlFloat, + predicate: isFloat, + represent: representYamlFloat, + defaultStyle: 'lowercase' +}); + + +/***/ }), + +/***/ 11615: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var common = __nccwpck_require__(26829); +var Type = __nccwpck_require__(6073); + +function isHexCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) || + ((0x41/* A */ <= c) && (c <= 0x46/* F */)) || + ((0x61/* a */ <= c) && (c <= 0x66/* f */)); +} + +function isOctCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */)); +} + +function isDecCode(c) { + return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)); +} + +function resolveYamlInteger(data) { + if (data === null) return false; + + var max = data.length, + index = 0, + hasDigits = false, + ch; + + if (!max) return false; + + ch = data[index]; + + // sign + if (ch === '-' || ch === '+') { + ch = data[++index]; + } + + if (ch === '0') { + // 0 + if (index + 1 === max) return true; + ch = data[++index]; + + // base 2, base 8, base 16 + + if (ch === 'b') { + // base 2 + index++; + + for (; index < max; index++) { + ch = data[index]; + if (ch === '_') continue; + if (ch !== '0' && ch !== '1') return false; + hasDigits = true; + } + return hasDigits && ch !== '_'; + } + + + if (ch === 'x') { + // base 16 + index++; + + for (; index < max; index++) { + ch = data[index]; + if (ch === '_') continue; + if (!isHexCode(data.charCodeAt(index))) return false; + hasDigits = true; + } + return hasDigits && ch !== '_'; + } + + + if (ch === 'o') { + // base 8 + index++; + + for (; index < max; index++) { + ch = data[index]; + if (ch === '_') continue; + if (!isOctCode(data.charCodeAt(index))) return false; + hasDigits = true; + } + return hasDigits && ch !== '_'; + } + } + + // base 10 (except 0) + + // value should not start with `_`; + if (ch === '_') return false; + + for (; index < max; index++) { + ch = data[index]; + if (ch === '_') continue; + if (!isDecCode(data.charCodeAt(index))) { + return false; + } + hasDigits = true; + } + + // Should have digits and should not end with `_` + if (!hasDigits || ch === '_') return false; + + return true; +} + +function constructYamlInteger(data) { + var value = data, sign = 1, ch; + + if (value.indexOf('_') !== -1) { + value = value.replace(/_/g, ''); + } + + ch = value[0]; + + if (ch === '-' || ch === '+') { + if (ch === '-') sign = -1; + value = value.slice(1); + ch = value[0]; + } + + if (value === '0') return 0; + + if (ch === '0') { + if (value[1] === 'b') return sign * parseInt(value.slice(2), 2); + if (value[1] === 'x') return sign * parseInt(value.slice(2), 16); + if (value[1] === 'o') return sign * parseInt(value.slice(2), 8); + } + + return sign * parseInt(value, 10); +} + +function isInteger(object) { + return (Object.prototype.toString.call(object)) === '[object Number]' && + (object % 1 === 0 && !common.isNegativeZero(object)); +} + +module.exports = new Type('tag:yaml.org,2002:int', { + kind: 'scalar', + resolve: resolveYamlInteger, + construct: constructYamlInteger, + predicate: isInteger, + represent: { + binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); }, + octal: function (obj) { return obj >= 0 ? '0o' + obj.toString(8) : '-0o' + obj.toString(8).slice(1); }, + decimal: function (obj) { return obj.toString(10); }, + /* eslint-disable max-len */ + hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); } + }, + defaultStyle: 'decimal', + styleAliases: { + binary: [ 2, 'bin' ], + octal: [ 8, 'oct' ], + decimal: [ 10, 'dec' ], + hexadecimal: [ 16, 'hex' ] + } +}); + + +/***/ }), + +/***/ 86150: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +module.exports = new Type('tag:yaml.org,2002:map', { + kind: 'mapping', + construct: function (data) { return data !== null ? data : {}; } +}); + + +/***/ }), + +/***/ 86104: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +function resolveYamlMerge(data) { + return data === '<<' || data === null; +} + +module.exports = new Type('tag:yaml.org,2002:merge', { + kind: 'scalar', + resolve: resolveYamlMerge +}); + + +/***/ }), + +/***/ 20721: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +function resolveYamlNull(data) { + if (data === null) return true; + + var max = data.length; + + return (max === 1 && data === '~') || + (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')); +} + +function constructYamlNull() { + return null; +} + +function isNull(object) { + return object === null; +} + +module.exports = new Type('tag:yaml.org,2002:null', { + kind: 'scalar', + resolve: resolveYamlNull, + construct: constructYamlNull, + predicate: isNull, + represent: { + canonical: function () { return '~'; }, + lowercase: function () { return 'null'; }, + uppercase: function () { return 'NULL'; }, + camelcase: function () { return 'Null'; }, + empty: function () { return ''; } + }, + defaultStyle: 'lowercase' +}); + + +/***/ }), + +/***/ 19046: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +var _hasOwnProperty = Object.prototype.hasOwnProperty; +var _toString = Object.prototype.toString; + +function resolveYamlOmap(data) { + if (data === null) return true; + + var objectKeys = [], index, length, pair, pairKey, pairHasKey, + object = data; + + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + pairHasKey = false; + + if (_toString.call(pair) !== '[object Object]') return false; + + for (pairKey in pair) { + if (_hasOwnProperty.call(pair, pairKey)) { + if (!pairHasKey) pairHasKey = true; + else return false; + } + } + + if (!pairHasKey) return false; + + if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); + else return false; + } + + return true; +} + +function constructYamlOmap(data) { + return data !== null ? data : []; +} + +module.exports = new Type('tag:yaml.org,2002:omap', { + kind: 'sequence', + resolve: resolveYamlOmap, + construct: constructYamlOmap +}); + + +/***/ }), + +/***/ 96860: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +var _toString = Object.prototype.toString; + +function resolveYamlPairs(data) { + if (data === null) return true; + + var index, length, pair, keys, result, + object = data; + + result = new Array(object.length); + + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + + if (_toString.call(pair) !== '[object Object]') return false; + + keys = Object.keys(pair); + + if (keys.length !== 1) return false; + + result[index] = [ keys[0], pair[keys[0]] ]; + } + + return true; +} + +function constructYamlPairs(data) { + if (data === null) return []; + + var index, length, pair, keys, result, + object = data; + + result = new Array(object.length); + + for (index = 0, length = object.length; index < length; index += 1) { + pair = object[index]; + + keys = Object.keys(pair); + + result[index] = [ keys[0], pair[keys[0]] ]; + } + + return result; +} + +module.exports = new Type('tag:yaml.org,2002:pairs', { + kind: 'sequence', + resolve: resolveYamlPairs, + construct: constructYamlPairs +}); + + +/***/ }), + +/***/ 67283: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +module.exports = new Type('tag:yaml.org,2002:seq', { + kind: 'sequence', + construct: function (data) { return data !== null ? data : []; } +}); + + +/***/ }), + +/***/ 79548: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +var _hasOwnProperty = Object.prototype.hasOwnProperty; + +function resolveYamlSet(data) { + if (data === null) return true; + + var key, object = data; + + for (key in object) { + if (_hasOwnProperty.call(object, key)) { + if (object[key] !== null) return false; + } + } + + return true; +} + +function constructYamlSet(data) { + return data !== null ? data : {}; +} + +module.exports = new Type('tag:yaml.org,2002:set', { + kind: 'mapping', + resolve: resolveYamlSet, + construct: constructYamlSet +}); + + +/***/ }), + +/***/ 23619: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +module.exports = new Type('tag:yaml.org,2002:str', { + kind: 'scalar', + construct: function (data) { return data !== null ? data : ''; } +}); + + +/***/ }), + +/***/ 99212: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Type = __nccwpck_require__(6073); + +var YAML_DATE_REGEXP = new RegExp( + '^([0-9][0-9][0-9][0-9])' + // [1] year + '-([0-9][0-9])' + // [2] month + '-([0-9][0-9])$'); // [3] day + +var YAML_TIMESTAMP_REGEXP = new RegExp( + '^([0-9][0-9][0-9][0-9])' + // [1] year + '-([0-9][0-9]?)' + // [2] month + '-([0-9][0-9]?)' + // [3] day + '(?:[Tt]|[ \\t]+)' + // ... + '([0-9][0-9]?)' + // [4] hour + ':([0-9][0-9])' + // [5] minute + ':([0-9][0-9])' + // [6] second + '(?:\\.([0-9]*))?' + // [7] fraction + '(?:[ \\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour + '(?::([0-9][0-9]))?))?$'); // [11] tz_minute + +function resolveYamlTimestamp(data) { + if (data === null) return false; + if (YAML_DATE_REGEXP.exec(data) !== null) return true; + if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true; + return false; +} + +function constructYamlTimestamp(data) { + var match, year, month, day, hour, minute, second, fraction = 0, + delta = null, tz_hour, tz_minute, date; + + match = YAML_DATE_REGEXP.exec(data); + if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data); + + if (match === null) throw new Error('Date resolve error'); + + // match: [1] year [2] month [3] day + + year = +(match[1]); + month = +(match[2]) - 1; // JS month starts with 0 + day = +(match[3]); + + if (!match[4]) { // no hour + return new Date(Date.UTC(year, month, day)); + } + + // match: [4] hour [5] minute [6] second [7] fraction + + hour = +(match[4]); + minute = +(match[5]); + second = +(match[6]); + + if (match[7]) { + fraction = match[7].slice(0, 3); + while (fraction.length < 3) { // milli-seconds + fraction += '0'; + } + fraction = +fraction; + } + + // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute + + if (match[9]) { + tz_hour = +(match[10]); + tz_minute = +(match[11] || 0); + delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds + if (match[9] === '-') delta = -delta; + } + + date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); + + if (delta) date.setTime(date.getTime() - delta); + + return date; +} + +function representYamlTimestamp(object /*, style*/) { + return object.toISOString(); +} + +module.exports = new Type('tag:yaml.org,2002:timestamp', { + kind: 'scalar', + resolve: resolveYamlTimestamp, + construct: constructYamlTimestamp, + instanceOf: Date, + represent: representYamlTimestamp +}); + + +/***/ }), + +/***/ 78063: +/***/ (function(module) { + +/* +* loglevel - https://github.com/pimterry/loglevel +* +* Copyright (c) 2013 Tim Perry +* Licensed under the MIT license. +*/ +(function (root, definition) { + "use strict"; + if (typeof define === 'function' && define.amd) { + define(definition); + } else if ( true && module.exports) { + module.exports = definition(); + } else { + root.log = definition(); + } +}(this, function () { + "use strict"; + + // Slightly dubious tricks to cut down minimized file size + var noop = function() {}; + var undefinedType = "undefined"; + var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && ( + /Trident\/|MSIE /.test(window.navigator.userAgent) + ); + + var logMethods = [ + "trace", + "debug", + "info", + "warn", + "error" + ]; + + // Cross-browser bind equivalent that works at least back to IE6 + function bindMethod(obj, methodName) { + var method = obj[methodName]; + if (typeof method.bind === 'function') { + return method.bind(obj); + } else { + try { + return Function.prototype.bind.call(method, obj); + } catch (e) { + // Missing bind shim or IE8 + Modernizr, fallback to wrapping + return function() { + return Function.prototype.apply.apply(method, [obj, arguments]); + }; + } + } + } + + // Trace() doesn't print the message in IE, so for that case we need to wrap it + function traceForIE() { + if (console.log) { + if (console.log.apply) { + console.log.apply(console, arguments); + } else { + // In old IE, native console methods themselves don't have apply(). + Function.prototype.apply.apply(console.log, [console, arguments]); + } + } + if (console.trace) console.trace(); + } + + // Build the best logging method possible for this env + // Wherever possible we want to bind, not wrap, to preserve stack traces + function realMethod(methodName) { + if (methodName === 'debug') { + methodName = 'log'; + } + + if (typeof console === undefinedType) { + return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives + } else if (methodName === 'trace' && isIE) { + return traceForIE; + } else if (console[methodName] !== undefined) { + return bindMethod(console, methodName); + } else if (console.log !== undefined) { + return bindMethod(console, 'log'); + } else { + return noop; + } + } + + // These private functions always need `this` to be set properly + + function replaceLoggingMethods(level, loggerName) { + /*jshint validthis:true */ + for (var i = 0; i < logMethods.length; i++) { + var methodName = logMethods[i]; + this[methodName] = (i < level) ? + noop : + this.methodFactory(methodName, level, loggerName); + } + + // Define log.log as an alias for log.debug + this.log = this.debug; + } + + // In old IE versions, the console isn't present until you first open it. + // We build realMethod() replacements here that regenerate logging methods + function enableLoggingWhenConsoleArrives(methodName, level, loggerName) { + return function () { + if (typeof console !== undefinedType) { + replaceLoggingMethods.call(this, level, loggerName); + this[methodName].apply(this, arguments); + } + }; + } + + // By default, we use closely bound real methods wherever possible, and + // otherwise we wait for a console to appear, and then try again. + function defaultMethodFactory(methodName, level, loggerName) { + /*jshint validthis:true */ + return realMethod(methodName) || + enableLoggingWhenConsoleArrives.apply(this, arguments); + } + + function Logger(name, defaultLevel, factory) { + var self = this; + var currentLevel; + defaultLevel = defaultLevel == null ? "WARN" : defaultLevel; + + var storageKey = "loglevel"; + if (typeof name === "string") { + storageKey += ":" + name; + } else if (typeof name === "symbol") { + storageKey = undefined; + } + + function persistLevelIfPossible(levelNum) { + var levelName = (logMethods[levelNum] || 'silent').toUpperCase(); + + if (typeof window === undefinedType || !storageKey) return; + + // Use localStorage if available + try { + window.localStorage[storageKey] = levelName; + return; + } catch (ignore) {} + + // Use session cookie as fallback + try { + window.document.cookie = + encodeURIComponent(storageKey) + "=" + levelName + ";"; + } catch (ignore) {} + } + + function getPersistedLevel() { + var storedLevel; + + if (typeof window === undefinedType || !storageKey) return; + + try { + storedLevel = window.localStorage[storageKey]; + } catch (ignore) {} + + // Fallback to cookies if local storage gives us nothing + if (typeof storedLevel === undefinedType) { + try { + var cookie = window.document.cookie; + var location = cookie.indexOf( + encodeURIComponent(storageKey) + "="); + if (location !== -1) { + storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1]; + } + } catch (ignore) {} + } + + // If the stored level is not valid, treat it as if nothing was stored. + if (self.levels[storedLevel] === undefined) { + storedLevel = undefined; + } + + return storedLevel; + } + + function clearPersistedLevel() { + if (typeof window === undefinedType || !storageKey) return; + + // Use localStorage if available + try { + window.localStorage.removeItem(storageKey); + return; + } catch (ignore) {} + + // Use session cookie as fallback + try { + window.document.cookie = + encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC"; + } catch (ignore) {} + } + + /* + * + * Public logger API - see https://github.com/pimterry/loglevel for details + * + */ + + self.name = name; + + self.levels = { "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3, + "ERROR": 4, "SILENT": 5}; + + self.methodFactory = factory || defaultMethodFactory; + + self.getLevel = function () { + return currentLevel; + }; + + self.setLevel = function (level, persist) { + if (typeof level === "string" && self.levels[level.toUpperCase()] !== undefined) { + level = self.levels[level.toUpperCase()]; + } + if (typeof level === "number" && level >= 0 && level <= self.levels.SILENT) { + currentLevel = level; + if (persist !== false) { // defaults to true + persistLevelIfPossible(level); + } + replaceLoggingMethods.call(self, level, name); + if (typeof console === undefinedType && level < self.levels.SILENT) { + return "No console available for logging"; + } + } else { + throw "log.setLevel() called with invalid level: " + level; + } + }; + + self.setDefaultLevel = function (level) { + defaultLevel = level; + if (!getPersistedLevel()) { + self.setLevel(level, false); + } + }; + + self.resetLevel = function () { + self.setLevel(defaultLevel, false); + clearPersistedLevel(); + }; + + self.enableAll = function(persist) { + self.setLevel(self.levels.TRACE, persist); + }; + + self.disableAll = function(persist) { + self.setLevel(self.levels.SILENT, persist); + }; + + // Initialize with the right level + var initialLevel = getPersistedLevel(); + if (initialLevel == null) { + initialLevel = defaultLevel; + } + self.setLevel(initialLevel, false); + } + + /* + * + * Top-level API + * + */ + + var defaultLogger = new Logger(); + + var _loggersByName = {}; + defaultLogger.getLogger = function getLogger(name) { + if ((typeof name !== "symbol" && typeof name !== "string") || name === "") { + throw new TypeError("You must supply a name when creating a logger."); + } + + var logger = _loggersByName[name]; + if (!logger) { + logger = _loggersByName[name] = new Logger( + name, defaultLogger.getLevel(), defaultLogger.methodFactory); + } + return logger; + }; + + // Grab the current global log variable in case of overwrite + var _log = (typeof window !== undefinedType) ? window.log : undefined; + defaultLogger.noConflict = function() { + if (typeof window !== undefinedType && + window.log === defaultLogger) { + window.log = _log; + } + + return defaultLogger; + }; + + defaultLogger.getLoggers = function getLoggers() { + return _loggersByName; + }; + + // ES6 default export, for compatibility + defaultLogger['default'] = defaultLogger; + + return defaultLogger; +})); + + +/***/ }), + +/***/ 47426: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ + +/** + * Module exports. + */ + +module.exports = __nccwpck_require__(53765) + + +/***/ }), + +/***/ 43583: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module dependencies. + * @private + */ + +var db = __nccwpck_require__(47426) +var extname = (__nccwpck_require__(71017).extname) + +/** + * Module variables. + * @private + */ + +var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ +var TEXT_TYPE_REGEXP = /^text\//i + +/** + * Module exports. + * @public + */ + +exports.charset = charset +exports.charsets = { lookup: charset } +exports.contentType = contentType +exports.extension = extension +exports.extensions = Object.create(null) +exports.lookup = lookup +exports.types = Object.create(null) + +// Populate the extensions/types maps +populateMaps(exports.extensions, exports.types) + +/** + * Get the default charset for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function charset (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + var mime = match && db[match[1].toLowerCase()] + + if (mime && mime.charset) { + return mime.charset + } + + // default text/* to utf-8 + if (match && TEXT_TYPE_REGEXP.test(match[1])) { + return 'UTF-8' + } + + return false +} + +/** + * Create a full Content-Type header given a MIME type or extension. + * + * @param {string} str + * @return {boolean|string} + */ + +function contentType (str) { + // TODO: should this even be in this module? + if (!str || typeof str !== 'string') { + return false + } + + var mime = str.indexOf('/') === -1 + ? exports.lookup(str) + : str + + if (!mime) { + return false + } + + // TODO: use content-type or other module + if (mime.indexOf('charset') === -1) { + var charset = exports.charset(mime) + if (charset) mime += '; charset=' + charset.toLowerCase() + } + + return mime +} + +/** + * Get the default extension for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function extension (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + + // get extensions + var exts = match && exports.extensions[match[1].toLowerCase()] + + if (!exts || !exts.length) { + return false + } + + return exts[0] +} + +/** + * Lookup the MIME type for a file path/extension. + * + * @param {string} path + * @return {boolean|string} + */ + +function lookup (path) { + if (!path || typeof path !== 'string') { + return false + } + + // get the extension ("ext" or ".ext" or full path) + var extension = extname('x.' + path) + .toLowerCase() + .substr(1) + + if (!extension) { + return false + } + + return exports.types[extension] || false +} + +/** + * Populate the extensions and types maps. + * @private + */ + +function populateMaps (extensions, types) { + // source preference (least -> most) + var preference = ['nginx', 'apache', undefined, 'iana'] + + Object.keys(db).forEach(function forEachMimeType (type) { + var mime = db[type] + var exts = mime.extensions + + if (!exts || !exts.length) { + return + } + + // mime -> extensions + extensions[type] = exts + + // extension -> mime + for (var i = 0; i < exts.length; i++) { + var extension = exts[i] + + if (types[extension]) { + var from = preference.indexOf(db[types[extension]].source) + var to = preference.indexOf(mime.source) + + if (types[extension] !== 'application/octet-stream' && + (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) { + // skip the remapping + continue + } + } + + // set the extension -> mime + types[extension] = type + } + }) +} + + +/***/ }), + +/***/ 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 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'); + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +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 = parse_url(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parse_url(`${input}`); + } + input = {}; + } else { + parsedURL = parse_url(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'; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; +const resolve_url = Url.resolve; + +/** + * 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 + const locationURL = location === null ? null : resolve_url(request.url, location); + + // 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 + }; + + // 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; + + +/***/ }), + +/***/ 1223: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var wrappy = __nccwpck_require__(62940) +module.exports = wrappy(once) +module.exports.strict = wrappy(onceStrict) + +once.proto = once(function () { + Object.defineProperty(Function.prototype, 'once', { + value: function () { + return once(this) + }, + configurable: true + }) + + Object.defineProperty(Function.prototype, 'onceStrict', { + value: function () { + return onceStrict(this) + }, + configurable: true + }) +}) + +function once (fn) { + var f = function () { + if (f.called) return f.value + f.called = true + return f.value = fn.apply(this, arguments) + } + f.called = false + return f +} + +function onceStrict (fn) { + var f = function () { + if (f.called) + throw new Error(f.onceError) + f.called = true + return f.value = fn.apply(this, arguments) + } + var name = fn.name || 'Function wrapped with `once`' + f.onceError = name + " shouldn't be called more than once" + f.called = false + return f +} + + +/***/ }), + +/***/ 31726: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// Top level file is just a mixin of submodules & constants + + +const { Deflate, deflate, deflateRaw, gzip } = __nccwpck_require__(17265); + +const { Inflate, inflate, inflateRaw, ungzip } = __nccwpck_require__(96522); + +const constants = __nccwpck_require__(58282); + +module.exports.Deflate = Deflate; +module.exports.deflate = deflate; +module.exports.deflateRaw = deflateRaw; +module.exports.gzip = gzip; +module.exports.Inflate = Inflate; +module.exports.inflate = inflate; +module.exports.inflateRaw = inflateRaw; +module.exports.ungzip = ungzip; +module.exports.constants = constants; + + +/***/ }), + +/***/ 17265: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + + +const zlib_deflate = __nccwpck_require__(70978); +const utils = __nccwpck_require__(5483); +const strings = __nccwpck_require__(42380); +const msg = __nccwpck_require__(1890); +const ZStream = __nccwpck_require__(86442); + +const toString = Object.prototype.toString; + +/* Public constants ==========================================================*/ +/* ===========================================================================*/ + +const { + Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH, + Z_OK, Z_STREAM_END, + Z_DEFAULT_COMPRESSION, + Z_DEFAULT_STRATEGY, + Z_DEFLATED +} = __nccwpck_require__(58282); + +/* ===========================================================================*/ + + +/** + * class Deflate + * + * Generic JS-style wrapper for zlib calls. If you don't need + * streaming behaviour - use more simple functions: [[deflate]], + * [[deflateRaw]] and [[gzip]]. + **/ + +/* internal + * Deflate.chunks -> Array + * + * Chunks of output data, if [[Deflate#onData]] not overridden. + **/ + +/** + * Deflate.result -> Uint8Array + * + * Compressed result, generated by default [[Deflate#onData]] + * and [[Deflate#onEnd]] handlers. Filled after you push last chunk + * (call [[Deflate#push]] with `Z_FINISH` / `true` param). + **/ + +/** + * Deflate.err -> Number + * + * Error code after deflate finished. 0 (Z_OK) on success. + * You will not need it in real life, because deflate errors + * are possible only on wrong options or bad `onData` / `onEnd` + * custom handlers. + **/ + +/** + * Deflate.msg -> String + * + * Error message, if [[Deflate.err]] != 0 + **/ + + +/** + * new Deflate(options) + * - options (Object): zlib deflate options. + * + * Creates new deflator instance with specified params. Throws exception + * on bad params. Supported options: + * + * - `level` + * - `windowBits` + * - `memLevel` + * - `strategy` + * - `dictionary` + * + * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) + * for more information on these. + * + * Additional options, for internal needs: + * + * - `chunkSize` - size of generated data chunks (16K by default) + * - `raw` (Boolean) - do raw deflate + * - `gzip` (Boolean) - create gzip wrapper + * - `header` (Object) - custom header for gzip + * - `text` (Boolean) - true if compressed data believed to be text + * - `time` (Number) - modification time, unix timestamp + * - `os` (Number) - operation system code + * - `extra` (Array) - array of bytes with extra data (max 65536) + * - `name` (String) - file name (binary string) + * - `comment` (String) - comment (binary string) + * - `hcrc` (Boolean) - true if header crc should be added + * + * ##### Example: + * + * ```javascript + * const pako = require('pako') + * , chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9]) + * , chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]); + * + * const deflate = new pako.Deflate({ level: 3}); + * + * deflate.push(chunk1, false); + * deflate.push(chunk2, true); // true -> last chunk + * + * if (deflate.err) { throw new Error(deflate.err); } + * + * console.log(deflate.result); + * ``` + **/ +function Deflate(options) { + this.options = utils.assign({ + level: Z_DEFAULT_COMPRESSION, + method: Z_DEFLATED, + chunkSize: 16384, + windowBits: 15, + memLevel: 8, + strategy: Z_DEFAULT_STRATEGY + }, options || {}); + + let opt = this.options; + + if (opt.raw && (opt.windowBits > 0)) { + opt.windowBits = -opt.windowBits; + } + + else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) { + opt.windowBits += 16; + } + + this.err = 0; // error code, if happens (0 = Z_OK) + this.msg = ''; // error message + this.ended = false; // used to avoid multiple onEnd() calls + this.chunks = []; // chunks of compressed data + + this.strm = new ZStream(); + this.strm.avail_out = 0; + + let status = zlib_deflate.deflateInit2( + this.strm, + opt.level, + opt.method, + opt.windowBits, + opt.memLevel, + opt.strategy + ); + + if (status !== Z_OK) { + throw new Error(msg[status]); + } + + if (opt.header) { + zlib_deflate.deflateSetHeader(this.strm, opt.header); + } + + if (opt.dictionary) { + let dict; + // Convert data if needed + if (typeof opt.dictionary === 'string') { + // If we need to compress text, change encoding to utf8. + dict = strings.string2buf(opt.dictionary); + } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') { + dict = new Uint8Array(opt.dictionary); + } else { + dict = opt.dictionary; + } + + status = zlib_deflate.deflateSetDictionary(this.strm, dict); + + if (status !== Z_OK) { + throw new Error(msg[status]); + } + + this._dict_set = true; + } +} + +/** + * Deflate#push(data[, flush_mode]) -> Boolean + * - data (Uint8Array|ArrayBuffer|String): input data. Strings will be + * converted to utf8 byte sequence. + * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes. + * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH. + * + * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with + * new compressed chunks. Returns `true` on success. The last data block must + * have `flush_mode` Z_FINISH (or `true`). That will flush internal pending + * buffers and call [[Deflate#onEnd]]. + * + * On fail call [[Deflate#onEnd]] with error code and return false. + * + * ##### Example + * + * ```javascript + * push(chunk, false); // push one of data chunks + * ... + * push(chunk, true); // push last chunk + * ``` + **/ +Deflate.prototype.push = function (data, flush_mode) { + const strm = this.strm; + const chunkSize = this.options.chunkSize; + let status, _flush_mode; + + if (this.ended) { return false; } + + if (flush_mode === ~~flush_mode) _flush_mode = flush_mode; + else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH; + + // Convert data if needed + if (typeof data === 'string') { + // If we need to compress text, change encoding to utf8. + strm.input = strings.string2buf(data); + } else if (toString.call(data) === '[object ArrayBuffer]') { + strm.input = new Uint8Array(data); + } else { + strm.input = data; + } + + strm.next_in = 0; + strm.avail_in = strm.input.length; + + for (;;) { + if (strm.avail_out === 0) { + strm.output = new Uint8Array(chunkSize); + strm.next_out = 0; + strm.avail_out = chunkSize; + } + + // Make sure avail_out > 6 to avoid repeating markers + if ((_flush_mode === Z_SYNC_FLUSH || _flush_mode === Z_FULL_FLUSH) && strm.avail_out <= 6) { + this.onData(strm.output.subarray(0, strm.next_out)); + strm.avail_out = 0; + continue; + } + + status = zlib_deflate.deflate(strm, _flush_mode); + + // Ended => flush and finish + if (status === Z_STREAM_END) { + if (strm.next_out > 0) { + this.onData(strm.output.subarray(0, strm.next_out)); + } + status = zlib_deflate.deflateEnd(this.strm); + this.onEnd(status); + this.ended = true; + return status === Z_OK; + } + + // Flush if out buffer full + if (strm.avail_out === 0) { + this.onData(strm.output); + continue; + } + + // Flush if requested and has data + if (_flush_mode > 0 && strm.next_out > 0) { + this.onData(strm.output.subarray(0, strm.next_out)); + strm.avail_out = 0; + continue; + } + + if (strm.avail_in === 0) break; + } + + return true; +}; + + +/** + * Deflate#onData(chunk) -> Void + * - chunk (Uint8Array): output data. + * + * By default, stores data blocks in `chunks[]` property and glue + * those in `onEnd`. Override this handler, if you need another behaviour. + **/ +Deflate.prototype.onData = function (chunk) { + this.chunks.push(chunk); +}; + + +/** + * Deflate#onEnd(status) -> Void + * - status (Number): deflate status. 0 (Z_OK) on success, + * other if not. + * + * Called once after you tell deflate that the input stream is + * complete (Z_FINISH). By default - join collected chunks, + * free memory and fill `results` / `err` properties. + **/ +Deflate.prototype.onEnd = function (status) { + // On success - join + if (status === Z_OK) { + this.result = utils.flattenChunks(this.chunks); + } + this.chunks = []; + this.err = status; + this.msg = this.strm.msg; +}; + + +/** + * deflate(data[, options]) -> Uint8Array + * - data (Uint8Array|String): input data to compress. + * - options (Object): zlib deflate options. + * + * Compress `data` with deflate algorithm and `options`. + * + * Supported options are: + * + * - level + * - windowBits + * - memLevel + * - strategy + * - dictionary + * + * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) + * for more information on these. + * + * Sugar (options): + * + * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify + * negative windowBits implicitly. + * + * ##### Example: + * + * ```javascript + * const pako = require('pako') + * const data = new Uint8Array([1,2,3,4,5,6,7,8,9]); + * + * console.log(pako.deflate(data)); + * ``` + **/ +function deflate(input, options) { + const deflator = new Deflate(options); + + deflator.push(input, true); + + // That will never happens, if you don't cheat with options :) + if (deflator.err) { throw deflator.msg || msg[deflator.err]; } + + return deflator.result; +} + + +/** + * deflateRaw(data[, options]) -> Uint8Array + * - data (Uint8Array|String): input data to compress. + * - options (Object): zlib deflate options. + * + * The same as [[deflate]], but creates raw data, without wrapper + * (header and adler32 crc). + **/ +function deflateRaw(input, options) { + options = options || {}; + options.raw = true; + return deflate(input, options); +} + + +/** + * gzip(data[, options]) -> Uint8Array + * - data (Uint8Array|String): input data to compress. + * - options (Object): zlib deflate options. + * + * The same as [[deflate]], but create gzip wrapper instead of + * deflate one. + **/ +function gzip(input, options) { + options = options || {}; + options.gzip = true; + return deflate(input, options); +} + + +module.exports.Deflate = Deflate; +module.exports.deflate = deflate; +module.exports.deflateRaw = deflateRaw; +module.exports.gzip = gzip; +module.exports.constants = __nccwpck_require__(58282); + + +/***/ }), + +/***/ 96522: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + + +const zlib_inflate = __nccwpck_require__(90409); +const utils = __nccwpck_require__(5483); +const strings = __nccwpck_require__(42380); +const msg = __nccwpck_require__(1890); +const ZStream = __nccwpck_require__(86442); +const GZheader = __nccwpck_require__(35105); + +const toString = Object.prototype.toString; + +/* Public constants ==========================================================*/ +/* ===========================================================================*/ + +const { + Z_NO_FLUSH, Z_FINISH, + Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR +} = __nccwpck_require__(58282); + +/* ===========================================================================*/ + + +/** + * class Inflate + * + * Generic JS-style wrapper for zlib calls. If you don't need + * streaming behaviour - use more simple functions: [[inflate]] + * and [[inflateRaw]]. + **/ + +/* internal + * inflate.chunks -> Array + * + * Chunks of output data, if [[Inflate#onData]] not overridden. + **/ + +/** + * Inflate.result -> Uint8Array|String + * + * Uncompressed result, generated by default [[Inflate#onData]] + * and [[Inflate#onEnd]] handlers. Filled after you push last chunk + * (call [[Inflate#push]] with `Z_FINISH` / `true` param). + **/ + +/** + * Inflate.err -> Number + * + * Error code after inflate finished. 0 (Z_OK) on success. + * Should be checked if broken data possible. + **/ + +/** + * Inflate.msg -> String + * + * Error message, if [[Inflate.err]] != 0 + **/ + + +/** + * new Inflate(options) + * - options (Object): zlib inflate options. + * + * Creates new inflator instance with specified params. Throws exception + * on bad params. Supported options: + * + * - `windowBits` + * - `dictionary` + * + * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) + * for more information on these. + * + * Additional options, for internal needs: + * + * - `chunkSize` - size of generated data chunks (16K by default) + * - `raw` (Boolean) - do raw inflate + * - `to` (String) - if equal to 'string', then result will be converted + * from utf8 to utf16 (javascript) string. When string output requested, + * chunk length can differ from `chunkSize`, depending on content. + * + * By default, when no options set, autodetect deflate/gzip data format via + * wrapper header. + * + * ##### Example: + * + * ```javascript + * const pako = require('pako') + * const chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9]) + * const chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]); + * + * const inflate = new pako.Inflate({ level: 3}); + * + * inflate.push(chunk1, false); + * inflate.push(chunk2, true); // true -> last chunk + * + * if (inflate.err) { throw new Error(inflate.err); } + * + * console.log(inflate.result); + * ``` + **/ +function Inflate(options) { + this.options = utils.assign({ + chunkSize: 1024 * 64, + windowBits: 15, + to: '' + }, options || {}); + + const opt = this.options; + + // Force window size for `raw` data, if not set directly, + // because we have no header for autodetect. + if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) { + opt.windowBits = -opt.windowBits; + if (opt.windowBits === 0) { opt.windowBits = -15; } + } + + // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate + if ((opt.windowBits >= 0) && (opt.windowBits < 16) && + !(options && options.windowBits)) { + opt.windowBits += 32; + } + + // Gzip header has no info about windows size, we can do autodetect only + // for deflate. So, if window size not set, force it to max when gzip possible + if ((opt.windowBits > 15) && (opt.windowBits < 48)) { + // bit 3 (16) -> gzipped data + // bit 4 (32) -> autodetect gzip/deflate + if ((opt.windowBits & 15) === 0) { + opt.windowBits |= 15; + } + } + + this.err = 0; // error code, if happens (0 = Z_OK) + this.msg = ''; // error message + this.ended = false; // used to avoid multiple onEnd() calls + this.chunks = []; // chunks of compressed data + + this.strm = new ZStream(); + this.strm.avail_out = 0; + + let status = zlib_inflate.inflateInit2( + this.strm, + opt.windowBits + ); + + if (status !== Z_OK) { + throw new Error(msg[status]); + } + + this.header = new GZheader(); + + zlib_inflate.inflateGetHeader(this.strm, this.header); + + // Setup dictionary + if (opt.dictionary) { + // Convert data if needed + if (typeof opt.dictionary === 'string') { + opt.dictionary = strings.string2buf(opt.dictionary); + } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') { + opt.dictionary = new Uint8Array(opt.dictionary); + } + if (opt.raw) { //In raw mode we need to set the dictionary early + status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary); + if (status !== Z_OK) { + throw new Error(msg[status]); + } + } + } +} + +/** + * Inflate#push(data[, flush_mode]) -> Boolean + * - data (Uint8Array|ArrayBuffer): input data + * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE + * flush modes. See constants. Skipped or `false` means Z_NO_FLUSH, + * `true` means Z_FINISH. + * + * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with + * new output chunks. Returns `true` on success. If end of stream detected, + * [[Inflate#onEnd]] will be called. + * + * `flush_mode` is not needed for normal operation, because end of stream + * detected automatically. You may try to use it for advanced things, but + * this functionality was not tested. + * + * On fail call [[Inflate#onEnd]] with error code and return false. + * + * ##### Example + * + * ```javascript + * push(chunk, false); // push one of data chunks + * ... + * push(chunk, true); // push last chunk + * ``` + **/ +Inflate.prototype.push = function (data, flush_mode) { + const strm = this.strm; + const chunkSize = this.options.chunkSize; + const dictionary = this.options.dictionary; + let status, _flush_mode, last_avail_out; + + if (this.ended) return false; + + if (flush_mode === ~~flush_mode) _flush_mode = flush_mode; + else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH; + + // Convert data if needed + if (toString.call(data) === '[object ArrayBuffer]') { + strm.input = new Uint8Array(data); + } else { + strm.input = data; + } + + strm.next_in = 0; + strm.avail_in = strm.input.length; + + for (;;) { + if (strm.avail_out === 0) { + strm.output = new Uint8Array(chunkSize); + strm.next_out = 0; + strm.avail_out = chunkSize; + } + + status = zlib_inflate.inflate(strm, _flush_mode); + + if (status === Z_NEED_DICT && dictionary) { + status = zlib_inflate.inflateSetDictionary(strm, dictionary); + + if (status === Z_OK) { + status = zlib_inflate.inflate(strm, _flush_mode); + } else if (status === Z_DATA_ERROR) { + // Replace code with more verbose + status = Z_NEED_DICT; + } + } + + // Skip snyc markers if more data follows and not raw mode + while (strm.avail_in > 0 && + status === Z_STREAM_END && + strm.state.wrap > 0 && + data[strm.next_in] !== 0) + { + zlib_inflate.inflateReset(strm); + status = zlib_inflate.inflate(strm, _flush_mode); + } + + switch (status) { + case Z_STREAM_ERROR: + case Z_DATA_ERROR: + case Z_NEED_DICT: + case Z_MEM_ERROR: + this.onEnd(status); + this.ended = true; + return false; + } + + // Remember real `avail_out` value, because we may patch out buffer content + // to align utf8 strings boundaries. + last_avail_out = strm.avail_out; + + if (strm.next_out) { + if (strm.avail_out === 0 || status === Z_STREAM_END) { + + if (this.options.to === 'string') { + + let next_out_utf8 = strings.utf8border(strm.output, strm.next_out); + + let tail = strm.next_out - next_out_utf8; + let utf8str = strings.buf2string(strm.output, next_out_utf8); + + // move tail & realign counters + strm.next_out = tail; + strm.avail_out = chunkSize - tail; + if (tail) strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0); + + this.onData(utf8str); + + } else { + this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out)); + } + } + } + + // Must repeat iteration if out buffer is full + if (status === Z_OK && last_avail_out === 0) continue; + + // Finalize if end of stream reached. + if (status === Z_STREAM_END) { + status = zlib_inflate.inflateEnd(this.strm); + this.onEnd(status); + this.ended = true; + return true; + } + + if (strm.avail_in === 0) break; + } + + return true; +}; + + +/** + * Inflate#onData(chunk) -> Void + * - chunk (Uint8Array|String): output data. When string output requested, + * each chunk will be string. + * + * By default, stores data blocks in `chunks[]` property and glue + * those in `onEnd`. Override this handler, if you need another behaviour. + **/ +Inflate.prototype.onData = function (chunk) { + this.chunks.push(chunk); +}; + + +/** + * Inflate#onEnd(status) -> Void + * - status (Number): inflate status. 0 (Z_OK) on success, + * other if not. + * + * Called either after you tell inflate that the input stream is + * complete (Z_FINISH). By default - join collected chunks, + * free memory and fill `results` / `err` properties. + **/ +Inflate.prototype.onEnd = function (status) { + // On success - join + if (status === Z_OK) { + if (this.options.to === 'string') { + this.result = this.chunks.join(''); + } else { + this.result = utils.flattenChunks(this.chunks); + } + } + this.chunks = []; + this.err = status; + this.msg = this.strm.msg; +}; + + +/** + * inflate(data[, options]) -> Uint8Array|String + * - data (Uint8Array): input data to decompress. + * - options (Object): zlib inflate options. + * + * Decompress `data` with inflate/ungzip and `options`. Autodetect + * format via wrapper header by default. That's why we don't provide + * separate `ungzip` method. + * + * Supported options are: + * + * - windowBits + * + * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced) + * for more information. + * + * Sugar (options): + * + * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify + * negative windowBits implicitly. + * - `to` (String) - if equal to 'string', then result will be converted + * from utf8 to utf16 (javascript) string. When string output requested, + * chunk length can differ from `chunkSize`, depending on content. + * + * + * ##### Example: + * + * ```javascript + * const pako = require('pako'); + * const input = pako.deflate(new Uint8Array([1,2,3,4,5,6,7,8,9])); + * let output; + * + * try { + * output = pako.inflate(input); + * } catch (err) { + * console.log(err); + * } + * ``` + **/ +function inflate(input, options) { + const inflator = new Inflate(options); + + inflator.push(input); + + // That will never happens, if you don't cheat with options :) + if (inflator.err) throw inflator.msg || msg[inflator.err]; + + return inflator.result; +} + + +/** + * inflateRaw(data[, options]) -> Uint8Array|String + * - data (Uint8Array): input data to decompress. + * - options (Object): zlib inflate options. + * + * The same as [[inflate]], but creates raw data, without wrapper + * (header and adler32 crc). + **/ +function inflateRaw(input, options) { + options = options || {}; + options.raw = true; + return inflate(input, options); +} + + +/** + * ungzip(data[, options]) -> Uint8Array|String + * - data (Uint8Array): input data to decompress. + * - options (Object): zlib inflate options. + * + * Just shortcut to [[inflate]], because it autodetects format + * by header.content. Done for convenience. + **/ + + +module.exports.Inflate = Inflate; +module.exports.inflate = inflate; +module.exports.inflateRaw = inflateRaw; +module.exports.ungzip = inflate; +module.exports.constants = __nccwpck_require__(58282); + + +/***/ }), + +/***/ 5483: +/***/ ((module) => { + +"use strict"; + + + +const _has = (obj, key) => { + return Object.prototype.hasOwnProperty.call(obj, key); +}; + +module.exports.assign = function (obj /*from1, from2, from3, ...*/) { + const sources = Array.prototype.slice.call(arguments, 1); + while (sources.length) { + const source = sources.shift(); + if (!source) { continue; } + + if (typeof source !== 'object') { + throw new TypeError(source + 'must be non-object'); + } + + for (const p in source) { + if (_has(source, p)) { + obj[p] = source[p]; + } + } + } + + return obj; +}; + + +// Join array of chunks to single array. +module.exports.flattenChunks = (chunks) => { + // calculate data length + let len = 0; + + for (let i = 0, l = chunks.length; i < l; i++) { + len += chunks[i].length; + } + + // join chunks + const result = new Uint8Array(len); + + for (let i = 0, pos = 0, l = chunks.length; i < l; i++) { + let chunk = chunks[i]; + result.set(chunk, pos); + pos += chunk.length; + } + + return result; +}; + + +/***/ }), + +/***/ 42380: +/***/ ((module) => { + +"use strict"; +// String encode/decode helpers + + + +// Quick check if we can use fast array to bin string conversion +// +// - apply(Array) can fail on Android 2.2 +// - apply(Uint8Array) can fail on iOS 5.1 Safari +// +let STR_APPLY_UIA_OK = true; + +try { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; } + + +// Table with utf8 lengths (calculated by first byte of sequence) +// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, +// because max possible codepoint is 0x10ffff +const _utf8len = new Uint8Array(256); +for (let q = 0; q < 256; q++) { + _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1); +} +_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start + + +// convert string to array (typed, when possible) +module.exports.string2buf = (str) => { + if (typeof TextEncoder === 'function' && TextEncoder.prototype.encode) { + return new TextEncoder().encode(str); + } + + let buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; + + // count binary size + for (m_pos = 0; m_pos < str_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) { + c2 = str.charCodeAt(m_pos + 1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; + } + + // allocate buffer + buf = new Uint8Array(buf_len); + + // convert + for (i = 0, m_pos = 0; i < buf_len; m_pos++) { + c = str.charCodeAt(m_pos); + if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) { + c2 = str.charCodeAt(m_pos + 1); + if ((c2 & 0xfc00) === 0xdc00) { + c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); + m_pos++; + } + } + if (c < 0x80) { + /* one byte */ + buf[i++] = c; + } else if (c < 0x800) { + /* two bytes */ + buf[i++] = 0xC0 | (c >>> 6); + buf[i++] = 0x80 | (c & 0x3f); + } else if (c < 0x10000) { + /* three bytes */ + buf[i++] = 0xE0 | (c >>> 12); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } else { + /* four bytes */ + buf[i++] = 0xf0 | (c >>> 18); + buf[i++] = 0x80 | (c >>> 12 & 0x3f); + buf[i++] = 0x80 | (c >>> 6 & 0x3f); + buf[i++] = 0x80 | (c & 0x3f); + } + } + + return buf; +}; + +// Helper +const buf2binstring = (buf, len) => { + // On Chrome, the arguments in a function call that are allowed is `65534`. + // If the length of the buffer is smaller than that, we can use this optimization, + // otherwise we will take a slower path. + if (len < 65534) { + if (buf.subarray && STR_APPLY_UIA_OK) { + return String.fromCharCode.apply(null, buf.length === len ? buf : buf.subarray(0, len)); + } + } + + let result = ''; + for (let i = 0; i < len; i++) { + result += String.fromCharCode(buf[i]); + } + return result; +}; + + +// convert array to string +module.exports.buf2string = (buf, max) => { + const len = max || buf.length; + + if (typeof TextDecoder === 'function' && TextDecoder.prototype.decode) { + return new TextDecoder().decode(buf.subarray(0, max)); + } + + let i, out; + + // Reserve max possible length (2 words per char) + // NB: by unknown reasons, Array is significantly faster for + // String.fromCharCode.apply than Uint16Array. + const utf16buf = new Array(len * 2); + + for (out = 0, i = 0; i < len;) { + let c = buf[i++]; + // quick process ascii + if (c < 0x80) { utf16buf[out++] = c; continue; } + + let c_len = _utf8len[c]; + // skip 5 & 6 byte codes + if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; } + + // apply mask on first byte + c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; + // join the rest + while (c_len > 1 && i < len) { + c = (c << 6) | (buf[i++] & 0x3f); + c_len--; + } + + // terminated by end of string? + if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } + + if (c < 0x10000) { + utf16buf[out++] = c; + } else { + c -= 0x10000; + utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); + utf16buf[out++] = 0xdc00 | (c & 0x3ff); + } + } + + return buf2binstring(utf16buf, out); +}; + + +// Calculate max possible position in utf8 buffer, +// that will not break sequence. If that's not possible +// - (very small limits) return max size as is. +// +// buf[] - utf8 bytes array +// max - length limit (mandatory); +module.exports.utf8border = (buf, max) => { + + max = max || buf.length; + if (max > buf.length) { max = buf.length; } + + // go back from last position, until start of sequence found + let pos = max - 1; + while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } + + // Very small and broken sequence, + // return max, because we should return something anyway. + if (pos < 0) { return max; } + + // If we came to start of buffer - that means buffer is too small, + // return max too. + if (pos === 0) { return max; } + + return (pos + _utf8len[buf[pos]] > max) ? pos : max; +}; + + +/***/ }), + +/***/ 86924: +/***/ ((module) => { + +"use strict"; + + +// Note: adler32 takes 12% for level 0 and 2% for level 6. +// It isn't worth it to make additional optimizations as in original. +// Small size is preferable. + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +const adler32 = (adler, buf, len, pos) => { + let s1 = (adler & 0xffff) |0, + s2 = ((adler >>> 16) & 0xffff) |0, + n = 0; + + while (len !== 0) { + // Set limit ~ twice less than 5552, to keep + // s2 in 31-bits, because we force signed ints. + // in other case %= will fail. + n = len > 2000 ? 2000 : len; + len -= n; + + do { + s1 = (s1 + buf[pos++]) |0; + s2 = (s2 + s1) |0; + } while (--n); + + s1 %= 65521; + s2 %= 65521; + } + + return (s1 | (s2 << 16)) |0; +}; + + +module.exports = adler32; + + +/***/ }), + +/***/ 58282: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +module.exports = { + + /* Allowed flush values; see deflate() and inflate() below for details */ + Z_NO_FLUSH: 0, + Z_PARTIAL_FLUSH: 1, + Z_SYNC_FLUSH: 2, + Z_FULL_FLUSH: 3, + Z_FINISH: 4, + Z_BLOCK: 5, + Z_TREES: 6, + + /* Return codes for the compression/decompression functions. Negative values + * are errors, positive values are used for special but normal events. + */ + Z_OK: 0, + Z_STREAM_END: 1, + Z_NEED_DICT: 2, + Z_ERRNO: -1, + Z_STREAM_ERROR: -2, + Z_DATA_ERROR: -3, + Z_MEM_ERROR: -4, + Z_BUF_ERROR: -5, + //Z_VERSION_ERROR: -6, + + /* compression levels */ + Z_NO_COMPRESSION: 0, + Z_BEST_SPEED: 1, + Z_BEST_COMPRESSION: 9, + Z_DEFAULT_COMPRESSION: -1, + + + Z_FILTERED: 1, + Z_HUFFMAN_ONLY: 2, + Z_RLE: 3, + Z_FIXED: 4, + Z_DEFAULT_STRATEGY: 0, + + /* Possible values of the data_type field (though see inflate()) */ + Z_BINARY: 0, + Z_TEXT: 1, + //Z_ASCII: 1, // = Z_TEXT (deprecated) + Z_UNKNOWN: 2, + + /* The deflate compression method */ + Z_DEFLATED: 8 + //Z_NULL: null // Use -1 or null inline, depending on var type +}; + + +/***/ }), + +/***/ 87242: +/***/ ((module) => { + +"use strict"; + + +// Note: we can't get significant speed boost here. +// So write code to minimize size - no pregenerated tables +// and array tools dependencies. + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +// Use ordinary array, since untyped makes no boost here +const makeTable = () => { + let c, table = []; + + for (var n = 0; n < 256; n++) { + c = n; + for (var k = 0; k < 8; k++) { + c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); + } + table[n] = c; + } + + return table; +}; + +// Create table on load. Just 255 signed longs. Not a problem. +const crcTable = new Uint32Array(makeTable()); + + +const crc32 = (crc, buf, len, pos) => { + const t = crcTable; + const end = pos + len; + + crc ^= -1; + + for (let i = pos; i < end; i++) { + crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; + } + + return (crc ^ (-1)); // >>> 0; +}; + + +module.exports = crc32; + + +/***/ }), + +/***/ 70978: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +const { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = __nccwpck_require__(78754); +const adler32 = __nccwpck_require__(86924); +const crc32 = __nccwpck_require__(87242); +const msg = __nccwpck_require__(1890); + +/* Public constants ==========================================================*/ +/* ===========================================================================*/ + +const { + Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_FULL_FLUSH, Z_FINISH, Z_BLOCK, + Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_DATA_ERROR, Z_BUF_ERROR, + Z_DEFAULT_COMPRESSION, + Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY, + Z_UNKNOWN, + Z_DEFLATED +} = __nccwpck_require__(58282); + +/*============================================================================*/ + + +const MAX_MEM_LEVEL = 9; +/* Maximum value for memLevel in deflateInit2 */ +const MAX_WBITS = 15; +/* 32K LZ77 window */ +const DEF_MEM_LEVEL = 8; + + +const LENGTH_CODES = 29; +/* number of length codes, not counting the special END_BLOCK code */ +const LITERALS = 256; +/* number of literal bytes 0..255 */ +const L_CODES = LITERALS + 1 + LENGTH_CODES; +/* number of Literal or Length codes, including the END_BLOCK code */ +const D_CODES = 30; +/* number of distance codes */ +const BL_CODES = 19; +/* number of codes used to transfer the bit lengths */ +const HEAP_SIZE = 2 * L_CODES + 1; +/* maximum heap size */ +const MAX_BITS = 15; +/* All codes must not exceed MAX_BITS bits */ + +const MIN_MATCH = 3; +const MAX_MATCH = 258; +const MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1); + +const PRESET_DICT = 0x20; + +const INIT_STATE = 42; +const EXTRA_STATE = 69; +const NAME_STATE = 73; +const COMMENT_STATE = 91; +const HCRC_STATE = 103; +const BUSY_STATE = 113; +const FINISH_STATE = 666; + +const BS_NEED_MORE = 1; /* block not completed, need more input or more output */ +const BS_BLOCK_DONE = 2; /* block flush performed */ +const BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */ +const BS_FINISH_DONE = 4; /* finish done, accept no more input or output */ + +const OS_CODE = 0x03; // Unix :) . Don't detect, use this default. + +const err = (strm, errorCode) => { + strm.msg = msg[errorCode]; + return errorCode; +}; + +const rank = (f) => { + return ((f) << 1) - ((f) > 4 ? 9 : 0); +}; + +const zero = (buf) => { + let len = buf.length; while (--len >= 0) { buf[len] = 0; } +}; + + +/* eslint-disable new-cap */ +let HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask; +// This hash causes less collisions, https://github.com/nodeca/pako/issues/135 +// But breaks binary compatibility +//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask; +let HASH = HASH_ZLIB; + +/* ========================================================================= + * Flush as much pending output as possible. All deflate() output goes + * through this function so some applications may wish to modify it + * to avoid allocating a large strm->output buffer and copying into it. + * (See also read_buf()). + */ +const flush_pending = (strm) => { + const s = strm.state; + + //_tr_flush_bits(s); + let len = s.pending; + if (len > strm.avail_out) { + len = strm.avail_out; + } + if (len === 0) { return; } + + strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out); + strm.next_out += len; + s.pending_out += len; + strm.total_out += len; + strm.avail_out -= len; + s.pending -= len; + if (s.pending === 0) { + s.pending_out = 0; + } +}; + + +const flush_block_only = (s, last) => { + _tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last); + s.block_start = s.strstart; + flush_pending(s.strm); +}; + + +const put_byte = (s, b) => { + s.pending_buf[s.pending++] = b; +}; + + +/* ========================================================================= + * Put a short in the pending buffer. The 16-bit value is put in MSB order. + * IN assertion: the stream state is correct and there is enough room in + * pending_buf. + */ +const putShortMSB = (s, b) => { + + // put_byte(s, (Byte)(b >> 8)); +// put_byte(s, (Byte)(b & 0xff)); + s.pending_buf[s.pending++] = (b >>> 8) & 0xff; + s.pending_buf[s.pending++] = b & 0xff; +}; + + +/* =========================================================================== + * Read a new buffer from the current input stream, update the adler32 + * and total number of bytes read. All deflate() input goes through + * this function so some applications may wish to modify it to avoid + * allocating a large strm->input buffer and copying from it. + * (See also flush_pending()). + */ +const read_buf = (strm, buf, start, size) => { + + let len = strm.avail_in; + + if (len > size) { len = size; } + if (len === 0) { return 0; } + + strm.avail_in -= len; + + // zmemcpy(buf, strm->next_in, len); + buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start); + if (strm.state.wrap === 1) { + strm.adler = adler32(strm.adler, buf, len, start); + } + + else if (strm.state.wrap === 2) { + strm.adler = crc32(strm.adler, buf, len, start); + } + + strm.next_in += len; + strm.total_in += len; + + return len; +}; + + +/* =========================================================================== + * Set match_start to the longest match starting at the given string and + * return its length. Matches shorter or equal to prev_length are discarded, + * in which case the result is equal to prev_length and match_start is + * garbage. + * IN assertions: cur_match is the head of the hash chain for the current + * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1 + * OUT assertion: the match length is not greater than s->lookahead. + */ +const longest_match = (s, cur_match) => { + + let chain_length = s.max_chain_length; /* max hash chain length */ + let scan = s.strstart; /* current string */ + let match; /* matched string */ + let len; /* length of current match */ + let best_len = s.prev_length; /* best match length so far */ + let nice_match = s.nice_match; /* stop if match long enough */ + const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ? + s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/; + + const _win = s.window; // shortcut + + const wmask = s.w_mask; + const prev = s.prev; + + /* Stop when cur_match becomes <= limit. To simplify the code, + * we prevent matches with the string of window index 0. + */ + + const strend = s.strstart + MAX_MATCH; + let scan_end1 = _win[scan + best_len - 1]; + let scan_end = _win[scan + best_len]; + + /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16. + * It is easy to get rid of this optimization if necessary. + */ + // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); + + /* Do not waste too much time if we already have a good match: */ + if (s.prev_length >= s.good_match) { + chain_length >>= 2; + } + /* Do not look for matches beyond the end of the input. This is necessary + * to make deflate deterministic. + */ + if (nice_match > s.lookahead) { nice_match = s.lookahead; } + + // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); + + do { + // Assert(cur_match < s->strstart, "no future"); + match = cur_match; + + /* Skip to next match if the match length cannot increase + * or if the match length is less than 2. Note that the checks below + * for insufficient lookahead only occur occasionally for performance + * reasons. Therefore uninitialized memory will be accessed, and + * conditional jumps will be made that depend on those values. + * However the length of the match is limited to the lookahead, so + * the output of deflate is not affected by the uninitialized values. + */ + + if (_win[match + best_len] !== scan_end || + _win[match + best_len - 1] !== scan_end1 || + _win[match] !== _win[scan] || + _win[++match] !== _win[scan + 1]) { + continue; + } + + /* The check at best_len-1 can be removed because it will be made + * again later. (This heuristic is not always a win.) + * It is not necessary to compare scan[2] and match[2] since they + * are always equal when the other bytes match, given that + * the hash keys are equal and that HASH_BITS >= 8. + */ + scan += 2; + match++; + // Assert(*scan == *match, "match[2]?"); + + /* We check for insufficient lookahead only every 8th comparison; + * the 256th check will be made at strstart+258. + */ + do { + /*jshint noempty:false*/ + } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] && + _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && + _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && + _win[++scan] === _win[++match] && _win[++scan] === _win[++match] && + scan < strend); + + // Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); + + len = MAX_MATCH - (strend - scan); + scan = strend - MAX_MATCH; + + if (len > best_len) { + s.match_start = cur_match; + best_len = len; + if (len >= nice_match) { + break; + } + scan_end1 = _win[scan + best_len - 1]; + scan_end = _win[scan + best_len]; + } + } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0); + + if (best_len <= s.lookahead) { + return best_len; + } + return s.lookahead; +}; + + +/* =========================================================================== + * Fill the window when the lookahead becomes insufficient. + * Updates strstart and lookahead. + * + * IN assertion: lookahead < MIN_LOOKAHEAD + * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD + * At least one byte has been read, or avail_in == 0; reads are + * performed for at least two bytes (required for the zip translate_eol + * option -- not supported here). + */ +const fill_window = (s) => { + + const _w_size = s.w_size; + let p, n, m, more, str; + + //Assert(s->lookahead < MIN_LOOKAHEAD, "already enough lookahead"); + + do { + more = s.window_size - s.lookahead - s.strstart; + + // JS ints have 32 bit, block below not needed + /* Deal with !@#$% 64K limit: */ + //if (sizeof(int) <= 2) { + // if (more == 0 && s->strstart == 0 && s->lookahead == 0) { + // more = wsize; + // + // } else if (more == (unsigned)(-1)) { + // /* Very unlikely, but possible on 16 bit machine if + // * strstart == 0 && lookahead == 1 (input done a byte at time) + // */ + // more--; + // } + //} + + + /* If the window is almost full and there is insufficient lookahead, + * move the upper half to the lower one to make room in the upper half. + */ + if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) { + + s.window.set(s.window.subarray(_w_size, _w_size + _w_size), 0); + s.match_start -= _w_size; + s.strstart -= _w_size; + /* we now have strstart >= MAX_DIST */ + s.block_start -= _w_size; + + /* Slide the hash table (could be avoided with 32 bit values + at the expense of memory usage). We slide even when level == 0 + to keep the hash table consistent if we switch back to level > 0 + later. (Using level 0 permanently is not an optimal usage of + zlib, so we don't care about this pathological case.) + */ + + n = s.hash_size; + p = n; + + do { + m = s.head[--p]; + s.head[p] = (m >= _w_size ? m - _w_size : 0); + } while (--n); + + n = _w_size; + p = n; + + do { + m = s.prev[--p]; + s.prev[p] = (m >= _w_size ? m - _w_size : 0); + /* If n is not on any hash chain, prev[n] is garbage but + * its value will never be used. + */ + } while (--n); + + more += _w_size; + } + if (s.strm.avail_in === 0) { + break; + } + + /* If there was no sliding: + * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 && + * more == window_size - lookahead - strstart + * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1) + * => more >= window_size - 2*WSIZE + 2 + * In the BIG_MEM or MMAP case (not yet supported), + * window_size == input_size + MIN_LOOKAHEAD && + * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD. + * Otherwise, window_size == 2*WSIZE so more >= 2. + * If there was sliding, more >= WSIZE. So in all cases, more >= 2. + */ + //Assert(more >= 2, "more < 2"); + n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more); + s.lookahead += n; + + /* Initialize the hash value now that we have some input: */ + if (s.lookahead + s.insert >= MIN_MATCH) { + str = s.strstart - s.insert; + s.ins_h = s.window[str]; + + /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */ + s.ins_h = HASH(s, s.ins_h, s.window[str + 1]); +//#if MIN_MATCH != 3 +// Call update_hash() MIN_MATCH-3 more times +//#endif + while (s.insert) { + /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */ + s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]); + + s.prev[str & s.w_mask] = s.head[s.ins_h]; + s.head[s.ins_h] = str; + str++; + s.insert--; + if (s.lookahead + s.insert < MIN_MATCH) { + break; + } + } + } + /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage, + * but this is not important since only literal bytes will be emitted. + */ + + } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0); + + /* If the WIN_INIT bytes after the end of the current data have never been + * written, then zero those bytes in order to avoid memory check reports of + * the use of uninitialized (or uninitialised as Julian writes) bytes by + * the longest match routines. Update the high water mark for the next + * time through here. WIN_INIT is set to MAX_MATCH since the longest match + * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead. + */ +// if (s.high_water < s.window_size) { +// const curr = s.strstart + s.lookahead; +// let init = 0; +// +// if (s.high_water < curr) { +// /* Previous high water mark below current data -- zero WIN_INIT +// * bytes or up to end of window, whichever is less. +// */ +// init = s.window_size - curr; +// if (init > WIN_INIT) +// init = WIN_INIT; +// zmemzero(s->window + curr, (unsigned)init); +// s->high_water = curr + init; +// } +// else if (s->high_water < (ulg)curr + WIN_INIT) { +// /* High water mark at or above current data, but below current data +// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up +// * to end of window, whichever is less. +// */ +// init = (ulg)curr + WIN_INIT - s->high_water; +// if (init > s->window_size - s->high_water) +// init = s->window_size - s->high_water; +// zmemzero(s->window + s->high_water, (unsigned)init); +// s->high_water += init; +// } +// } +// +// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD, +// "not enough room for search"); +}; + +/* =========================================================================== + * Copy without compression as much as possible from the input stream, return + * the current block state. + * This function does not insert new strings in the dictionary since + * uncompressible data is probably not useful. This function is used + * only for the level=0 compression option. + * NOTE: this function should be optimized to avoid extra copying from + * window to pending_buf. + */ +const deflate_stored = (s, flush) => { + + /* Stored blocks are limited to 0xffff bytes, pending_buf is limited + * to pending_buf_size, and each stored block has a 5 byte header: + */ + let max_block_size = 0xffff; + + if (max_block_size > s.pending_buf_size - 5) { + max_block_size = s.pending_buf_size - 5; + } + + /* Copy as much as possible from input to output: */ + for (;;) { + /* Fill the window as much as possible: */ + if (s.lookahead <= 1) { + + //Assert(s->strstart < s->w_size+MAX_DIST(s) || + // s->block_start >= (long)s->w_size, "slide too late"); +// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) || +// s.block_start >= s.w_size)) { +// throw new Error("slide too late"); +// } + + fill_window(s); + if (s.lookahead === 0 && flush === Z_NO_FLUSH) { + return BS_NEED_MORE; + } + + if (s.lookahead === 0) { + break; + } + /* flush the current block */ + } + //Assert(s->block_start >= 0L, "block gone"); +// if (s.block_start < 0) throw new Error("block gone"); + + s.strstart += s.lookahead; + s.lookahead = 0; + + /* Emit a stored block if pending_buf will be full: */ + const max_start = s.block_start + max_block_size; + + if (s.strstart === 0 || s.strstart >= max_start) { + /* strstart == 0 is possible when wraparound on 16-bit machine */ + s.lookahead = s.strstart - max_start; + s.strstart = max_start; + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + + + } + /* Flush if we may have to slide, otherwise block_start may become + * negative and the data will be gone: + */ + if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + } + + s.insert = 0; + + if (flush === Z_FINISH) { + /*** FLUSH_BLOCK(s, 1); ***/ + flush_block_only(s, true); + if (s.strm.avail_out === 0) { + return BS_FINISH_STARTED; + } + /***/ + return BS_FINISH_DONE; + } + + if (s.strstart > s.block_start) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + + return BS_NEED_MORE; +}; + +/* =========================================================================== + * Compress as much as possible from the input stream, return the current + * block state. + * This function does not perform lazy evaluation of matches and inserts + * new strings in the dictionary only for unmatched strings or for short + * matches. It is used only for the fast compression options. + */ +const deflate_fast = (s, flush) => { + + let hash_head; /* head of the hash chain */ + let bflush; /* set if current block must be flushed */ + + for (;;) { + /* Make sure that we always have enough lookahead, except + * at the end of the input file. We need MAX_MATCH bytes + * for the next match, plus MIN_MATCH bytes to insert the + * string following the next match. + */ + if (s.lookahead < MIN_LOOKAHEAD) { + fill_window(s); + if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) { + return BS_NEED_MORE; + } + if (s.lookahead === 0) { + break; /* flush the current block */ + } + } + + /* Insert the string window[strstart .. strstart+2] in the + * dictionary, and set hash_head to the head of the hash chain: + */ + hash_head = 0/*NIL*/; + if (s.lookahead >= MIN_MATCH) { + /*** INSERT_STRING(s, s.strstart, hash_head); ***/ + s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]); + hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; + s.head[s.ins_h] = s.strstart; + /***/ + } + + /* Find the longest match, discarding those <= prev_length. + * At this point we have always match_length < MIN_MATCH + */ + if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) { + /* To simplify the code, we prevent matches with the string + * of window index 0 (in particular we have to avoid a match + * of the string with itself at the start of the input file). + */ + s.match_length = longest_match(s, hash_head); + /* longest_match() sets match_start */ + } + if (s.match_length >= MIN_MATCH) { + // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only + + /*** _tr_tally_dist(s, s.strstart - s.match_start, + s.match_length - MIN_MATCH, bflush); ***/ + bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH); + + s.lookahead -= s.match_length; + + /* Insert new strings in the hash table only if the match length + * is not too large. This saves time but degrades compression. + */ + if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) { + s.match_length--; /* string at strstart already in table */ + do { + s.strstart++; + /*** INSERT_STRING(s, s.strstart, hash_head); ***/ + s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]); + hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; + s.head[s.ins_h] = s.strstart; + /***/ + /* strstart never exceeds WSIZE-MAX_MATCH, so there are + * always MIN_MATCH bytes ahead. + */ + } while (--s.match_length !== 0); + s.strstart++; + } else + { + s.strstart += s.match_length; + s.match_length = 0; + s.ins_h = s.window[s.strstart]; + /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */ + s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]); + +//#if MIN_MATCH != 3 +// Call UPDATE_HASH() MIN_MATCH-3 more times +//#endif + /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not + * matter since it will be recomputed at next deflate call. + */ + } + } else { + /* No match, output a literal byte */ + //Tracevv((stderr,"%c", s.window[s.strstart])); + /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ + bflush = _tr_tally(s, 0, s.window[s.strstart]); + + s.lookahead--; + s.strstart++; + } + if (bflush) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + } + s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1); + if (flush === Z_FINISH) { + /*** FLUSH_BLOCK(s, 1); ***/ + flush_block_only(s, true); + if (s.strm.avail_out === 0) { + return BS_FINISH_STARTED; + } + /***/ + return BS_FINISH_DONE; + } + if (s.last_lit) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + return BS_BLOCK_DONE; +}; + +/* =========================================================================== + * Same as above, but achieves better compression. We use a lazy + * evaluation for matches: a match is finally adopted only if there is + * no better match at the next window position. + */ +const deflate_slow = (s, flush) => { + + let hash_head; /* head of hash chain */ + let bflush; /* set if current block must be flushed */ + + let max_insert; + + /* Process the input block. */ + for (;;) { + /* Make sure that we always have enough lookahead, except + * at the end of the input file. We need MAX_MATCH bytes + * for the next match, plus MIN_MATCH bytes to insert the + * string following the next match. + */ + if (s.lookahead < MIN_LOOKAHEAD) { + fill_window(s); + if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) { + return BS_NEED_MORE; + } + if (s.lookahead === 0) { break; } /* flush the current block */ + } + + /* Insert the string window[strstart .. strstart+2] in the + * dictionary, and set hash_head to the head of the hash chain: + */ + hash_head = 0/*NIL*/; + if (s.lookahead >= MIN_MATCH) { + /*** INSERT_STRING(s, s.strstart, hash_head); ***/ + s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]); + hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; + s.head[s.ins_h] = s.strstart; + /***/ + } + + /* Find the longest match, discarding those <= prev_length. + */ + s.prev_length = s.match_length; + s.prev_match = s.match_start; + s.match_length = MIN_MATCH - 1; + + if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match && + s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) { + /* To simplify the code, we prevent matches with the string + * of window index 0 (in particular we have to avoid a match + * of the string with itself at the start of the input file). + */ + s.match_length = longest_match(s, hash_head); + /* longest_match() sets match_start */ + + if (s.match_length <= 5 && + (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) { + + /* If prev_match is also MIN_MATCH, match_start is garbage + * but we will ignore the current match anyway. + */ + s.match_length = MIN_MATCH - 1; + } + } + /* If there was a match at the previous step and the current + * match is not better, output the previous match: + */ + if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) { + max_insert = s.strstart + s.lookahead - MIN_MATCH; + /* Do not insert strings in hash table beyond this. */ + + //check_match(s, s.strstart-1, s.prev_match, s.prev_length); + + /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match, + s.prev_length - MIN_MATCH, bflush);***/ + bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH); + /* Insert in hash table all strings up to the end of the match. + * strstart-1 and strstart are already inserted. If there is not + * enough lookahead, the last two strings are not inserted in + * the hash table. + */ + s.lookahead -= s.prev_length - 1; + s.prev_length -= 2; + do { + if (++s.strstart <= max_insert) { + /*** INSERT_STRING(s, s.strstart, hash_head); ***/ + s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]); + hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h]; + s.head[s.ins_h] = s.strstart; + /***/ + } + } while (--s.prev_length !== 0); + s.match_available = 0; + s.match_length = MIN_MATCH - 1; + s.strstart++; + + if (bflush) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + + } else if (s.match_available) { + /* If there was no match at the previous position, output a + * single literal. If there was a match but the current match + * is longer, truncate the previous match to a single literal. + */ + //Tracevv((stderr,"%c", s->window[s->strstart-1])); + /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/ + bflush = _tr_tally(s, 0, s.window[s.strstart - 1]); + + if (bflush) { + /*** FLUSH_BLOCK_ONLY(s, 0) ***/ + flush_block_only(s, false); + /***/ + } + s.strstart++; + s.lookahead--; + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + } else { + /* There is no previous match to compare with, wait for + * the next step to decide. + */ + s.match_available = 1; + s.strstart++; + s.lookahead--; + } + } + //Assert (flush != Z_NO_FLUSH, "no flush?"); + if (s.match_available) { + //Tracevv((stderr,"%c", s->window[s->strstart-1])); + /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/ + bflush = _tr_tally(s, 0, s.window[s.strstart - 1]); + + s.match_available = 0; + } + s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1; + if (flush === Z_FINISH) { + /*** FLUSH_BLOCK(s, 1); ***/ + flush_block_only(s, true); + if (s.strm.avail_out === 0) { + return BS_FINISH_STARTED; + } + /***/ + return BS_FINISH_DONE; + } + if (s.last_lit) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + + return BS_BLOCK_DONE; +}; + + +/* =========================================================================== + * For Z_RLE, simply look for runs of bytes, generate matches only of distance + * one. Do not maintain a hash table. (It will be regenerated if this run of + * deflate switches away from Z_RLE.) + */ +const deflate_rle = (s, flush) => { + + let bflush; /* set if current block must be flushed */ + let prev; /* byte at distance one to match */ + let scan, strend; /* scan goes up to strend for length of run */ + + const _win = s.window; + + for (;;) { + /* Make sure that we always have enough lookahead, except + * at the end of the input file. We need MAX_MATCH bytes + * for the longest run, plus one for the unrolled loop. + */ + if (s.lookahead <= MAX_MATCH) { + fill_window(s); + if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) { + return BS_NEED_MORE; + } + if (s.lookahead === 0) { break; } /* flush the current block */ + } + + /* See how many times the previous byte repeats */ + s.match_length = 0; + if (s.lookahead >= MIN_MATCH && s.strstart > 0) { + scan = s.strstart - 1; + prev = _win[scan]; + if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) { + strend = s.strstart + MAX_MATCH; + do { + /*jshint noempty:false*/ + } while (prev === _win[++scan] && prev === _win[++scan] && + prev === _win[++scan] && prev === _win[++scan] && + prev === _win[++scan] && prev === _win[++scan] && + prev === _win[++scan] && prev === _win[++scan] && + scan < strend); + s.match_length = MAX_MATCH - (strend - scan); + if (s.match_length > s.lookahead) { + s.match_length = s.lookahead; + } + } + //Assert(scan <= s->window+(uInt)(s->window_size-1), "wild scan"); + } + + /* Emit match if have run of MIN_MATCH or longer, else emit literal */ + if (s.match_length >= MIN_MATCH) { + //check_match(s, s.strstart, s.strstart - 1, s.match_length); + + /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/ + bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH); + + s.lookahead -= s.match_length; + s.strstart += s.match_length; + s.match_length = 0; + } else { + /* No match, output a literal byte */ + //Tracevv((stderr,"%c", s->window[s->strstart])); + /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ + bflush = _tr_tally(s, 0, s.window[s.strstart]); + + s.lookahead--; + s.strstart++; + } + if (bflush) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + } + s.insert = 0; + if (flush === Z_FINISH) { + /*** FLUSH_BLOCK(s, 1); ***/ + flush_block_only(s, true); + if (s.strm.avail_out === 0) { + return BS_FINISH_STARTED; + } + /***/ + return BS_FINISH_DONE; + } + if (s.last_lit) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + return BS_BLOCK_DONE; +}; + +/* =========================================================================== + * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table. + * (It will be regenerated if this run of deflate switches away from Huffman.) + */ +const deflate_huff = (s, flush) => { + + let bflush; /* set if current block must be flushed */ + + for (;;) { + /* Make sure that we have a literal to write. */ + if (s.lookahead === 0) { + fill_window(s); + if (s.lookahead === 0) { + if (flush === Z_NO_FLUSH) { + return BS_NEED_MORE; + } + break; /* flush the current block */ + } + } + + /* Output a literal byte */ + s.match_length = 0; + //Tracevv((stderr,"%c", s->window[s->strstart])); + /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/ + bflush = _tr_tally(s, 0, s.window[s.strstart]); + s.lookahead--; + s.strstart++; + if (bflush) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + } + s.insert = 0; + if (flush === Z_FINISH) { + /*** FLUSH_BLOCK(s, 1); ***/ + flush_block_only(s, true); + if (s.strm.avail_out === 0) { + return BS_FINISH_STARTED; + } + /***/ + return BS_FINISH_DONE; + } + if (s.last_lit) { + /*** FLUSH_BLOCK(s, 0); ***/ + flush_block_only(s, false); + if (s.strm.avail_out === 0) { + return BS_NEED_MORE; + } + /***/ + } + return BS_BLOCK_DONE; +}; + +/* Values for max_lazy_match, good_match and max_chain_length, depending on + * the desired pack level (0..9). The values given below have been tuned to + * exclude worst case performance for pathological files. Better values may be + * found for specific files. + */ +function Config(good_length, max_lazy, nice_length, max_chain, func) { + + this.good_length = good_length; + this.max_lazy = max_lazy; + this.nice_length = nice_length; + this.max_chain = max_chain; + this.func = func; +} + +const configuration_table = [ + /* good lazy nice chain */ + new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */ + new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */ + new Config(4, 5, 16, 8, deflate_fast), /* 2 */ + new Config(4, 6, 32, 32, deflate_fast), /* 3 */ + + new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */ + new Config(8, 16, 32, 32, deflate_slow), /* 5 */ + new Config(8, 16, 128, 128, deflate_slow), /* 6 */ + new Config(8, 32, 128, 256, deflate_slow), /* 7 */ + new Config(32, 128, 258, 1024, deflate_slow), /* 8 */ + new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */ +]; + + +/* =========================================================================== + * Initialize the "longest match" routines for a new zlib stream + */ +const lm_init = (s) => { + + s.window_size = 2 * s.w_size; + + /*** CLEAR_HASH(s); ***/ + zero(s.head); // Fill with NIL (= 0); + + /* Set the default configuration parameters: + */ + s.max_lazy_match = configuration_table[s.level].max_lazy; + s.good_match = configuration_table[s.level].good_length; + s.nice_match = configuration_table[s.level].nice_length; + s.max_chain_length = configuration_table[s.level].max_chain; + + s.strstart = 0; + s.block_start = 0; + s.lookahead = 0; + s.insert = 0; + s.match_length = s.prev_length = MIN_MATCH - 1; + s.match_available = 0; + s.ins_h = 0; +}; + + +function DeflateState() { + this.strm = null; /* pointer back to this zlib stream */ + this.status = 0; /* as the name implies */ + this.pending_buf = null; /* output still pending */ + this.pending_buf_size = 0; /* size of pending_buf */ + this.pending_out = 0; /* next pending byte to output to the stream */ + this.pending = 0; /* nb of bytes in the pending buffer */ + this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */ + this.gzhead = null; /* gzip header information to write */ + this.gzindex = 0; /* where in extra, name, or comment */ + this.method = Z_DEFLATED; /* can only be DEFLATED */ + this.last_flush = -1; /* value of flush param for previous deflate call */ + + this.w_size = 0; /* LZ77 window size (32K by default) */ + this.w_bits = 0; /* log2(w_size) (8..16) */ + this.w_mask = 0; /* w_size - 1 */ + + this.window = null; + /* Sliding window. Input bytes are read into the second half of the window, + * and move to the first half later to keep a dictionary of at least wSize + * bytes. With this organization, matches are limited to a distance of + * wSize-MAX_MATCH bytes, but this ensures that IO is always + * performed with a length multiple of the block size. + */ + + this.window_size = 0; + /* Actual size of window: 2*wSize, except when the user input buffer + * is directly used as sliding window. + */ + + this.prev = null; + /* Link to older string with same hash index. To limit the size of this + * array to 64K, this link is maintained only for the last 32K strings. + * An index in this array is thus a window index modulo 32K. + */ + + this.head = null; /* Heads of the hash chains or NIL. */ + + this.ins_h = 0; /* hash index of string to be inserted */ + this.hash_size = 0; /* number of elements in hash table */ + this.hash_bits = 0; /* log2(hash_size) */ + this.hash_mask = 0; /* hash_size-1 */ + + this.hash_shift = 0; + /* Number of bits by which ins_h must be shifted at each input + * step. It must be such that after MIN_MATCH steps, the oldest + * byte no longer takes part in the hash key, that is: + * hash_shift * MIN_MATCH >= hash_bits + */ + + this.block_start = 0; + /* Window position at the beginning of the current output block. Gets + * negative when the window is moved backwards. + */ + + this.match_length = 0; /* length of best match */ + this.prev_match = 0; /* previous match */ + this.match_available = 0; /* set if previous match exists */ + this.strstart = 0; /* start of string to insert */ + this.match_start = 0; /* start of matching string */ + this.lookahead = 0; /* number of valid bytes ahead in window */ + + this.prev_length = 0; + /* Length of the best match at previous step. Matches not greater than this + * are discarded. This is used in the lazy match evaluation. + */ + + this.max_chain_length = 0; + /* To speed up deflation, hash chains are never searched beyond this + * length. A higher limit improves compression ratio but degrades the + * speed. + */ + + this.max_lazy_match = 0; + /* Attempt to find a better match only when the current match is strictly + * smaller than this value. This mechanism is used only for compression + * levels >= 4. + */ + // That's alias to max_lazy_match, don't use directly + //this.max_insert_length = 0; + /* Insert new strings in the hash table only if the match length is not + * greater than this length. This saves time but degrades compression. + * max_insert_length is used only for compression levels <= 3. + */ + + this.level = 0; /* compression level (1..9) */ + this.strategy = 0; /* favor or force Huffman coding*/ + + this.good_match = 0; + /* Use a faster search when the previous match is longer than this */ + + this.nice_match = 0; /* Stop searching when current match exceeds this */ + + /* used by trees.c: */ + + /* Didn't use ct_data typedef below to suppress compiler warning */ + + // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */ + // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */ + // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */ + + // Use flat array of DOUBLE size, with interleaved fata, + // because JS does not support effective + this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2); + this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2); + this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2); + zero(this.dyn_ltree); + zero(this.dyn_dtree); + zero(this.bl_tree); + + this.l_desc = null; /* desc. for literal tree */ + this.d_desc = null; /* desc. for distance tree */ + this.bl_desc = null; /* desc. for bit length tree */ + + //ush bl_count[MAX_BITS+1]; + this.bl_count = new Uint16Array(MAX_BITS + 1); + /* number of codes at each bit length for an optimal tree */ + + //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */ + this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */ + zero(this.heap); + + this.heap_len = 0; /* number of elements in the heap */ + this.heap_max = 0; /* element of largest frequency */ + /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used. + * The same heap array is used to build all trees. + */ + + this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1]; + zero(this.depth); + /* Depth of each subtree used as tie breaker for trees of equal frequency + */ + + this.l_buf = 0; /* buffer index for literals or lengths */ + + this.lit_bufsize = 0; + /* Size of match buffer for literals/lengths. There are 4 reasons for + * limiting lit_bufsize to 64K: + * - frequencies can be kept in 16 bit counters + * - if compression is not successful for the first block, all input + * data is still in the window so we can still emit a stored block even + * when input comes from standard input. (This can also be done for + * all blocks if lit_bufsize is not greater than 32K.) + * - if compression is not successful for a file smaller than 64K, we can + * even emit a stored file instead of a stored block (saving 5 bytes). + * This is applicable only for zip (not gzip or zlib). + * - creating new Huffman trees less frequently may not provide fast + * adaptation to changes in the input data statistics. (Take for + * example a binary file with poorly compressible code followed by + * a highly compressible string table.) Smaller buffer sizes give + * fast adaptation but have of course the overhead of transmitting + * trees more frequently. + * - I can't count above 4 + */ + + this.last_lit = 0; /* running index in l_buf */ + + this.d_buf = 0; + /* Buffer index for distances. To simplify the code, d_buf and l_buf have + * the same number of elements. To use different lengths, an extra flag + * array would be necessary. + */ + + this.opt_len = 0; /* bit length of current block with optimal trees */ + this.static_len = 0; /* bit length of current block with static trees */ + this.matches = 0; /* number of string matches in current block */ + this.insert = 0; /* bytes at end of window left to insert */ + + + this.bi_buf = 0; + /* Output buffer. bits are inserted starting at the bottom (least + * significant bits). + */ + this.bi_valid = 0; + /* Number of valid bits in bi_buf. All bits above the last valid bit + * are always zero. + */ + + // Used for window memory init. We safely ignore it for JS. That makes + // sense only for pointers and memory check tools. + //this.high_water = 0; + /* High water mark offset in window for initialized bytes -- bytes above + * this are set to zero in order to avoid memory check warnings when + * longest match routines access bytes past the input. This is then + * updated to the new high water mark. + */ +} + + +const deflateResetKeep = (strm) => { + + if (!strm || !strm.state) { + return err(strm, Z_STREAM_ERROR); + } + + strm.total_in = strm.total_out = 0; + strm.data_type = Z_UNKNOWN; + + const s = strm.state; + s.pending = 0; + s.pending_out = 0; + + if (s.wrap < 0) { + s.wrap = -s.wrap; + /* was made negative by deflate(..., Z_FINISH); */ + } + s.status = (s.wrap ? INIT_STATE : BUSY_STATE); + strm.adler = (s.wrap === 2) ? + 0 // crc32(0, Z_NULL, 0) + : + 1; // adler32(0, Z_NULL, 0) + s.last_flush = Z_NO_FLUSH; + _tr_init(s); + return Z_OK; +}; + + +const deflateReset = (strm) => { + + const ret = deflateResetKeep(strm); + if (ret === Z_OK) { + lm_init(strm.state); + } + return ret; +}; + + +const deflateSetHeader = (strm, head) => { + + if (!strm || !strm.state) { return Z_STREAM_ERROR; } + if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; } + strm.state.gzhead = head; + return Z_OK; +}; + + +const deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => { + + if (!strm) { // === Z_NULL + return Z_STREAM_ERROR; + } + let wrap = 1; + + if (level === Z_DEFAULT_COMPRESSION) { + level = 6; + } + + if (windowBits < 0) { /* suppress zlib wrapper */ + wrap = 0; + windowBits = -windowBits; + } + + else if (windowBits > 15) { + wrap = 2; /* write gzip wrapper instead */ + windowBits -= 16; + } + + + if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED || + windowBits < 8 || windowBits > 15 || level < 0 || level > 9 || + strategy < 0 || strategy > Z_FIXED) { + return err(strm, Z_STREAM_ERROR); + } + + + if (windowBits === 8) { + windowBits = 9; + } + /* until 256-byte window bug fixed */ + + const s = new DeflateState(); + + strm.state = s; + s.strm = strm; + + s.wrap = wrap; + s.gzhead = null; + s.w_bits = windowBits; + s.w_size = 1 << s.w_bits; + s.w_mask = s.w_size - 1; + + s.hash_bits = memLevel + 7; + s.hash_size = 1 << s.hash_bits; + s.hash_mask = s.hash_size - 1; + s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH); + + s.window = new Uint8Array(s.w_size * 2); + s.head = new Uint16Array(s.hash_size); + s.prev = new Uint16Array(s.w_size); + + // Don't need mem init magic for JS. + //s.high_water = 0; /* nothing written to s->window yet */ + + s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ + + s.pending_buf_size = s.lit_bufsize * 4; + + //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); + //s->pending_buf = (uchf *) overlay; + s.pending_buf = new Uint8Array(s.pending_buf_size); + + // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`) + //s->d_buf = overlay + s->lit_bufsize/sizeof(ush); + s.d_buf = 1 * s.lit_bufsize; + + //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize; + s.l_buf = (1 + 2) * s.lit_bufsize; + + s.level = level; + s.strategy = strategy; + s.method = method; + + return deflateReset(strm); +}; + +const deflateInit = (strm, level) => { + + return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY); +}; + + +const deflate = (strm, flush) => { + + let beg, val; // for gzip header write only + + if (!strm || !strm.state || + flush > Z_BLOCK || flush < 0) { + return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR; + } + + const s = strm.state; + + if (!strm.output || + (!strm.input && strm.avail_in !== 0) || + (s.status === FINISH_STATE && flush !== Z_FINISH)) { + return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR); + } + + s.strm = strm; /* just in case */ + const old_flush = s.last_flush; + s.last_flush = flush; + + /* Write the header */ + if (s.status === INIT_STATE) { + + if (s.wrap === 2) { // GZIP header + strm.adler = 0; //crc32(0L, Z_NULL, 0); + put_byte(s, 31); + put_byte(s, 139); + put_byte(s, 8); + if (!s.gzhead) { // s->gzhead == Z_NULL + put_byte(s, 0); + put_byte(s, 0); + put_byte(s, 0); + put_byte(s, 0); + put_byte(s, 0); + put_byte(s, s.level === 9 ? 2 : + (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? + 4 : 0)); + put_byte(s, OS_CODE); + s.status = BUSY_STATE; + } + else { + put_byte(s, (s.gzhead.text ? 1 : 0) + + (s.gzhead.hcrc ? 2 : 0) + + (!s.gzhead.extra ? 0 : 4) + + (!s.gzhead.name ? 0 : 8) + + (!s.gzhead.comment ? 0 : 16) + ); + put_byte(s, s.gzhead.time & 0xff); + put_byte(s, (s.gzhead.time >> 8) & 0xff); + put_byte(s, (s.gzhead.time >> 16) & 0xff); + put_byte(s, (s.gzhead.time >> 24) & 0xff); + put_byte(s, s.level === 9 ? 2 : + (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ? + 4 : 0)); + put_byte(s, s.gzhead.os & 0xff); + if (s.gzhead.extra && s.gzhead.extra.length) { + put_byte(s, s.gzhead.extra.length & 0xff); + put_byte(s, (s.gzhead.extra.length >> 8) & 0xff); + } + if (s.gzhead.hcrc) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0); + } + s.gzindex = 0; + s.status = EXTRA_STATE; + } + } + else // DEFLATE header + { + let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8; + let level_flags = -1; + + if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) { + level_flags = 0; + } else if (s.level < 6) { + level_flags = 1; + } else if (s.level === 6) { + level_flags = 2; + } else { + level_flags = 3; + } + header |= (level_flags << 6); + if (s.strstart !== 0) { header |= PRESET_DICT; } + header += 31 - (header % 31); + + s.status = BUSY_STATE; + putShortMSB(s, header); + + /* Save the adler32 of the preset dictionary: */ + if (s.strstart !== 0) { + putShortMSB(s, strm.adler >>> 16); + putShortMSB(s, strm.adler & 0xffff); + } + strm.adler = 1; // adler32(0L, Z_NULL, 0); + } + } + +//#ifdef GZIP + if (s.status === EXTRA_STATE) { + if (s.gzhead.extra/* != Z_NULL*/) { + beg = s.pending; /* start of bytes to update crc */ + + while (s.gzindex < (s.gzhead.extra.length & 0xffff)) { + if (s.pending === s.pending_buf_size) { + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + flush_pending(strm); + beg = s.pending; + if (s.pending === s.pending_buf_size) { + break; + } + } + put_byte(s, s.gzhead.extra[s.gzindex] & 0xff); + s.gzindex++; + } + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + if (s.gzindex === s.gzhead.extra.length) { + s.gzindex = 0; + s.status = NAME_STATE; + } + } + else { + s.status = NAME_STATE; + } + } + if (s.status === NAME_STATE) { + if (s.gzhead.name/* != Z_NULL*/) { + beg = s.pending; /* start of bytes to update crc */ + //int val; + + do { + if (s.pending === s.pending_buf_size) { + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + flush_pending(strm); + beg = s.pending; + if (s.pending === s.pending_buf_size) { + val = 1; + break; + } + } + // JS specific: little magic to add zero terminator to end of string + if (s.gzindex < s.gzhead.name.length) { + val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff; + } else { + val = 0; + } + put_byte(s, val); + } while (val !== 0); + + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + if (val === 0) { + s.gzindex = 0; + s.status = COMMENT_STATE; + } + } + else { + s.status = COMMENT_STATE; + } + } + if (s.status === COMMENT_STATE) { + if (s.gzhead.comment/* != Z_NULL*/) { + beg = s.pending; /* start of bytes to update crc */ + //int val; + + do { + if (s.pending === s.pending_buf_size) { + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + flush_pending(strm); + beg = s.pending; + if (s.pending === s.pending_buf_size) { + val = 1; + break; + } + } + // JS specific: little magic to add zero terminator to end of string + if (s.gzindex < s.gzhead.comment.length) { + val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff; + } else { + val = 0; + } + put_byte(s, val); + } while (val !== 0); + + if (s.gzhead.hcrc && s.pending > beg) { + strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg); + } + if (val === 0) { + s.status = HCRC_STATE; + } + } + else { + s.status = HCRC_STATE; + } + } + if (s.status === HCRC_STATE) { + if (s.gzhead.hcrc) { + if (s.pending + 2 > s.pending_buf_size) { + flush_pending(strm); + } + if (s.pending + 2 <= s.pending_buf_size) { + put_byte(s, strm.adler & 0xff); + put_byte(s, (strm.adler >> 8) & 0xff); + strm.adler = 0; //crc32(0L, Z_NULL, 0); + s.status = BUSY_STATE; + } + } + else { + s.status = BUSY_STATE; + } + } +//#endif + + /* Flush as much pending output as possible */ + if (s.pending !== 0) { + flush_pending(strm); + if (strm.avail_out === 0) { + /* Since avail_out is 0, deflate will be called again with + * more output space, but possibly with both pending and + * avail_in equal to zero. There won't be anything to do, + * but this is not an error situation so make sure we + * return OK instead of BUF_ERROR at next call of deflate: + */ + s.last_flush = -1; + return Z_OK; + } + + /* Make sure there is something to do and avoid duplicate consecutive + * flushes. For repeated and useless calls with Z_FINISH, we keep + * returning Z_STREAM_END instead of Z_BUF_ERROR. + */ + } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) && + flush !== Z_FINISH) { + return err(strm, Z_BUF_ERROR); + } + + /* User must not provide more input after the first FINISH: */ + if (s.status === FINISH_STATE && strm.avail_in !== 0) { + return err(strm, Z_BUF_ERROR); + } + + /* Start a new block or continue the current one. + */ + if (strm.avail_in !== 0 || s.lookahead !== 0 || + (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) { + let bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) : + (s.strategy === Z_RLE ? deflate_rle(s, flush) : + configuration_table[s.level].func(s, flush)); + + if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) { + s.status = FINISH_STATE; + } + if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) { + if (strm.avail_out === 0) { + s.last_flush = -1; + /* avoid BUF_ERROR next call, see above */ + } + return Z_OK; + /* If flush != Z_NO_FLUSH && avail_out == 0, the next call + * of deflate should use the same flush parameter to make sure + * that the flush is complete. So we don't have to output an + * empty block here, this will be done at next call. This also + * ensures that for a very small output buffer, we emit at most + * one empty block. + */ + } + if (bstate === BS_BLOCK_DONE) { + if (flush === Z_PARTIAL_FLUSH) { + _tr_align(s); + } + else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */ + + _tr_stored_block(s, 0, 0, false); + /* For a full flush, this empty block will be recognized + * as a special marker by inflate_sync(). + */ + if (flush === Z_FULL_FLUSH) { + /*** CLEAR_HASH(s); ***/ /* forget history */ + zero(s.head); // Fill with NIL (= 0); + + if (s.lookahead === 0) { + s.strstart = 0; + s.block_start = 0; + s.insert = 0; + } + } + } + flush_pending(strm); + if (strm.avail_out === 0) { + s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */ + return Z_OK; + } + } + } + //Assert(strm->avail_out > 0, "bug2"); + //if (strm.avail_out <= 0) { throw new Error("bug2");} + + if (flush !== Z_FINISH) { return Z_OK; } + if (s.wrap <= 0) { return Z_STREAM_END; } + + /* Write the trailer */ + if (s.wrap === 2) { + put_byte(s, strm.adler & 0xff); + put_byte(s, (strm.adler >> 8) & 0xff); + put_byte(s, (strm.adler >> 16) & 0xff); + put_byte(s, (strm.adler >> 24) & 0xff); + put_byte(s, strm.total_in & 0xff); + put_byte(s, (strm.total_in >> 8) & 0xff); + put_byte(s, (strm.total_in >> 16) & 0xff); + put_byte(s, (strm.total_in >> 24) & 0xff); + } + else + { + putShortMSB(s, strm.adler >>> 16); + putShortMSB(s, strm.adler & 0xffff); + } + + flush_pending(strm); + /* If avail_out is zero, the application will call deflate again + * to flush the rest. + */ + if (s.wrap > 0) { s.wrap = -s.wrap; } + /* write the trailer only once! */ + return s.pending !== 0 ? Z_OK : Z_STREAM_END; +}; + + +const deflateEnd = (strm) => { + + if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) { + return Z_STREAM_ERROR; + } + + const status = strm.state.status; + if (status !== INIT_STATE && + status !== EXTRA_STATE && + status !== NAME_STATE && + status !== COMMENT_STATE && + status !== HCRC_STATE && + status !== BUSY_STATE && + status !== FINISH_STATE + ) { + return err(strm, Z_STREAM_ERROR); + } + + strm.state = null; + + return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK; +}; + + +/* ========================================================================= + * Initializes the compression dictionary from the given byte + * sequence without producing any compressed output. + */ +const deflateSetDictionary = (strm, dictionary) => { + + let dictLength = dictionary.length; + + if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) { + return Z_STREAM_ERROR; + } + + const s = strm.state; + const wrap = s.wrap; + + if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) { + return Z_STREAM_ERROR; + } + + /* when using zlib wrappers, compute Adler-32 for provided dictionary */ + if (wrap === 1) { + /* adler32(strm->adler, dictionary, dictLength); */ + strm.adler = adler32(strm.adler, dictionary, dictLength, 0); + } + + s.wrap = 0; /* avoid computing Adler-32 in read_buf */ + + /* if dictionary would fill window, just replace the history */ + if (dictLength >= s.w_size) { + if (wrap === 0) { /* already empty otherwise */ + /*** CLEAR_HASH(s); ***/ + zero(s.head); // Fill with NIL (= 0); + s.strstart = 0; + s.block_start = 0; + s.insert = 0; + } + /* use the tail */ + // dictionary = dictionary.slice(dictLength - s.w_size); + let tmpDict = new Uint8Array(s.w_size); + tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0); + dictionary = tmpDict; + dictLength = s.w_size; + } + /* insert dictionary into window and hash */ + const avail = strm.avail_in; + const next = strm.next_in; + const input = strm.input; + strm.avail_in = dictLength; + strm.next_in = 0; + strm.input = dictionary; + fill_window(s); + while (s.lookahead >= MIN_MATCH) { + let str = s.strstart; + let n = s.lookahead - (MIN_MATCH - 1); + do { + /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */ + s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]); + + s.prev[str & s.w_mask] = s.head[s.ins_h]; + + s.head[s.ins_h] = str; + str++; + } while (--n); + s.strstart = str; + s.lookahead = MIN_MATCH - 1; + fill_window(s); + } + s.strstart += s.lookahead; + s.block_start = s.strstart; + s.insert = s.lookahead; + s.lookahead = 0; + s.match_length = s.prev_length = MIN_MATCH - 1; + s.match_available = 0; + strm.next_in = next; + strm.input = input; + strm.avail_in = avail; + s.wrap = wrap; + return Z_OK; +}; + + +module.exports.deflateInit = deflateInit; +module.exports.deflateInit2 = deflateInit2; +module.exports.deflateReset = deflateReset; +module.exports.deflateResetKeep = deflateResetKeep; +module.exports.deflateSetHeader = deflateSetHeader; +module.exports.deflate = deflate; +module.exports.deflateEnd = deflateEnd; +module.exports.deflateSetDictionary = deflateSetDictionary; +module.exports.deflateInfo = 'pako deflate (from Nodeca project)'; + +/* Not implemented +module.exports.deflateBound = deflateBound; +module.exports.deflateCopy = deflateCopy; +module.exports.deflateParams = deflateParams; +module.exports.deflatePending = deflatePending; +module.exports.deflatePrime = deflatePrime; +module.exports.deflateTune = deflateTune; +*/ + + +/***/ }), + +/***/ 35105: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +function GZheader() { + /* true if compressed data believed to be text */ + this.text = 0; + /* modification time */ + this.time = 0; + /* extra flags (not used when writing a gzip file) */ + this.xflags = 0; + /* operating system */ + this.os = 0; + /* pointer to extra field or Z_NULL if none */ + this.extra = null; + /* extra field length (valid if extra != Z_NULL) */ + this.extra_len = 0; // Actually, we don't need it in JS, + // but leave for few code modifications + + // + // Setup limits is not necessary because in js we should not preallocate memory + // for inflate use constant limit in 65536 bytes + // + + /* space at extra (only when reading header) */ + // this.extra_max = 0; + /* pointer to zero-terminated file name or Z_NULL */ + this.name = ''; + /* space at name (only when reading header) */ + // this.name_max = 0; + /* pointer to zero-terminated comment or Z_NULL */ + this.comment = ''; + /* space at comment (only when reading header) */ + // this.comm_max = 0; + /* true if there was or will be a header crc */ + this.hcrc = 0; + /* true when done reading gzip header (not used when writing a gzip file) */ + this.done = false; +} + +module.exports = GZheader; + + +/***/ }), + +/***/ 65349: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +// See state defs from inflate.js +const BAD = 30; /* got a data error -- remain here until reset */ +const TYPE = 12; /* i: waiting for type bits, including last-flag bit */ + +/* + Decode literal, length, and distance codes and write out the resulting + literal and match bytes until either not enough input or output is + available, an end-of-block is encountered, or a data error is encountered. + When large enough input and output buffers are supplied to inflate(), for + example, a 16K input buffer and a 64K output buffer, more than 95% of the + inflate execution time is spent in this routine. + + Entry assumptions: + + state.mode === LEN + strm.avail_in >= 6 + strm.avail_out >= 258 + start >= strm.avail_out + state.bits < 8 + + On return, state.mode is one of: + + LEN -- ran out of enough output space or enough available input + TYPE -- reached end of block code, inflate() to interpret next block + BAD -- error in block data + + Notes: + + - The maximum input bits used by a length/distance pair is 15 bits for the + length code, 5 bits for the length extra, 15 bits for the distance code, + and 13 bits for the distance extra. This totals 48 bits, or six bytes. + Therefore if strm.avail_in >= 6, then there is enough input to avoid + checking for available input while decoding. + + - The maximum bytes that a single length/distance pair can output is 258 + bytes, which is the maximum length that can be coded. inflate_fast() + requires strm.avail_out >= 258 for each loop to avoid checking for + output space. + */ +module.exports = function inflate_fast(strm, start) { + let _in; /* local strm.input */ + let last; /* have enough input while in < last */ + let _out; /* local strm.output */ + let beg; /* inflate()'s initial strm.output */ + let end; /* while out < end, enough space available */ +//#ifdef INFLATE_STRICT + let dmax; /* maximum distance from zlib header */ +//#endif + let wsize; /* window size or zero if not using window */ + let whave; /* valid bytes in the window */ + let wnext; /* window write index */ + // Use `s_window` instead `window`, avoid conflict with instrumentation tools + let s_window; /* allocated sliding window, if wsize != 0 */ + let hold; /* local strm.hold */ + let bits; /* local strm.bits */ + let lcode; /* local strm.lencode */ + let dcode; /* local strm.distcode */ + let lmask; /* mask for first level of length codes */ + let dmask; /* mask for first level of distance codes */ + let here; /* retrieved table entry */ + let op; /* code bits, operation, extra bits, or */ + /* window position, window bytes to copy */ + let len; /* match length, unused bytes */ + let dist; /* match distance */ + let from; /* where to copy match from */ + let from_source; + + + let input, output; // JS specific, because we have no pointers + + /* copy state to local variables */ + const state = strm.state; + //here = state.here; + _in = strm.next_in; + input = strm.input; + last = _in + (strm.avail_in - 5); + _out = strm.next_out; + output = strm.output; + beg = _out - (start - strm.avail_out); + end = _out + (strm.avail_out - 257); +//#ifdef INFLATE_STRICT + dmax = state.dmax; +//#endif + wsize = state.wsize; + whave = state.whave; + wnext = state.wnext; + s_window = state.window; + hold = state.hold; + bits = state.bits; + lcode = state.lencode; + dcode = state.distcode; + lmask = (1 << state.lenbits) - 1; + dmask = (1 << state.distbits) - 1; + + + /* decode literals and length/distances until end-of-block or not enough + input data or output space */ + + top: + do { + if (bits < 15) { + hold += input[_in++] << bits; + bits += 8; + hold += input[_in++] << bits; + bits += 8; + } + + here = lcode[hold & lmask]; + + dolen: + for (;;) { // Goto emulation + op = here >>> 24/*here.bits*/; + hold >>>= op; + bits -= op; + op = (here >>> 16) & 0xff/*here.op*/; + if (op === 0) { /* literal */ + //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ? + // "inflate: literal '%c'\n" : + // "inflate: literal 0x%02x\n", here.val)); + output[_out++] = here & 0xffff/*here.val*/; + } + else if (op & 16) { /* length base */ + len = here & 0xffff/*here.val*/; + op &= 15; /* number of extra bits */ + if (op) { + if (bits < op) { + hold += input[_in++] << bits; + bits += 8; + } + len += hold & ((1 << op) - 1); + hold >>>= op; + bits -= op; + } + //Tracevv((stderr, "inflate: length %u\n", len)); + if (bits < 15) { + hold += input[_in++] << bits; + bits += 8; + hold += input[_in++] << bits; + bits += 8; + } + here = dcode[hold & dmask]; + + dodist: + for (;;) { // goto emulation + op = here >>> 24/*here.bits*/; + hold >>>= op; + bits -= op; + op = (here >>> 16) & 0xff/*here.op*/; + + if (op & 16) { /* distance base */ + dist = here & 0xffff/*here.val*/; + op &= 15; /* number of extra bits */ + if (bits < op) { + hold += input[_in++] << bits; + bits += 8; + if (bits < op) { + hold += input[_in++] << bits; + bits += 8; + } + } + dist += hold & ((1 << op) - 1); +//#ifdef INFLATE_STRICT + if (dist > dmax) { + strm.msg = 'invalid distance too far back'; + state.mode = BAD; + break top; + } +//#endif + hold >>>= op; + bits -= op; + //Tracevv((stderr, "inflate: distance %u\n", dist)); + op = _out - beg; /* max distance in output */ + if (dist > op) { /* see if copy from window */ + op = dist - op; /* distance back in window */ + if (op > whave) { + if (state.sane) { + strm.msg = 'invalid distance too far back'; + state.mode = BAD; + break top; + } + +// (!) This block is disabled in zlib defaults, +// don't enable it for binary compatibility +//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR +// if (len <= op - whave) { +// do { +// output[_out++] = 0; +// } while (--len); +// continue top; +// } +// len -= op - whave; +// do { +// output[_out++] = 0; +// } while (--op > whave); +// if (op === 0) { +// from = _out - dist; +// do { +// output[_out++] = output[from++]; +// } while (--len); +// continue top; +// } +//#endif + } + from = 0; // window index + from_source = s_window; + if (wnext === 0) { /* very common case */ + from += wsize - op; + if (op < len) { /* some from window */ + len -= op; + do { + output[_out++] = s_window[from++]; + } while (--op); + from = _out - dist; /* rest from output */ + from_source = output; + } + } + else if (wnext < op) { /* wrap around window */ + from += wsize + wnext - op; + op -= wnext; + if (op < len) { /* some from end of window */ + len -= op; + do { + output[_out++] = s_window[from++]; + } while (--op); + from = 0; + if (wnext < len) { /* some from start of window */ + op = wnext; + len -= op; + do { + output[_out++] = s_window[from++]; + } while (--op); + from = _out - dist; /* rest from output */ + from_source = output; + } + } + } + else { /* contiguous in window */ + from += wnext - op; + if (op < len) { /* some from window */ + len -= op; + do { + output[_out++] = s_window[from++]; + } while (--op); + from = _out - dist; /* rest from output */ + from_source = output; + } + } + while (len > 2) { + output[_out++] = from_source[from++]; + output[_out++] = from_source[from++]; + output[_out++] = from_source[from++]; + len -= 3; + } + if (len) { + output[_out++] = from_source[from++]; + if (len > 1) { + output[_out++] = from_source[from++]; + } + } + } + else { + from = _out - dist; /* copy direct from output */ + do { /* minimum length is three */ + output[_out++] = output[from++]; + output[_out++] = output[from++]; + output[_out++] = output[from++]; + len -= 3; + } while (len > 2); + if (len) { + output[_out++] = output[from++]; + if (len > 1) { + output[_out++] = output[from++]; + } + } + } + } + else if ((op & 64) === 0) { /* 2nd level distance code */ + here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))]; + continue dodist; + } + else { + strm.msg = 'invalid distance code'; + state.mode = BAD; + break top; + } + + break; // need to emulate goto via "continue" + } + } + else if ((op & 64) === 0) { /* 2nd level length code */ + here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))]; + continue dolen; + } + else if (op & 32) { /* end-of-block */ + //Tracevv((stderr, "inflate: end of block\n")); + state.mode = TYPE; + break top; + } + else { + strm.msg = 'invalid literal/length code'; + state.mode = BAD; + break top; + } + + break; // need to emulate goto via "continue" + } + } while (_in < last && _out < end); + + /* return unused bytes (on entry, bits < 8, so in won't go too far back) */ + len = bits >> 3; + _in -= len; + bits -= len << 3; + hold &= (1 << bits) - 1; + + /* update state and return */ + strm.next_in = _in; + strm.next_out = _out; + strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last)); + strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end)); + state.hold = hold; + state.bits = bits; + return; +}; + + +/***/ }), + +/***/ 90409: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +const adler32 = __nccwpck_require__(86924); +const crc32 = __nccwpck_require__(87242); +const inflate_fast = __nccwpck_require__(65349); +const inflate_table = __nccwpck_require__(56895); + +const CODES = 0; +const LENS = 1; +const DISTS = 2; + +/* Public constants ==========================================================*/ +/* ===========================================================================*/ + +const { + Z_FINISH, Z_BLOCK, Z_TREES, + Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_BUF_ERROR, + Z_DEFLATED +} = __nccwpck_require__(58282); + + +/* STATES ====================================================================*/ +/* ===========================================================================*/ + + +const HEAD = 1; /* i: waiting for magic header */ +const FLAGS = 2; /* i: waiting for method and flags (gzip) */ +const TIME = 3; /* i: waiting for modification time (gzip) */ +const OS = 4; /* i: waiting for extra flags and operating system (gzip) */ +const EXLEN = 5; /* i: waiting for extra length (gzip) */ +const EXTRA = 6; /* i: waiting for extra bytes (gzip) */ +const NAME = 7; /* i: waiting for end of file name (gzip) */ +const COMMENT = 8; /* i: waiting for end of comment (gzip) */ +const HCRC = 9; /* i: waiting for header crc (gzip) */ +const DICTID = 10; /* i: waiting for dictionary check value */ +const DICT = 11; /* waiting for inflateSetDictionary() call */ +const TYPE = 12; /* i: waiting for type bits, including last-flag bit */ +const TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */ +const STORED = 14; /* i: waiting for stored size (length and complement) */ +const COPY_ = 15; /* i/o: same as COPY below, but only first time in */ +const COPY = 16; /* i/o: waiting for input or output to copy stored block */ +const TABLE = 17; /* i: waiting for dynamic block table lengths */ +const LENLENS = 18; /* i: waiting for code length code lengths */ +const CODELENS = 19; /* i: waiting for length/lit and distance code lengths */ +const LEN_ = 20; /* i: same as LEN below, but only first time in */ +const LEN = 21; /* i: waiting for length/lit/eob code */ +const LENEXT = 22; /* i: waiting for length extra bits */ +const DIST = 23; /* i: waiting for distance code */ +const DISTEXT = 24; /* i: waiting for distance extra bits */ +const MATCH = 25; /* o: waiting for output space to copy string */ +const LIT = 26; /* o: waiting for output space to write literal */ +const CHECK = 27; /* i: waiting for 32-bit check value */ +const LENGTH = 28; /* i: waiting for 32-bit length (gzip) */ +const DONE = 29; /* finished check, done -- remain here until reset */ +const BAD = 30; /* got a data error -- remain here until reset */ +const MEM = 31; /* got an inflate() memory error -- remain here until reset */ +const SYNC = 32; /* looking for synchronization bytes to restart inflate() */ + +/* ===========================================================================*/ + + + +const ENOUGH_LENS = 852; +const ENOUGH_DISTS = 592; +//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS); + +const MAX_WBITS = 15; +/* 32K LZ77 window */ +const DEF_WBITS = MAX_WBITS; + + +const zswap32 = (q) => { + + return (((q >>> 24) & 0xff) + + ((q >>> 8) & 0xff00) + + ((q & 0xff00) << 8) + + ((q & 0xff) << 24)); +}; + + +function InflateState() { + this.mode = 0; /* current inflate mode */ + this.last = false; /* true if processing last block */ + this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */ + this.havedict = false; /* true if dictionary provided */ + this.flags = 0; /* gzip header method and flags (0 if zlib) */ + this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */ + this.check = 0; /* protected copy of check value */ + this.total = 0; /* protected copy of output count */ + // TODO: may be {} + this.head = null; /* where to save gzip header information */ + + /* sliding window */ + this.wbits = 0; /* log base 2 of requested window size */ + this.wsize = 0; /* window size or zero if not using window */ + this.whave = 0; /* valid bytes in the window */ + this.wnext = 0; /* window write index */ + this.window = null; /* allocated sliding window, if needed */ + + /* bit accumulator */ + this.hold = 0; /* input bit accumulator */ + this.bits = 0; /* number of bits in "in" */ + + /* for string and stored block copying */ + this.length = 0; /* literal or length of data to copy */ + this.offset = 0; /* distance back to copy string from */ + + /* for table and code decoding */ + this.extra = 0; /* extra bits needed */ + + /* fixed and dynamic code tables */ + this.lencode = null; /* starting table for length/literal codes */ + this.distcode = null; /* starting table for distance codes */ + this.lenbits = 0; /* index bits for lencode */ + this.distbits = 0; /* index bits for distcode */ + + /* dynamic table building */ + this.ncode = 0; /* number of code length code lengths */ + this.nlen = 0; /* number of length code lengths */ + this.ndist = 0; /* number of distance code lengths */ + this.have = 0; /* number of code lengths in lens[] */ + this.next = null; /* next available space in codes[] */ + + this.lens = new Uint16Array(320); /* temporary storage for code lengths */ + this.work = new Uint16Array(288); /* work area for code table building */ + + /* + because we don't have pointers in js, we use lencode and distcode directly + as buffers so we don't need codes + */ + //this.codes = new Int32Array(ENOUGH); /* space for code tables */ + this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */ + this.distdyn = null; /* dynamic table for distance codes (JS specific) */ + this.sane = 0; /* if false, allow invalid distance too far */ + this.back = 0; /* bits back of last unprocessed length/lit */ + this.was = 0; /* initial length of match */ +} + + +const inflateResetKeep = (strm) => { + + if (!strm || !strm.state) { return Z_STREAM_ERROR; } + const state = strm.state; + strm.total_in = strm.total_out = state.total = 0; + strm.msg = ''; /*Z_NULL*/ + if (state.wrap) { /* to support ill-conceived Java test suite */ + strm.adler = state.wrap & 1; + } + state.mode = HEAD; + state.last = 0; + state.havedict = 0; + state.dmax = 32768; + state.head = null/*Z_NULL*/; + state.hold = 0; + state.bits = 0; + //state.lencode = state.distcode = state.next = state.codes; + state.lencode = state.lendyn = new Int32Array(ENOUGH_LENS); + state.distcode = state.distdyn = new Int32Array(ENOUGH_DISTS); + + state.sane = 1; + state.back = -1; + //Tracev((stderr, "inflate: reset\n")); + return Z_OK; +}; + + +const inflateReset = (strm) => { + + if (!strm || !strm.state) { return Z_STREAM_ERROR; } + const state = strm.state; + state.wsize = 0; + state.whave = 0; + state.wnext = 0; + return inflateResetKeep(strm); + +}; + + +const inflateReset2 = (strm, windowBits) => { + let wrap; + + /* get the state */ + if (!strm || !strm.state) { return Z_STREAM_ERROR; } + const state = strm.state; + + /* extract wrap request from windowBits parameter */ + if (windowBits < 0) { + wrap = 0; + windowBits = -windowBits; + } + else { + wrap = (windowBits >> 4) + 1; + if (windowBits < 48) { + windowBits &= 15; + } + } + + /* set number of window bits, free window if different */ + if (windowBits && (windowBits < 8 || windowBits > 15)) { + return Z_STREAM_ERROR; + } + if (state.window !== null && state.wbits !== windowBits) { + state.window = null; + } + + /* update state and reset the rest of it */ + state.wrap = wrap; + state.wbits = windowBits; + return inflateReset(strm); +}; + + +const inflateInit2 = (strm, windowBits) => { + + if (!strm) { return Z_STREAM_ERROR; } + //strm.msg = Z_NULL; /* in case we return an error */ + + const state = new InflateState(); + + //if (state === Z_NULL) return Z_MEM_ERROR; + //Tracev((stderr, "inflate: allocated\n")); + strm.state = state; + state.window = null/*Z_NULL*/; + const ret = inflateReset2(strm, windowBits); + if (ret !== Z_OK) { + strm.state = null/*Z_NULL*/; + } + return ret; +}; + + +const inflateInit = (strm) => { + + return inflateInit2(strm, DEF_WBITS); +}; + + +/* + Return state with length and distance decoding tables and index sizes set to + fixed code decoding. Normally this returns fixed tables from inffixed.h. + If BUILDFIXED is defined, then instead this routine builds the tables the + first time it's called, and returns those tables the first time and + thereafter. This reduces the size of the code by about 2K bytes, in + exchange for a little execution time. However, BUILDFIXED should not be + used for threaded applications, since the rewriting of the tables and virgin + may not be thread-safe. + */ +let virgin = true; + +let lenfix, distfix; // We have no pointers in JS, so keep tables separate + + +const fixedtables = (state) => { + + /* build fixed huffman tables if first call (may not be thread safe) */ + if (virgin) { + lenfix = new Int32Array(512); + distfix = new Int32Array(32); + + /* literal/length table */ + let sym = 0; + while (sym < 144) { state.lens[sym++] = 8; } + while (sym < 256) { state.lens[sym++] = 9; } + while (sym < 280) { state.lens[sym++] = 7; } + while (sym < 288) { state.lens[sym++] = 8; } + + inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 }); + + /* distance table */ + sym = 0; + while (sym < 32) { state.lens[sym++] = 5; } + + inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 }); + + /* do this just once */ + virgin = false; + } + + state.lencode = lenfix; + state.lenbits = 9; + state.distcode = distfix; + state.distbits = 5; +}; + + +/* + Update the window with the last wsize (normally 32K) bytes written before + returning. If window does not exist yet, create it. This is only called + when a window is already in use, or when output has been written during this + inflate call, but the end of the deflate stream has not been reached yet. + It is also called to create a window for dictionary data when a dictionary + is loaded. + + Providing output buffers larger than 32K to inflate() should provide a speed + advantage, since only the last 32K of output is copied to the sliding window + upon return from inflate(), and since all distances after the first 32K of + output will fall in the output data, making match copies simpler and faster. + The advantage may be dependent on the size of the processor's data caches. + */ +const updatewindow = (strm, src, end, copy) => { + + let dist; + const state = strm.state; + + /* if it hasn't been done already, allocate space for the window */ + if (state.window === null) { + state.wsize = 1 << state.wbits; + state.wnext = 0; + state.whave = 0; + + state.window = new Uint8Array(state.wsize); + } + + /* copy state->wsize or less output bytes into the circular window */ + if (copy >= state.wsize) { + state.window.set(src.subarray(end - state.wsize, end), 0); + state.wnext = 0; + state.whave = state.wsize; + } + else { + dist = state.wsize - state.wnext; + if (dist > copy) { + dist = copy; + } + //zmemcpy(state->window + state->wnext, end - copy, dist); + state.window.set(src.subarray(end - copy, end - copy + dist), state.wnext); + copy -= dist; + if (copy) { + //zmemcpy(state->window, end - copy, copy); + state.window.set(src.subarray(end - copy, end), 0); + state.wnext = copy; + state.whave = state.wsize; + } + else { + state.wnext += dist; + if (state.wnext === state.wsize) { state.wnext = 0; } + if (state.whave < state.wsize) { state.whave += dist; } + } + } + return 0; +}; + + +const inflate = (strm, flush) => { + + let state; + let input, output; // input/output buffers + let next; /* next input INDEX */ + let put; /* next output INDEX */ + let have, left; /* available input and output */ + let hold; /* bit buffer */ + let bits; /* bits in bit buffer */ + let _in, _out; /* save starting available input and output */ + let copy; /* number of stored or match bytes to copy */ + let from; /* where to copy match bytes from */ + let from_source; + let here = 0; /* current decoding table entry */ + let here_bits, here_op, here_val; // paked "here" denormalized (JS specific) + //let last; /* parent table entry */ + let last_bits, last_op, last_val; // paked "last" denormalized (JS specific) + let len; /* length to copy for repeats, bits to drop */ + let ret; /* return code */ + const hbuf = new Uint8Array(4); /* buffer for gzip header crc calculation */ + let opts; + + let n; // temporary variable for NEED_BITS + + const order = /* permutation of code lengths */ + new Uint8Array([ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ]); + + + if (!strm || !strm.state || !strm.output || + (!strm.input && strm.avail_in !== 0)) { + return Z_STREAM_ERROR; + } + + state = strm.state; + if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */ + + + //--- LOAD() --- + put = strm.next_out; + output = strm.output; + left = strm.avail_out; + next = strm.next_in; + input = strm.input; + have = strm.avail_in; + hold = state.hold; + bits = state.bits; + //--- + + _in = have; + _out = left; + ret = Z_OK; + + inf_leave: // goto emulation + for (;;) { + switch (state.mode) { + case HEAD: + if (state.wrap === 0) { + state.mode = TYPEDO; + break; + } + //=== NEEDBITS(16); + while (bits < 16) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */ + state.check = 0/*crc32(0L, Z_NULL, 0)*/; + //=== CRC2(state.check, hold); + hbuf[0] = hold & 0xff; + hbuf[1] = (hold >>> 8) & 0xff; + state.check = crc32(state.check, hbuf, 2, 0); + //===// + + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = FLAGS; + break; + } + state.flags = 0; /* expect zlib header */ + if (state.head) { + state.head.done = false; + } + if (!(state.wrap & 1) || /* check if zlib header allowed */ + (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) { + strm.msg = 'incorrect header check'; + state.mode = BAD; + break; + } + if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) { + strm.msg = 'unknown compression method'; + state.mode = BAD; + break; + } + //--- DROPBITS(4) ---// + hold >>>= 4; + bits -= 4; + //---// + len = (hold & 0x0f)/*BITS(4)*/ + 8; + if (state.wbits === 0) { + state.wbits = len; + } + else if (len > state.wbits) { + strm.msg = 'invalid window size'; + state.mode = BAD; + break; + } + + // !!! pako patch. Force use `options.windowBits` if passed. + // Required to always use max window size by default. + state.dmax = 1 << state.wbits; + //state.dmax = 1 << len; + + //Tracev((stderr, "inflate: zlib header ok\n")); + strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/; + state.mode = hold & 0x200 ? DICTID : TYPE; + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + break; + case FLAGS: + //=== NEEDBITS(16); */ + while (bits < 16) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.flags = hold; + if ((state.flags & 0xff) !== Z_DEFLATED) { + strm.msg = 'unknown compression method'; + state.mode = BAD; + break; + } + if (state.flags & 0xe000) { + strm.msg = 'unknown header flags set'; + state.mode = BAD; + break; + } + if (state.head) { + state.head.text = ((hold >> 8) & 1); + } + if (state.flags & 0x0200) { + //=== CRC2(state.check, hold); + hbuf[0] = hold & 0xff; + hbuf[1] = (hold >>> 8) & 0xff; + state.check = crc32(state.check, hbuf, 2, 0); + //===// + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = TIME; + /* falls through */ + case TIME: + //=== NEEDBITS(32); */ + while (bits < 32) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if (state.head) { + state.head.time = hold; + } + if (state.flags & 0x0200) { + //=== CRC4(state.check, hold) + hbuf[0] = hold & 0xff; + hbuf[1] = (hold >>> 8) & 0xff; + hbuf[2] = (hold >>> 16) & 0xff; + hbuf[3] = (hold >>> 24) & 0xff; + state.check = crc32(state.check, hbuf, 4, 0); + //=== + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = OS; + /* falls through */ + case OS: + //=== NEEDBITS(16); */ + while (bits < 16) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if (state.head) { + state.head.xflags = (hold & 0xff); + state.head.os = (hold >> 8); + } + if (state.flags & 0x0200) { + //=== CRC2(state.check, hold); + hbuf[0] = hold & 0xff; + hbuf[1] = (hold >>> 8) & 0xff; + state.check = crc32(state.check, hbuf, 2, 0); + //===// + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = EXLEN; + /* falls through */ + case EXLEN: + if (state.flags & 0x0400) { + //=== NEEDBITS(16); */ + while (bits < 16) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.length = hold; + if (state.head) { + state.head.extra_len = hold; + } + if (state.flags & 0x0200) { + //=== CRC2(state.check, hold); + hbuf[0] = hold & 0xff; + hbuf[1] = (hold >>> 8) & 0xff; + state.check = crc32(state.check, hbuf, 2, 0); + //===// + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + } + else if (state.head) { + state.head.extra = null/*Z_NULL*/; + } + state.mode = EXTRA; + /* falls through */ + case EXTRA: + if (state.flags & 0x0400) { + copy = state.length; + if (copy > have) { copy = have; } + if (copy) { + if (state.head) { + len = state.head.extra_len - state.length; + if (!state.head.extra) { + // Use untyped array for more convenient processing later + state.head.extra = new Uint8Array(state.head.extra_len); + } + state.head.extra.set( + input.subarray( + next, + // extra field is limited to 65536 bytes + // - no need for additional size check + next + copy + ), + /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/ + len + ); + //zmemcpy(state.head.extra + len, next, + // len + copy > state.head.extra_max ? + // state.head.extra_max - len : copy); + } + if (state.flags & 0x0200) { + state.check = crc32(state.check, input, copy, next); + } + have -= copy; + next += copy; + state.length -= copy; + } + if (state.length) { break inf_leave; } + } + state.length = 0; + state.mode = NAME; + /* falls through */ + case NAME: + if (state.flags & 0x0800) { + if (have === 0) { break inf_leave; } + copy = 0; + do { + // TODO: 2 or 1 bytes? + len = input[next + copy++]; + /* use constant limit because in js we should not preallocate memory */ + if (state.head && len && + (state.length < 65536 /*state.head.name_max*/)) { + state.head.name += String.fromCharCode(len); + } + } while (len && copy < have); + + if (state.flags & 0x0200) { + state.check = crc32(state.check, input, copy, next); + } + have -= copy; + next += copy; + if (len) { break inf_leave; } + } + else if (state.head) { + state.head.name = null; + } + state.length = 0; + state.mode = COMMENT; + /* falls through */ + case COMMENT: + if (state.flags & 0x1000) { + if (have === 0) { break inf_leave; } + copy = 0; + do { + len = input[next + copy++]; + /* use constant limit because in js we should not preallocate memory */ + if (state.head && len && + (state.length < 65536 /*state.head.comm_max*/)) { + state.head.comment += String.fromCharCode(len); + } + } while (len && copy < have); + if (state.flags & 0x0200) { + state.check = crc32(state.check, input, copy, next); + } + have -= copy; + next += copy; + if (len) { break inf_leave; } + } + else if (state.head) { + state.head.comment = null; + } + state.mode = HCRC; + /* falls through */ + case HCRC: + if (state.flags & 0x0200) { + //=== NEEDBITS(16); */ + while (bits < 16) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if (hold !== (state.check & 0xffff)) { + strm.msg = 'header crc mismatch'; + state.mode = BAD; + break; + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + } + if (state.head) { + state.head.hcrc = ((state.flags >> 9) & 1); + state.head.done = true; + } + strm.adler = state.check = 0; + state.mode = TYPE; + break; + case DICTID: + //=== NEEDBITS(32); */ + while (bits < 32) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + strm.adler = state.check = zswap32(hold); + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = DICT; + /* falls through */ + case DICT: + if (state.havedict === 0) { + //--- RESTORE() --- + strm.next_out = put; + strm.avail_out = left; + strm.next_in = next; + strm.avail_in = have; + state.hold = hold; + state.bits = bits; + //--- + return Z_NEED_DICT; + } + strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/; + state.mode = TYPE; + /* falls through */ + case TYPE: + if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; } + /* falls through */ + case TYPEDO: + if (state.last) { + //--- BYTEBITS() ---// + hold >>>= bits & 7; + bits -= bits & 7; + //---// + state.mode = CHECK; + break; + } + //=== NEEDBITS(3); */ + while (bits < 3) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.last = (hold & 0x01)/*BITS(1)*/; + //--- DROPBITS(1) ---// + hold >>>= 1; + bits -= 1; + //---// + + switch ((hold & 0x03)/*BITS(2)*/) { + case 0: /* stored block */ + //Tracev((stderr, "inflate: stored block%s\n", + // state.last ? " (last)" : "")); + state.mode = STORED; + break; + case 1: /* fixed block */ + fixedtables(state); + //Tracev((stderr, "inflate: fixed codes block%s\n", + // state.last ? " (last)" : "")); + state.mode = LEN_; /* decode codes */ + if (flush === Z_TREES) { + //--- DROPBITS(2) ---// + hold >>>= 2; + bits -= 2; + //---// + break inf_leave; + } + break; + case 2: /* dynamic block */ + //Tracev((stderr, "inflate: dynamic codes block%s\n", + // state.last ? " (last)" : "")); + state.mode = TABLE; + break; + case 3: + strm.msg = 'invalid block type'; + state.mode = BAD; + } + //--- DROPBITS(2) ---// + hold >>>= 2; + bits -= 2; + //---// + break; + case STORED: + //--- BYTEBITS() ---// /* go to byte boundary */ + hold >>>= bits & 7; + bits -= bits & 7; + //---// + //=== NEEDBITS(32); */ + while (bits < 32) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) { + strm.msg = 'invalid stored block lengths'; + state.mode = BAD; + break; + } + state.length = hold & 0xffff; + //Tracev((stderr, "inflate: stored length %u\n", + // state.length)); + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + state.mode = COPY_; + if (flush === Z_TREES) { break inf_leave; } + /* falls through */ + case COPY_: + state.mode = COPY; + /* falls through */ + case COPY: + copy = state.length; + if (copy) { + if (copy > have) { copy = have; } + if (copy > left) { copy = left; } + if (copy === 0) { break inf_leave; } + //--- zmemcpy(put, next, copy); --- + output.set(input.subarray(next, next + copy), put); + //---// + have -= copy; + next += copy; + left -= copy; + put += copy; + state.length -= copy; + break; + } + //Tracev((stderr, "inflate: stored end\n")); + state.mode = TYPE; + break; + case TABLE: + //=== NEEDBITS(14); */ + while (bits < 14) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257; + //--- DROPBITS(5) ---// + hold >>>= 5; + bits -= 5; + //---// + state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1; + //--- DROPBITS(5) ---// + hold >>>= 5; + bits -= 5; + //---// + state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4; + //--- DROPBITS(4) ---// + hold >>>= 4; + bits -= 4; + //---// +//#ifndef PKZIP_BUG_WORKAROUND + if (state.nlen > 286 || state.ndist > 30) { + strm.msg = 'too many length or distance symbols'; + state.mode = BAD; + break; + } +//#endif + //Tracev((stderr, "inflate: table sizes ok\n")); + state.have = 0; + state.mode = LENLENS; + /* falls through */ + case LENLENS: + while (state.have < state.ncode) { + //=== NEEDBITS(3); + while (bits < 3) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.lens[order[state.have++]] = (hold & 0x07);//BITS(3); + //--- DROPBITS(3) ---// + hold >>>= 3; + bits -= 3; + //---// + } + while (state.have < 19) { + state.lens[order[state.have++]] = 0; + } + // We have separate tables & no pointers. 2 commented lines below not needed. + //state.next = state.codes; + //state.lencode = state.next; + // Switch to use dynamic table + state.lencode = state.lendyn; + state.lenbits = 7; + + opts = { bits: state.lenbits }; + ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts); + state.lenbits = opts.bits; + + if (ret) { + strm.msg = 'invalid code lengths set'; + state.mode = BAD; + break; + } + //Tracev((stderr, "inflate: code lengths ok\n")); + state.have = 0; + state.mode = CODELENS; + /* falls through */ + case CODELENS: + while (state.have < state.nlen + state.ndist) { + for (;;) { + here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/ + here_bits = here >>> 24; + here_op = (here >>> 16) & 0xff; + here_val = here & 0xffff; + + if ((here_bits) <= bits) { break; } + //--- PULLBYTE() ---// + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + //---// + } + if (here_val < 16) { + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + state.lens[state.have++] = here_val; + } + else { + if (here_val === 16) { + //=== NEEDBITS(here.bits + 2); + n = here_bits + 2; + while (bits < n) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + if (state.have === 0) { + strm.msg = 'invalid bit length repeat'; + state.mode = BAD; + break; + } + len = state.lens[state.have - 1]; + copy = 3 + (hold & 0x03);//BITS(2); + //--- DROPBITS(2) ---// + hold >>>= 2; + bits -= 2; + //---// + } + else if (here_val === 17) { + //=== NEEDBITS(here.bits + 3); + n = here_bits + 3; + while (bits < n) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + len = 0; + copy = 3 + (hold & 0x07);//BITS(3); + //--- DROPBITS(3) ---// + hold >>>= 3; + bits -= 3; + //---// + } + else { + //=== NEEDBITS(here.bits + 7); + n = here_bits + 7; + while (bits < n) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + len = 0; + copy = 11 + (hold & 0x7f);//BITS(7); + //--- DROPBITS(7) ---// + hold >>>= 7; + bits -= 7; + //---// + } + if (state.have + copy > state.nlen + state.ndist) { + strm.msg = 'invalid bit length repeat'; + state.mode = BAD; + break; + } + while (copy--) { + state.lens[state.have++] = len; + } + } + } + + /* handle error breaks in while */ + if (state.mode === BAD) { break; } + + /* check for end-of-block code (better have one) */ + if (state.lens[256] === 0) { + strm.msg = 'invalid code -- missing end-of-block'; + state.mode = BAD; + break; + } + + /* build code tables -- note: do not change the lenbits or distbits + values here (9 and 6) without reading the comments in inftrees.h + concerning the ENOUGH constants, which depend on those values */ + state.lenbits = 9; + + opts = { bits: state.lenbits }; + ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts); + // We have separate tables & no pointers. 2 commented lines below not needed. + // state.next_index = opts.table_index; + state.lenbits = opts.bits; + // state.lencode = state.next; + + if (ret) { + strm.msg = 'invalid literal/lengths set'; + state.mode = BAD; + break; + } + + state.distbits = 6; + //state.distcode.copy(state.codes); + // Switch to use dynamic table + state.distcode = state.distdyn; + opts = { bits: state.distbits }; + ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts); + // We have separate tables & no pointers. 2 commented lines below not needed. + // state.next_index = opts.table_index; + state.distbits = opts.bits; + // state.distcode = state.next; + + if (ret) { + strm.msg = 'invalid distances set'; + state.mode = BAD; + break; + } + //Tracev((stderr, 'inflate: codes ok\n')); + state.mode = LEN_; + if (flush === Z_TREES) { break inf_leave; } + /* falls through */ + case LEN_: + state.mode = LEN; + /* falls through */ + case LEN: + if (have >= 6 && left >= 258) { + //--- RESTORE() --- + strm.next_out = put; + strm.avail_out = left; + strm.next_in = next; + strm.avail_in = have; + state.hold = hold; + state.bits = bits; + //--- + inflate_fast(strm, _out); + //--- LOAD() --- + put = strm.next_out; + output = strm.output; + left = strm.avail_out; + next = strm.next_in; + input = strm.input; + have = strm.avail_in; + hold = state.hold; + bits = state.bits; + //--- + + if (state.mode === TYPE) { + state.back = -1; + } + break; + } + state.back = 0; + for (;;) { + here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/ + here_bits = here >>> 24; + here_op = (here >>> 16) & 0xff; + here_val = here & 0xffff; + + if (here_bits <= bits) { break; } + //--- PULLBYTE() ---// + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + //---// + } + if (here_op && (here_op & 0xf0) === 0) { + last_bits = here_bits; + last_op = here_op; + last_val = here_val; + for (;;) { + here = state.lencode[last_val + + ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)]; + here_bits = here >>> 24; + here_op = (here >>> 16) & 0xff; + here_val = here & 0xffff; + + if ((last_bits + here_bits) <= bits) { break; } + //--- PULLBYTE() ---// + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + //---// + } + //--- DROPBITS(last.bits) ---// + hold >>>= last_bits; + bits -= last_bits; + //---// + state.back += last_bits; + } + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + state.back += here_bits; + state.length = here_val; + if (here_op === 0) { + //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ? + // "inflate: literal '%c'\n" : + // "inflate: literal 0x%02x\n", here.val)); + state.mode = LIT; + break; + } + if (here_op & 32) { + //Tracevv((stderr, "inflate: end of block\n")); + state.back = -1; + state.mode = TYPE; + break; + } + if (here_op & 64) { + strm.msg = 'invalid literal/length code'; + state.mode = BAD; + break; + } + state.extra = here_op & 15; + state.mode = LENEXT; + /* falls through */ + case LENEXT: + if (state.extra) { + //=== NEEDBITS(state.extra); + n = state.extra; + while (bits < n) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/; + //--- DROPBITS(state.extra) ---// + hold >>>= state.extra; + bits -= state.extra; + //---// + state.back += state.extra; + } + //Tracevv((stderr, "inflate: length %u\n", state.length)); + state.was = state.length; + state.mode = DIST; + /* falls through */ + case DIST: + for (;;) { + here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/ + here_bits = here >>> 24; + here_op = (here >>> 16) & 0xff; + here_val = here & 0xffff; + + if ((here_bits) <= bits) { break; } + //--- PULLBYTE() ---// + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + //---// + } + if ((here_op & 0xf0) === 0) { + last_bits = here_bits; + last_op = here_op; + last_val = here_val; + for (;;) { + here = state.distcode[last_val + + ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)]; + here_bits = here >>> 24; + here_op = (here >>> 16) & 0xff; + here_val = here & 0xffff; + + if ((last_bits + here_bits) <= bits) { break; } + //--- PULLBYTE() ---// + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + //---// + } + //--- DROPBITS(last.bits) ---// + hold >>>= last_bits; + bits -= last_bits; + //---// + state.back += last_bits; + } + //--- DROPBITS(here.bits) ---// + hold >>>= here_bits; + bits -= here_bits; + //---// + state.back += here_bits; + if (here_op & 64) { + strm.msg = 'invalid distance code'; + state.mode = BAD; + break; + } + state.offset = here_val; + state.extra = (here_op) & 15; + state.mode = DISTEXT; + /* falls through */ + case DISTEXT: + if (state.extra) { + //=== NEEDBITS(state.extra); + n = state.extra; + while (bits < n) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/; + //--- DROPBITS(state.extra) ---// + hold >>>= state.extra; + bits -= state.extra; + //---// + state.back += state.extra; + } +//#ifdef INFLATE_STRICT + if (state.offset > state.dmax) { + strm.msg = 'invalid distance too far back'; + state.mode = BAD; + break; + } +//#endif + //Tracevv((stderr, "inflate: distance %u\n", state.offset)); + state.mode = MATCH; + /* falls through */ + case MATCH: + if (left === 0) { break inf_leave; } + copy = _out - left; + if (state.offset > copy) { /* copy from window */ + copy = state.offset - copy; + if (copy > state.whave) { + if (state.sane) { + strm.msg = 'invalid distance too far back'; + state.mode = BAD; + break; + } +// (!) This block is disabled in zlib defaults, +// don't enable it for binary compatibility +//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR +// Trace((stderr, "inflate.c too far\n")); +// copy -= state.whave; +// if (copy > state.length) { copy = state.length; } +// if (copy > left) { copy = left; } +// left -= copy; +// state.length -= copy; +// do { +// output[put++] = 0; +// } while (--copy); +// if (state.length === 0) { state.mode = LEN; } +// break; +//#endif + } + if (copy > state.wnext) { + copy -= state.wnext; + from = state.wsize - copy; + } + else { + from = state.wnext - copy; + } + if (copy > state.length) { copy = state.length; } + from_source = state.window; + } + else { /* copy from output */ + from_source = output; + from = put - state.offset; + copy = state.length; + } + if (copy > left) { copy = left; } + left -= copy; + state.length -= copy; + do { + output[put++] = from_source[from++]; + } while (--copy); + if (state.length === 0) { state.mode = LEN; } + break; + case LIT: + if (left === 0) { break inf_leave; } + output[put++] = state.length; + left--; + state.mode = LEN; + break; + case CHECK: + if (state.wrap) { + //=== NEEDBITS(32); + while (bits < 32) { + if (have === 0) { break inf_leave; } + have--; + // Use '|' instead of '+' to make sure that result is signed + hold |= input[next++] << bits; + bits += 8; + } + //===// + _out -= left; + strm.total_out += _out; + state.total += _out; + if (_out) { + strm.adler = state.check = + /*UPDATE(state.check, put - _out, _out);*/ + (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out)); + + } + _out = left; + // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too + if ((state.flags ? hold : zswap32(hold)) !== state.check) { + strm.msg = 'incorrect data check'; + state.mode = BAD; + break; + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + //Tracev((stderr, "inflate: check matches trailer\n")); + } + state.mode = LENGTH; + /* falls through */ + case LENGTH: + if (state.wrap && state.flags) { + //=== NEEDBITS(32); + while (bits < 32) { + if (have === 0) { break inf_leave; } + have--; + hold += input[next++] << bits; + bits += 8; + } + //===// + if (hold !== (state.total & 0xffffffff)) { + strm.msg = 'incorrect length check'; + state.mode = BAD; + break; + } + //=== INITBITS(); + hold = 0; + bits = 0; + //===// + //Tracev((stderr, "inflate: length matches trailer\n")); + } + state.mode = DONE; + /* falls through */ + case DONE: + ret = Z_STREAM_END; + break inf_leave; + case BAD: + ret = Z_DATA_ERROR; + break inf_leave; + case MEM: + return Z_MEM_ERROR; + case SYNC: + /* falls through */ + default: + return Z_STREAM_ERROR; + } + } + + // inf_leave <- here is real place for "goto inf_leave", emulated via "break inf_leave" + + /* + Return from inflate(), updating the total counts and the check value. + If there was no progress during the inflate() call, return a buffer + error. Call updatewindow() to create and/or update the window state. + Note: a memory error from inflate() is non-recoverable. + */ + + //--- RESTORE() --- + strm.next_out = put; + strm.avail_out = left; + strm.next_in = next; + strm.avail_in = have; + state.hold = hold; + state.bits = bits; + //--- + + if (state.wsize || (_out !== strm.avail_out && state.mode < BAD && + (state.mode < CHECK || flush !== Z_FINISH))) { + if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) { + state.mode = MEM; + return Z_MEM_ERROR; + } + } + _in -= strm.avail_in; + _out -= strm.avail_out; + strm.total_in += _in; + strm.total_out += _out; + state.total += _out; + if (state.wrap && _out) { + strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/ + (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out)); + } + strm.data_type = state.bits + (state.last ? 64 : 0) + + (state.mode === TYPE ? 128 : 0) + + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0); + if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) { + ret = Z_BUF_ERROR; + } + return ret; +}; + + +const inflateEnd = (strm) => { + + if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) { + return Z_STREAM_ERROR; + } + + let state = strm.state; + if (state.window) { + state.window = null; + } + strm.state = null; + return Z_OK; +}; + + +const inflateGetHeader = (strm, head) => { + + /* check state */ + if (!strm || !strm.state) { return Z_STREAM_ERROR; } + const state = strm.state; + if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; } + + /* save header structure */ + state.head = head; + head.done = false; + return Z_OK; +}; + + +const inflateSetDictionary = (strm, dictionary) => { + const dictLength = dictionary.length; + + let state; + let dictid; + let ret; + + /* check state */ + if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; } + state = strm.state; + + if (state.wrap !== 0 && state.mode !== DICT) { + return Z_STREAM_ERROR; + } + + /* check for correct dictionary identifier */ + if (state.mode === DICT) { + dictid = 1; /* adler32(0, null, 0)*/ + /* dictid = adler32(dictid, dictionary, dictLength); */ + dictid = adler32(dictid, dictionary, dictLength, 0); + if (dictid !== state.check) { + return Z_DATA_ERROR; + } + } + /* copy dictionary to window using updatewindow(), which will amend the + existing dictionary if appropriate */ + ret = updatewindow(strm, dictionary, dictLength, dictLength); + if (ret) { + state.mode = MEM; + return Z_MEM_ERROR; + } + state.havedict = 1; + // Tracev((stderr, "inflate: dictionary set\n")); + return Z_OK; +}; + + +module.exports.inflateReset = inflateReset; +module.exports.inflateReset2 = inflateReset2; +module.exports.inflateResetKeep = inflateResetKeep; +module.exports.inflateInit = inflateInit; +module.exports.inflateInit2 = inflateInit2; +module.exports.inflate = inflate; +module.exports.inflateEnd = inflateEnd; +module.exports.inflateGetHeader = inflateGetHeader; +module.exports.inflateSetDictionary = inflateSetDictionary; +module.exports.inflateInfo = 'pako inflate (from Nodeca project)'; + +/* Not implemented +module.exports.inflateCopy = inflateCopy; +module.exports.inflateGetDictionary = inflateGetDictionary; +module.exports.inflateMark = inflateMark; +module.exports.inflatePrime = inflatePrime; +module.exports.inflateSync = inflateSync; +module.exports.inflateSyncPoint = inflateSyncPoint; +module.exports.inflateUndermine = inflateUndermine; +*/ + + +/***/ }), + +/***/ 56895: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +const MAXBITS = 15; +const ENOUGH_LENS = 852; +const ENOUGH_DISTS = 592; +//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS); + +const CODES = 0; +const LENS = 1; +const DISTS = 2; + +const lbase = new Uint16Array([ /* Length codes 257..285 base */ + 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, + 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0 +]); + +const lext = new Uint8Array([ /* Length codes 257..285 extra */ + 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, + 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78 +]); + +const dbase = new Uint16Array([ /* Distance codes 0..29 base */ + 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, + 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, + 8193, 12289, 16385, 24577, 0, 0 +]); + +const dext = new Uint8Array([ /* Distance codes 0..29 extra */ + 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, + 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, + 28, 28, 29, 29, 64, 64 +]); + +const inflate_table = (type, lens, lens_index, codes, table, table_index, work, opts) => +{ + const bits = opts.bits; + //here = opts.here; /* table entry for duplication */ + + let len = 0; /* a code's length in bits */ + let sym = 0; /* index of code symbols */ + let min = 0, max = 0; /* minimum and maximum code lengths */ + let root = 0; /* number of index bits for root table */ + let curr = 0; /* number of index bits for current table */ + let drop = 0; /* code bits to drop for sub-table */ + let left = 0; /* number of prefix codes available */ + let used = 0; /* code entries in table used */ + let huff = 0; /* Huffman code */ + let incr; /* for incrementing code, index */ + let fill; /* index for replicating entries */ + let low; /* low bits for current root entry */ + let mask; /* mask for low root bits */ + let next; /* next available space in table */ + let base = null; /* base value table to use */ + let base_index = 0; +// let shoextra; /* extra bits table to use */ + let end; /* use base and extra for symbol > end */ + const count = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */ + const offs = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */ + let extra = null; + let extra_index = 0; + + let here_bits, here_op, here_val; + + /* + Process a set of code lengths to create a canonical Huffman code. The + code lengths are lens[0..codes-1]. Each length corresponds to the + symbols 0..codes-1. The Huffman code is generated by first sorting the + symbols by length from short to long, and retaining the symbol order + for codes with equal lengths. Then the code starts with all zero bits + for the first code of the shortest length, and the codes are integer + increments for the same length, and zeros are appended as the length + increases. For the deflate format, these bits are stored backwards + from their more natural integer increment ordering, and so when the + decoding tables are built in the large loop below, the integer codes + are incremented backwards. + + This routine assumes, but does not check, that all of the entries in + lens[] are in the range 0..MAXBITS. The caller must assure this. + 1..MAXBITS is interpreted as that code length. zero means that that + symbol does not occur in this code. + + The codes are sorted by computing a count of codes for each length, + creating from that a table of starting indices for each length in the + sorted table, and then entering the symbols in order in the sorted + table. The sorted table is work[], with that space being provided by + the caller. + + The length counts are used for other purposes as well, i.e. finding + the minimum and maximum length codes, determining if there are any + codes at all, checking for a valid set of lengths, and looking ahead + at length counts to determine sub-table sizes when building the + decoding tables. + */ + + /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */ + for (len = 0; len <= MAXBITS; len++) { + count[len] = 0; + } + for (sym = 0; sym < codes; sym++) { + count[lens[lens_index + sym]]++; + } + + /* bound code lengths, force root to be within code lengths */ + root = bits; + for (max = MAXBITS; max >= 1; max--) { + if (count[max] !== 0) { break; } + } + if (root > max) { + root = max; + } + if (max === 0) { /* no symbols to code at all */ + //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */ + //table.bits[opts.table_index] = 1; //here.bits = (var char)1; + //table.val[opts.table_index++] = 0; //here.val = (var short)0; + table[table_index++] = (1 << 24) | (64 << 16) | 0; + + + //table.op[opts.table_index] = 64; + //table.bits[opts.table_index] = 1; + //table.val[opts.table_index++] = 0; + table[table_index++] = (1 << 24) | (64 << 16) | 0; + + opts.bits = 1; + return 0; /* no symbols, but wait for decoding to report error */ + } + for (min = 1; min < max; min++) { + if (count[min] !== 0) { break; } + } + if (root < min) { + root = min; + } + + /* check for an over-subscribed or incomplete set of lengths */ + left = 1; + for (len = 1; len <= MAXBITS; len++) { + left <<= 1; + left -= count[len]; + if (left < 0) { + return -1; + } /* over-subscribed */ + } + if (left > 0 && (type === CODES || max !== 1)) { + return -1; /* incomplete set */ + } + + /* generate offsets into symbol table for each length for sorting */ + offs[1] = 0; + for (len = 1; len < MAXBITS; len++) { + offs[len + 1] = offs[len] + count[len]; + } + + /* sort symbols by length, by symbol order within each length */ + for (sym = 0; sym < codes; sym++) { + if (lens[lens_index + sym] !== 0) { + work[offs[lens[lens_index + sym]]++] = sym; + } + } + + /* + Create and fill in decoding tables. In this loop, the table being + filled is at next and has curr index bits. The code being used is huff + with length len. That code is converted to an index by dropping drop + bits off of the bottom. For codes where len is less than drop + curr, + those top drop + curr - len bits are incremented through all values to + fill the table with replicated entries. + + root is the number of index bits for the root table. When len exceeds + root, sub-tables are created pointed to by the root entry with an index + of the low root bits of huff. This is saved in low to check for when a + new sub-table should be started. drop is zero when the root table is + being filled, and drop is root when sub-tables are being filled. + + When a new sub-table is needed, it is necessary to look ahead in the + code lengths to determine what size sub-table is needed. The length + counts are used for this, and so count[] is decremented as codes are + entered in the tables. + + used keeps track of how many table entries have been allocated from the + provided *table space. It is checked for LENS and DIST tables against + the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in + the initial root table size constants. See the comments in inftrees.h + for more information. + + sym increments through all symbols, and the loop terminates when + all codes of length max, i.e. all codes, have been processed. This + routine permits incomplete codes, so another loop after this one fills + in the rest of the decoding tables with invalid code markers. + */ + + /* set up for code type */ + // poor man optimization - use if-else instead of switch, + // to avoid deopts in old v8 + if (type === CODES) { + base = extra = work; /* dummy value--not used */ + end = 19; + + } else if (type === LENS) { + base = lbase; + base_index -= 257; + extra = lext; + extra_index -= 257; + end = 256; + + } else { /* DISTS */ + base = dbase; + extra = dext; + end = -1; + } + + /* initialize opts for loop */ + huff = 0; /* starting code */ + sym = 0; /* starting code symbol */ + len = min; /* starting code length */ + next = table_index; /* current table to fill in */ + curr = root; /* current table index bits */ + drop = 0; /* current bits to drop from code for index */ + low = -1; /* trigger new sub-table when len > root */ + used = 1 << root; /* use root table entries */ + mask = used - 1; /* mask for comparing low */ + + /* check available table space */ + if ((type === LENS && used > ENOUGH_LENS) || + (type === DISTS && used > ENOUGH_DISTS)) { + return 1; + } + + /* process all codes and make table entries */ + for (;;) { + /* create table entry */ + here_bits = len - drop; + if (work[sym] < end) { + here_op = 0; + here_val = work[sym]; + } + else if (work[sym] > end) { + here_op = extra[extra_index + work[sym]]; + here_val = base[base_index + work[sym]]; + } + else { + here_op = 32 + 64; /* end of block */ + here_val = 0; + } + + /* replicate for those indices with low len bits equal to huff */ + incr = 1 << (len - drop); + fill = 1 << curr; + min = fill; /* save offset to next table */ + do { + fill -= incr; + table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0; + } while (fill !== 0); + + /* backwards increment the len-bit code huff */ + incr = 1 << (len - 1); + while (huff & incr) { + incr >>= 1; + } + if (incr !== 0) { + huff &= incr - 1; + huff += incr; + } else { + huff = 0; + } + + /* go to next symbol, update count, len */ + sym++; + if (--count[len] === 0) { + if (len === max) { break; } + len = lens[lens_index + work[sym]]; + } + + /* create new sub-table if needed */ + if (len > root && (huff & mask) !== low) { + /* if first time, transition to sub-tables */ + if (drop === 0) { + drop = root; + } + + /* increment past last table */ + next += min; /* here min is 1 << curr */ + + /* determine length of next table */ + curr = len - drop; + left = 1 << curr; + while (curr + drop < max) { + left -= count[curr + drop]; + if (left <= 0) { break; } + curr++; + left <<= 1; + } + + /* check for enough space */ + used += 1 << curr; + if ((type === LENS && used > ENOUGH_LENS) || + (type === DISTS && used > ENOUGH_DISTS)) { + return 1; + } + + /* point entry in root table to sub-table */ + low = huff & mask; + /*table.op[low] = curr; + table.bits[low] = root; + table.val[low] = next - opts.table_index;*/ + table[low] = (root << 24) | (curr << 16) | (next - table_index) |0; + } + } + + /* fill in remaining table entry if code is incomplete (guaranteed to have + at most one remaining entry, since if the code is incomplete, the + maximum code length that was allowed to get this far is one bit) */ + if (huff !== 0) { + //table.op[next + huff] = 64; /* invalid code marker */ + //table.bits[next + huff] = len - drop; + //table.val[next + huff] = 0; + table[next + huff] = ((len - drop) << 24) | (64 << 16) |0; + } + + /* set return parameters */ + //opts.table_index += used; + opts.bits = root; + return 0; +}; + + +module.exports = inflate_table; + + +/***/ }), + +/***/ 1890: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +module.exports = { + 2: 'need dictionary', /* Z_NEED_DICT 2 */ + 1: 'stream end', /* Z_STREAM_END 1 */ + 0: '', /* Z_OK 0 */ + '-1': 'file error', /* Z_ERRNO (-1) */ + '-2': 'stream error', /* Z_STREAM_ERROR (-2) */ + '-3': 'data error', /* Z_DATA_ERROR (-3) */ + '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */ + '-5': 'buffer error', /* Z_BUF_ERROR (-5) */ + '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */ +}; + + +/***/ }), + +/***/ 78754: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +/* eslint-disable space-unary-ops */ + +/* Public constants ==========================================================*/ +/* ===========================================================================*/ + + +//const Z_FILTERED = 1; +//const Z_HUFFMAN_ONLY = 2; +//const Z_RLE = 3; +const Z_FIXED = 4; +//const Z_DEFAULT_STRATEGY = 0; + +/* Possible values of the data_type field (though see inflate()) */ +const Z_BINARY = 0; +const Z_TEXT = 1; +//const Z_ASCII = 1; // = Z_TEXT +const Z_UNKNOWN = 2; + +/*============================================================================*/ + + +function zero(buf) { let len = buf.length; while (--len >= 0) { buf[len] = 0; } } + +// From zutil.h + +const STORED_BLOCK = 0; +const STATIC_TREES = 1; +const DYN_TREES = 2; +/* The three kinds of block type */ + +const MIN_MATCH = 3; +const MAX_MATCH = 258; +/* The minimum and maximum match lengths */ + +// From deflate.h +/* =========================================================================== + * Internal compression state. + */ + +const LENGTH_CODES = 29; +/* number of length codes, not counting the special END_BLOCK code */ + +const LITERALS = 256; +/* number of literal bytes 0..255 */ + +const L_CODES = LITERALS + 1 + LENGTH_CODES; +/* number of Literal or Length codes, including the END_BLOCK code */ + +const D_CODES = 30; +/* number of distance codes */ + +const BL_CODES = 19; +/* number of codes used to transfer the bit lengths */ + +const HEAP_SIZE = 2 * L_CODES + 1; +/* maximum heap size */ + +const MAX_BITS = 15; +/* All codes must not exceed MAX_BITS bits */ + +const Buf_size = 16; +/* size of bit buffer in bi_buf */ + + +/* =========================================================================== + * Constants + */ + +const MAX_BL_BITS = 7; +/* Bit length codes must not exceed MAX_BL_BITS bits */ + +const END_BLOCK = 256; +/* end of block literal code */ + +const REP_3_6 = 16; +/* repeat previous bit length 3-6 times (2 bits of repeat count) */ + +const REPZ_3_10 = 17; +/* repeat a zero length 3-10 times (3 bits of repeat count) */ + +const REPZ_11_138 = 18; +/* repeat a zero length 11-138 times (7 bits of repeat count) */ + +/* eslint-disable comma-spacing,array-bracket-spacing */ +const extra_lbits = /* extra bits for each length code */ + new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]); + +const extra_dbits = /* extra bits for each distance code */ + new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]); + +const extra_blbits = /* extra bits for each bit length code */ + new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]); + +const bl_order = + new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]); +/* eslint-enable comma-spacing,array-bracket-spacing */ + +/* The lengths of the bit length codes are sent in order of decreasing + * probability, to avoid transmitting the lengths for unused bit length codes. + */ + +/* =========================================================================== + * Local data. These are initialized only once. + */ + +// We pre-fill arrays with 0 to avoid uninitialized gaps + +const DIST_CODE_LEN = 512; /* see definition of array dist_code below */ + +// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1 +const static_ltree = new Array((L_CODES + 2) * 2); +zero(static_ltree); +/* The static literal tree. Since the bit lengths are imposed, there is no + * need for the L_CODES extra codes used during heap construction. However + * The codes 286 and 287 are needed to build a canonical tree (see _tr_init + * below). + */ + +const static_dtree = new Array(D_CODES * 2); +zero(static_dtree); +/* The static distance tree. (Actually a trivial tree since all codes use + * 5 bits.) + */ + +const _dist_code = new Array(DIST_CODE_LEN); +zero(_dist_code); +/* Distance codes. The first 256 values correspond to the distances + * 3 .. 258, the last 256 values correspond to the top 8 bits of + * the 15 bit distances. + */ + +const _length_code = new Array(MAX_MATCH - MIN_MATCH + 1); +zero(_length_code); +/* length code for each normalized match length (0 == MIN_MATCH) */ + +const base_length = new Array(LENGTH_CODES); +zero(base_length); +/* First normalized length for each code (0 = MIN_MATCH) */ + +const base_dist = new Array(D_CODES); +zero(base_dist); +/* First normalized distance for each code (0 = distance of 1) */ + + +function StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) { + + this.static_tree = static_tree; /* static tree or NULL */ + this.extra_bits = extra_bits; /* extra bits for each code or NULL */ + this.extra_base = extra_base; /* base index for extra_bits */ + this.elems = elems; /* max number of elements in the tree */ + this.max_length = max_length; /* max bit length for the codes */ + + // show if `static_tree` has data or dummy - needed for monomorphic objects + this.has_stree = static_tree && static_tree.length; +} + + +let static_l_desc; +let static_d_desc; +let static_bl_desc; + + +function TreeDesc(dyn_tree, stat_desc) { + this.dyn_tree = dyn_tree; /* the dynamic tree */ + this.max_code = 0; /* largest code with non zero frequency */ + this.stat_desc = stat_desc; /* the corresponding static tree */ +} + + + +const d_code = (dist) => { + + return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)]; +}; + + +/* =========================================================================== + * Output a short LSB first on the stream. + * IN assertion: there is enough room in pendingBuf. + */ +const put_short = (s, w) => { +// put_byte(s, (uch)((w) & 0xff)); +// put_byte(s, (uch)((ush)(w) >> 8)); + s.pending_buf[s.pending++] = (w) & 0xff; + s.pending_buf[s.pending++] = (w >>> 8) & 0xff; +}; + + +/* =========================================================================== + * Send a value on a given number of bits. + * IN assertion: length <= 16 and value fits in length bits. + */ +const send_bits = (s, value, length) => { + + if (s.bi_valid > (Buf_size - length)) { + s.bi_buf |= (value << s.bi_valid) & 0xffff; + put_short(s, s.bi_buf); + s.bi_buf = value >> (Buf_size - s.bi_valid); + s.bi_valid += length - Buf_size; + } else { + s.bi_buf |= (value << s.bi_valid) & 0xffff; + s.bi_valid += length; + } +}; + + +const send_code = (s, c, tree) => { + + send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/); +}; + + +/* =========================================================================== + * Reverse the first len bits of a code, using straightforward code (a faster + * method would use a table) + * IN assertion: 1 <= len <= 15 + */ +const bi_reverse = (code, len) => { + + let res = 0; + do { + res |= code & 1; + code >>>= 1; + res <<= 1; + } while (--len > 0); + return res >>> 1; +}; + + +/* =========================================================================== + * Flush the bit buffer, keeping at most 7 bits in it. + */ +const bi_flush = (s) => { + + if (s.bi_valid === 16) { + put_short(s, s.bi_buf); + s.bi_buf = 0; + s.bi_valid = 0; + + } else if (s.bi_valid >= 8) { + s.pending_buf[s.pending++] = s.bi_buf & 0xff; + s.bi_buf >>= 8; + s.bi_valid -= 8; + } +}; + + +/* =========================================================================== + * Compute the optimal bit lengths for a tree and update the total bit length + * for the current block. + * IN assertion: the fields freq and dad are set, heap[heap_max] and + * above are the tree nodes sorted by increasing frequency. + * OUT assertions: the field len is set to the optimal bit length, the + * array bl_count contains the frequencies for each bit length. + * The length opt_len is updated; static_len is also updated if stree is + * not null. + */ +const gen_bitlen = (s, desc) => +// deflate_state *s; +// tree_desc *desc; /* the tree descriptor */ +{ + const tree = desc.dyn_tree; + const max_code = desc.max_code; + const stree = desc.stat_desc.static_tree; + const has_stree = desc.stat_desc.has_stree; + const extra = desc.stat_desc.extra_bits; + const base = desc.stat_desc.extra_base; + const max_length = desc.stat_desc.max_length; + let h; /* heap index */ + let n, m; /* iterate over the tree elements */ + let bits; /* bit length */ + let xbits; /* extra bits */ + let f; /* frequency */ + let overflow = 0; /* number of elements with bit length too large */ + + for (bits = 0; bits <= MAX_BITS; bits++) { + s.bl_count[bits] = 0; + } + + /* In a first pass, compute the optimal bit lengths (which may + * overflow in the case of the bit length tree). + */ + tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */ + + for (h = s.heap_max + 1; h < HEAP_SIZE; h++) { + n = s.heap[h]; + bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1; + if (bits > max_length) { + bits = max_length; + overflow++; + } + tree[n * 2 + 1]/*.Len*/ = bits; + /* We overwrite tree[n].Dad which is no longer needed */ + + if (n > max_code) { continue; } /* not a leaf node */ + + s.bl_count[bits]++; + xbits = 0; + if (n >= base) { + xbits = extra[n - base]; + } + f = tree[n * 2]/*.Freq*/; + s.opt_len += f * (bits + xbits); + if (has_stree) { + s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits); + } + } + if (overflow === 0) { return; } + + // Trace((stderr,"\nbit length overflow\n")); + /* This happens for example on obj2 and pic of the Calgary corpus */ + + /* Find the first bit length which could increase: */ + do { + bits = max_length - 1; + while (s.bl_count[bits] === 0) { bits--; } + s.bl_count[bits]--; /* move one leaf down the tree */ + s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */ + s.bl_count[max_length]--; + /* The brother of the overflow item also moves one step up, + * but this does not affect bl_count[max_length] + */ + overflow -= 2; + } while (overflow > 0); + + /* Now recompute all bit lengths, scanning in increasing frequency. + * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all + * lengths instead of fixing only the wrong ones. This idea is taken + * from 'ar' written by Haruhiko Okumura.) + */ + for (bits = max_length; bits !== 0; bits--) { + n = s.bl_count[bits]; + while (n !== 0) { + m = s.heap[--h]; + if (m > max_code) { continue; } + if (tree[m * 2 + 1]/*.Len*/ !== bits) { + // Trace((stderr,"code %d bits %d->%d\n", m, tree[m].Len, bits)); + s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/; + tree[m * 2 + 1]/*.Len*/ = bits; + } + n--; + } + } +}; + + +/* =========================================================================== + * Generate the codes for a given tree and bit counts (which need not be + * optimal). + * IN assertion: the array bl_count contains the bit length statistics for + * the given tree and the field len is set for all tree elements. + * OUT assertion: the field code is set for all tree elements of non + * zero code length. + */ +const gen_codes = (tree, max_code, bl_count) => +// ct_data *tree; /* the tree to decorate */ +// int max_code; /* largest code with non zero frequency */ +// ushf *bl_count; /* number of codes at each bit length */ +{ + const next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */ + let code = 0; /* running code value */ + let bits; /* bit index */ + let n; /* code index */ + + /* The distribution counts are first used to generate the code values + * without bit reversal. + */ + for (bits = 1; bits <= MAX_BITS; bits++) { + next_code[bits] = code = (code + bl_count[bits - 1]) << 1; + } + /* Check that the bit counts in bl_count are consistent. The last code + * must be all ones. + */ + //Assert (code + bl_count[MAX_BITS]-1 == (1< { + + let n; /* iterates over tree elements */ + let bits; /* bit counter */ + let length; /* length value */ + let code; /* code value */ + let dist; /* distance index */ + const bl_count = new Array(MAX_BITS + 1); + /* number of codes at each bit length for an optimal tree */ + + // do check in _tr_init() + //if (static_init_done) return; + + /* For some embedded targets, global variables are not initialized: */ +/*#ifdef NO_INIT_GLOBAL_POINTERS + static_l_desc.static_tree = static_ltree; + static_l_desc.extra_bits = extra_lbits; + static_d_desc.static_tree = static_dtree; + static_d_desc.extra_bits = extra_dbits; + static_bl_desc.extra_bits = extra_blbits; +#endif*/ + + /* Initialize the mapping length (0..255) -> length code (0..28) */ + length = 0; + for (code = 0; code < LENGTH_CODES - 1; code++) { + base_length[code] = length; + for (n = 0; n < (1 << extra_lbits[code]); n++) { + _length_code[length++] = code; + } + } + //Assert (length == 256, "tr_static_init: length != 256"); + /* Note that the length 255 (match length 258) can be represented + * in two different ways: code 284 + 5 bits or code 285, so we + * overwrite length_code[255] to use the best encoding: + */ + _length_code[length - 1] = code; + + /* Initialize the mapping dist (0..32K) -> dist code (0..29) */ + dist = 0; + for (code = 0; code < 16; code++) { + base_dist[code] = dist; + for (n = 0; n < (1 << extra_dbits[code]); n++) { + _dist_code[dist++] = code; + } + } + //Assert (dist == 256, "tr_static_init: dist != 256"); + dist >>= 7; /* from now on, all distances are divided by 128 */ + for (; code < D_CODES; code++) { + base_dist[code] = dist << 7; + for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) { + _dist_code[256 + dist++] = code; + } + } + //Assert (dist == 256, "tr_static_init: 256+dist != 512"); + + /* Construct the codes of the static literal tree */ + for (bits = 0; bits <= MAX_BITS; bits++) { + bl_count[bits] = 0; + } + + n = 0; + while (n <= 143) { + static_ltree[n * 2 + 1]/*.Len*/ = 8; + n++; + bl_count[8]++; + } + while (n <= 255) { + static_ltree[n * 2 + 1]/*.Len*/ = 9; + n++; + bl_count[9]++; + } + while (n <= 279) { + static_ltree[n * 2 + 1]/*.Len*/ = 7; + n++; + bl_count[7]++; + } + while (n <= 287) { + static_ltree[n * 2 + 1]/*.Len*/ = 8; + n++; + bl_count[8]++; + } + /* Codes 286 and 287 do not exist, but we must include them in the + * tree construction to get a canonical Huffman tree (longest code + * all ones) + */ + gen_codes(static_ltree, L_CODES + 1, bl_count); + + /* The static distance tree is trivial: */ + for (n = 0; n < D_CODES; n++) { + static_dtree[n * 2 + 1]/*.Len*/ = 5; + static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5); + } + + // Now data ready and we can init static trees + static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS); + static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS); + static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS); + + //static_init_done = true; +}; + + +/* =========================================================================== + * Initialize a new block. + */ +const init_block = (s) => { + + let n; /* iterates over tree elements */ + + /* Initialize the trees. */ + for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; } + for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; } + for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; } + + s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1; + s.opt_len = s.static_len = 0; + s.last_lit = s.matches = 0; +}; + + +/* =========================================================================== + * Flush the bit buffer and align the output on a byte boundary + */ +const bi_windup = (s) => +{ + if (s.bi_valid > 8) { + put_short(s, s.bi_buf); + } else if (s.bi_valid > 0) { + //put_byte(s, (Byte)s->bi_buf); + s.pending_buf[s.pending++] = s.bi_buf; + } + s.bi_buf = 0; + s.bi_valid = 0; +}; + +/* =========================================================================== + * Copy a stored block, storing first the length and its + * one's complement if requested. + */ +const copy_block = (s, buf, len, header) => +//DeflateState *s; +//charf *buf; /* the input data */ +//unsigned len; /* its length */ +//int header; /* true if block header must be written */ +{ + bi_windup(s); /* align on byte boundary */ + + if (header) { + put_short(s, len); + put_short(s, ~len); + } +// while (len--) { +// put_byte(s, *buf++); +// } + s.pending_buf.set(s.window.subarray(buf, buf + len), s.pending); + s.pending += len; +}; + +/* =========================================================================== + * Compares to subtrees, using the tree depth as tie breaker when + * the subtrees have equal frequency. This minimizes the worst case length. + */ +const smaller = (tree, n, m, depth) => { + + const _n2 = n * 2; + const _m2 = m * 2; + return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ || + (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m])); +}; + +/* =========================================================================== + * Restore the heap property by moving down the tree starting at node k, + * exchanging a node with the smallest of its two sons if necessary, stopping + * when the heap property is re-established (each father smaller than its + * two sons). + */ +const pqdownheap = (s, tree, k) => +// deflate_state *s; +// ct_data *tree; /* the tree to restore */ +// int k; /* node to move down */ +{ + const v = s.heap[k]; + let j = k << 1; /* left son of k */ + while (j <= s.heap_len) { + /* Set j to the smallest of the two sons: */ + if (j < s.heap_len && + smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) { + j++; + } + /* Exit if v is smaller than both sons */ + if (smaller(tree, v, s.heap[j], s.depth)) { break; } + + /* Exchange v with the smallest son */ + s.heap[k] = s.heap[j]; + k = j; + + /* And continue down the tree, setting j to the left son of k */ + j <<= 1; + } + s.heap[k] = v; +}; + + +// inlined manually +// const SMALLEST = 1; + +/* =========================================================================== + * Send the block data compressed using the given Huffman trees + */ +const compress_block = (s, ltree, dtree) => +// deflate_state *s; +// const ct_data *ltree; /* literal tree */ +// const ct_data *dtree; /* distance tree */ +{ + let dist; /* distance of matched string */ + let lc; /* match length or unmatched char (if dist == 0) */ + let lx = 0; /* running index in l_buf */ + let code; /* the code to send */ + let extra; /* number of extra bits to send */ + + if (s.last_lit !== 0) { + do { + dist = (s.pending_buf[s.d_buf + lx * 2] << 8) | (s.pending_buf[s.d_buf + lx * 2 + 1]); + lc = s.pending_buf[s.l_buf + lx]; + lx++; + + if (dist === 0) { + send_code(s, lc, ltree); /* send a literal byte */ + //Tracecv(isgraph(lc), (stderr," '%c' ", lc)); + } else { + /* Here, lc is the match length - MIN_MATCH */ + code = _length_code[lc]; + send_code(s, code + LITERALS + 1, ltree); /* send the length code */ + extra = extra_lbits[code]; + if (extra !== 0) { + lc -= base_length[code]; + send_bits(s, lc, extra); /* send the extra length bits */ + } + dist--; /* dist is now the match distance - 1 */ + code = d_code(dist); + //Assert (code < D_CODES, "bad d_code"); + + send_code(s, code, dtree); /* send the distance code */ + extra = extra_dbits[code]; + if (extra !== 0) { + dist -= base_dist[code]; + send_bits(s, dist, extra); /* send the extra distance bits */ + } + } /* literal or match pair ? */ + + /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */ + //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx, + // "pendingBuf overflow"); + + } while (lx < s.last_lit); + } + + send_code(s, END_BLOCK, ltree); +}; + + +/* =========================================================================== + * Construct one Huffman tree and assigns the code bit strings and lengths. + * Update the total bit length for the current block. + * IN assertion: the field freq is set for all tree elements. + * OUT assertions: the fields len and code are set to the optimal bit length + * and corresponding code. The length opt_len is updated; static_len is + * also updated if stree is not null. The field max_code is set. + */ +const build_tree = (s, desc) => +// deflate_state *s; +// tree_desc *desc; /* the tree descriptor */ +{ + const tree = desc.dyn_tree; + const stree = desc.stat_desc.static_tree; + const has_stree = desc.stat_desc.has_stree; + const elems = desc.stat_desc.elems; + let n, m; /* iterate over heap elements */ + let max_code = -1; /* largest code with non zero frequency */ + let node; /* new node being created */ + + /* Construct the initial heap, with least frequent element in + * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1]. + * heap[0] is not used. + */ + s.heap_len = 0; + s.heap_max = HEAP_SIZE; + + for (n = 0; n < elems; n++) { + if (tree[n * 2]/*.Freq*/ !== 0) { + s.heap[++s.heap_len] = max_code = n; + s.depth[n] = 0; + + } else { + tree[n * 2 + 1]/*.Len*/ = 0; + } + } + + /* The pkzip format requires that at least one distance code exists, + * and that at least one bit should be sent even if there is only one + * possible code. So to avoid special checks later on we force at least + * two codes of non zero frequency. + */ + while (s.heap_len < 2) { + node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0); + tree[node * 2]/*.Freq*/ = 1; + s.depth[node] = 0; + s.opt_len--; + + if (has_stree) { + s.static_len -= stree[node * 2 + 1]/*.Len*/; + } + /* node is 0 or 1 so it does not have extra bits */ + } + desc.max_code = max_code; + + /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree, + * establish sub-heaps of increasing lengths: + */ + for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); } + + /* Construct the Huffman tree by repeatedly combining the least two + * frequent nodes. + */ + node = elems; /* next internal node of the tree */ + do { + //pqremove(s, tree, n); /* n = node of least frequency */ + /*** pqremove ***/ + n = s.heap[1/*SMALLEST*/]; + s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--]; + pqdownheap(s, tree, 1/*SMALLEST*/); + /***/ + + m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */ + + s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */ + s.heap[--s.heap_max] = m; + + /* Create a new node father of n and m */ + tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/; + s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1; + tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node; + + /* and insert the new node in the heap */ + s.heap[1/*SMALLEST*/] = node++; + pqdownheap(s, tree, 1/*SMALLEST*/); + + } while (s.heap_len >= 2); + + s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/]; + + /* At this point, the fields freq and dad are set. We can now + * generate the bit lengths. + */ + gen_bitlen(s, desc); + + /* The field len is now set, we can generate the bit codes */ + gen_codes(tree, max_code, s.bl_count); +}; + + +/* =========================================================================== + * Scan a literal or distance tree to determine the frequencies of the codes + * in the bit length tree. + */ +const scan_tree = (s, tree, max_code) => +// deflate_state *s; +// ct_data *tree; /* the tree to be scanned */ +// int max_code; /* and its largest code of non zero frequency */ +{ + let n; /* iterates over all tree elements */ + let prevlen = -1; /* last emitted length */ + let curlen; /* length of current code */ + + let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */ + + let count = 0; /* repeat count of the current code */ + let max_count = 7; /* max repeat count */ + let min_count = 4; /* min repeat count */ + + if (nextlen === 0) { + max_count = 138; + min_count = 3; + } + tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */ + + for (n = 0; n <= max_code; n++) { + curlen = nextlen; + nextlen = tree[(n + 1) * 2 + 1]/*.Len*/; + + if (++count < max_count && curlen === nextlen) { + continue; + + } else if (count < min_count) { + s.bl_tree[curlen * 2]/*.Freq*/ += count; + + } else if (curlen !== 0) { + + if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; } + s.bl_tree[REP_3_6 * 2]/*.Freq*/++; + + } else if (count <= 10) { + s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++; + + } else { + s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++; + } + + count = 0; + prevlen = curlen; + + if (nextlen === 0) { + max_count = 138; + min_count = 3; + + } else if (curlen === nextlen) { + max_count = 6; + min_count = 3; + + } else { + max_count = 7; + min_count = 4; + } + } +}; + + +/* =========================================================================== + * Send a literal or distance tree in compressed form, using the codes in + * bl_tree. + */ +const send_tree = (s, tree, max_code) => +// deflate_state *s; +// ct_data *tree; /* the tree to be scanned */ +// int max_code; /* and its largest code of non zero frequency */ +{ + let n; /* iterates over all tree elements */ + let prevlen = -1; /* last emitted length */ + let curlen; /* length of current code */ + + let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */ + + let count = 0; /* repeat count of the current code */ + let max_count = 7; /* max repeat count */ + let min_count = 4; /* min repeat count */ + + /* tree[max_code+1].Len = -1; */ /* guard already set */ + if (nextlen === 0) { + max_count = 138; + min_count = 3; + } + + for (n = 0; n <= max_code; n++) { + curlen = nextlen; + nextlen = tree[(n + 1) * 2 + 1]/*.Len*/; + + if (++count < max_count && curlen === nextlen) { + continue; + + } else if (count < min_count) { + do { send_code(s, curlen, s.bl_tree); } while (--count !== 0); + + } else if (curlen !== 0) { + if (curlen !== prevlen) { + send_code(s, curlen, s.bl_tree); + count--; + } + //Assert(count >= 3 && count <= 6, " 3_6?"); + send_code(s, REP_3_6, s.bl_tree); + send_bits(s, count - 3, 2); + + } else if (count <= 10) { + send_code(s, REPZ_3_10, s.bl_tree); + send_bits(s, count - 3, 3); + + } else { + send_code(s, REPZ_11_138, s.bl_tree); + send_bits(s, count - 11, 7); + } + + count = 0; + prevlen = curlen; + if (nextlen === 0) { + max_count = 138; + min_count = 3; + + } else if (curlen === nextlen) { + max_count = 6; + min_count = 3; + + } else { + max_count = 7; + min_count = 4; + } + } +}; + + +/* =========================================================================== + * Construct the Huffman tree for the bit lengths and return the index in + * bl_order of the last bit length code to send. + */ +const build_bl_tree = (s) => { + + let max_blindex; /* index of last bit length code of non zero freq */ + + /* Determine the bit length frequencies for literal and distance trees */ + scan_tree(s, s.dyn_ltree, s.l_desc.max_code); + scan_tree(s, s.dyn_dtree, s.d_desc.max_code); + + /* Build the bit length tree: */ + build_tree(s, s.bl_desc); + /* opt_len now includes the length of the tree representations, except + * the lengths of the bit lengths codes and the 5+5+4 bits for the counts. + */ + + /* Determine the number of bit length codes to send. The pkzip format + * requires that at least 4 bit length codes be sent. (appnote.txt says + * 3 but the actual value used is 4.) + */ + for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) { + if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) { + break; + } + } + /* Update opt_len to include the bit length tree and counts */ + s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4; + //Tracev((stderr, "\ndyn trees: dyn %ld, stat %ld", + // s->opt_len, s->static_len)); + + return max_blindex; +}; + + +/* =========================================================================== + * Send the header for a block using dynamic Huffman trees: the counts, the + * lengths of the bit length codes, the literal tree and the distance tree. + * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4. + */ +const send_all_trees = (s, lcodes, dcodes, blcodes) => +// deflate_state *s; +// int lcodes, dcodes, blcodes; /* number of codes for each tree */ +{ + let rank; /* index in bl_order */ + + //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, "not enough codes"); + //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES, + // "too many codes"); + //Tracev((stderr, "\nbl counts: ")); + send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */ + send_bits(s, dcodes - 1, 5); + send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */ + for (rank = 0; rank < blcodes; rank++) { + //Tracev((stderr, "\nbl code %2d ", bl_order[rank])); + send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3); + } + //Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent)); + + send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */ + //Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent)); + + send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */ + //Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent)); +}; + + +/* =========================================================================== + * Check if the data type is TEXT or BINARY, using the following algorithm: + * - TEXT if the two conditions below are satisfied: + * a) There are no non-portable control characters belonging to the + * "black list" (0..6, 14..25, 28..31). + * b) There is at least one printable character belonging to the + * "white list" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255). + * - BINARY otherwise. + * - The following partially-portable control characters form a + * "gray list" that is ignored in this detection algorithm: + * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}). + * IN assertion: the fields Freq of dyn_ltree are set. + */ +const detect_data_type = (s) => { + /* black_mask is the bit mask of black-listed bytes + * set bits 0..6, 14..25, and 28..31 + * 0xf3ffc07f = binary 11110011111111111100000001111111 + */ + let black_mask = 0xf3ffc07f; + let n; + + /* Check for non-textual ("black-listed") bytes. */ + for (n = 0; n <= 31; n++, black_mask >>>= 1) { + if ((black_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) { + return Z_BINARY; + } + } + + /* Check for textual ("white-listed") bytes. */ + if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 || + s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) { + return Z_TEXT; + } + for (n = 32; n < LITERALS; n++) { + if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) { + return Z_TEXT; + } + } + + /* There are no "black-listed" or "white-listed" bytes: + * this stream either is empty or has tolerated ("gray-listed") bytes only. + */ + return Z_BINARY; +}; + + +let static_init_done = false; + +/* =========================================================================== + * Initialize the tree data structures for a new zlib stream. + */ +const _tr_init = (s) => +{ + + if (!static_init_done) { + tr_static_init(); + static_init_done = true; + } + + s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc); + s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc); + s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc); + + s.bi_buf = 0; + s.bi_valid = 0; + + /* Initialize the first block of the first file: */ + init_block(s); +}; + + +/* =========================================================================== + * Send a stored block + */ +const _tr_stored_block = (s, buf, stored_len, last) => +//DeflateState *s; +//charf *buf; /* input block */ +//ulg stored_len; /* length of input block */ +//int last; /* one if this is the last block for a file */ +{ + send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */ + copy_block(s, buf, stored_len, true); /* with header */ +}; + + +/* =========================================================================== + * Send one empty static block to give enough lookahead for inflate. + * This takes 10 bits, of which 7 may remain in the bit buffer. + */ +const _tr_align = (s) => { + send_bits(s, STATIC_TREES << 1, 3); + send_code(s, END_BLOCK, static_ltree); + bi_flush(s); +}; + + +/* =========================================================================== + * Determine the best encoding for the current block: dynamic trees, static + * trees or store, and output the encoded block to the zip file. + */ +const _tr_flush_block = (s, buf, stored_len, last) => +//DeflateState *s; +//charf *buf; /* input block, or NULL if too old */ +//ulg stored_len; /* length of input block */ +//int last; /* one if this is the last block for a file */ +{ + let opt_lenb, static_lenb; /* opt_len and static_len in bytes */ + let max_blindex = 0; /* index of last bit length code of non zero freq */ + + /* Build the Huffman trees unless a stored block is forced */ + if (s.level > 0) { + + /* Check if the file is binary or text */ + if (s.strm.data_type === Z_UNKNOWN) { + s.strm.data_type = detect_data_type(s); + } + + /* Construct the literal and distance trees */ + build_tree(s, s.l_desc); + // Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, + // s->static_len)); + + build_tree(s, s.d_desc); + // Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, + // s->static_len)); + /* At this point, opt_len and static_len are the total bit lengths of + * the compressed block data, excluding the tree representations. + */ + + /* Build the bit length tree for the above two trees, and get the index + * in bl_order of the last bit length code to send. + */ + max_blindex = build_bl_tree(s); + + /* Determine the best encoding. Compute the block lengths in bytes. */ + opt_lenb = (s.opt_len + 3 + 7) >>> 3; + static_lenb = (s.static_len + 3 + 7) >>> 3; + + // Tracev((stderr, "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u ", + // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, + // s->last_lit)); + + if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; } + + } else { + // Assert(buf != (char*)0, "lost buf"); + opt_lenb = static_lenb = stored_len + 5; /* force a stored block */ + } + + if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) { + /* 4: two words for the lengths */ + + /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE. + * Otherwise we can't have processed more than WSIZE input bytes since + * the last block flush, because compression would have been + * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to + * transform a block into a stored block. + */ + _tr_stored_block(s, buf, stored_len, last); + + } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) { + + send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3); + compress_block(s, static_ltree, static_dtree); + + } else { + send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3); + send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1); + compress_block(s, s.dyn_ltree, s.dyn_dtree); + } + // Assert (s->compressed_len == s->bits_sent, "bad compressed size"); + /* The above check is made mod 2^32, for files larger than 512 MB + * and uLong implemented on 32 bits. + */ + init_block(s); + + if (last) { + bi_windup(s); + } + // Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3, + // s->compressed_len-7*last)); +}; + +/* =========================================================================== + * Save the match info and tally the frequency counts. Return true if + * the current block must be flushed. + */ +const _tr_tally = (s, dist, lc) => +// deflate_state *s; +// unsigned dist; /* distance of matched string */ +// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */ +{ + //let out_length, in_length, dcode; + + s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff; + s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff; + + s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff; + s.last_lit++; + + if (dist === 0) { + /* lc is the unmatched char */ + s.dyn_ltree[lc * 2]/*.Freq*/++; + } else { + s.matches++; + /* Here, lc is the match length - MIN_MATCH */ + dist--; /* dist = match distance - 1 */ + //Assert((ush)dist < (ush)MAX_DIST(s) && + // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) && + // (ush)d_code(dist) < (ush)D_CODES, "_tr_tally: bad match"); + + s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++; + s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++; + } + +// (!) This block is disabled in zlib defaults, +// don't enable it for binary compatibility + +//#ifdef TRUNCATE_BLOCK +// /* Try to guess if it is profitable to stop the current block here */ +// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) { +// /* Compute an upper bound for the compressed length */ +// out_length = s.last_lit*8; +// in_length = s.strstart - s.block_start; +// +// for (dcode = 0; dcode < D_CODES; dcode++) { +// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]); +// } +// out_length >>>= 3; +// //Tracev((stderr,"\nlast_lit %u, in %ld, out ~%ld(%ld%%) ", +// // s->last_lit, in_length, out_length, +// // 100L - out_length*100L/in_length)); +// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) { +// return true; +// } +// } +//#endif + + return (s.last_lit === s.lit_bufsize - 1); + /* We avoid equality with lit_bufsize because of wraparound at 64K + * on 16 bit machines and because stored blocks are restricted to + * 64K-1 bytes. + */ +}; + +module.exports._tr_init = _tr_init; +module.exports._tr_stored_block = _tr_stored_block; +module.exports._tr_flush_block = _tr_flush_block; +module.exports._tr_tally = _tr_tally; +module.exports._tr_align = _tr_align; + + +/***/ }), + +/***/ 86442: +/***/ ((module) => { + +"use strict"; + + +// (C) 1995-2013 Jean-loup Gailly and Mark Adler +// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin +// +// This software is provided 'as-is', without any express or implied +// warranty. In no event will the authors be held liable for any damages +// arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it +// freely, subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; you must not +// claim that you wrote the original software. If you use this software +// in a product, an acknowledgment in the product documentation would be +// appreciated but is not required. +// 2. Altered source versions must be plainly marked as such, and must not be +// misrepresented as being the original software. +// 3. This notice may not be removed or altered from any source distribution. + +function ZStream() { + /* next input byte */ + this.input = null; // JS specific, because we have no pointers + this.next_in = 0; + /* number of bytes available at input */ + this.avail_in = 0; + /* total number of input bytes read so far */ + this.total_in = 0; + /* next output byte should be put there */ + this.output = null; // JS specific, because we have no pointers + this.next_out = 0; + /* remaining free space at output */ + this.avail_out = 0; + /* total number of bytes output so far */ + this.total_out = 0; + /* last error message, NULL if no error */ + this.msg = ''/*Z_NULL*/; + /* not visible by applications */ + this.state = null; + /* best guess about the data type: binary or text */ + this.data_type = 2/*Z_UNKNOWN*/; + /* adler32 value of the uncompressed data */ + this.adler = 0; +} + +module.exports = ZStream; + + +/***/ }), + +/***/ 13319: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +var has = Object.prototype.hasOwnProperty + , undef; + +/** + * Decode a URI encoded string. + * + * @param {String} input The URI encoded string. + * @returns {String|Null} The decoded string. + * @api private + */ +function decode(input) { + try { + return decodeURIComponent(input.replace(/\+/g, ' ')); + } catch (e) { + return null; + } +} + +/** + * Attempts to encode a given input. + * + * @param {String} input The string that needs to be encoded. + * @returns {String|Null} The encoded string. + * @api private + */ +function encode(input) { + try { + return encodeURIComponent(input); + } catch (e) { + return null; + } +} + +/** + * Simple query string parser. + * + * @param {String} query The query string that needs to be parsed. + * @returns {Object} + * @api public + */ +function querystring(query) { + var parser = /([^=?#&]+)=?([^&]*)/g + , result = {} + , part; + + while (part = parser.exec(query)) { + var key = decode(part[1]) + , value = decode(part[2]); + + // + // Prevent overriding of existing properties. This ensures that build-in + // methods like `toString` or __proto__ are not overriden by malicious + // querystrings. + // + // In the case if failed decoding, we want to omit the key/value pairs + // from the result. + // + if (key === null || value === null || key in result) continue; + result[key] = value; + } + + return result; +} + +/** + * Transform a query string to an object. + * + * @param {Object} obj Object that should be transformed. + * @param {String} prefix Optional prefix. + * @returns {String} + * @api public + */ +function querystringify(obj, prefix) { + prefix = prefix || ''; + + var pairs = [] + , value + , key; + + // + // Optionally prefix with a '?' if needed + // + if ('string' !== typeof prefix) prefix = '?'; + + for (key in obj) { + if (has.call(obj, key)) { + value = obj[key]; + + // + // Edge cases where we actually want to encode the value to an empty + // string instead of the stringified value. + // + if (!value && (value === null || value === undef || isNaN(value))) { + value = ''; + } + + key = encode(key); + value = encode(value); + + // + // If we failed to encode the strings, we should bail out as we don't + // want to add invalid strings to the query. + // + if (key === null || value === null) continue; + pairs.push(key +'='+ value); + } + } + + return pairs.length ? prefix + pairs.join('&') : ''; +} + +// +// Expose the module. +// +exports.stringify = querystringify; +exports.parse = querystring; + + +/***/ }), + +/***/ 44742: +/***/ ((module) => { + +"use strict"; + + +/** + * Check if we're required to add a port number. + * + * @see https://url.spec.whatwg.org/#default-port + * @param {Number|String} port Port number we need to check + * @param {String} protocol Protocol we need to check against. + * @returns {Boolean} Is it a default port for the given protocol + * @api private + */ +module.exports = function required(port, protocol) { + protocol = protocol.split(':')[0]; + port = +port; + + if (!port) return false; + + switch (protocol) { + case 'http': + case 'ws': + return port !== 80; + + case 'https': + case 'wss': + return port !== 443; + + case 'ftp': + return port !== 21; + + case 'gopher': + return port !== 70; + + case 'file': + return false; + } + + return port !== 0; +}; + + +/***/ }), + +/***/ 84256: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var punycode = __nccwpck_require__(85477); +var mappingTable = __nccwpck_require__(72020); + +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; + + +/***/ }), + +/***/ 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 + + +/***/ }), + +/***/ 45030: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +function getUserAgent() { + if (typeof navigator === "object" && "userAgent" in navigator) { + return navigator.userAgent; + } + + if (typeof process === "object" && "version" in process) { + return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; + } + + return ""; +} + +exports.getUserAgent = getUserAgent; +//# sourceMappingURL=index.js.map + + +/***/ }), + +/***/ 25682: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var required = __nccwpck_require__(44742) + , qs = __nccwpck_require__(13319) + , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/ + , protocolre = /^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i + , whitespace = '[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]' + , left = new RegExp('^'+ whitespace +'+'); + +/** + * Trim a given string. + * + * @param {String} str String to trim. + * @public + */ +function trimLeft(str) { + return (str ? str : '').toString().replace(left, ''); +} + +/** + * These are the parse rules for the URL parser, it informs the parser + * about: + * + * 0. The char it Needs to parse, if it's a string it should be done using + * indexOf, RegExp using exec and NaN means set as current value. + * 1. The property we should set when parsing this value. + * 2. Indication if it's backwards or forward parsing, when set as number it's + * the value of extra chars that should be split off. + * 3. Inherit from location if non existing in the parser. + * 4. `toLowerCase` the resulting value. + */ +var rules = [ + ['#', 'hash'], // Extract from the back. + ['?', 'query'], // Extract from the back. + function sanitize(address) { // Sanitize what is left of the address + return address.replace('\\', '/'); + }, + ['/', 'pathname'], // Extract from the back. + ['@', 'auth', 1], // Extract from the front. + [NaN, 'host', undefined, 1, 1], // Set left over value. + [/:(\d+)$/, 'port', undefined, 1], // RegExp the back. + [NaN, 'hostname', undefined, 1, 1] // Set left over. +]; + +/** + * These properties should not be copied or inherited from. This is only needed + * for all non blob URL's as a blob URL does not include a hash, only the + * origin. + * + * @type {Object} + * @private + */ +var ignore = { hash: 1, query: 1 }; + +/** + * The location object differs when your code is loaded through a normal page, + * Worker or through a worker using a blob. And with the blobble begins the + * trouble as the location object will contain the URL of the blob, not the + * location of the page where our code is loaded in. The actual origin is + * encoded in the `pathname` so we can thankfully generate a good "default" + * location from it so we can generate proper relative URL's again. + * + * @param {Object|String} loc Optional default location object. + * @returns {Object} lolcation object. + * @public + */ +function lolcation(loc) { + var globalVar; + + if (typeof window !== 'undefined') globalVar = window; + else if (typeof global !== 'undefined') globalVar = global; + else if (typeof self !== 'undefined') globalVar = self; + else globalVar = {}; + + var location = globalVar.location || {}; + loc = loc || location; + + var finaldestination = {} + , type = typeof loc + , key; + + if ('blob:' === loc.protocol) { + finaldestination = new Url(unescape(loc.pathname), {}); + } else if ('string' === type) { + finaldestination = new Url(loc, {}); + for (key in ignore) delete finaldestination[key]; + } else if ('object' === type) { + for (key in loc) { + if (key in ignore) continue; + finaldestination[key] = loc[key]; + } + + if (finaldestination.slashes === undefined) { + finaldestination.slashes = slashes.test(loc.href); + } + } + + return finaldestination; +} + +/** + * @typedef ProtocolExtract + * @type Object + * @property {String} protocol Protocol matched in the URL, in lowercase. + * @property {Boolean} slashes `true` if protocol is followed by "//", else `false`. + * @property {String} rest Rest of the URL that is not part of the protocol. + */ + +/** + * Extract protocol information from a URL with/without double slash ("//"). + * + * @param {String} address URL we want to extract from. + * @return {ProtocolExtract} Extracted information. + * @private + */ +function extractProtocol(address) { + address = trimLeft(address); + + var match = protocolre.exec(address) + , protocol = match[1] ? match[1].toLowerCase() : '' + , slashes = !!(match[2] && match[2].length >= 2) + , rest = match[2] && match[2].length === 1 ? '/' + match[3] : match[3]; + + return { + protocol: protocol, + slashes: slashes, + rest: rest + }; +} + +/** + * Resolve a relative URL pathname against a base URL pathname. + * + * @param {String} relative Pathname of the relative URL. + * @param {String} base Pathname of the base URL. + * @return {String} Resolved pathname. + * @private + */ +function resolve(relative, base) { + if (relative === '') return base; + + var path = (base || '/').split('/').slice(0, -1).concat(relative.split('/')) + , i = path.length + , last = path[i - 1] + , unshift = false + , up = 0; + + while (i--) { + if (path[i] === '.') { + path.splice(i, 1); + } else if (path[i] === '..') { + path.splice(i, 1); + up++; + } else if (up) { + if (i === 0) unshift = true; + path.splice(i, 1); + up--; + } + } + + if (unshift) path.unshift(''); + if (last === '.' || last === '..') path.push(''); + + return path.join('/'); +} + +/** + * The actual URL instance. Instead of returning an object we've opted-in to + * create an actual constructor as it's much more memory efficient and + * faster and it pleases my OCD. + * + * It is worth noting that we should not use `URL` as class name to prevent + * clashes with the global URL instance that got introduced in browsers. + * + * @constructor + * @param {String} address URL we want to parse. + * @param {Object|String} [location] Location defaults for relative paths. + * @param {Boolean|Function} [parser] Parser for the query string. + * @private + */ +function Url(address, location, parser) { + address = trimLeft(address); + + if (!(this instanceof Url)) { + return new Url(address, location, parser); + } + + var relative, extracted, parse, instruction, index, key + , instructions = rules.slice() + , type = typeof location + , url = this + , i = 0; + + // + // The following if statements allows this module two have compatibility with + // 2 different API: + // + // 1. Node.js's `url.parse` api which accepts a URL, boolean as arguments + // where the boolean indicates that the query string should also be parsed. + // + // 2. The `URL` interface of the browser which accepts a URL, object as + // arguments. The supplied object will be used as default values / fall-back + // for relative paths. + // + if ('object' !== type && 'string' !== type) { + parser = location; + location = null; + } + + if (parser && 'function' !== typeof parser) parser = qs.parse; + + location = lolcation(location); + + // + // Extract protocol information before running the instructions. + // + extracted = extractProtocol(address || ''); + relative = !extracted.protocol && !extracted.slashes; + url.slashes = extracted.slashes || relative && location.slashes; + url.protocol = extracted.protocol || location.protocol || ''; + address = extracted.rest; + + // + // When the authority component is absent the URL starts with a path + // component. + // + if (!extracted.slashes) instructions[3] = [/(.*)/, 'pathname']; + + for (; i < instructions.length; i++) { + instruction = instructions[i]; + + if (typeof instruction === 'function') { + address = instruction(address); + continue; + } + + parse = instruction[0]; + key = instruction[1]; + + if (parse !== parse) { + url[key] = address; + } else if ('string' === typeof parse) { + if (~(index = address.indexOf(parse))) { + if ('number' === typeof instruction[2]) { + url[key] = address.slice(0, index); + address = address.slice(index + instruction[2]); + } else { + url[key] = address.slice(index); + address = address.slice(0, index); + } + } + } else if ((index = parse.exec(address))) { + url[key] = index[1]; + address = address.slice(0, index.index); + } + + url[key] = url[key] || ( + relative && instruction[3] ? location[key] || '' : '' + ); + + // + // Hostname, host and protocol should be lowercased so they can be used to + // create a proper `origin`. + // + if (instruction[4]) url[key] = url[key].toLowerCase(); + } + + // + // Also parse the supplied query string in to an object. If we're supplied + // with a custom parser as function use that instead of the default build-in + // parser. + // + if (parser) url.query = parser(url.query); + + // + // If the URL is relative, resolve the pathname against the base URL. + // + if ( + relative + && location.slashes + && url.pathname.charAt(0) !== '/' + && (url.pathname !== '' || location.pathname !== '') + ) { + url.pathname = resolve(url.pathname, location.pathname); + } + + // + // Default to a / for pathname if none exists. This normalizes the URL + // to always have a / + // + if (url.pathname.charAt(0) !== '/' && url.hostname) { + url.pathname = '/' + url.pathname; + } + + // + // We should not add port numbers if they are already the default port number + // for a given protocol. As the host also contains the port number we're going + // override it with the hostname which contains no port number. + // + if (!required(url.port, url.protocol)) { + url.host = url.hostname; + url.port = ''; + } + + // + // Parse down the `auth` for the username and password. + // + url.username = url.password = ''; + if (url.auth) { + instruction = url.auth.split(':'); + url.username = instruction[0] || ''; + url.password = instruction[1] || ''; + } + + url.origin = url.protocol && url.host && url.protocol !== 'file:' + ? url.protocol +'//'+ url.host + : 'null'; + + // + // The href is just the compiled result. + // + url.href = url.toString(); +} + +/** + * This is convenience method for changing properties in the URL instance to + * insure that they all propagate correctly. + * + * @param {String} part Property we need to adjust. + * @param {Mixed} value The newly assigned value. + * @param {Boolean|Function} fn When setting the query, it will be the function + * used to parse the query. + * When setting the protocol, double slash will be + * removed from the final url if it is true. + * @returns {URL} URL instance for chaining. + * @public + */ +function set(part, value, fn) { + var url = this; + + switch (part) { + case 'query': + if ('string' === typeof value && value.length) { + value = (fn || qs.parse)(value); + } + + url[part] = value; + break; + + case 'port': + url[part] = value; + + if (!required(value, url.protocol)) { + url.host = url.hostname; + url[part] = ''; + } else if (value) { + url.host = url.hostname +':'+ value; + } + + break; + + case 'hostname': + url[part] = value; + + if (url.port) value += ':'+ url.port; + url.host = value; + break; + + case 'host': + url[part] = value; + + if (/:\d+$/.test(value)) { + value = value.split(':'); + url.port = value.pop(); + url.hostname = value.join(':'); + } else { + url.hostname = value; + url.port = ''; + } + + break; + + case 'protocol': + url.protocol = value.toLowerCase(); + url.slashes = !fn; + break; + + case 'pathname': + case 'hash': + if (value) { + var char = part === 'pathname' ? '/' : '#'; + url[part] = value.charAt(0) !== char ? char + value : value; + } else { + url[part] = value; + } + break; + + default: + url[part] = value; + } + + for (var i = 0; i < rules.length; i++) { + var ins = rules[i]; + + if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase(); + } + + url.origin = url.protocol && url.host && url.protocol !== 'file:' + ? url.protocol +'//'+ url.host + : 'null'; + + url.href = url.toString(); + + return url; +} + +/** + * Transform the properties back in to a valid and full URL string. + * + * @param {Function} stringify Optional query stringify function. + * @returns {String} Compiled version of the URL. + * @public + */ +function toString(stringify) { + if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify; + + var query + , url = this + , protocol = url.protocol; + + if (protocol && protocol.charAt(protocol.length - 1) !== ':') protocol += ':'; + + var result = protocol + (url.slashes ? '//' : ''); + + if (url.username) { + result += url.username; + if (url.password) result += ':'+ url.password; + result += '@'; + } + + result += url.host + url.pathname; + + query = 'object' === typeof url.query ? stringify(url.query) : url.query; + if (query) result += '?' !== query.charAt(0) ? '?'+ query : query; + + if (url.hash) result += url.hash; + + return result; +} + +Url.prototype = { set: set, toString: toString }; + +// +// Expose the URL parser and some additional properties that might be useful for +// others or testing. +// +Url.extractProtocol = extractProtocol; +Url.location = lolcation; +Url.trimLeft = trimLeft; +Url.qs = qs; + +module.exports = Url; + + +/***/ }), + +/***/ 97537: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +const usm = __nccwpck_require__(2158); + +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; + } +}; + + +/***/ }), + +/***/ 63394: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const conversions = __nccwpck_require__(56059); +const utils = __nccwpck_require__(83185); +const Impl = __nccwpck_require__(97537); + +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 } + } +}; + + + +/***/ }), + +/***/ 28665: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +exports.URL = __nccwpck_require__(63394)["interface"]; +exports.serializeURL = __nccwpck_require__(2158).serializeURL; +exports.serializeURLOrigin = __nccwpck_require__(2158).serializeURLOrigin; +exports.basicURLParse = __nccwpck_require__(2158).basicURLParse; +exports.setTheUsername = __nccwpck_require__(2158).setTheUsername; +exports.setThePassword = __nccwpck_require__(2158).setThePassword; +exports.serializeHost = __nccwpck_require__(2158).serializeHost; +exports.serializeInteger = __nccwpck_require__(2158).serializeInteger; +exports.parseURL = __nccwpck_require__(2158).parseURL; + + +/***/ }), + +/***/ 2158: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const punycode = __nccwpck_require__(85477); +const tr46 = __nccwpck_require__(84256); + +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 }); +}; + + +/***/ }), + +/***/ 83185: +/***/ ((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]; +}; + + + +/***/ }), + +/***/ 56059: +/***/ ((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; +}; + + +/***/ }), + +/***/ 62940: +/***/ ((module) => { + +// Returns a wrapper function that returns a wrapped callback +// The wrapper function should do some stuff, and return a +// presumably different callback function. +// This makes sure that own properties are retained, so that +// decorations and such are not lost along the way. +module.exports = wrappy +function wrappy (fn, cb) { + if (fn && cb) return wrappy(fn)(cb) + + if (typeof fn !== 'function') + throw new TypeError('need wrapper function') + + Object.keys(fn).forEach(function (k) { + wrapper[k] = fn[k] + }) + + return wrapper + + function wrapper() { + var args = new Array(arguments.length) + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i] + } + var ret = fn.apply(this, args) + var cb = args[args.length-1] + if (typeof ret === 'function' && ret !== cb) { + Object.keys(cb).forEach(function (k) { + ret[k] = cb[k] + }) + } + return ret + } +} + + +/***/ }), + +/***/ 22877: +/***/ ((module) => { + +module.exports = eval("require")("encoding"); + + +/***/ }), + +/***/ 39491: +/***/ ((module) => { + +"use strict"; +module.exports = require("assert"); + +/***/ }), + +/***/ 82361: +/***/ ((module) => { + +"use strict"; +module.exports = require("events"); + +/***/ }), + +/***/ 57147: +/***/ ((module) => { + +"use strict"; +module.exports = require("fs"); + +/***/ }), + +/***/ 13685: +/***/ ((module) => { + +"use strict"; +module.exports = require("http"); + +/***/ }), + +/***/ 95687: +/***/ ((module) => { + +"use strict"; +module.exports = require("https"); + +/***/ }), + +/***/ 41808: +/***/ ((module) => { + +"use strict"; +module.exports = require("net"); + +/***/ }), + +/***/ 22037: +/***/ ((module) => { + +"use strict"; +module.exports = require("os"); + +/***/ }), + +/***/ 71017: +/***/ ((module) => { + +"use strict"; +module.exports = require("path"); + +/***/ }), + +/***/ 85477: +/***/ ((module) => { + +"use strict"; +module.exports = require("punycode"); + +/***/ }), + +/***/ 12781: +/***/ ((module) => { + +"use strict"; +module.exports = require("stream"); + +/***/ }), + +/***/ 24404: +/***/ ((module) => { + +"use strict"; +module.exports = require("tls"); + +/***/ }), + +/***/ 57310: +/***/ ((module) => { + +"use strict"; +module.exports = require("url"); + +/***/ }), + +/***/ 73837: +/***/ ((module) => { + +"use strict"; +module.exports = require("util"); + +/***/ }), + +/***/ 59796: +/***/ ((module) => { + +"use strict"; +module.exports = require("zlib"); + +/***/ }), + +/***/ 53765: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}'); + +/***/ }), + +/***/ 72020: +/***/ ((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"]]'); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __nccwpck_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ var threw = true; +/******/ try { +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ +/************************************************************************/ +/******/ +/******/ // 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__(9536); +/******/ module.exports = __webpack_exports__; +/******/ +/******/ })() +; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map new file mode 100644 index 00000000..3c7f9f20 --- /dev/null +++ b/dist/index.js.map @@ -0,0 +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;;;;;;;;;ACjCA;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;;;;;;;;;AChIA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;AC/HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1mCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACroBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACloBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC12BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnsCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACztBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACz0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9yBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACliGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjtIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;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;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;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;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACx9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;;;;;;;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/sDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACloBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9pCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACn7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/sCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACthCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;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;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;ACzBA;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;;;;;;;;ACvEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;ACxNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChLA;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;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;;;;;;;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;;;;;;;AC1CA;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;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;AC7CA;AACA;AACA;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;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;;;;;;;ACjfA;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;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACp8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC9rDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;ACVA;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;;;;;;;;;AChBA;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;;;;;;;;;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;;;;;;;;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;AACA;AACA;AACA;AACA;;;;;;;;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;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;;;;;;;;;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;;;;;;;;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;AC5BA;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;;;;;;;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;AC3LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1gDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5sCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;;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;;;;;;;;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;;;;;;;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;;;;;;;;AChCA;;;;;;;;;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;;;AC7BA;AACA;;;;AEDA;AACA;AACA;AACA","sources":["../lib/src/main.js","../lib/src/pullRequest/expand.js","../lib/src/pullRequest/metrics.js","../lib/src/push/metrics.js","../lib/src/queries/closedPullRequest.js","../lib/src/queries/completedCheckSuite.js","../lib/src/rateLimit/metrics.js","../lib/src/run.js","../lib/src/workflowRun/metrics.js","../lib/src/workflowRun/parse.js","../node_modules/@actions/core/lib/command.js","../node_modules/@actions/core/lib/core.js","../node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/core/lib/utils.js","../node_modules/@actions/github/lib/context.js","../node_modules/@actions/github/lib/github.js","../node_modules/@actions/github/lib/internal/utils.js","../node_modules/@actions/github/lib/utils.js","../node_modules/@actions/http-client/auth.js","../node_modules/@actions/http-client/index.js","../node_modules/@actions/http-client/proxy.js","../node_modules/@datadog/datadog-api-client/dist/index.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/AWSIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/AuthenticationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/AzureIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/DashboardListsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/DashboardsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/DowntimesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/EventsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/HostsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/IPRangesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/KeyManagementApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/LogsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/LogsPipelinesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/MetricsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/NotebooksApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/OrganizationsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/ServiceChecksApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/SlackIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/SnapshotsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/TagsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/UsersApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/baseapi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/apis/exception.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/auth/auth.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/configuration.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/http/http.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/http/isomorphic-fetch.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/index.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/APIErrorResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSAccount.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSAccountAndLambdaRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSAccountCreateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSAccountDeleteRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSAccountListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsAsyncError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsAsyncResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsLambda.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsListServicesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSLogsServicesRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSTagFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSTagFilterCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSTagFilterDeleteRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AWSTagFilterListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AlertGraphWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AlertValueWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApiKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApiKeyListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApiKeyResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApmStatsQueryColumnType.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApmStatsQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApplicationKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApplicationKeyListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ApplicationKeyResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AuthenticationValidationResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/AzureAccount.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CancelDowntimesByScopeRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CanceledDowntimesIds.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ChangeWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ChangeWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/CheckStatusWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Creator.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Dashboard.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardBulkActionData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardBulkDeleteRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardDeleteResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardList.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardListDeleteResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardListListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardRestoreRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardSummary.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardSummaryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardTemplateVariable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardTemplateVariablePreset.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DashboardTemplateVariablePresetValue.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DeletedMonitor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DistributionWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DistributionWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DistributionWidgetXAxis.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DistributionWidgetYAxis.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Downtime.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DowntimeChild.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/DowntimeRecurrence.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Event.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventCreateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventStreamWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/EventTimelineWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionSearch.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBySort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FunnelQuery.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FunnelStep.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FunnelWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/FunnelWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GCPAccount.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionStyle.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GraphSnapshot.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/GroupWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HTTPLogError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HTTPLogItem.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HeatMapWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Host.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMapRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMapWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionRequests.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionStyle.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMetaInstallMethod.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMetrics.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMuteResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostMuteSettings.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostTags.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HostTotals.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionPagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IFrameWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesAPI.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesAPM.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesAgents.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesLogs.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesProcess.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesSynthetics.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPPrefixesWebhooks.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IPRanges.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IdpFormData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IdpResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ImageWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/IntakePayloadAccepted.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ListStreamColumn.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ListStreamQuery.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ListStreamWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ListStreamWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Log.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogContent.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBySort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogQueryDefinitionSearch.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsAPIError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsAPIErrorResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsArithmeticProcessor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsAttributeRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsByRetention.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsByRetentionOrgUsage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsByRetentionOrgs.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsCategoryProcessor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsCategoryProcessorCategory.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsDateRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsExclusion.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsExclusionFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsGeoIPParser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsGrokParser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsGrokParserRules.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsIndex.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsIndexListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsIndexUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsIndexesOrder.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsListRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsListRequestTime.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsLookupProcessor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsMessageRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsPipeline.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsPipelineProcessor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsPipelinesOrder.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsQueryCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsRetentionAggSumUsage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsRetentionSumUsage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsServiceRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsStatusRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsStringBuilderProcessor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsTraceRemapper.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsURLParser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/LogsUserAgentParser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricSearchResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricSearchResponseResults.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricsListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricsPayload.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricsQueryMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricsQueryResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MetricsQueryUnit.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Monitor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionSearch.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBySort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorGroupSearchResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorGroupSearchResponseCounts.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorGroupSearchResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorOptionsAggregation.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSearchResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSearchResponseCounts.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSearchResponseMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSearchResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSearchResultNotification.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorState.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorStateGroup.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorThresholdWindowOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorThresholds.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonitorUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionPagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NoteWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookAbsoluteTime.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookAuthor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCellCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCellResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCellUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCreateDataAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookDistributionCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookHeatMapCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookMarkdownCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookMarkdownCellDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookRelativeTime.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookResponseDataAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookSplitBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookTimeseriesCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookToplistCellAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookUpdateDataAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebookUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebooksResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebooksResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebooksResponseDataAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebooksResponseMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/NotebooksResponsePage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Organization.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationBilling.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationCreateBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationCreateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSettings.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSettingsSaml.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSettingsSamlAutocreateUsersDomains.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSettingsSamlIdpInitiatedLogin.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSettingsSamlStrictMode.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/OrganizationSubscription.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/PagerDutyService.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/PagerDutyServiceKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/PagerDutyServiceName.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Pagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ProcessQueryDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/QueryValueWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/QueryValueWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ResponseMetaAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOBulkDeleteError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOBulkDeleteResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOBulkDeleteResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrection.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequestAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributesModifier.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequestAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLODeleteResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryMetrics.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeries.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadataUnit.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryMonitor.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryResponseError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistoryResponseErrorWithType.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOHistorySLIData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOListResponseMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOListResponseMetadataPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOThreshold.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SLOWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ScatterPlotRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinitionRequests.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ScatterplotTableRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ScatterplotWidgetFormula.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Series.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceCheck.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceLevelObjective.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceLevelObjectiveQuery.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceLevelObjectiveRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceMapWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ServiceSummaryWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SlackIntegrationChannel.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SlackIntegrationChannelDisplay.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SunburstWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SunburstWidgetLegendInlineAutomatic.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SunburstWidgetLegendTable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SunburstWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestConfig.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFull.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFullCheck.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsApiTestResultFailure.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTarget.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionTarget.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthNTLM.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthSigv4.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthWeb.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBatchDetails.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBatchResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestConfig.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFailure.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFull.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFullCheck.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShortResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataCI.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataGit.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataPipeline.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataProvider.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCITest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCITestBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsConfigVariable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsCoreWebVitals.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsDeletedTest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsDevice.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGetAPITestLatestResultsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGetBrowserTestLatestResultsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableValue.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsListGlobalVariablesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsLocation.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsLocations.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocation.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponseResultEncryption.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecrets.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsAuthentication.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsConfigDecryption.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsSSLCertificate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateIssuer.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateSubject.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsStep.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsStepDetail.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsStepDetailWarning.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestConfig.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetails.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptionsMonitorOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptionsRetry.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificateItem.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestProxy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTiming.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsUpdateTestPauseStatusPayload.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/SyntheticsVariableParser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TableWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TableWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TagToHosts.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TimeseriesWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TimeseriesWidgetExpressionAlias.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TimeseriesWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ToplistWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/ToplistWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAnalyzedLogsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAnalyzedLogsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionAggregatesBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionPagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAttributionValues.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAuditLogsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageAuditLogsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryBody.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCWSHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCWSResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCustomReportsAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCustomReportsData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCustomReportsMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCustomReportsPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageCustomReportsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageDBMHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageDBMResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageFargateHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageFargateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageHostHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageHostsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIncidentManagementHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIncidentManagementResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIndexedSpansHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIndexedSpansResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIngestedSpansHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIngestedSpansResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIoTHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageIoTResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLambdaHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLambdaResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsByIndexHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsByIndexResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsByRetentionHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsByRetentionResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageLogsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageNetworkFlowsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageNetworkFlowsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageNetworkHostsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageNetworkHostsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageProfilingHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageProfilingResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageRumSessionsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageRumUnitsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageRumUnitsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSDSHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSDSResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSNMPHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSNMPResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsAPIHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsAPIResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageSyntheticsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageTimeseriesHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageTimeseriesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageTopAvgMetricsHour.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UsageTopAvgMetricsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/User.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UserDisableResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UserListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/UserResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WebhooksIntegration.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariable.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WebhooksIntegrationUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/Widget.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetAxis.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetConditionalFormat.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetCustomLink.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetEvent.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetFieldSort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetFormula.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetFormulaLimit.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetLayout.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetMarker.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetRequestStyle.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetStyle.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/models/WidgetTime.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/servers.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v1/util.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/DashboardListsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/LogsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/LogsArchivesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/LogsMetricsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/MetricsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/ProcessesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/RolesApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/UsersApi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/baseapi.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/apis/exception.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/auth/auth.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/configuration.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/http/http.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/http/isomorphic-fetch.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/index.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIErrorResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeyUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/APIKeysResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ApplicationKeyUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMapping.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingCreateRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingUpdateRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/AuthNMappingsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreatorAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdaterAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRulesListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Creator.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListAddItemsRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListAddItemsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListDeleteItemsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListItem.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListItemRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListItemResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListItems.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListUpdateItemsRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/DashboardListUpdateItemsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/FullAPIKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/FullApplicationKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/HTTPLogError.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/HTTPLogErrors.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/HTTPLogItem.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentCreateRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentFieldAttributesMultipleValue.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentFieldAttributesSingleValue.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentNotificationHandle.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponseMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentResponseRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceResponseAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServiceUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentServicesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTeamsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributesContent.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentUpdateRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/IncidentsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ListApplicationKeysResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Log.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateBucket.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateBucketValueTimeseriesPoint.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateRequestPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsAggregateSort.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchive.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationAzure.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationGCS.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveIntegrationAzure.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveIntegrationS3.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveOrder.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveOrderAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchiveOrderDefinition.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsArchives.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsGroupByHistogram.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsListRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsListRequestPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsListResponseLinks.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponseAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponseCompute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponseFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricResponseGroupBy.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsMetricsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsQueryFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsQueryOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsResponseMetadata.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsResponseMetadataPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/LogsWarning.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Metric.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricAllTags.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricAllTagsAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricAllTagsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigDelete.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatus.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatusAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricCustomAggregation.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricDistinctVolume.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricDistinctVolumeAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolume.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfiguration.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricVolumesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/NullableRelationshipToUser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/NullableRelationshipToUserData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Organization.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/OrganizationAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Pagination.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PartialAPIKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PartialApplicationKey.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PartialApplicationKeyResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Permission.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PermissionAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/PermissionsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ProcessSummariesMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ProcessSummariesMetaPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ProcessSummariesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ProcessSummary.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ProcessSummaryAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadataData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadatas.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortem.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortemData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToOrganization.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToOrganizationData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToOrganizations.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToPermission.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToPermissionData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToPermissions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToRole.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToRoleData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToRoles.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttribute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToUser.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToUserData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RelationshipToUsers.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ResponseMetaAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/Role.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleClone.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCloneAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCloneRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCreateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleCreateResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleResponseRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleUpdateResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RoleUpdateResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/RolesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SAMLAssertionAttribute.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SAMLAssertionAttributeAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilterResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFilterUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityFiltersResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringListRulesResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCreatePayload.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQuery.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryCreate.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignal.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestFilter.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseLinks.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMeta.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMetaPage.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ServiceAccountCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ServiceAccountCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/ServiceAccountCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/User.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserCreateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserCreateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserCreateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationDataAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationResponseData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationsRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserInvitationsResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserResponseRelationships.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserUpdateAttributes.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserUpdateData.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UserUpdateRequest.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/models/UsersResponse.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/servers.js","../node_modules/@datadog/datadog-api-client/dist/packages/datadog-api-client-v2/util.js","../node_modules/@datadog/datadog-api-client/dist/userAgent.js","../node_modules/@datadog/datadog-api-client/dist/version.js","../node_modules/@datadog/datadog-api-client/node_modules/buffer-from/index.js","../node_modules/@datadog/datadog-api-client/node_modules/cross-fetch/dist/node-ponyfill.js","../node_modules/@datadog/datadog-api-client/node_modules/node-fetch/lib/index.js","../node_modules/@octokit/auth-token/dist-node/index.js","../node_modules/@octokit/core/dist-node/index.js","../node_modules/@octokit/endpoint/dist-node/index.js","../node_modules/@octokit/graphql/dist-node/index.js","../node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../node_modules/@octokit/request-error/dist-node/index.js","../node_modules/@octokit/request/dist-node/index.js","../node_modules/asynckit/index.js","../node_modules/asynckit/lib/abort.js","../node_modules/asynckit/lib/async.js","../node_modules/asynckit/lib/defer.js","../node_modules/asynckit/lib/iterate.js","../node_modules/asynckit/lib/state.js","../node_modules/asynckit/lib/terminator.js","../node_modules/asynckit/parallel.js","../node_modules/asynckit/serial.js","../node_modules/asynckit/serialOrdered.js","../node_modules/before-after-hook/index.js","../node_modules/before-after-hook/lib/add.js","../node_modules/before-after-hook/lib/register.js","../node_modules/before-after-hook/lib/remove.js","../node_modules/combined-stream/lib/combined_stream.js","../node_modules/delayed-stream/lib/delayed_stream.js","../node_modules/deprecation/dist-node/index.js","../node_modules/form-data/lib/form_data.js","../node_modules/form-data/lib/populate.js","../node_modules/is-plain-object/dist/is-plain-object.js","../node_modules/js-yaml/index.js","../node_modules/js-yaml/lib/common.js","../node_modules/js-yaml/lib/dumper.js","../node_modules/js-yaml/lib/exception.js","../node_modules/js-yaml/lib/loader.js","../node_modules/js-yaml/lib/schema.js","../node_modules/js-yaml/lib/schema/core.js","../node_modules/js-yaml/lib/schema/default.js","../node_modules/js-yaml/lib/schema/failsafe.js","../node_modules/js-yaml/lib/schema/json.js","../node_modules/js-yaml/lib/snippet.js","../node_modules/js-yaml/lib/type.js","../node_modules/js-yaml/lib/type/binary.js","../node_modules/js-yaml/lib/type/bool.js","../node_modules/js-yaml/lib/type/float.js","../node_modules/js-yaml/lib/type/int.js","../node_modules/js-yaml/lib/type/map.js","../node_modules/js-yaml/lib/type/merge.js","../node_modules/js-yaml/lib/type/null.js","../node_modules/js-yaml/lib/type/omap.js","../node_modules/js-yaml/lib/type/pairs.js","../node_modules/js-yaml/lib/type/seq.js","../node_modules/js-yaml/lib/type/set.js","../node_modules/js-yaml/lib/type/str.js","../node_modules/js-yaml/lib/type/timestamp.js","../node_modules/loglevel/lib/loglevel.js","../node_modules/mime-db/index.js","../node_modules/mime-types/index.js","../node_modules/node-fetch/lib/index.js","../node_modules/once/once.js","../node_modules/pako/index.js","../node_modules/pako/lib/deflate.js","../node_modules/pako/lib/inflate.js","../node_modules/pako/lib/utils/common.js","../node_modules/pako/lib/utils/strings.js","../node_modules/pako/lib/zlib/adler32.js","../node_modules/pako/lib/zlib/constants.js","../node_modules/pako/lib/zlib/crc32.js","../node_modules/pako/lib/zlib/deflate.js","../node_modules/pako/lib/zlib/gzheader.js","../node_modules/pako/lib/zlib/inffast.js","../node_modules/pako/lib/zlib/inflate.js","../node_modules/pako/lib/zlib/inftrees.js","../node_modules/pako/lib/zlib/messages.js","../node_modules/pako/lib/zlib/trees.js","../node_modules/pako/lib/zlib/zstream.js","../node_modules/querystringify/index.js","../node_modules/requires-port/index.js","../node_modules/tr46/index.js","../node_modules/tunnel/index.js","../node_modules/tunnel/lib/tunnel.js","../node_modules/universal-user-agent/dist-node/index.js","../node_modules/url-parse/index.js","../node_modules/whatwg-url/lib/URL-impl.js","../node_modules/whatwg-url/lib/URL.js","../node_modules/whatwg-url/lib/public-api.js","../node_modules/whatwg-url/lib/url-state-machine.js","../node_modules/whatwg-url/lib/utils.js","../node_modules/whatwg-url/node_modules/webidl-conversions/lib/index.js","../node_modules/wrappy/wrappy.js","../node_modules/@vercel/ncc/dist/ncc/@@notfound.js","../node:node-commonjs \"assert\"","../node:node-commonjs \"events\"","../node:node-commonjs \"fs\"","../node:node-commonjs \"http\"","../node:node-commonjs \"https\"","../node:node-commonjs \"net\"","../node:node-commonjs \"os\"","../node:node-commonjs \"path\"","../node:node-commonjs \"punycode\"","../node:node-commonjs \"stream\"","../node:node-commonjs \"tls\"","../node:node-commonjs \"url\"","../node:node-commonjs \"util\"","../node:node-commonjs \"zlib\"","/webpack/bootstrap","/webpack/runtime/compat","/webpack/before-startup","/webpack/startup","/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 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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst run_1 = require(\"./run\");\nconst main = async () => {\n await (0, run_1.run)(github.context, {\n githubToken: core.getInput('github-token', { required: true }),\n githubTokenForRateLimitMetrics: core.getInput('github-token-rate-limit-metrics', { required: true }),\n datadogApiKey: core.getInput('datadog-api-key') || undefined,\n datadogSite: core.getInput('datadog-site') || undefined,\n collectJobMetrics: core.getBooleanInput('collect-job-metrics'),\n });\n};\nmain().catch((e) => core.setFailed(e instanceof Error ? e.message : String(e)));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.expandSeriesByLabels = void 0;\nconst expandSeriesByLabels = (series, labels) => {\n if (labels.length === 0) {\n return series;\n }\n return series.flatMap((s) => labels.map((label) => ({\n ...s,\n tags: [...(s.tags ?? []), `label:${label.name}`],\n })));\n};\nexports.expandSeriesByLabels = expandSeriesByLabels;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.computePullRequestClosedMetrics = exports.computePullRequestOpenedMetrics = void 0;\nconst expand_1 = require(\"./expand\");\nconst computeCommonTags = (e) => {\n const tags = [\n `repository_owner:${e.repository.owner.login}`,\n `repository_name:${e.repository.name}`,\n `sender:${e.sender.login}`,\n `sender_type:${e.sender.type}`,\n `user:${e.pull_request.user.login}`,\n `pull_request_number:${e.number}`,\n `draft:${String(e.pull_request.draft)}`,\n `base_ref:${e.pull_request.base.ref}`,\n `head_ref:${e.pull_request.head.ref}`,\n ];\n return tags;\n};\nconst computePullRequestOpenedMetrics = (e) => {\n const tags = computeCommonTags(e);\n const t = unixTime(e.pull_request.created_at);\n return [\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_opened.total',\n type: 'count',\n points: [[t, 1]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_opened.commits',\n type: 'count',\n points: [[t, e.pull_request.commits]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_opened.changed_files',\n type: 'count',\n points: [[t, e.pull_request.changed_files]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_opened.additions',\n type: 'count',\n points: [[t, e.pull_request.additions]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_opened.deletions',\n type: 'count',\n points: [[t, e.pull_request.deletions]],\n },\n ];\n};\nexports.computePullRequestOpenedMetrics = computePullRequestOpenedMetrics;\nconst computePullRequestClosedMetrics = (e, pr) => {\n const tags = computeCommonTags(e);\n tags.push(`merged:${String(e.pull_request.merged)}`);\n const t = unixTime(e.pull_request.closed_at);\n const series = [\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.total',\n type: 'count',\n points: [[t, 1]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.since_opened_seconds',\n type: 'gauge',\n points: [[t, t - unixTime(e.pull_request.created_at)]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.commits',\n type: 'count',\n points: [[t, e.pull_request.commits]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.changed_files',\n type: 'count',\n points: [[t, e.pull_request.changed_files]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.additions',\n type: 'count',\n points: [[t, e.pull_request.additions]],\n },\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.deletions',\n type: 'count',\n points: [[t, e.pull_request.deletions]],\n },\n ];\n if (pr !== undefined) {\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.since_first_authored_seconds',\n type: 'gauge',\n points: [[t, t - unixTime(pr.firstCommit.authoredDate)]],\n }, {\n host: 'github.com',\n tags,\n metric: 'github.actions.pull_request_closed.since_first_committed_seconds',\n type: 'gauge',\n points: [[t, t - unixTime(pr.firstCommit.committedDate)]],\n });\n }\n // Datadog treats a tag as combination of values.\n // For example, if we send a metric with tags `label:foo` and `label:bar`, Datadog will show `label:foo,bar`.\n return (0, expand_1.expandSeriesByLabels)(series, e.pull_request.labels);\n};\nexports.computePullRequestClosedMetrics = computePullRequestClosedMetrics;\nconst unixTime = (s) => Date.parse(s) / 1000;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.computePushMetrics = void 0;\nconst computePushMetrics = (e, now) => {\n const tags = [\n `repository_owner:${e.repository.owner.login}`,\n `repository_name:${e.repository.name}`,\n `sender:${e.sender.login}`,\n `sender_type:${e.sender.type}`,\n `ref:${e.ref}`,\n `created:${String(e.created)}`,\n `deleted:${String(e.deleted)}`,\n `forced:${String(e.forced)}`,\n `default_branch:${(e.ref === `refs/heads/${e.repository.default_branch}`).toString()}`,\n ];\n const t = now.getTime() / 1000;\n return [\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.push.total',\n type: 'count',\n points: [[t, 1]],\n },\n ];\n};\nexports.computePushMetrics = computePushMetrics;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.queryClosedPullRequest = void 0;\nconst query = /* GraphQL */ `\n query closedPullRequest($owner: String!, $name: String!, $number: Int!) {\n repository(owner: $owner, name: $name) {\n pullRequest(number: $number) {\n commits(first: 1) {\n nodes {\n commit {\n authoredDate\n committedDate\n }\n }\n }\n }\n }\n }\n`;\nconst queryClosedPullRequest = async (o, v) => {\n const r = await o.graphql(query, v);\n if (!r.repository?.pullRequest?.commits.nodes?.length) {\n throw new Error(`pull request contains no commit: ${JSON.stringify(r)}`);\n }\n if (r.repository.pullRequest.commits.nodes[0] == null) {\n throw new Error(`commit is null: ${JSON.stringify(r)}`);\n }\n const firstCommit = r.repository.pullRequest.commits.nodes[0].commit;\n return {\n firstCommit,\n };\n};\nexports.queryClosedPullRequest = queryClosedPullRequest;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.queryCompletedCheckSuite = void 0;\nconst query = /* GraphQL */ `\n query completedCheckSuite($node_id: ID!, $workflow_path: String!) {\n node(id: $node_id) {\n __typename\n ... on CheckSuite {\n checkRuns(first: 100, filterBy: { checkType: LATEST }) {\n nodes {\n databaseId\n name\n startedAt\n completedAt\n conclusion\n status\n steps(first: 50) {\n nodes {\n number\n name\n conclusion\n status\n startedAt\n completedAt\n }\n }\n }\n }\n commit {\n file(path: $workflow_path) {\n object {\n __typename\n ... on Blob {\n text\n }\n }\n }\n }\n }\n }\n }\n`;\nconst queryCompletedCheckSuite = async (o, v) => {\n const r = await o.graphql(query, v);\n return {\n node: {\n __typename: 'CheckSuite',\n checkRuns: extractCheckRuns(r),\n commit: extractCommit(r),\n },\n };\n};\nexports.queryCompletedCheckSuite = queryCompletedCheckSuite;\nconst extractCheckRuns = (r) => {\n if (r.node?.__typename !== 'CheckSuite') {\n throw new Error(`invalid __typename ${String(r.node?.__typename)} !== CheckSuite`);\n }\n const checkRuns = [];\n for (const checkRun of r.node.checkRuns?.nodes ?? []) {\n if (checkRun == null) {\n continue;\n }\n const steps = [];\n for (const step of checkRun.steps?.nodes ?? []) {\n if (step == null) {\n continue;\n }\n const { startedAt, completedAt, conclusion } = step;\n if (startedAt == null || completedAt == null || conclusion == null) {\n continue;\n }\n steps.push({\n ...step,\n startedAt,\n completedAt,\n conclusion,\n });\n }\n const { startedAt, completedAt, conclusion } = checkRun;\n if (startedAt == null || completedAt == null || conclusion == null) {\n continue;\n }\n checkRuns.push({\n ...checkRun,\n startedAt,\n completedAt,\n conclusion,\n steps: { nodes: steps },\n });\n }\n return { nodes: checkRuns };\n};\nconst extractCommit = (r) => {\n if (r.node?.__typename !== 'CheckSuite') {\n throw new Error(`invalid __typename ${String(r.node?.__typename)} !== CheckSuite`);\n }\n if (r.node.commit.file?.object?.__typename !== 'Blob') {\n throw new Error(`invalid __typename ${String(r.node.commit.file?.object?.__typename)} !== Blob`);\n }\n const { text } = r.node.commit.file.object;\n if (text == null) {\n throw new Error(`invalid text ${String(text)}`);\n }\n return {\n file: {\n object: {\n text,\n },\n },\n };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.computeRateLimitMetrics = void 0;\nconst computeRateLimitMetrics = (e, r) => {\n const t = unixTime(r.headers.date) ?? Math.floor(Date.now() / 1000);\n const tags = [`repository_owner:${e.repo.owner}`, `repository_name:${e.repo.repo}`];\n const series = [\n {\n host: 'github.com',\n tags: [...tags, 'resource:core'],\n metric: 'github.actions.api_rate_limit.remaining',\n type: 'gauge',\n points: [[t, r.data.resources.core.remaining]],\n },\n {\n host: 'github.com',\n tags: [...tags, 'resource:core'],\n metric: `github.actions.api_rate_limit.limit`,\n type: 'gauge',\n points: [[t, r.data.resources.core.limit]],\n },\n {\n host: 'github.com',\n tags: [...tags, 'resource:search'],\n metric: 'github.actions.api_rate_limit.remaining',\n type: 'gauge',\n points: [[t, r.data.resources.search.remaining]],\n },\n {\n host: 'github.com',\n tags: [...tags, 'resource:search'],\n metric: `github.actions.api_rate_limit.limit`,\n type: 'gauge',\n points: [[t, r.data.resources.search.limit]],\n },\n ];\n if (r.data.resources.graphql) {\n series.push({\n host: 'github.com',\n tags: [...tags, 'resource:graphql'],\n metric: 'github.actions.api_rate_limit.remaining',\n type: 'gauge',\n points: [[t, r.data.resources.graphql.remaining]],\n }, {\n host: 'github.com',\n tags: [...tags, 'resource:graphql'],\n metric: 'github.actions.api_rate_limit.limit',\n type: 'gauge',\n points: [[t, r.data.resources.graphql.limit]],\n });\n }\n return series;\n};\nexports.computeRateLimitMetrics = computeRateLimitMetrics;\nconst unixTime = (s) => {\n if (s === undefined) {\n return;\n }\n const t = Date.parse(s);\n if (isNaN(t)) {\n return;\n }\n return Math.floor(t / 1000);\n};\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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.run = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst datadog_api_client_1 = require(\"@datadog/datadog-api-client\");\nconst metrics_1 = require(\"./pullRequest/metrics\");\nconst metrics_2 = require(\"./push/metrics\");\nconst completedCheckSuite_1 = require(\"./queries/completedCheckSuite\");\nconst closedPullRequest_1 = require(\"./queries/closedPullRequest\");\nconst metrics_3 = require(\"./rateLimit/metrics\");\nconst metrics_4 = require(\"./workflowRun/metrics\");\nconst run = async (context, inputs) => {\n const series = await handleEvent(context, inputs);\n if (series === undefined) {\n core.warning(`Not supported event ${context.eventName} action ${String(context.payload.action)}`);\n return;\n }\n const rateLimit = await getRateLimitMetrics(context, inputs);\n series.push(...rateLimit);\n await submitMetrics(series, inputs);\n};\nexports.run = run;\nconst handleEvent = async (context, inputs) => {\n if (context.eventName === 'workflow_run') {\n return await handleWorkflowRun(context.payload, inputs);\n }\n if (context.eventName === 'pull_request') {\n return await handlePullRequest(context.payload, context, inputs);\n }\n if (context.eventName === 'push') {\n return handlePush(context.payload);\n }\n};\nconst handleWorkflowRun = async (e, inputs) => {\n core.info(`Got workflow run ${e.action} event: ${e.workflow_run.html_url}`);\n if (e.action === 'completed') {\n let checkSuite;\n if (inputs.collectJobMetrics) {\n const octokit = github.getOctokit(inputs.githubToken);\n try {\n checkSuite = await (0, completedCheckSuite_1.queryCompletedCheckSuite)(octokit, {\n node_id: e.workflow_run.check_suite_node_id,\n workflow_path: e.workflow.path,\n });\n }\n catch (error) {\n core.warning(`Could not get the check suite: ${String(error)}`);\n }\n }\n if (checkSuite) {\n core.info(`Found check suite with ${checkSuite.node.checkRuns.nodes.length} check run(s)`);\n }\n return (0, metrics_4.computeWorkflowRunJobStepMetrics)(e, checkSuite);\n }\n};\nconst handlePullRequest = async (e, context, inputs) => {\n core.info(`Got pull request ${e.action} event: ${e.pull_request.html_url}`);\n if (e.action === 'opened') {\n return (0, metrics_1.computePullRequestOpenedMetrics)(e);\n }\n if (e.action === 'closed') {\n const octokit = github.getOctokit(inputs.githubToken);\n let closedPullRequest;\n try {\n closedPullRequest = await (0, closedPullRequest_1.queryClosedPullRequest)(octokit, {\n owner: context.repo.owner,\n name: context.repo.repo,\n number: e.pull_request.number,\n });\n }\n catch (error) {\n core.warning(`Could not get the pull request: ${String(error)}`);\n }\n return (0, metrics_1.computePullRequestClosedMetrics)(e, closedPullRequest);\n }\n};\nconst handlePush = (e) => {\n core.info(`Got push event: ${e.compare}`);\n return (0, metrics_2.computePushMetrics)(e, new Date());\n};\nconst getRateLimitMetrics = async (context, inputs) => {\n const octokit = github.getOctokit(inputs.githubTokenForRateLimitMetrics);\n const rateLimit = await octokit.rest.rateLimit.get();\n return (0, metrics_3.computeRateLimitMetrics)(context, rateLimit);\n};\nconst submitMetrics = async (series, inputs) => {\n core.startGroup('Metrics payload');\n core.info(JSON.stringify(series, undefined, 2));\n core.endGroup();\n const dryRun = inputs.datadogApiKey === undefined;\n if (dryRun) {\n return;\n }\n const configuration = datadog_api_client_1.v1.createConfiguration({\n authMethods: {\n apiKeyAuth: inputs.datadogApiKey,\n },\n });\n if (inputs.datadogSite) {\n datadog_api_client_1.v1.setServerVariables(configuration, {\n site: inputs.datadogSite,\n });\n }\n const metrics = new datadog_api_client_1.v1.MetricsApi(configuration);\n core.info(`Sending ${series.length} metrics to Datadog`);\n const accepted = await metrics.submitMetrics({ body: { series } });\n core.info(`Sent as ${JSON.stringify(accepted)}`);\n};\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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.computeStepMetrics = exports.computeJobMetrics = exports.computeWorkflowRunMetrics = exports.computeWorkflowRunJobStepMetrics = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst parse_1 = require(\"./parse\");\nconst computeCommonTags = (e) => [\n `repository_owner:${e.workflow_run.repository.owner.login}`,\n `repository_name:${e.workflow_run.repository.name}`,\n `workflow_id:${e.workflow_run.id}`,\n `workflow_name:${e.workflow_run.name}`,\n `event:${e.workflow_run.event}`,\n `sender:${e.sender.login}`,\n `sender_type:${e.sender.type}`,\n `branch:${e.workflow_run.head_branch}`,\n `default_branch:${(e.workflow_run.head_branch === e.repository.default_branch).toString()}`,\n];\nconst computeWorkflowRunJobStepMetrics = (e, checkSuite) => {\n if (checkSuite === undefined) {\n return (0, exports.computeWorkflowRunMetrics)(e);\n }\n let workflowDefinition;\n try {\n workflowDefinition = (0, parse_1.parseWorkflowFile)(checkSuite.node.commit.file.object.text);\n }\n catch (error) {\n core.warning(`Invalid workflow file: ${String(error)}`);\n }\n if (workflowDefinition) {\n core.info(`Found ${Object.keys(workflowDefinition.jobs).length} job(s) in the workflow file`);\n }\n return [\n ...(0, exports.computeWorkflowRunMetrics)(e, checkSuite),\n ...(0, exports.computeJobMetrics)(e, checkSuite, workflowDefinition),\n ...(0, exports.computeStepMetrics)(e, checkSuite, workflowDefinition),\n ];\n};\nexports.computeWorkflowRunJobStepMetrics = computeWorkflowRunJobStepMetrics;\nconst computeWorkflowRunMetrics = (e, checkSuite) => {\n const tags = [...computeCommonTags(e), `conclusion:${e.workflow_run.conclusion}`];\n const updatedAt = unixTime(e.workflow_run.updated_at);\n const series = [\n {\n host: 'github.com',\n tags,\n metric: 'github.actions.workflow_run.total',\n type: 'count',\n points: [[updatedAt, 1]],\n },\n {\n host: 'github.com',\n tags,\n metric: `github.actions.workflow_run.conclusion.${e.workflow_run.conclusion}_total`,\n type: 'count',\n points: [[updatedAt, 1]],\n },\n ];\n const createdAt = unixTime(e.workflow_run.created_at);\n const duration = updatedAt - createdAt;\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.workflow_run.duration_second',\n type: 'gauge',\n points: [[updatedAt, duration]],\n });\n if (checkSuite !== undefined) {\n const firstJobStartedAt = Math.min(...checkSuite.node.checkRuns.nodes.map((j) => unixTime(j.startedAt)));\n const queued = firstJobStartedAt - createdAt;\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.workflow_run.queued_duration_second',\n type: 'gauge',\n points: [[updatedAt, queued]],\n });\n }\n return series;\n};\nexports.computeWorkflowRunMetrics = computeWorkflowRunMetrics;\nconst computeJobMetrics = (e, checkSuite, workflowDefinition) => {\n const series = [];\n for (const checkRun of checkSuite.node.checkRuns.nodes) {\n // lower case for backward compatibility\n const conclusion = String(checkRun.conclusion).toLowerCase();\n const status = String(checkRun.status).toLowerCase();\n const completedAt = unixTime(checkRun.completedAt);\n const tags = [\n ...computeCommonTags(e),\n `job_id:${String(checkRun.databaseId)}`,\n `job_name:${checkRun.name}`,\n `conclusion:${conclusion}`,\n `status:${status}`,\n ];\n const runsOn = (0, parse_1.inferRunner)(checkRun.name, workflowDefinition);\n if (runsOn !== undefined) {\n tags.push(`runs_on:${runsOn}`);\n }\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.job.total',\n type: 'count',\n points: [[completedAt, 1]],\n }, {\n host: 'github.com',\n tags,\n metric: `github.actions.job.conclusion.${conclusion}_total`,\n type: 'count',\n points: [[completedAt, 1]],\n });\n const startedAt = unixTime(checkRun.startedAt);\n const duration = completedAt - startedAt;\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.job.duration_second',\n type: 'gauge',\n points: [[completedAt, duration]],\n });\n if (checkRun.steps.nodes.length > 0) {\n const firstStepStartedAt = Math.min(...checkRun.steps.nodes.map((s) => unixTime(s.startedAt)));\n const queued = firstStepStartedAt - startedAt;\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.job.queued_duration_second',\n type: 'gauge',\n points: [[completedAt, queued]],\n });\n }\n }\n return series;\n};\nexports.computeJobMetrics = computeJobMetrics;\nconst computeStepMetrics = (e, checkSuite, workflowDefinition) => {\n const series = [];\n for (const checkRun of checkSuite.node.checkRuns.nodes) {\n const runsOn = (0, parse_1.inferRunner)(checkRun.name, workflowDefinition);\n for (const s of checkRun.steps.nodes) {\n // lower case for backward compatibility\n const conclusion = String(s.conclusion).toLowerCase();\n const status = String(s.status).toLowerCase();\n const completedAt = unixTime(s.completedAt);\n const tags = [\n ...computeCommonTags(e),\n `job_id:${String(checkRun.databaseId)}`,\n `job_name:${checkRun.name}`,\n `step_name:${s.name}`,\n `step_number:${s.number}`,\n `conclusion:${conclusion}`,\n `status:${status}`,\n ];\n if (runsOn !== undefined) {\n tags.push(`runs_on:${runsOn}`);\n }\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.step.total',\n type: 'count',\n points: [[completedAt, 1]],\n }, {\n host: 'github.com',\n tags,\n metric: `github.actions.step.conclusion.${conclusion}_total`,\n type: 'count',\n points: [[completedAt, 1]],\n });\n const startedAt = unixTime(s.startedAt);\n const duration = completedAt - startedAt;\n series.push({\n host: 'github.com',\n tags,\n metric: 'github.actions.step.duration_second',\n type: 'gauge',\n points: [[completedAt, duration]],\n });\n }\n }\n return series;\n};\nexports.computeStepMetrics = computeStepMetrics;\nconst unixTime = (s) => Date.parse(s) / 1000;\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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.inferRunner = exports.parseWorkflowFile = void 0;\nconst yaml = __importStar(require(\"js-yaml\"));\nconst parseWorkflowFile = (s) => {\n const parsed = yaml.load(s);\n if (typeof parsed !== 'object' || parsed === null) {\n throw new Error(`workflow is not valid object: ${typeof parsed}`);\n }\n const workflow = parsed;\n if (typeof workflow.jobs !== 'object') {\n throw new Error(`workflow does not have valid \"jobs\" field: ${JSON.stringify(workflow)}`);\n }\n return workflow;\n};\nexports.parseWorkflowFile = parseWorkflowFile;\nconst inferRunner = (jobName, workflowDefinition) => {\n if (workflowDefinition === undefined) {\n return;\n }\n const canonicalJobName = jobName.replace(/ *\\(.+?\\)/, '');\n for (const k of Object.keys(workflowDefinition.jobs)) {\n const job = workflowDefinition.jobs[k];\n // exact match\n if (canonicalJobName === k || canonicalJobName === job.name) {\n return job['runs-on'];\n }\n // consider expression(s) in name property\n if (job.name?.search(/\\$\\{\\{.+?\\}\\}/)) {\n const pattern = `^${job.name\n .split(/\\$\\{\\{.+?\\}\\}/)\n .map(escapeRegex)\n .join('.+?')}$`;\n if (new RegExp(pattern).test(jobName)) {\n return job['runs-on'];\n }\n }\n }\n};\nexports.inferRunner = inferRunner;\n// https://github.com/tc39/proposal-regex-escaping\nconst escapeRegex = (s) => s.replace(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\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 const delimiter = '_GitHubActionsFileCommandDelimeter_';\n const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;\n file_command_1.issueCommand('ENV', commandValue);\n }\n else {\n command_1.issueCommand('set-env', { name }, convertedVal);\n }\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.issueCommand('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 return inputs;\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 process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, 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 command_1.issueCommand('save-state', { name }, 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//# 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.issueCommand = 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 utils_1 = require(\"./utils\");\nfunction issueCommand(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.issueCommand = issueCommand;\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/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\";\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\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Context = void 0;\nconst fs_1 = require(\"fs\");\nconst os_1 = require(\"os\");\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if (fs_1.existsSync(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse(fs_1.readFileSync(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl = (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.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.getOctokit = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst utils_1 = require(\"./utils\");\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options) {\n return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.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.getApiBaseUrl = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(require(\"@actions/http-client\"));\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=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.getOctokitOptions = exports.GitHub = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst Utils = __importStar(require(\"./internal/utils\"));\n// octokit + plugins\nconst core_1 = require(\"@octokit/core\");\nconst plugin_rest_endpoint_methods_1 = require(\"@octokit/plugin-rest-endpoint-methods\");\nconst plugin_paginate_rest_1 = require(\"@octokit/plugin-paginate-rest\");\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nconst defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n options.headers['Authorization'] =\n 'Basic ' +\n Buffer.from(this.username + ':' + this.password).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\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 options.headers['Authorization'] = 'Bearer ' + this.token;\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\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 options.headers['Authorization'] =\n 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64');\n }\n // This handler cannot handle 401\n canHandleAuthentication(response) {\n return false;\n }\n handleAuthentication(httpClient, requestInfo, objs) {\n return null;\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet 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 let 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 new Promise(async (resolve, reject) => {\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}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let 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 this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\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 async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let 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 let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let 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 let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let 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 let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\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 async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let 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 let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await 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 (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\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 (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\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 let 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 await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let 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 = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\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 new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\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), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\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 let 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 this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\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 const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\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 let proxyUrl = pm.getProxyUrl(parsedUrl);\n let 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 if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\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: 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 retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: 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 let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.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 let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let 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 let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let 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","\"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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.logger = exports.v2 = exports.v1 = void 0;\nexports.v1 = __importStar(require(\"./packages/datadog-api-client-v1\"));\nexports.v2 = __importStar(require(\"./packages/datadog-api-client-v2\"));\nvar loglevel_1 = __importDefault(require(\"loglevel\"));\nvar logger = loglevel_1.default.noConflict();\nexports.logger = logger;\nlogger.setLevel((process !== undefined && process.env.DEBUG) ? logger.levels.DEBUG : logger.levels.INFO);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSIntegrationApi = exports.AWSIntegrationApiResponseProcessor = exports.AWSIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar AWSIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(AWSIntegrationApiRequestFactory, _super);\n function AWSIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AWSIntegrationApiRequestFactory.prototype.createAWSAccount = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAWSAccount.\");\n }\n localVarPath = \"/api/v1/integration/aws\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.createAWSAccount\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.createAWSTagFilter = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAWSTagFilter.\");\n }\n localVarPath = \"/api/v1/integration/aws/filtering\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.createAWSTagFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSTagFilterCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.createNewAWSExternalID = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createNewAWSExternalID.\");\n }\n localVarPath = \"/api/v1/integration/aws/generate_new_external_id\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.createNewAWSExternalID\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.deleteAWSAccount = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteAWSAccount.\");\n }\n localVarPath = \"/api/v1/integration/aws\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.deleteAWSAccount\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccountDeleteRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.deleteAWSTagFilter = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteAWSTagFilter.\");\n }\n localVarPath = \"/api/v1/integration/aws/filtering\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.deleteAWSTagFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSTagFilterDeleteRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.listAWSAccounts = function (accountId, roleName, accessKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/aws\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.listAWSAccounts\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (accountId !== undefined) {\n requestContext.setQueryParam(\"account_id\", ObjectSerializer_1.ObjectSerializer.serialize(accountId, \"string\", \"\"));\n }\n if (roleName !== undefined) {\n requestContext.setQueryParam(\"role_name\", ObjectSerializer_1.ObjectSerializer.serialize(roleName, \"string\", \"\"));\n }\n if (accessKeyId !== undefined) {\n requestContext.setQueryParam(\"access_key_id\", ObjectSerializer_1.ObjectSerializer.serialize(accessKeyId, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.listAWSTagFilters = function (accountId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountId' is not null or undefined\n if (accountId === null || accountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountId was null or undefined when calling listAWSTagFilters.\");\n }\n localVarPath = \"/api/v1/integration/aws/filtering\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.listAWSTagFilters\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (accountId !== undefined) {\n requestContext.setQueryParam(\"account_id\", ObjectSerializer_1.ObjectSerializer.serialize(accountId, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.listAvailableAWSNamespaces = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/aws/available_namespace_rules\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.listAvailableAWSNamespaces\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSIntegrationApiRequestFactory.prototype.updateAWSAccount = function (body, accountId, roleName, accessKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAWSAccount.\");\n }\n localVarPath = \"/api/v1/integration/aws\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSIntegrationApi.updateAWSAccount\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (accountId !== undefined) {\n requestContext.setQueryParam(\"account_id\", ObjectSerializer_1.ObjectSerializer.serialize(accountId, \"string\", \"\"));\n }\n if (roleName !== undefined) {\n requestContext.setQueryParam(\"role_name\", ObjectSerializer_1.ObjectSerializer.serialize(roleName, \"string\", \"\"));\n }\n if (accessKeyId !== undefined) {\n requestContext.setQueryParam(\"access_key_id\", ObjectSerializer_1.ObjectSerializer.serialize(accessKeyId, \"string\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return AWSIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.AWSIntegrationApiRequestFactory = AWSIntegrationApiRequestFactory;\nvar AWSIntegrationApiResponseProcessor = /** @class */ (function () {\n function AWSIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAWSAccount\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.createAWSAccount = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"AWSAccountCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"AWSAccountCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAWSTagFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.createAWSTagFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_10);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createNewAWSExternalID\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.createNewAWSExternalID = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_12 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AWSAccountCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_13 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_13);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_14 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_14);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_15 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_15);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_16 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AWSAccountCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAWSAccount\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.deleteAWSAccount = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body_22, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_17 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_18 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_18);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_19 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_20 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_20);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_21 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_22 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAWSTagFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.deleteAWSTagFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAWSAccounts\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.listAWSAccounts = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AWSAccountListResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_31);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AWSAccountListResponse\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAWSTagFilters\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.listAWSTagFilters = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body_37, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_33 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AWSTagFilterListResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_34 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_34);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_35 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_35);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_36 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_36);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_37 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AWSTagFilterListResponse\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAvailableAWSNamespaces\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.listAvailableAWSNamespaces = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_38, _a, _b, _c, _d, body_39, _e, _f, _g, _h, body_40, _j, _k, _l, _m, body_41, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_38 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_38];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_39 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_39);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_40 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_40);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_41 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_41];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAWSAccount\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSIntegrationApiResponseProcessor.prototype.updateAWSAccount = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body_47, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_42 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_42];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_43 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_43);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_44 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_44);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_45 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_45);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_46 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_46);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_47 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return AWSIntegrationApiResponseProcessor;\n}());\nexports.AWSIntegrationApiResponseProcessor = AWSIntegrationApiResponseProcessor;\nvar AWSIntegrationApi = /** @class */ (function () {\n function AWSIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new AWSIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new AWSIntegrationApiResponseProcessor();\n }\n /**\n * Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.createAWSAccount = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAWSAccount(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAWSAccount(responseContext);\n });\n });\n };\n /**\n * Set an AWS tag filter.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.createAWSTagFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAWSTagFilter(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAWSTagFilter(responseContext);\n });\n });\n };\n /**\n * Generate a new AWS external ID for a given AWS account ID and role name pair.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.createNewAWSExternalID = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createNewAWSExternalID(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createNewAWSExternalID(responseContext);\n });\n });\n };\n /**\n * Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.deleteAWSAccount = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAWSAccount(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAWSAccount(responseContext);\n });\n });\n };\n /**\n * Delete a tag filtering entry.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.deleteAWSTagFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAWSTagFilter(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAWSTagFilter(responseContext);\n });\n });\n };\n /**\n * List all Datadog-AWS integrations available in your Datadog organization.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.listAWSAccounts = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listAWSAccounts(param.accountId, param.roleName, param.accessKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAWSAccounts(responseContext);\n });\n });\n };\n /**\n * Get all AWS tag filters.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.listAWSTagFilters = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAWSTagFilters(param.accountId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAWSTagFilters(responseContext);\n });\n });\n };\n /**\n * List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.listAvailableAWSNamespaces = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAvailableAWSNamespaces(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAvailableAWSNamespaces(responseContext);\n });\n });\n };\n /**\n * Update a Datadog-Amazon Web Services integration.\n * @param param The request object\n */\n AWSIntegrationApi.prototype.updateAWSAccount = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAWSAccount(param.body, param.accountId, param.roleName, param.accessKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAWSAccount(responseContext);\n });\n });\n };\n return AWSIntegrationApi;\n}());\nexports.AWSIntegrationApi = AWSIntegrationApi;\n//# sourceMappingURL=AWSIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsIntegrationApi = exports.AWSLogsIntegrationApiResponseProcessor = exports.AWSLogsIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar AWSLogsIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(AWSLogsIntegrationApiRequestFactory, _super);\n function AWSLogsIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AWSLogsIntegrationApiRequestFactory.prototype.checkAWSLogsLambdaAsync = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling checkAWSLogsLambdaAsync.\");\n }\n localVarPath = \"/api/v1/integration/aws/logs/check_async\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.checkAWSLogsLambdaAsync\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccountAndLambdaRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.checkAWSLogsServicesAsync = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling checkAWSLogsServicesAsync.\");\n }\n localVarPath = \"/api/v1/integration/aws/logs/services_async\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.checkAWSLogsServicesAsync\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSLogsServicesRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.createAWSLambdaARN = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAWSLambdaARN.\");\n }\n localVarPath = \"/api/v1/integration/aws/logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.createAWSLambdaARN\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccountAndLambdaRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.deleteAWSLambdaARN = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteAWSLambdaARN.\");\n }\n localVarPath = \"/api/v1/integration/aws/logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.deleteAWSLambdaARN\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSAccountAndLambdaRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.enableAWSLogServices = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling enableAWSLogServices.\");\n }\n localVarPath = \"/api/v1/integration/aws/logs/services\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.enableAWSLogServices\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AWSLogsServicesRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.listAWSLogsIntegrations = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/aws/logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.listAWSLogsIntegrations\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AWSLogsIntegrationApiRequestFactory.prototype.listAWSLogsServices = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/aws/logs/services\";\n requestContext = (0, configuration_1.getServer)(_config, \"AWSLogsIntegrationApi.listAWSLogsServices\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return AWSLogsIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.AWSLogsIntegrationApiRequestFactory = AWSLogsIntegrationApiRequestFactory;\nvar AWSLogsIntegrationApiResponseProcessor = /** @class */ (function () {\n function AWSLogsIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to checkAWSLogsLambdaAsync\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.checkAWSLogsLambdaAsync = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AWSLogsAsyncResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AWSLogsAsyncResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to checkAWSLogsServicesAsync\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.checkAWSLogsServicesAsync = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AWSLogsAsyncResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AWSLogsAsyncResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAWSLambdaARN\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.createAWSLambdaARN = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAWSLambdaARN\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.deleteAWSLambdaARN = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to enableAWSLogServices\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.enableAWSLogServices = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAWSLogsIntegrations\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.listAWSLogsIntegrations = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_26, _a, _b, _c, _d, body_27, _e, _f, _g, _h, body_28, _j, _k, _l, _m, body_29, _o, _p, _q, _r, body_30, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_26 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_26];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_27 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_27);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_28 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_28);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_29 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_29);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_30 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAWSLogsServices\n * @throws ApiException if the response code was not in [200, 299]\n */\n AWSLogsIntegrationApiResponseProcessor.prototype.listAWSLogsServices = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_31 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_31];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_32 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_32);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_33 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_34 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return AWSLogsIntegrationApiResponseProcessor;\n}());\nexports.AWSLogsIntegrationApiResponseProcessor = AWSLogsIntegrationApiResponseProcessor;\nvar AWSLogsIntegrationApi = /** @class */ (function () {\n function AWSLogsIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new AWSLogsIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new AWSLogsIntegrationApiResponseProcessor();\n }\n /**\n * Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking. - Returns a status of 'created' when it's checking if the Lambda exists in the account. - Returns a status of 'waiting' while checking. - Returns a status of 'checked and ok' if the Lambda exists. - Returns a status of 'error' if the Lambda does not exist.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.checkAWSLogsLambdaAsync = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.checkAWSLogsLambdaAsync(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.checkAWSLogsLambdaAsync(responseContext);\n });\n });\n };\n /**\n * Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for `EnableAWSLogServices`. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes. - Returns a status of `created` when it's checking if the permissions exists in the AWS account. - Returns a status of `waiting` while checking. - Returns a status of `checked and ok` if the Lambda exists. - Returns a status of `error` if the Lambda does not exist.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.checkAWSLogsServicesAsync = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.checkAWSLogsServicesAsync(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.checkAWSLogsServicesAsync(responseContext);\n });\n });\n };\n /**\n * Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.createAWSLambdaARN = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAWSLambdaARN(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAWSLambdaARN(responseContext);\n });\n });\n };\n /**\n * Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.deleteAWSLambdaARN = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAWSLambdaARN(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAWSLambdaARN(responseContext);\n });\n });\n };\n /**\n * Enable automatic log collection for a list of services. This should be run after running `CreateAWSLambdaARN` to save the configuration.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.enableAWSLogServices = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.enableAWSLogServices(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.enableAWSLogServices(responseContext);\n });\n });\n };\n /**\n * List all Datadog-AWS Logs integrations configured in your Datadog account.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.listAWSLogsIntegrations = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAWSLogsIntegrations(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAWSLogsIntegrations(responseContext);\n });\n });\n };\n /**\n * Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint.\n * @param param The request object\n */\n AWSLogsIntegrationApi.prototype.listAWSLogsServices = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAWSLogsServices(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAWSLogsServices(responseContext);\n });\n });\n };\n return AWSLogsIntegrationApi;\n}());\nexports.AWSLogsIntegrationApi = AWSLogsIntegrationApi;\n//# sourceMappingURL=AWSLogsIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthenticationApi = exports.AuthenticationApiResponseProcessor = exports.AuthenticationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar AuthenticationApiRequestFactory = /** @class */ (function (_super) {\n __extends(AuthenticationApiRequestFactory, _super);\n function AuthenticationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AuthenticationApiRequestFactory.prototype.validate = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/validate\";\n requestContext = (0, configuration_1.getServer)(_config, \"AuthenticationApi.validate\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return AuthenticationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.AuthenticationApiRequestFactory = AuthenticationApiRequestFactory;\nvar AuthenticationApiResponseProcessor = /** @class */ (function () {\n function AuthenticationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to validate\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthenticationApiResponseProcessor.prototype.validate = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"AuthenticationValidationResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_3);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"AuthenticationValidationResponse\",\n \"\"]);\n return [2 /*return*/, body_4];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return AuthenticationApiResponseProcessor;\n}());\nexports.AuthenticationApiResponseProcessor = AuthenticationApiResponseProcessor;\nvar AuthenticationApi = /** @class */ (function () {\n function AuthenticationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new AuthenticationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new AuthenticationApiResponseProcessor();\n }\n /**\n * Check if the API key (not the APP key) is valid. If invalid, a 403 is returned.\n * @param param The request object\n */\n AuthenticationApi.prototype.validate = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.validate(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.validate(responseContext);\n });\n });\n };\n return AuthenticationApi;\n}());\nexports.AuthenticationApi = AuthenticationApi;\n//# sourceMappingURL=AuthenticationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AzureIntegrationApi = exports.AzureIntegrationApiResponseProcessor = exports.AzureIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar AzureIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(AzureIntegrationApiRequestFactory, _super);\n function AzureIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AzureIntegrationApiRequestFactory.prototype.createAzureIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAzureIntegration.\");\n }\n localVarPath = \"/api/v1/integration/azure\";\n requestContext = (0, configuration_1.getServer)(_config, \"AzureIntegrationApi.createAzureIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AzureAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AzureIntegrationApiRequestFactory.prototype.deleteAzureIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteAzureIntegration.\");\n }\n localVarPath = \"/api/v1/integration/azure\";\n requestContext = (0, configuration_1.getServer)(_config, \"AzureIntegrationApi.deleteAzureIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AzureAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AzureIntegrationApiRequestFactory.prototype.listAzureIntegration = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/azure\";\n requestContext = (0, configuration_1.getServer)(_config, \"AzureIntegrationApi.listAzureIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AzureIntegrationApiRequestFactory.prototype.updateAzureHostFilters = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAzureHostFilters.\");\n }\n localVarPath = \"/api/v1/integration/azure/host_filters\";\n requestContext = (0, configuration_1.getServer)(_config, \"AzureIntegrationApi.updateAzureHostFilters\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AzureAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AzureIntegrationApiRequestFactory.prototype.updateAzureIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAzureIntegration.\");\n }\n localVarPath = \"/api/v1/integration/azure\";\n requestContext = (0, configuration_1.getServer)(_config, \"AzureIntegrationApi.updateAzureIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AzureAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return AzureIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.AzureIntegrationApiRequestFactory = AzureIntegrationApiRequestFactory;\nvar AzureIntegrationApiResponseProcessor = /** @class */ (function () {\n function AzureIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAzureIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n AzureIntegrationApiResponseProcessor.prototype.createAzureIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAzureIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n AzureIntegrationApiResponseProcessor.prototype.deleteAzureIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAzureIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n AzureIntegrationApiResponseProcessor.prototype.listAzureIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAzureHostFilters\n * @throws ApiException if the response code was not in [200, 299]\n */\n AzureIntegrationApiResponseProcessor.prototype.updateAzureHostFilters = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAzureIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n AzureIntegrationApiResponseProcessor.prototype.updateAzureIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return AzureIntegrationApiResponseProcessor;\n}());\nexports.AzureIntegrationApiResponseProcessor = AzureIntegrationApiResponseProcessor;\nvar AzureIntegrationApi = /** @class */ (function () {\n function AzureIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new AzureIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new AzureIntegrationApiResponseProcessor();\n }\n /**\n * Create a Datadog-Azure integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. Using the `PUT` method updates your integration configuration by replacing your current configuration with the new one sent to your Datadog organization.\n * @param param The request object\n */\n AzureIntegrationApi.prototype.createAzureIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAzureIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAzureIntegration(responseContext);\n });\n });\n };\n /**\n * Delete a given Datadog-Azure integration from your Datadog account.\n * @param param The request object\n */\n AzureIntegrationApi.prototype.deleteAzureIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAzureIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAzureIntegration(responseContext);\n });\n });\n };\n /**\n * List all Datadog-Azure integrations configured in your Datadog account.\n * @param param The request object\n */\n AzureIntegrationApi.prototype.listAzureIntegration = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAzureIntegration(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAzureIntegration(responseContext);\n });\n });\n };\n /**\n * Update the defined list of host filters for a given Datadog-Azure integration.\n * @param param The request object\n */\n AzureIntegrationApi.prototype.updateAzureHostFilters = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAzureHostFilters(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAzureHostFilters(responseContext);\n });\n });\n };\n /**\n * Update a Datadog-Azure integration. Requires an existing `tenant_name` and `client_id`. Any other fields supplied will overwrite existing values. To overwrite `tenant_name` or `client_id`, use `new_tenant_name` and `new_client_id`. To leave a field unchanged, do not supply that field in the payload.\n * @param param The request object\n */\n AzureIntegrationApi.prototype.updateAzureIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAzureIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAzureIntegration(responseContext);\n });\n });\n };\n return AzureIntegrationApi;\n}());\nexports.AzureIntegrationApi = AzureIntegrationApi;\n//# sourceMappingURL=AzureIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListsApi = exports.DashboardListsApiResponseProcessor = exports.DashboardListsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar DashboardListsApiRequestFactory = /** @class */ (function (_super) {\n __extends(DashboardListsApiRequestFactory, _super);\n function DashboardListsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DashboardListsApiRequestFactory.prototype.createDashboardList = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createDashboardList.\");\n }\n localVarPath = \"/api/v1/dashboard/lists/manual\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.createDashboardList\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardList\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.deleteDashboardList = function (listId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'listId' is not null or undefined\n if (listId === null || listId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter listId was null or undefined when calling deleteDashboardList.\");\n }\n localVarPath = \"/api/v1/dashboard/lists/manual/{list_id}\".replace(\"{\" + \"list_id\" + \"}\", encodeURIComponent(String(listId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.deleteDashboardList\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.getDashboardList = function (listId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'listId' is not null or undefined\n if (listId === null || listId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter listId was null or undefined when calling getDashboardList.\");\n }\n localVarPath = \"/api/v1/dashboard/lists/manual/{list_id}\".replace(\"{\" + \"list_id\" + \"}\", encodeURIComponent(String(listId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.getDashboardList\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.listDashboardLists = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/dashboard/lists/manual\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.listDashboardLists\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.updateDashboardList = function (listId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'listId' is not null or undefined\n if (listId === null || listId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter listId was null or undefined when calling updateDashboardList.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateDashboardList.\");\n }\n localVarPath = \"/api/v1/dashboard/lists/manual/{list_id}\".replace(\"{\" + \"list_id\" + \"}\", encodeURIComponent(String(listId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.updateDashboardList\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardList\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return DashboardListsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.DashboardListsApiRequestFactory = DashboardListsApiRequestFactory;\nvar DashboardListsApiResponseProcessor = /** @class */ (function () {\n function DashboardListsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createDashboardList\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.createDashboardList = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteDashboardList\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.deleteDashboardList = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"DashboardListDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"DashboardListDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getDashboardList\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.getDashboardList = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listDashboardLists\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.listDashboardLists = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"DashboardListListResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"DashboardListListResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateDashboardList\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.updateDashboardList = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_23);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"DashboardList\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return DashboardListsApiResponseProcessor;\n}());\nexports.DashboardListsApiResponseProcessor = DashboardListsApiResponseProcessor;\nvar DashboardListsApi = /** @class */ (function () {\n function DashboardListsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new DashboardListsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new DashboardListsApiResponseProcessor();\n }\n /**\n * Create an empty dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.createDashboardList = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createDashboardList(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createDashboardList(responseContext);\n });\n });\n };\n /**\n * Delete a dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.deleteDashboardList = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteDashboardList(param.listId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteDashboardList(responseContext);\n });\n });\n };\n /**\n * Fetch an existing dashboard list's definition.\n * @param param The request object\n */\n DashboardListsApi.prototype.getDashboardList = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getDashboardList(param.listId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getDashboardList(responseContext);\n });\n });\n };\n /**\n * Fetch all of your existing dashboard list definitions.\n * @param param The request object\n */\n DashboardListsApi.prototype.listDashboardLists = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listDashboardLists(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listDashboardLists(responseContext);\n });\n });\n };\n /**\n * Update the name of a dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.updateDashboardList = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateDashboardList(param.listId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateDashboardList(responseContext);\n });\n });\n };\n return DashboardListsApi;\n}());\nexports.DashboardListsApi = DashboardListsApi;\n//# sourceMappingURL=DashboardListsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardsApi = exports.DashboardsApiResponseProcessor = exports.DashboardsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar DashboardsApiRequestFactory = /** @class */ (function (_super) {\n __extends(DashboardsApiRequestFactory, _super);\n function DashboardsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DashboardsApiRequestFactory.prototype.createDashboard = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createDashboard.\");\n }\n localVarPath = \"/api/v1/dashboard\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.createDashboard\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Dashboard\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.deleteDashboard = function (dashboardId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardId' is not null or undefined\n if (dashboardId === null || dashboardId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardId was null or undefined when calling deleteDashboard.\");\n }\n localVarPath = \"/api/v1/dashboard/{dashboard_id}\".replace(\"{\" + \"dashboard_id\" + \"}\", encodeURIComponent(String(dashboardId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.deleteDashboard\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.deleteDashboards = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteDashboards.\");\n }\n localVarPath = \"/api/v1/dashboard\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.deleteDashboards\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardBulkDeleteRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.getDashboard = function (dashboardId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardId' is not null or undefined\n if (dashboardId === null || dashboardId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardId was null or undefined when calling getDashboard.\");\n }\n localVarPath = \"/api/v1/dashboard/{dashboard_id}\".replace(\"{\" + \"dashboard_id\" + \"}\", encodeURIComponent(String(dashboardId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.getDashboard\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.listDashboards = function (filterShared, filterDeleted, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/dashboard\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.listDashboards\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (filterShared !== undefined) {\n requestContext.setQueryParam(\"filter[shared]\", ObjectSerializer_1.ObjectSerializer.serialize(filterShared, \"boolean\", \"\"));\n }\n if (filterDeleted !== undefined) {\n requestContext.setQueryParam(\"filter[deleted]\", ObjectSerializer_1.ObjectSerializer.serialize(filterDeleted, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.restoreDashboards = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling restoreDashboards.\");\n }\n localVarPath = \"/api/v1/dashboard\";\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.restoreDashboards\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardRestoreRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardsApiRequestFactory.prototype.updateDashboard = function (dashboardId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardId' is not null or undefined\n if (dashboardId === null || dashboardId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardId was null or undefined when calling updateDashboard.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateDashboard.\");\n }\n localVarPath = \"/api/v1/dashboard/{dashboard_id}\".replace(\"{\" + \"dashboard_id\" + \"}\", encodeURIComponent(String(dashboardId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardsApi.updateDashboard\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Dashboard\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return DashboardsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.DashboardsApiRequestFactory = DashboardsApiRequestFactory;\nvar DashboardsApiResponseProcessor = /** @class */ (function () {\n function DashboardsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createDashboard\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.createDashboard = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteDashboard\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.deleteDashboard = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"DashboardDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"DashboardDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteDashboards\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.deleteDashboards = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_11);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getDashboard\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.getDashboard = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listDashboards\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.listDashboards = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"DashboardSummary\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"DashboardSummary\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to restoreDashboards\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.restoreDashboards = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_25);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_27);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_28);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateDashboard\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardsApiResponseProcessor.prototype.updateDashboard = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body_35, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_30 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_31 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_31);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_32 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_32);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_33 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_33);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_34 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_34);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_35 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"Dashboard\",\n \"\"]);\n return [2 /*return*/, body_35];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return DashboardsApiResponseProcessor;\n}());\nexports.DashboardsApiResponseProcessor = DashboardsApiResponseProcessor;\nvar DashboardsApi = /** @class */ (function () {\n function DashboardsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new DashboardsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new DashboardsApiResponseProcessor();\n }\n /**\n * Create a dashboard using the specified options. When defining queries in your widgets, take note of which queries should have the `as_count()` or `as_rate()` modifiers appended. Refer to the following [documentation](https://docs.datadoghq.com/developers/metrics/type_modifiers/?tab=count#in-application-modifiers) for more information on these modifiers.\n * @param param The request object\n */\n DashboardsApi.prototype.createDashboard = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createDashboard(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createDashboard(responseContext);\n });\n });\n };\n /**\n * Delete a dashboard using the specified ID.\n * @param param The request object\n */\n DashboardsApi.prototype.deleteDashboard = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteDashboard(param.dashboardId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteDashboard(responseContext);\n });\n });\n };\n /**\n * Delete dashboards using the specified IDs. If there are any failures, no dashboards will be deleted (partial success is not allowed).\n * @param param The request object\n */\n DashboardsApi.prototype.deleteDashboards = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteDashboards(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteDashboards(responseContext);\n });\n });\n };\n /**\n * Get a dashboard using the specified ID.\n * @param param The request object\n */\n DashboardsApi.prototype.getDashboard = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getDashboard(param.dashboardId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getDashboard(responseContext);\n });\n });\n };\n /**\n * Get all dashboards. **Note**: This query will only return custom created or cloned dashboards. This query will not return preset dashboards.\n * @param param The request object\n */\n DashboardsApi.prototype.listDashboards = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listDashboards(param.filterShared, param.filterDeleted, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listDashboards(responseContext);\n });\n });\n };\n /**\n * Restore dashboards using the specified IDs. If there are any failures, no dashboards will be restored (partial success is not allowed).\n * @param param The request object\n */\n DashboardsApi.prototype.restoreDashboards = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.restoreDashboards(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.restoreDashboards(responseContext);\n });\n });\n };\n /**\n * Update a dashboard using the specified ID.\n * @param param The request object\n */\n DashboardsApi.prototype.updateDashboard = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateDashboard(param.dashboardId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateDashboard(responseContext);\n });\n });\n };\n return DashboardsApi;\n}());\nexports.DashboardsApi = DashboardsApi;\n//# sourceMappingURL=DashboardsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DowntimesApi = exports.DowntimesApiResponseProcessor = exports.DowntimesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar DowntimesApiRequestFactory = /** @class */ (function (_super) {\n __extends(DowntimesApiRequestFactory, _super);\n function DowntimesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DowntimesApiRequestFactory.prototype.cancelDowntime = function (downtimeId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'downtimeId' is not null or undefined\n if (downtimeId === null || downtimeId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter downtimeId was null or undefined when calling cancelDowntime.\");\n }\n localVarPath = \"/api/v1/downtime/{downtime_id}\".replace(\"{\" + \"downtime_id\" + \"}\", encodeURIComponent(String(downtimeId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.cancelDowntime\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.cancelDowntimesByScope = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling cancelDowntimesByScope.\");\n }\n localVarPath = \"/api/v1/downtime/cancel/by_scope\";\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.cancelDowntimesByScope\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"CancelDowntimesByScopeRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.createDowntime = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createDowntime.\");\n }\n localVarPath = \"/api/v1/downtime\";\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.createDowntime\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Downtime\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.getDowntime = function (downtimeId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'downtimeId' is not null or undefined\n if (downtimeId === null || downtimeId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter downtimeId was null or undefined when calling getDowntime.\");\n }\n localVarPath = \"/api/v1/downtime/{downtime_id}\".replace(\"{\" + \"downtime_id\" + \"}\", encodeURIComponent(String(downtimeId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.getDowntime\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.listDowntimes = function (currentOnly, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/downtime\";\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.listDowntimes\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (currentOnly !== undefined) {\n requestContext.setQueryParam(\"current_only\", ObjectSerializer_1.ObjectSerializer.serialize(currentOnly, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.listMonitorDowntimes = function (monitorId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'monitorId' is not null or undefined\n if (monitorId === null || monitorId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter monitorId was null or undefined when calling listMonitorDowntimes.\");\n }\n localVarPath = \"/api/v1/monitor/{monitor_id}/downtimes\".replace(\"{\" + \"monitor_id\" + \"}\", encodeURIComponent(String(monitorId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.listMonitorDowntimes\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DowntimesApiRequestFactory.prototype.updateDowntime = function (downtimeId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'downtimeId' is not null or undefined\n if (downtimeId === null || downtimeId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter downtimeId was null or undefined when calling updateDowntime.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateDowntime.\");\n }\n localVarPath = \"/api/v1/downtime/{downtime_id}\".replace(\"{\" + \"downtime_id\" + \"}\", encodeURIComponent(String(downtimeId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DowntimesApi.updateDowntime\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Downtime\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return DowntimesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.DowntimesApiRequestFactory = DowntimesApiRequestFactory;\nvar DowntimesApiResponseProcessor = /** @class */ (function () {\n function DowntimesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to cancelDowntime\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.cancelDowntime = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_1);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_3);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_4];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to cancelDowntimesByScope\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.cancelDowntimesByScope = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body_9, _s, _t, _u, _v, body_10, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_5 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"CanceledDowntimesIds\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_6 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_6);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_7 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_8 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_9 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_10 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"CanceledDowntimesIds\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createDowntime\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.createDowntime = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getDowntime\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.getDowntime = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listDowntimes\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.listDowntimes = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listMonitorDowntimes\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.listMonitorDowntimes = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_27);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_28);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateDowntime\n * @throws ApiException if the response code was not in [200, 299]\n */\n DowntimesApiResponseProcessor.prototype.updateDowntime = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body_35, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_30 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_31 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_31);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_32 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_32);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_33 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_33);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_34 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_34);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_35 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"Downtime\",\n \"\"]);\n return [2 /*return*/, body_35];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return DowntimesApiResponseProcessor;\n}());\nexports.DowntimesApiResponseProcessor = DowntimesApiResponseProcessor;\nvar DowntimesApi = /** @class */ (function () {\n function DowntimesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new DowntimesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new DowntimesApiResponseProcessor();\n }\n /**\n * Cancel a downtime.\n * @param param The request object\n */\n DowntimesApi.prototype.cancelDowntime = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.cancelDowntime(param.downtimeId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.cancelDowntime(responseContext);\n });\n });\n };\n /**\n * Delete all downtimes that match the scope of `X`.\n * @param param The request object\n */\n DowntimesApi.prototype.cancelDowntimesByScope = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.cancelDowntimesByScope(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.cancelDowntimesByScope(responseContext);\n });\n });\n };\n /**\n * Schedule a downtime.\n * @param param The request object\n */\n DowntimesApi.prototype.createDowntime = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createDowntime(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createDowntime(responseContext);\n });\n });\n };\n /**\n * Get downtime detail by `downtime_id`.\n * @param param The request object\n */\n DowntimesApi.prototype.getDowntime = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getDowntime(param.downtimeId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getDowntime(responseContext);\n });\n });\n };\n /**\n * Get all scheduled downtimes.\n * @param param The request object\n */\n DowntimesApi.prototype.listDowntimes = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listDowntimes(param.currentOnly, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listDowntimes(responseContext);\n });\n });\n };\n /**\n * Get all active downtimes for the specified monitor.\n * @param param The request object\n */\n DowntimesApi.prototype.listMonitorDowntimes = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listMonitorDowntimes(param.monitorId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listMonitorDowntimes(responseContext);\n });\n });\n };\n /**\n * Update a single downtime by `downtime_id`.\n * @param param The request object\n */\n DowntimesApi.prototype.updateDowntime = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateDowntime(param.downtimeId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateDowntime(responseContext);\n });\n });\n };\n return DowntimesApi;\n}());\nexports.DowntimesApi = DowntimesApi;\n//# sourceMappingURL=DowntimesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventsApi = exports.EventsApiResponseProcessor = exports.EventsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar EventsApiRequestFactory = /** @class */ (function (_super) {\n __extends(EventsApiRequestFactory, _super);\n function EventsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventsApiRequestFactory.prototype.createEvent = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createEvent.\");\n }\n localVarPath = \"/api/v1/events\";\n requestContext = (0, configuration_1.getServer)(_config, \"EventsApi.createEvent\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"EventCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\"apiKeyAuth\"]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n EventsApiRequestFactory.prototype.getEvent = function (eventId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'eventId' is not null or undefined\n if (eventId === null || eventId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter eventId was null or undefined when calling getEvent.\");\n }\n localVarPath = \"/api/v1/events/{event_id}\".replace(\"{\" + \"event_id\" + \"}\", encodeURIComponent(String(eventId)));\n requestContext = (0, configuration_1.getServer)(_config, \"EventsApi.getEvent\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n EventsApiRequestFactory.prototype.listEvents = function (start, end, priority, sources, tags, unaggregated, excludeAggregate, page, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'start' is not null or undefined\n if (start === null || start === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter start was null or undefined when calling listEvents.\");\n }\n // verify required parameter 'end' is not null or undefined\n if (end === null || end === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter end was null or undefined when calling listEvents.\");\n }\n localVarPath = \"/api/v1/events\";\n requestContext = (0, configuration_1.getServer)(_config, \"EventsApi.listEvents\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (start !== undefined) {\n requestContext.setQueryParam(\"start\", ObjectSerializer_1.ObjectSerializer.serialize(start, \"number\", \"int64\"));\n }\n if (end !== undefined) {\n requestContext.setQueryParam(\"end\", ObjectSerializer_1.ObjectSerializer.serialize(end, \"number\", \"int64\"));\n }\n if (priority !== undefined) {\n requestContext.setQueryParam(\"priority\", ObjectSerializer_1.ObjectSerializer.serialize(priority, \"EventPriority\", \"\"));\n }\n if (sources !== undefined) {\n requestContext.setQueryParam(\"sources\", ObjectSerializer_1.ObjectSerializer.serialize(sources, \"string\", \"\"));\n }\n if (tags !== undefined) {\n requestContext.setQueryParam(\"tags\", ObjectSerializer_1.ObjectSerializer.serialize(tags, \"string\", \"\"));\n }\n if (unaggregated !== undefined) {\n requestContext.setQueryParam(\"unaggregated\", ObjectSerializer_1.ObjectSerializer.serialize(unaggregated, \"boolean\", \"\"));\n }\n if (excludeAggregate !== undefined) {\n requestContext.setQueryParam(\"exclude_aggregate\", ObjectSerializer_1.ObjectSerializer.serialize(excludeAggregate, \"boolean\", \"\"));\n }\n if (page !== undefined) {\n requestContext.setQueryParam(\"page\", ObjectSerializer_1.ObjectSerializer.serialize(page, \"number\", \"int32\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return EventsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.EventsApiRequestFactory = EventsApiRequestFactory;\nvar EventsApiResponseProcessor = /** @class */ (function () {\n function EventsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createEvent\n * @throws ApiException if the response code was not in [200, 299]\n */\n EventsApiResponseProcessor.prototype.createEvent = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"EventCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_3);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"EventCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_4];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getEvent\n * @throws ApiException if the response code was not in [200, 299]\n */\n EventsApiResponseProcessor.prototype.getEvent = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body_9, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_5 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"EventResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_6 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_6);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_7 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_7);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_8 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_9 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"EventResponse\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listEvents\n * @throws ApiException if the response code was not in [200, 299]\n */\n EventsApiResponseProcessor.prototype.listEvents = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"EventListResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_11);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"EventListResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return EventsApiResponseProcessor;\n}());\nexports.EventsApiResponseProcessor = EventsApiResponseProcessor;\nvar EventsApi = /** @class */ (function () {\n function EventsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new EventsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new EventsApiResponseProcessor();\n }\n /**\n * This endpoint allows you to post events to the stream. Tag them, set priority and event aggregate them with other events.\n * @param param The request object\n */\n EventsApi.prototype.createEvent = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createEvent(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createEvent(responseContext);\n });\n });\n };\n /**\n * This endpoint allows you to query for event details. **Note**: If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\\\\`,`n` in your output.\n * @param param The request object\n */\n EventsApi.prototype.getEvent = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getEvent(param.eventId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getEvent(responseContext);\n });\n });\n };\n /**\n * The event stream can be queried and filtered by time, priority, sources and tags. **Notes**: - If the event you’re querying contains markdown formatting of any kind, you may see characters such as `%`,`\\\\`,`n` in your output. - This endpoint returns a maximum of `1000` most recent results. To return additional results, identify the last timestamp of the last result and set that as the `end` query time to paginate the results. You can also use the page parameter to specify which set of `1000` results to return.\n * @param param The request object\n */\n EventsApi.prototype.listEvents = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listEvents(param.start, param.end, param.priority, param.sources, param.tags, param.unaggregated, param.excludeAggregate, param.page, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listEvents(responseContext);\n });\n });\n };\n return EventsApi;\n}());\nexports.EventsApi = EventsApi;\n//# sourceMappingURL=EventsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GCPIntegrationApi = exports.GCPIntegrationApiResponseProcessor = exports.GCPIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar GCPIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(GCPIntegrationApiRequestFactory, _super);\n function GCPIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GCPIntegrationApiRequestFactory.prototype.createGCPIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createGCPIntegration.\");\n }\n localVarPath = \"/api/v1/integration/gcp\";\n requestContext = (0, configuration_1.getServer)(_config, \"GCPIntegrationApi.createGCPIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"GCPAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n GCPIntegrationApiRequestFactory.prototype.deleteGCPIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteGCPIntegration.\");\n }\n localVarPath = \"/api/v1/integration/gcp\";\n requestContext = (0, configuration_1.getServer)(_config, \"GCPIntegrationApi.deleteGCPIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"GCPAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n GCPIntegrationApiRequestFactory.prototype.listGCPIntegration = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/integration/gcp\";\n requestContext = (0, configuration_1.getServer)(_config, \"GCPIntegrationApi.listGCPIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n GCPIntegrationApiRequestFactory.prototype.updateGCPIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateGCPIntegration.\");\n }\n localVarPath = \"/api/v1/integration/gcp\";\n requestContext = (0, configuration_1.getServer)(_config, \"GCPIntegrationApi.updateGCPIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"GCPAccount\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return GCPIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.GCPIntegrationApiRequestFactory = GCPIntegrationApiRequestFactory;\nvar GCPIntegrationApiResponseProcessor = /** @class */ (function () {\n function GCPIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createGCPIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n GCPIntegrationApiResponseProcessor.prototype.createGCPIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteGCPIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n GCPIntegrationApiResponseProcessor.prototype.deleteGCPIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listGCPIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n GCPIntegrationApiResponseProcessor.prototype.listGCPIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateGCPIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n GCPIntegrationApiResponseProcessor.prototype.updateGCPIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return GCPIntegrationApiResponseProcessor;\n}());\nexports.GCPIntegrationApiResponseProcessor = GCPIntegrationApiResponseProcessor;\nvar GCPIntegrationApi = /** @class */ (function () {\n function GCPIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new GCPIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new GCPIntegrationApiResponseProcessor();\n }\n /**\n * Create a Datadog-GCP integration.\n * @param param The request object\n */\n GCPIntegrationApi.prototype.createGCPIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createGCPIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createGCPIntegration(responseContext);\n });\n });\n };\n /**\n * Delete a given Datadog-GCP integration.\n * @param param The request object\n */\n GCPIntegrationApi.prototype.deleteGCPIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteGCPIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteGCPIntegration(responseContext);\n });\n });\n };\n /**\n * List all Datadog-GCP integrations configured in your Datadog account.\n * @param param The request object\n */\n GCPIntegrationApi.prototype.listGCPIntegration = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listGCPIntegration(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listGCPIntegration(responseContext);\n });\n });\n };\n /**\n * Update a Datadog-GCP integrations host_filters and/or auto-mute. Requires a `project_id` and `client_email`, however these fields cannot be updated. If you need to update these fields, delete and use the create (`POST`) endpoint. The unspecified fields will keep their original values.\n * @param param The request object\n */\n GCPIntegrationApi.prototype.updateGCPIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateGCPIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateGCPIntegration(responseContext);\n });\n });\n };\n return GCPIntegrationApi;\n}());\nexports.GCPIntegrationApi = GCPIntegrationApi;\n//# sourceMappingURL=GCPIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostsApi = exports.HostsApiResponseProcessor = exports.HostsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar HostsApiRequestFactory = /** @class */ (function (_super) {\n __extends(HostsApiRequestFactory, _super);\n function HostsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HostsApiRequestFactory.prototype.getHostTotals = function (from, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/hosts/totals\";\n requestContext = (0, configuration_1.getServer)(_config, \"HostsApi.getHostTotals\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (from !== undefined) {\n requestContext.setQueryParam(\"from\", ObjectSerializer_1.ObjectSerializer.serialize(from, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n HostsApiRequestFactory.prototype.listHosts = function (filter, sortField, sortDir, start, count, from, includeMutedHostsData, includeHostsMetadata, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/hosts\";\n requestContext = (0, configuration_1.getServer)(_config, \"HostsApi.listHosts\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (sortField !== undefined) {\n requestContext.setQueryParam(\"sort_field\", ObjectSerializer_1.ObjectSerializer.serialize(sortField, \"string\", \"\"));\n }\n if (sortDir !== undefined) {\n requestContext.setQueryParam(\"sort_dir\", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, \"string\", \"\"));\n }\n if (start !== undefined) {\n requestContext.setQueryParam(\"start\", ObjectSerializer_1.ObjectSerializer.serialize(start, \"number\", \"int64\"));\n }\n if (count !== undefined) {\n requestContext.setQueryParam(\"count\", ObjectSerializer_1.ObjectSerializer.serialize(count, \"number\", \"int64\"));\n }\n if (from !== undefined) {\n requestContext.setQueryParam(\"from\", ObjectSerializer_1.ObjectSerializer.serialize(from, \"number\", \"int64\"));\n }\n if (includeMutedHostsData !== undefined) {\n requestContext.setQueryParam(\"include_muted_hosts_data\", ObjectSerializer_1.ObjectSerializer.serialize(includeMutedHostsData, \"boolean\", \"\"));\n }\n if (includeHostsMetadata !== undefined) {\n requestContext.setQueryParam(\"include_hosts_metadata\", ObjectSerializer_1.ObjectSerializer.serialize(includeHostsMetadata, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n HostsApiRequestFactory.prototype.muteHost = function (hostName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling muteHost.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling muteHost.\");\n }\n localVarPath = \"/api/v1/host/{host_name}/mute\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"HostsApi.muteHost\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"HostMuteSettings\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n HostsApiRequestFactory.prototype.unmuteHost = function (hostName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling unmuteHost.\");\n }\n localVarPath = \"/api/v1/host/{host_name}/unmute\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"HostsApi.unmuteHost\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return HostsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.HostsApiRequestFactory = HostsApiRequestFactory;\nvar HostsApiResponseProcessor = /** @class */ (function () {\n function HostsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getHostTotals\n * @throws ApiException if the response code was not in [200, 299]\n */\n HostsApiResponseProcessor.prototype.getHostTotals = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostTotals\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostTotals\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listHosts\n * @throws ApiException if the response code was not in [200, 299]\n */\n HostsApiResponseProcessor.prototype.listHosts = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostListResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostListResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to muteHost\n * @throws ApiException if the response code was not in [200, 299]\n */\n HostsApiResponseProcessor.prototype.muteHost = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostMuteResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostMuteResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to unmuteHost\n * @throws ApiException if the response code was not in [200, 299]\n */\n HostsApiResponseProcessor.prototype.unmuteHost = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostMuteResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostMuteResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return HostsApiResponseProcessor;\n}());\nexports.HostsApiResponseProcessor = HostsApiResponseProcessor;\nvar HostsApi = /** @class */ (function () {\n function HostsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new HostsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new HostsApiResponseProcessor();\n }\n /**\n * This endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours.\n * @param param The request object\n */\n HostsApi.prototype.getHostTotals = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.getHostTotals(param.from, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getHostTotals(responseContext);\n });\n });\n };\n /**\n * This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 hours are included by default. Retention is 7 days. Results are paginated with a max of 1000 results at a time.\n * @param param The request object\n */\n HostsApi.prototype.listHosts = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listHosts(param.filter, param.sortField, param.sortDir, param.start, param.count, param.from, param.includeMutedHostsData, param.includeHostsMetadata, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listHosts(responseContext);\n });\n });\n };\n /**\n * Mute a host.\n * @param param The request object\n */\n HostsApi.prototype.muteHost = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.muteHost(param.hostName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.muteHost(responseContext);\n });\n });\n };\n /**\n * Unmutes a host. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n HostsApi.prototype.unmuteHost = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.unmuteHost(param.hostName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.unmuteHost(responseContext);\n });\n });\n };\n return HostsApi;\n}());\nexports.HostsApi = HostsApi;\n//# sourceMappingURL=HostsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPRangesApi = exports.IPRangesApiResponseProcessor = exports.IPRangesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar IPRangesApiRequestFactory = /** @class */ (function (_super) {\n __extends(IPRangesApiRequestFactory, _super);\n function IPRangesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n IPRangesApiRequestFactory.prototype.getIPRanges = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/\";\n requestContext = (0, configuration_1.getServer)(_config, \"IPRangesApi.getIPRanges\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return IPRangesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.IPRangesApiRequestFactory = IPRangesApiRequestFactory;\nvar IPRangesApiResponseProcessor = /** @class */ (function () {\n function IPRangesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIPRanges\n * @throws ApiException if the response code was not in [200, 299]\n */\n IPRangesApiResponseProcessor.prototype.getIPRanges = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body;\n return __generator(this, function (_o) {\n switch (_o.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]),\n \"IPRanges\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_2);\n case 4:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]),\n \"IPRanges\",\n \"\"]);\n return [2 /*return*/, body_3];\n case 6: return [4 /*yield*/, response.body.text()];\n case 7:\n body = (_o.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return IPRangesApiResponseProcessor;\n}());\nexports.IPRangesApiResponseProcessor = IPRangesApiResponseProcessor;\nvar IPRangesApi = /** @class */ (function () {\n function IPRangesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new IPRangesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new IPRangesApiResponseProcessor();\n }\n /**\n * Get information about Datadog IP ranges.\n * @param param The request object\n */\n IPRangesApi.prototype.getIPRanges = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIPRanges(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIPRanges(responseContext);\n });\n });\n };\n return IPRangesApi;\n}());\nexports.IPRangesApi = IPRangesApi;\n//# sourceMappingURL=IPRangesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.KeyManagementApi = exports.KeyManagementApiResponseProcessor = exports.KeyManagementApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar KeyManagementApiRequestFactory = /** @class */ (function (_super) {\n __extends(KeyManagementApiRequestFactory, _super);\n function KeyManagementApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n KeyManagementApiRequestFactory.prototype.createAPIKey = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAPIKey.\");\n }\n localVarPath = \"/api/v1/api_key\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.createAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApiKey\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.createApplicationKey = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createApplicationKey.\");\n }\n localVarPath = \"/api/v1/application_key\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.createApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKey\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.deleteAPIKey = function (key, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling deleteAPIKey.\");\n }\n localVarPath = \"/api/v1/api_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.deleteAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.deleteApplicationKey = function (key, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling deleteApplicationKey.\");\n }\n localVarPath = \"/api/v1/application_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.deleteApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.getAPIKey = function (key, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling getAPIKey.\");\n }\n localVarPath = \"/api/v1/api_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.getAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.getApplicationKey = function (key, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling getApplicationKey.\");\n }\n localVarPath = \"/api/v1/application_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.getApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.listAPIKeys = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/api_key\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.listAPIKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.listApplicationKeys = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/application_key\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.listApplicationKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.updateAPIKey = function (key, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling updateAPIKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAPIKey.\");\n }\n localVarPath = \"/api/v1/api_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.updateAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApiKey\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.updateApplicationKey = function (key, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'key' is not null or undefined\n if (key === null || key === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter key was null or undefined when calling updateApplicationKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateApplicationKey.\");\n }\n localVarPath = \"/api/v1/application_key/{key}\".replace(\"{\" + \"key\" + \"}\", encodeURIComponent(String(key)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.updateApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKey\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return KeyManagementApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.KeyManagementApiRequestFactory = KeyManagementApiRequestFactory;\nvar KeyManagementApiResponseProcessor = /** @class */ (function () {\n function KeyManagementApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.createAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.createApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body_11, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_9);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_10);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_11 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.deleteAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_12 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_13 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_13);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_14 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_14);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_15 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_15);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_16 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_16);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_17 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.deleteApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_18 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_19 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_20 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_20);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_21 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_22 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.getAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.getApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_31);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAPIKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.listAPIKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_33 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"ApiKeyListResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_34 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_34);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_35 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_35);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_36 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"ApiKeyListResponse\",\n \"\"]);\n return [2 /*return*/, body_36];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listApplicationKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.listApplicationKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_37 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"ApplicationKeyListResponse\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_38 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_38);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_39 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_39);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_40 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"ApplicationKeyListResponse\",\n \"\"]);\n return [2 /*return*/, body_40];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.updateAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_41, _a, _b, _c, _d, body_42, _e, _f, _g, _h, body_43, _j, _k, _l, _m, body_44, _o, _p, _q, _r, body_45, _s, _t, _u, _v, body_46, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_41 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_41];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_42 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_42);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_43 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_43);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_44 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_44);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_45 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_46 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApiKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.updateApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body_53, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_50);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_51);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_52 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_52);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_53 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_53];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return KeyManagementApiResponseProcessor;\n}());\nexports.KeyManagementApiResponseProcessor = KeyManagementApiResponseProcessor;\nvar KeyManagementApi = /** @class */ (function () {\n function KeyManagementApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new KeyManagementApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new KeyManagementApiResponseProcessor();\n }\n /**\n * Creates an API key with a given name.\n * @param param The request object\n */\n KeyManagementApi.prototype.createAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAPIKey(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAPIKey(responseContext);\n });\n });\n };\n /**\n * Create an application key with a given name.\n * @param param The request object\n */\n KeyManagementApi.prototype.createApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createApplicationKey(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createApplicationKey(responseContext);\n });\n });\n };\n /**\n * Delete a given API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.deleteAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAPIKey(param.key, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAPIKey(responseContext);\n });\n });\n };\n /**\n * Delete a given application key.\n * @param param The request object\n */\n KeyManagementApi.prototype.deleteApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteApplicationKey(param.key, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteApplicationKey(responseContext);\n });\n });\n };\n /**\n * Get a given API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.getAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAPIKey(param.key, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAPIKey(responseContext);\n });\n });\n };\n /**\n * Get a given application key.\n * @param param The request object\n */\n KeyManagementApi.prototype.getApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getApplicationKey(param.key, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getApplicationKey(responseContext);\n });\n });\n };\n /**\n * Get all API keys available for your account.\n * @param param The request object\n */\n KeyManagementApi.prototype.listAPIKeys = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listAPIKeys(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAPIKeys(responseContext);\n });\n });\n };\n /**\n * Get all application keys available for your Datadog account.\n * @param param The request object\n */\n KeyManagementApi.prototype.listApplicationKeys = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listApplicationKeys(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listApplicationKeys(responseContext);\n });\n });\n };\n /**\n * Edit an API key name.\n * @param param The request object\n */\n KeyManagementApi.prototype.updateAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAPIKey(param.key, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAPIKey(responseContext);\n });\n });\n };\n /**\n * Edit an application key name.\n * @param param The request object\n */\n KeyManagementApi.prototype.updateApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateApplicationKey(param.key, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateApplicationKey(responseContext);\n });\n });\n };\n return KeyManagementApi;\n}());\nexports.KeyManagementApi = KeyManagementApi;\n//# sourceMappingURL=KeyManagementApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsApi = exports.LogsApiResponseProcessor = exports.LogsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsApiRequestFactory, _super);\n function LogsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsApiRequestFactory.prototype.listLogs = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling listLogs.\");\n }\n localVarPath = \"/api/v1/logs-queries/list\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.listLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsListRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsApiRequestFactory.prototype.submitLog = function (body, contentEncoding, ddtags, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling submitLog.\");\n }\n localVarPath = \"/v1/input\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.submitLog\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (ddtags !== undefined) {\n requestContext.setQueryParam(\"ddtags\", ObjectSerializer_1.ObjectSerializer.serialize(ddtags, \"string\", \"\"));\n }\n // Header Params\n if (contentEncoding !== undefined) {\n requestContext.setHeaderParam(\"Content-Encoding\", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, \"ContentEncoding\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n \"application/json;simple\",\n \"application/logplex-1\",\n \"text/plain\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Array\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\"apiKeyAuth\"]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsApiRequestFactory = LogsApiRequestFactory;\nvar LogsApiResponseProcessor = /** @class */ (function () {\n function LogsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.listLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to submitLog\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.submitLog = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"HTTPLogError\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsApiResponseProcessor;\n}());\nexports.LogsApiResponseProcessor = LogsApiResponseProcessor;\nvar LogsApi = /** @class */ (function () {\n function LogsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsApiResponseProcessor();\n }\n /**\n * List endpoint returns logs that match a log search query. [Results are paginated][1]. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives\n * @param param The request object\n */\n LogsApi.prototype.listLogs = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLogs(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogs(responseContext);\n });\n });\n };\n /**\n * Send your logs to your Datadog platform over HTTP. Limits per HTTP request are: - Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx. Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs. The status codes answered by the HTTP API are: - 200: OK - 400: Bad request (likely an issue in the payload formatting) - 403: Permission issue (likely using an invalid API Key) - 413: Payload too large (batch is above 5MB uncompressed) - 5xx: Internal error, request should be retried after some time\n * @param param The request object\n */\n LogsApi.prototype.submitLog = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.submitLog(param.body, param.contentEncoding, param.ddtags, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.submitLog(responseContext);\n });\n });\n };\n return LogsApi;\n}());\nexports.LogsApi = LogsApi;\n//# sourceMappingURL=LogsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsIndexesApi = exports.LogsIndexesApiResponseProcessor = exports.LogsIndexesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsIndexesApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsIndexesApiRequestFactory, _super);\n function LogsIndexesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsIndexesApiRequestFactory.prototype.createLogsIndex = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createLogsIndex.\");\n }\n localVarPath = \"/api/v1/logs/config/indexes\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.createLogsIndex\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsIndex\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsIndexesApiRequestFactory.prototype.getLogsIndex = function (name, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'name' is not null or undefined\n if (name === null || name === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter name was null or undefined when calling getLogsIndex.\");\n }\n localVarPath = \"/api/v1/logs/config/indexes/{name}\".replace(\"{\" + \"name\" + \"}\", encodeURIComponent(String(name)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.getLogsIndex\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsIndexesApiRequestFactory.prototype.getLogsIndexOrder = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/logs/config/index-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.getLogsIndexOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsIndexesApiRequestFactory.prototype.listLogIndexes = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/logs/config/indexes\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.listLogIndexes\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsIndexesApiRequestFactory.prototype.updateLogsIndex = function (name, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'name' is not null or undefined\n if (name === null || name === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter name was null or undefined when calling updateLogsIndex.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsIndex.\");\n }\n localVarPath = \"/api/v1/logs/config/indexes/{name}\".replace(\"{\" + \"name\" + \"}\", encodeURIComponent(String(name)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.updateLogsIndex\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsIndexUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsIndexesApiRequestFactory.prototype.updateLogsIndexOrder = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsIndexOrder.\");\n }\n localVarPath = \"/api/v1/logs/config/index-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsIndexesApi.updateLogsIndexOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsIndexesOrder\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsIndexesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsIndexesApiRequestFactory = LogsIndexesApiRequestFactory;\nvar LogsIndexesApiResponseProcessor = /** @class */ (function () {\n function LogsIndexesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createLogsIndex\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.createLogsIndex = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsIndex\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.getLogsIndex = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsIndexOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.getLogsIndexOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsIndexesOrder\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsIndexesOrder\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogIndexes\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.listLogIndexes = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsIndexListResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsIndexListResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsIndex\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.updateLogsIndex = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_22);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_23 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsIndex\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsIndexOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsIndexesApiResponseProcessor.prototype.updateLogsIndexOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_24 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsIndexesOrder\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_25 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_25);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_26 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_26);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_27 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_27);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_28 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsIndexesOrder\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsIndexesApiResponseProcessor;\n}());\nexports.LogsIndexesApiResponseProcessor = LogsIndexesApiResponseProcessor;\nvar LogsIndexesApi = /** @class */ (function () {\n function LogsIndexesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsIndexesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsIndexesApiResponseProcessor();\n }\n /**\n * Creates a new index. Returns the Index object passed in the request body when the request is successful.\n * @param param The request object\n */\n LogsIndexesApi.prototype.createLogsIndex = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createLogsIndex(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createLogsIndex(responseContext);\n });\n });\n };\n /**\n * Get one log index from your organization. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsIndexesApi.prototype.getLogsIndex = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsIndex(param.name, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsIndex(responseContext);\n });\n });\n };\n /**\n * Get the current order of your log indexes. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsIndexesApi.prototype.getLogsIndexOrder = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsIndexOrder(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsIndexOrder(responseContext);\n });\n });\n };\n /**\n * The Index object describes the configuration of a log index. This endpoint returns an array of the `LogIndex` objects of your organization.\n * @param param The request object\n */\n LogsIndexesApi.prototype.listLogIndexes = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLogIndexes(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogIndexes(responseContext);\n });\n });\n };\n /**\n * Update an index as identified by its name. Returns the Index object passed in the request body when the request is successful. Using the `PUT` method updates your index’s configuration by **replacing** your current configuration with the new one sent to your Datadog organization.\n * @param param The request object\n */\n LogsIndexesApi.prototype.updateLogsIndex = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsIndex(param.name, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsIndex(responseContext);\n });\n });\n };\n /**\n * This endpoint updates the index order of your organization. It returns the index order object passed in the request body when the request is successful.\n * @param param The request object\n */\n LogsIndexesApi.prototype.updateLogsIndexOrder = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsIndexOrder(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsIndexOrder(responseContext);\n });\n });\n };\n return LogsIndexesApi;\n}());\nexports.LogsIndexesApi = LogsIndexesApi;\n//# sourceMappingURL=LogsIndexesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsPipelinesApi = exports.LogsPipelinesApiResponseProcessor = exports.LogsPipelinesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsPipelinesApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsPipelinesApiRequestFactory, _super);\n function LogsPipelinesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsPipelinesApiRequestFactory.prototype.createLogsPipeline = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createLogsPipeline.\");\n }\n localVarPath = \"/api/v1/logs/config/pipelines\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.createLogsPipeline\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsPipeline\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.deleteLogsPipeline = function (pipelineId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'pipelineId' is not null or undefined\n if (pipelineId === null || pipelineId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter pipelineId was null or undefined when calling deleteLogsPipeline.\");\n }\n localVarPath = \"/api/v1/logs/config/pipelines/{pipeline_id}\".replace(\"{\" + \"pipeline_id\" + \"}\", encodeURIComponent(String(pipelineId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.deleteLogsPipeline\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.getLogsPipeline = function (pipelineId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'pipelineId' is not null or undefined\n if (pipelineId === null || pipelineId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter pipelineId was null or undefined when calling getLogsPipeline.\");\n }\n localVarPath = \"/api/v1/logs/config/pipelines/{pipeline_id}\".replace(\"{\" + \"pipeline_id\" + \"}\", encodeURIComponent(String(pipelineId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.getLogsPipeline\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.getLogsPipelineOrder = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/logs/config/pipeline-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.getLogsPipelineOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.listLogsPipelines = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/logs/config/pipelines\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.listLogsPipelines\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.updateLogsPipeline = function (pipelineId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'pipelineId' is not null or undefined\n if (pipelineId === null || pipelineId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter pipelineId was null or undefined when calling updateLogsPipeline.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsPipeline.\");\n }\n localVarPath = \"/api/v1/logs/config/pipelines/{pipeline_id}\".replace(\"{\" + \"pipeline_id\" + \"}\", encodeURIComponent(String(pipelineId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.updateLogsPipeline\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsPipeline\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsPipelinesApiRequestFactory.prototype.updateLogsPipelineOrder = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsPipelineOrder.\");\n }\n localVarPath = \"/api/v1/logs/config/pipeline-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsPipelinesApi.updateLogsPipelineOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsPipelinesOrder\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsPipelinesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsPipelinesApiRequestFactory = LogsPipelinesApiRequestFactory;\nvar LogsPipelinesApiResponseProcessor = /** @class */ (function () {\n function LogsPipelinesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createLogsPipeline\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.createLogsPipeline = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteLogsPipeline\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.deleteLogsPipeline = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_6);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsPipeline\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.getLogsPipeline = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_11);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsPipelineOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.getLogsPipelineOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsPipelinesOrder\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsPipelinesOrder\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogsPipelines\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.listLogsPipelines = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsPipeline\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.updateLogsPipeline = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsPipeline\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsPipelineOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsPipelinesApiResponseProcessor.prototype.updateLogsPipelineOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsPipelinesOrder\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"LogsAPIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_32);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsPipelinesOrder\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsPipelinesApiResponseProcessor;\n}());\nexports.LogsPipelinesApiResponseProcessor = LogsPipelinesApiResponseProcessor;\nvar LogsPipelinesApi = /** @class */ (function () {\n function LogsPipelinesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsPipelinesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsPipelinesApiResponseProcessor();\n }\n /**\n * Create a pipeline in your organization.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.createLogsPipeline = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createLogsPipeline(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createLogsPipeline(responseContext);\n });\n });\n };\n /**\n * Delete a given pipeline from your organization. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.deleteLogsPipeline = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteLogsPipeline(param.pipelineId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteLogsPipeline(responseContext);\n });\n });\n };\n /**\n * Get a specific pipeline from your organization. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.getLogsPipeline = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsPipeline(param.pipelineId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsPipeline(responseContext);\n });\n });\n };\n /**\n * Get the current order of your pipelines. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.getLogsPipelineOrder = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsPipelineOrder(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsPipelineOrder(responseContext);\n });\n });\n };\n /**\n * Get all pipelines from your organization. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.listLogsPipelines = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLogsPipelines(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogsPipelines(responseContext);\n });\n });\n };\n /**\n * Update a given pipeline configuration to change it’s processors or their order. **Note**: Using this method updates your pipeline configuration by **replacing** your current configuration with the new one sent to your Datadog organization.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.updateLogsPipeline = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsPipeline(param.pipelineId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsPipeline(responseContext);\n });\n });\n };\n /**\n * Update the order of your pipelines. Since logs are processed sequentially, reordering a pipeline may change the structure and content of the data processed by other pipelines and their processors. **Note**: Using the `PUT` method updates your pipeline order by replacing your current order with the new one sent to your Datadog organization.\n * @param param The request object\n */\n LogsPipelinesApi.prototype.updateLogsPipelineOrder = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsPipelineOrder(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsPipelineOrder(responseContext);\n });\n });\n };\n return LogsPipelinesApi;\n}());\nexports.LogsPipelinesApi = LogsPipelinesApi;\n//# sourceMappingURL=LogsPipelinesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsApi = exports.MetricsApiResponseProcessor = exports.MetricsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar MetricsApiRequestFactory = /** @class */ (function (_super) {\n __extends(MetricsApiRequestFactory, _super);\n function MetricsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MetricsApiRequestFactory.prototype.getMetricMetadata = function (metricName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling getMetricMetadata.\");\n }\n localVarPath = \"/api/v1/metrics/{metric_name}\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.getMetricMetadata\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listActiveMetrics = function (from, host, tagFilter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'from' is not null or undefined\n if (from === null || from === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter from was null or undefined when calling listActiveMetrics.\");\n }\n localVarPath = \"/api/v1/metrics\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listActiveMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (from !== undefined) {\n requestContext.setQueryParam(\"from\", ObjectSerializer_1.ObjectSerializer.serialize(from, \"number\", \"int64\"));\n }\n if (host !== undefined) {\n requestContext.setQueryParam(\"host\", ObjectSerializer_1.ObjectSerializer.serialize(host, \"string\", \"\"));\n }\n if (tagFilter !== undefined) {\n requestContext.setQueryParam(\"tag_filter\", ObjectSerializer_1.ObjectSerializer.serialize(tagFilter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listMetrics = function (q, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'q' is not null or undefined\n if (q === null || q === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter q was null or undefined when calling listMetrics.\");\n }\n localVarPath = \"/api/v1/search\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (q !== undefined) {\n requestContext.setQueryParam(\"q\", ObjectSerializer_1.ObjectSerializer.serialize(q, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.queryMetrics = function (from, to, query, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'from' is not null or undefined\n if (from === null || from === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter from was null or undefined when calling queryMetrics.\");\n }\n // verify required parameter 'to' is not null or undefined\n if (to === null || to === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter to was null or undefined when calling queryMetrics.\");\n }\n // verify required parameter 'query' is not null or undefined\n if (query === null || query === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter query was null or undefined when calling queryMetrics.\");\n }\n localVarPath = \"/api/v1/query\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.queryMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (from !== undefined) {\n requestContext.setQueryParam(\"from\", ObjectSerializer_1.ObjectSerializer.serialize(from, \"number\", \"int64\"));\n }\n if (to !== undefined) {\n requestContext.setQueryParam(\"to\", ObjectSerializer_1.ObjectSerializer.serialize(to, \"number\", \"int64\"));\n }\n if (query !== undefined) {\n requestContext.setQueryParam(\"query\", ObjectSerializer_1.ObjectSerializer.serialize(query, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.submitMetrics = function (body, contentEncoding, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling submitMetrics.\");\n }\n localVarPath = \"/api/v1/series\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.submitMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"text/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Header Params\n if (contentEncoding !== undefined) {\n requestContext.setHeaderParam(\"Content-Encoding\", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, \"MetricContentEncoding\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\"text/json\"]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricsPayload\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\"apiKeyAuth\"]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.updateMetricMetadata = function (metricName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling updateMetricMetadata.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateMetricMetadata.\");\n }\n localVarPath = \"/api/v1/metrics/{metric_name}\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.updateMetricMetadata\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricMetadata\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return MetricsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.MetricsApiRequestFactory = MetricsApiRequestFactory;\nvar MetricsApiResponseProcessor = /** @class */ (function () {\n function MetricsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getMetricMetadata\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.getMetricMetadata = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricMetadata\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricMetadata\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listActiveMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listActiveMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricsListResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricsListResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to queryMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.queryMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricsQueryResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricsQueryResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to submitMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.submitMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IntakePayloadAccepted\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"408\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(408, body_24);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"413\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(413, body_25);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IntakePayloadAccepted\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateMetricMetadata\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.updateMetricMetadata = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricMetadata\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_32);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricMetadata\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return MetricsApiResponseProcessor;\n}());\nexports.MetricsApiResponseProcessor = MetricsApiResponseProcessor;\nvar MetricsApi = /** @class */ (function () {\n function MetricsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new MetricsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new MetricsApiResponseProcessor();\n }\n /**\n * Get metadata about a specific metric.\n * @param param The request object\n */\n MetricsApi.prototype.getMetricMetadata = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getMetricMetadata(param.metricName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getMetricMetadata(responseContext);\n });\n });\n };\n /**\n * Get the list of actively reporting metrics from a given time until now.\n * @param param The request object\n */\n MetricsApi.prototype.listActiveMetrics = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listActiveMetrics(param.from, param.host, param.tagFilter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listActiveMetrics(responseContext);\n });\n });\n };\n /**\n * Search for metrics from the last 24 hours in Datadog.\n * @param param The request object\n */\n MetricsApi.prototype.listMetrics = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listMetrics(param.q, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listMetrics(responseContext);\n });\n });\n };\n /**\n * Query timeseries points.\n * @param param The request object\n */\n MetricsApi.prototype.queryMetrics = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.queryMetrics(param.from, param.to, param.query, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.queryMetrics(responseContext);\n });\n });\n };\n /**\n * The metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 3.2 megabytes (3200000 bytes). Compressed payloads must have a decompressed size of less than 62 megabytes (62914560 bytes). If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect: - 64 bits for the timestamp - 32 bits for the value - 20 bytes for the metric names - 50 bytes for the timeseries - The full payload is approximately 100 bytes. However, with the DogStatsD API, compression is applied, which reduces the payload size.\n * @param param The request object\n */\n MetricsApi.prototype.submitMetrics = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.submitMetrics(param.body, param.contentEncoding, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.submitMetrics(responseContext);\n });\n });\n };\n /**\n * Edit metadata of a specific metric. Find out more about [supported types](https://docs.datadoghq.com/developers/metrics).\n * @param param The request object\n */\n MetricsApi.prototype.updateMetricMetadata = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateMetricMetadata(param.metricName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateMetricMetadata(responseContext);\n });\n });\n };\n return MetricsApi;\n}());\nexports.MetricsApi = MetricsApi;\n//# sourceMappingURL=MetricsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorsApi = exports.MonitorsApiResponseProcessor = exports.MonitorsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar MonitorsApiRequestFactory = /** @class */ (function (_super) {\n __extends(MonitorsApiRequestFactory, _super);\n function MonitorsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MonitorsApiRequestFactory.prototype.checkCanDeleteMonitor = function (monitorIds, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'monitorIds' is not null or undefined\n if (monitorIds === null || monitorIds === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter monitorIds was null or undefined when calling checkCanDeleteMonitor.\");\n }\n localVarPath = \"/api/v1/monitor/can_delete\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.checkCanDeleteMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (monitorIds !== undefined) {\n requestContext.setQueryParam(\"monitor_ids\", ObjectSerializer_1.ObjectSerializer.serialize(monitorIds, \"Array\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.createMonitor = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createMonitor.\");\n }\n localVarPath = \"/api/v1/monitor\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.createMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Monitor\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.deleteMonitor = function (monitorId, force, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'monitorId' is not null or undefined\n if (monitorId === null || monitorId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter monitorId was null or undefined when calling deleteMonitor.\");\n }\n localVarPath = \"/api/v1/monitor/{monitor_id}\".replace(\"{\" + \"monitor_id\" + \"}\", encodeURIComponent(String(monitorId)));\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.deleteMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (force !== undefined) {\n requestContext.setQueryParam(\"force\", ObjectSerializer_1.ObjectSerializer.serialize(force, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.getMonitor = function (monitorId, groupStates, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'monitorId' is not null or undefined\n if (monitorId === null || monitorId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter monitorId was null or undefined when calling getMonitor.\");\n }\n localVarPath = \"/api/v1/monitor/{monitor_id}\".replace(\"{\" + \"monitor_id\" + \"}\", encodeURIComponent(String(monitorId)));\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.getMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (groupStates !== undefined) {\n requestContext.setQueryParam(\"group_states\", ObjectSerializer_1.ObjectSerializer.serialize(groupStates, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.listMonitors = function (groupStates, name, tags, monitorTags, withDowntimes, idOffset, page, pageSize, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/monitor\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.listMonitors\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (groupStates !== undefined) {\n requestContext.setQueryParam(\"group_states\", ObjectSerializer_1.ObjectSerializer.serialize(groupStates, \"string\", \"\"));\n }\n if (name !== undefined) {\n requestContext.setQueryParam(\"name\", ObjectSerializer_1.ObjectSerializer.serialize(name, \"string\", \"\"));\n }\n if (tags !== undefined) {\n requestContext.setQueryParam(\"tags\", ObjectSerializer_1.ObjectSerializer.serialize(tags, \"string\", \"\"));\n }\n if (monitorTags !== undefined) {\n requestContext.setQueryParam(\"monitor_tags\", ObjectSerializer_1.ObjectSerializer.serialize(monitorTags, \"string\", \"\"));\n }\n if (withDowntimes !== undefined) {\n requestContext.setQueryParam(\"with_downtimes\", ObjectSerializer_1.ObjectSerializer.serialize(withDowntimes, \"boolean\", \"\"));\n }\n if (idOffset !== undefined) {\n requestContext.setQueryParam(\"id_offset\", ObjectSerializer_1.ObjectSerializer.serialize(idOffset, \"number\", \"int64\"));\n }\n if (page !== undefined) {\n requestContext.setQueryParam(\"page\", ObjectSerializer_1.ObjectSerializer.serialize(page, \"number\", \"int64\"));\n }\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page_size\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int32\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.searchMonitorGroups = function (query, page, perPage, sort, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/monitor/groups/search\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.searchMonitorGroups\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (query !== undefined) {\n requestContext.setQueryParam(\"query\", ObjectSerializer_1.ObjectSerializer.serialize(query, \"string\", \"\"));\n }\n if (page !== undefined) {\n requestContext.setQueryParam(\"page\", ObjectSerializer_1.ObjectSerializer.serialize(page, \"number\", \"int64\"));\n }\n if (perPage !== undefined) {\n requestContext.setQueryParam(\"per_page\", ObjectSerializer_1.ObjectSerializer.serialize(perPage, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.searchMonitors = function (query, page, perPage, sort, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/monitor/search\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.searchMonitors\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (query !== undefined) {\n requestContext.setQueryParam(\"query\", ObjectSerializer_1.ObjectSerializer.serialize(query, \"string\", \"\"));\n }\n if (page !== undefined) {\n requestContext.setQueryParam(\"page\", ObjectSerializer_1.ObjectSerializer.serialize(page, \"number\", \"int64\"));\n }\n if (perPage !== undefined) {\n requestContext.setQueryParam(\"per_page\", ObjectSerializer_1.ObjectSerializer.serialize(perPage, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.updateMonitor = function (monitorId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'monitorId' is not null or undefined\n if (monitorId === null || monitorId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter monitorId was null or undefined when calling updateMonitor.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateMonitor.\");\n }\n localVarPath = \"/api/v1/monitor/{monitor_id}\".replace(\"{\" + \"monitor_id\" + \"}\", encodeURIComponent(String(monitorId)));\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.updateMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MonitorUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MonitorsApiRequestFactory.prototype.validateMonitor = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling validateMonitor.\");\n }\n localVarPath = \"/api/v1/monitor/validate\";\n requestContext = (0, configuration_1.getServer)(_config, \"MonitorsApi.validateMonitor\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Monitor\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return MonitorsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.MonitorsApiRequestFactory = MonitorsApiRequestFactory;\nvar MonitorsApiResponseProcessor = /** @class */ (function () {\n function MonitorsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to checkCanDeleteMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.checkCanDeleteMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"CheckCanDeleteMonitorResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"CheckCanDeleteMonitorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"CheckCanDeleteMonitorResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.createMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_10);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.deleteMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body_18, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_12 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"DeletedMonitor\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_13 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_13);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_14 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_14);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_15 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_16 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_17 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_18 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"DeletedMonitor\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.getMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body_24, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_22);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_23 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_24 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listMonitors\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.listMonitors = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_27);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_28);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to searchMonitorGroups\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.searchMonitorGroups = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_30 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MonitorGroupSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_31 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_31);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_32 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_32);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_33 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_34 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MonitorGroupSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to searchMonitors\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.searchMonitors = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_35, _a, _b, _c, _d, body_36, _e, _f, _g, _h, body_37, _j, _k, _l, _m, body_38, _o, _p, _q, _r, body_39, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_35 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MonitorSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_35];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_36 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_36);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_37 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_37);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_38 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_38);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_39 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MonitorSearchResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.updateMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body_45, _w, _x, _y, _z, body_46, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_40 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_40];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_41 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_41);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_42 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_42);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_43 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_43);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_44 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_44);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_45 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_46 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"Monitor\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to validateMonitor\n * @throws ApiException if the response code was not in [200, 299]\n */\n MonitorsApiResponseProcessor.prototype.validateMonitor = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_50);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_51];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return MonitorsApiResponseProcessor;\n}());\nexports.MonitorsApiResponseProcessor = MonitorsApiResponseProcessor;\nvar MonitorsApi = /** @class */ (function () {\n function MonitorsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new MonitorsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new MonitorsApiResponseProcessor();\n }\n /**\n * Check if the given monitors can be deleted.\n * @param param The request object\n */\n MonitorsApi.prototype.checkCanDeleteMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.checkCanDeleteMonitor(param.monitorIds, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.checkCanDeleteMonitor(responseContext);\n });\n });\n };\n /**\n * Create a monitor using the specified options. #### Monitor Types The type of monitor chosen from: - anomaly: `query alert` - APM: `query alert` or `trace-analytics alert` - composite: `composite` - custom: `service check` - event: `event alert` - forecast: `query alert` - host: `service check` - integration: `query alert` or `service check` - live process: `process alert` - logs: `log alert` - metric: `query alert` - network: `service check` - outlier: `query alert` - process: `service check` - rum: `rum alert` - SLO: `slo alert` - watchdog: `event alert` - event-v2: `event-v2 alert` - audit: `audit alert` #### Query Types **Metric Alert Query** Example: `time_aggr(time_window):space_aggr:metric{tags} [by {key}] operator #` - `time_aggr`: avg, sum, max, min, change, or pct_change - `time_window`: `last_#m` (with `#` between 1 and 10080 depending on the monitor type) or `last_#h`(with `#` between 1 and 168 depending on the monitor type) or `last_1d`, or `last_1w` - `space_aggr`: avg, sum, min, or max - `tags`: one or more tags (comma-separated), or * - `key`: a 'key' in key:value tag syntax; defines a separate alert for each tag in the group (multi-alert) - `operator`: <, <=, >, >=, ==, or != - `#`: an integer or decimal number used to set the threshold If you are using the `_change_` or `_pct_change_` time aggregator, instead use `change_aggr(time_aggr(time_window), timeshift):space_aggr:metric{tags} [by {key}] operator #` with: - `change_aggr` change, pct_change - `time_aggr` avg, sum, max, min [Learn more](https://docs.datadoghq.com/monitors/create/types/#define-the-conditions) - `time_window` last\\\\_#m (between 1 and 2880 depending on the monitor type), last\\\\_#h (between 1 and 48 depending on the monitor type), or last_#d (1 or 2) - `timeshift` #m_ago (5, 10, 15, or 30), #h_ago (1, 2, or 4), or 1d_ago Use this to create an outlier monitor using the following query: `avg(last_30m):outliers(avg:system.cpu.user{role:es-events-data} by {host}, 'dbscan', 7) > 0` **Service Check Query** Example: `\\\"check\\\".over(tags).last(count).by(group).count_by_status()` - **`check`** name of the check, for example `datadog.agent.up` - **`tags`** one or more quoted tags (comma-separated), or \\\"*\\\". for example: `.over(\\\"env:prod\\\", \\\"role:db\\\")`; **`over`** cannot be blank. - **`count`** must be at greater than or equal to your max threshold (defined in the `options`). It is limited to 100. For example, if you've specified to notify on 1 critical, 3 ok, and 2 warn statuses, `count` should be at least 3. - **`group`** must be specified for check monitors. Per-check grouping is already explicitly known for some service checks. For example, Postgres integration monitors are tagged by `db`, `host`, and `port`, and Network monitors by `host`, `instance`, and `url`. See [Service Checks](https://docs.datadoghq.com/api/latest/service-checks/) documentation for more information. **Event Alert Query** Example: `events('sources:nagios status:error,warning priority:normal tags: \\\"string query\\\"').rollup(\\\"count\\\").last(\\\"1h\\\")\\\"` - **`event`**, the event query string: - **`string_query`** free text query to match against event title and text. - **`sources`** event sources (comma-separated). - **`status`** event statuses (comma-separated). Valid options: error, warn, and info. - **`priority`** event priorities (comma-separated). Valid options: low, normal, all. - **`host`** event reporting host (comma-separated). - **`tags`** event tags (comma-separated). - **`excluded_tags`** excluded event tags (comma-separated). - **`rollup`** the stats roll-up method. `count` is the only supported method now. - **`last`** the timeframe to roll up the counts. Examples: 45m, 4h. Supported timeframes: m, h and d. This value should not exceed 48 hours. **NOTE** The Event Alert Query is being deprecated and replaced by the Event V2 Alert Query. For more information, see the [Event Migration guide](https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/). **Event V2 Alert Query** Example: `events(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available on US1-FED, US3, US5 and in closed beta on EU and US1. **Process Alert Query** Example: `processes(search).over(tags).rollup('count').last(timeframe) operator #` - **`search`** free text search string for querying processes. Matching processes match results on the [Live Processes](https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows) page. - **`tags`** one or more tags (comma-separated) - **`timeframe`** the timeframe to roll up the counts. Examples: 10m, 4h. Supported timeframes: s, m, h and d - **`operator`** <, <=, >, >=, ==, or != - **`#`** an integer or decimal number used to set the threshold **Logs Alert Query** Example: `logs(query).index(index_name).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`index_name`** For multi-index organizations, the log index in which the request is performed. - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **Composite Query** Example: `12345 && 67890`, where `12345` and `67890` are the IDs of non-composite monitors * **`name`** [*required*, *default* = **dynamic, based on query**]: The name of the alert. * **`message`** [*required*, *default* = **dynamic, based on query**]: A message to include with notifications for this monitor. Email notifications can be sent to specific users by using the same '@username' notation as events. * **`tags`** [*optional*, *default* = **empty list**]: A list of tags to associate with your monitor. When getting all monitor details via the API, use the `monitor_tags` argument to filter results by these tags. It is only available via the API and isn't visible or editable in the Datadog UI. **SLO Alert Query** Example: `error_budget(\\\"slo_id\\\").over(\\\"time_window\\\") operator #` - **`slo_id`**: The alphanumeric SLO ID of the SLO you are configuring the alert for. - **`time_window`**: The time window of the SLO target you wish to alert on. Valid options: `7d`, `30d`, `90d`. - **`operator`**: `>=` or `>` **Audit Alert Query** Example: `audits(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available on US1-FED and in closed beta on US1, EU, US3, and US5. **CI Pipelines Alert Query** Example: `ci-pipelines(query).rollup(rollup_method[, measure]).last(time_window) operator #` - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/). - **`rollup_method`** The stats roll-up method - supports `count`, `avg`, and `cardinality`. - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use. - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48). - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`. - **`#`** an integer or decimal number used to set the threshold. **NOTE** Only available in closed beta on US1, EU, US3 and US5.\n * @param param The request object\n */\n MonitorsApi.prototype.createMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createMonitor(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createMonitor(responseContext);\n });\n });\n };\n /**\n * Delete the specified monitor\n * @param param The request object\n */\n MonitorsApi.prototype.deleteMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteMonitor(param.monitorId, param.force, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteMonitor(responseContext);\n });\n });\n };\n /**\n * Get details about the specified monitor from your organization.\n * @param param The request object\n */\n MonitorsApi.prototype.getMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getMonitor(param.monitorId, param.groupStates, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getMonitor(responseContext);\n });\n });\n };\n /**\n * Get details about the specified monitor from your organization.\n * @param param The request object\n */\n MonitorsApi.prototype.listMonitors = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listMonitors(param.groupStates, param.name, param.tags, param.monitorTags, param.withDowntimes, param.idOffset, param.page, param.pageSize, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listMonitors(responseContext);\n });\n });\n };\n /**\n * Search and filter your monitor groups details.\n * @param param The request object\n */\n MonitorsApi.prototype.searchMonitorGroups = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.searchMonitorGroups(param.query, param.page, param.perPage, param.sort, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.searchMonitorGroups(responseContext);\n });\n });\n };\n /**\n * Search and filter your monitors details.\n * @param param The request object\n */\n MonitorsApi.prototype.searchMonitors = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.searchMonitors(param.query, param.page, param.perPage, param.sort, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.searchMonitors(responseContext);\n });\n });\n };\n /**\n * Edit the specified monitor.\n * @param param The request object\n */\n MonitorsApi.prototype.updateMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateMonitor(param.monitorId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateMonitor(responseContext);\n });\n });\n };\n /**\n * Validate the monitor provided in the request.\n * @param param The request object\n */\n MonitorsApi.prototype.validateMonitor = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.validateMonitor(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.validateMonitor(responseContext);\n });\n });\n };\n return MonitorsApi;\n}());\nexports.MonitorsApi = MonitorsApi;\n//# sourceMappingURL=MonitorsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksApi = exports.NotebooksApiResponseProcessor = exports.NotebooksApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar NotebooksApiRequestFactory = /** @class */ (function (_super) {\n __extends(NotebooksApiRequestFactory, _super);\n function NotebooksApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NotebooksApiRequestFactory.prototype.createNotebook = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createNotebook.\");\n }\n localVarPath = \"/api/v1/notebooks\";\n requestContext = (0, configuration_1.getServer)(_config, \"NotebooksApi.createNotebook\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"NotebookCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n NotebooksApiRequestFactory.prototype.deleteNotebook = function (notebookId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'notebookId' is not null or undefined\n if (notebookId === null || notebookId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter notebookId was null or undefined when calling deleteNotebook.\");\n }\n localVarPath = \"/api/v1/notebooks/{notebook_id}\".replace(\"{\" + \"notebook_id\" + \"}\", encodeURIComponent(String(notebookId)));\n requestContext = (0, configuration_1.getServer)(_config, \"NotebooksApi.deleteNotebook\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n NotebooksApiRequestFactory.prototype.getNotebook = function (notebookId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'notebookId' is not null or undefined\n if (notebookId === null || notebookId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter notebookId was null or undefined when calling getNotebook.\");\n }\n localVarPath = \"/api/v1/notebooks/{notebook_id}\".replace(\"{\" + \"notebook_id\" + \"}\", encodeURIComponent(String(notebookId)));\n requestContext = (0, configuration_1.getServer)(_config, \"NotebooksApi.getNotebook\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n NotebooksApiRequestFactory.prototype.listNotebooks = function (authorHandle, excludeAuthorHandle, start, count, sortField, sortDir, query, includeCells, isTemplate, type, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/notebooks\";\n requestContext = (0, configuration_1.getServer)(_config, \"NotebooksApi.listNotebooks\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (authorHandle !== undefined) {\n requestContext.setQueryParam(\"author_handle\", ObjectSerializer_1.ObjectSerializer.serialize(authorHandle, \"string\", \"\"));\n }\n if (excludeAuthorHandle !== undefined) {\n requestContext.setQueryParam(\"exclude_author_handle\", ObjectSerializer_1.ObjectSerializer.serialize(excludeAuthorHandle, \"string\", \"\"));\n }\n if (start !== undefined) {\n requestContext.setQueryParam(\"start\", ObjectSerializer_1.ObjectSerializer.serialize(start, \"number\", \"int64\"));\n }\n if (count !== undefined) {\n requestContext.setQueryParam(\"count\", ObjectSerializer_1.ObjectSerializer.serialize(count, \"number\", \"int64\"));\n }\n if (sortField !== undefined) {\n requestContext.setQueryParam(\"sort_field\", ObjectSerializer_1.ObjectSerializer.serialize(sortField, \"string\", \"\"));\n }\n if (sortDir !== undefined) {\n requestContext.setQueryParam(\"sort_dir\", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, \"string\", \"\"));\n }\n if (query !== undefined) {\n requestContext.setQueryParam(\"query\", ObjectSerializer_1.ObjectSerializer.serialize(query, \"string\", \"\"));\n }\n if (includeCells !== undefined) {\n requestContext.setQueryParam(\"include_cells\", ObjectSerializer_1.ObjectSerializer.serialize(includeCells, \"boolean\", \"\"));\n }\n if (isTemplate !== undefined) {\n requestContext.setQueryParam(\"is_template\", ObjectSerializer_1.ObjectSerializer.serialize(isTemplate, \"boolean\", \"\"));\n }\n if (type !== undefined) {\n requestContext.setQueryParam(\"type\", ObjectSerializer_1.ObjectSerializer.serialize(type, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n NotebooksApiRequestFactory.prototype.updateNotebook = function (notebookId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'notebookId' is not null or undefined\n if (notebookId === null || notebookId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter notebookId was null or undefined when calling updateNotebook.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateNotebook.\");\n }\n localVarPath = \"/api/v1/notebooks/{notebook_id}\".replace(\"{\" + \"notebook_id\" + \"}\", encodeURIComponent(String(notebookId)));\n requestContext = (0, configuration_1.getServer)(_config, \"NotebooksApi.updateNotebook\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"NotebookUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return NotebooksApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.NotebooksApiRequestFactory = NotebooksApiRequestFactory;\nvar NotebooksApiResponseProcessor = /** @class */ (function () {\n function NotebooksApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createNotebook\n * @throws ApiException if the response code was not in [200, 299]\n */\n NotebooksApiResponseProcessor.prototype.createNotebook = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteNotebook\n * @throws ApiException if the response code was not in [200, 299]\n */\n NotebooksApiResponseProcessor.prototype.deleteNotebook = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_6);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getNotebook\n * @throws ApiException if the response code was not in [200, 299]\n */\n NotebooksApiResponseProcessor.prototype.getNotebook = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body_16, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_14);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_15);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_16 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listNotebooks\n * @throws ApiException if the response code was not in [200, 299]\n */\n NotebooksApiResponseProcessor.prototype.listNotebooks = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_17 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"NotebooksResponse\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_18 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_18);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_19 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_20 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_20);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_21 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"NotebooksResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateNotebook\n * @throws ApiException if the response code was not in [200, 299]\n */\n NotebooksApiResponseProcessor.prototype.updateNotebook = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body_26, _s, _t, _u, _v, body_27, _w, _x, _y, _z, body_28, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_22 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_23 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_23);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_24 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_25 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_26 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_26);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_27 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_27);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_28 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"NotebookResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return NotebooksApiResponseProcessor;\n}());\nexports.NotebooksApiResponseProcessor = NotebooksApiResponseProcessor;\nvar NotebooksApi = /** @class */ (function () {\n function NotebooksApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new NotebooksApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new NotebooksApiResponseProcessor();\n }\n /**\n * Create a notebook using the specified options.\n * @param param The request object\n */\n NotebooksApi.prototype.createNotebook = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createNotebook(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createNotebook(responseContext);\n });\n });\n };\n /**\n * Delete a notebook using the specified ID.\n * @param param The request object\n */\n NotebooksApi.prototype.deleteNotebook = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteNotebook(param.notebookId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteNotebook(responseContext);\n });\n });\n };\n /**\n * Get a notebook using the specified notebook ID.\n * @param param The request object\n */\n NotebooksApi.prototype.getNotebook = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getNotebook(param.notebookId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getNotebook(responseContext);\n });\n });\n };\n /**\n * Get all notebooks. This can also be used to search for notebooks with a particular `query` in the notebook `name` or author `handle`.\n * @param param The request object\n */\n NotebooksApi.prototype.listNotebooks = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listNotebooks(param.authorHandle, param.excludeAuthorHandle, param.start, param.count, param.sortField, param.sortDir, param.query, param.includeCells, param.isTemplate, param.type, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listNotebooks(responseContext);\n });\n });\n };\n /**\n * Update a notebook using the specified ID.\n * @param param The request object\n */\n NotebooksApi.prototype.updateNotebook = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateNotebook(param.notebookId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateNotebook(responseContext);\n });\n });\n };\n return NotebooksApi;\n}());\nexports.NotebooksApi = NotebooksApi;\n//# sourceMappingURL=NotebooksApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationsApi = exports.OrganizationsApiResponseProcessor = exports.OrganizationsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar form_data_1 = __importDefault(require(\"form-data\"));\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar OrganizationsApiRequestFactory = /** @class */ (function (_super) {\n __extends(OrganizationsApiRequestFactory, _super);\n function OrganizationsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n OrganizationsApiRequestFactory.prototype.createChildOrg = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createChildOrg.\");\n }\n localVarPath = \"/api/v1/org\";\n requestContext = (0, configuration_1.getServer)(_config, \"OrganizationsApi.createChildOrg\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"OrganizationCreateBody\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n OrganizationsApiRequestFactory.prototype.getOrg = function (publicId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getOrg.\");\n }\n localVarPath = \"/api/v1/org/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"OrganizationsApi.getOrg\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n OrganizationsApiRequestFactory.prototype.listOrgs = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/org\";\n requestContext = (0, configuration_1.getServer)(_config, \"OrganizationsApi.listOrgs\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n OrganizationsApiRequestFactory.prototype.updateOrg = function (publicId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling updateOrg.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateOrg.\");\n }\n localVarPath = \"/api/v1/org/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"OrganizationsApi.updateOrg\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Organization\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n OrganizationsApiRequestFactory.prototype.uploadIdPForOrg = function (publicId, idpFile, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, localVarFormParams;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling uploadIdPForOrg.\");\n }\n // verify required parameter 'idpFile' is not null or undefined\n if (idpFile === null || idpFile === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter idpFile was null or undefined when calling uploadIdPForOrg.\");\n }\n localVarPath = \"/api/v1/org/{public_id}/idp_metadata\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"OrganizationsApi.uploadIdPForOrg\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n localVarFormParams = new form_data_1.default();\n if (idpFile !== undefined) {\n // TODO: replace .append with .set\n localVarFormParams.append(\"idp_file\", idpFile.data, idpFile.name);\n }\n requestContext.setBody(localVarFormParams);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return OrganizationsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.OrganizationsApiRequestFactory = OrganizationsApiRequestFactory;\nvar OrganizationsApiResponseProcessor = /** @class */ (function () {\n function OrganizationsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createChildOrg\n * @throws ApiException if the response code was not in [200, 299]\n */\n OrganizationsApiResponseProcessor.prototype.createChildOrg = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"OrganizationCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"OrganizationCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getOrg\n * @throws ApiException if the response code was not in [200, 299]\n */\n OrganizationsApiResponseProcessor.prototype.getOrg = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"OrganizationResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"OrganizationResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listOrgs\n * @throws ApiException if the response code was not in [200, 299]\n */\n OrganizationsApiResponseProcessor.prototype.listOrgs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"OrganizationListResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"OrganizationListResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateOrg\n * @throws ApiException if the response code was not in [200, 299]\n */\n OrganizationsApiResponseProcessor.prototype.updateOrg = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"OrganizationResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"OrganizationResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to uploadIdPForOrg\n * @throws ApiException if the response code was not in [200, 299]\n */\n OrganizationsApiResponseProcessor.prototype.uploadIdPForOrg = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"IdpResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"415\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(415, body_23);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"IdpResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return OrganizationsApiResponseProcessor;\n}());\nexports.OrganizationsApiResponseProcessor = OrganizationsApiResponseProcessor;\nvar OrganizationsApi = /** @class */ (function () {\n function OrganizationsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new OrganizationsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new OrganizationsApiResponseProcessor();\n }\n /**\n * Create a child organization. This endpoint requires the [multi-organization account](https://docs.datadoghq.com/account_management/multi_organization/) feature and must be enabled by [contacting support](https://docs.datadoghq.com/help/). Once a new child organization is created, you can interact with it by using the `org.public_id`, `api_key.key`, and `application_key.hash` provided in the response.\n * @param param The request object\n */\n OrganizationsApi.prototype.createChildOrg = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createChildOrg(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createChildOrg(responseContext);\n });\n });\n };\n /**\n * Get organization information.\n * @param param The request object\n */\n OrganizationsApi.prototype.getOrg = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getOrg(param.publicId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getOrg(responseContext);\n });\n });\n };\n /**\n * List your managed organizations.\n * @param param The request object\n */\n OrganizationsApi.prototype.listOrgs = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listOrgs(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listOrgs(responseContext);\n });\n });\n };\n /**\n * Update your organization.\n * @param param The request object\n */\n OrganizationsApi.prototype.updateOrg = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateOrg(param.publicId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateOrg(responseContext);\n });\n });\n };\n /**\n * There are a couple of options for updating the Identity Provider (IdP) metadata from your SAML IdP. * **Multipart Form-Data**: Post the IdP metadata file using a form post. * **XML Body:** Post the IdP metadata file as the body of the request.\n * @param param The request object\n */\n OrganizationsApi.prototype.uploadIdPForOrg = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.uploadIdPForOrg(param.publicId, param.idpFile, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.uploadIdPForOrg(responseContext);\n });\n });\n };\n return OrganizationsApi;\n}());\nexports.OrganizationsApi = OrganizationsApi;\n//# sourceMappingURL=OrganizationsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PagerDutyIntegrationApi = exports.PagerDutyIntegrationApiResponseProcessor = exports.PagerDutyIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar PagerDutyIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(PagerDutyIntegrationApiRequestFactory, _super);\n function PagerDutyIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PagerDutyIntegrationApiRequestFactory.prototype.createPagerDutyIntegrationService = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createPagerDutyIntegrationService.\");\n }\n localVarPath = \"/api/v1/integration/pagerduty/configuration/services\";\n requestContext = (0, configuration_1.getServer)(_config, \"PagerDutyIntegrationApi.createPagerDutyIntegrationService\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"PagerDutyService\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n PagerDutyIntegrationApiRequestFactory.prototype.deletePagerDutyIntegrationService = function (serviceName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceName' is not null or undefined\n if (serviceName === null || serviceName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceName was null or undefined when calling deletePagerDutyIntegrationService.\");\n }\n localVarPath = \"/api/v1/integration/pagerduty/configuration/services/{service_name}\".replace(\"{\" + \"service_name\" + \"}\", encodeURIComponent(String(serviceName)));\n requestContext = (0, configuration_1.getServer)(_config, \"PagerDutyIntegrationApi.deletePagerDutyIntegrationService\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n PagerDutyIntegrationApiRequestFactory.prototype.getPagerDutyIntegrationService = function (serviceName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceName' is not null or undefined\n if (serviceName === null || serviceName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceName was null or undefined when calling getPagerDutyIntegrationService.\");\n }\n localVarPath = \"/api/v1/integration/pagerduty/configuration/services/{service_name}\".replace(\"{\" + \"service_name\" + \"}\", encodeURIComponent(String(serviceName)));\n requestContext = (0, configuration_1.getServer)(_config, \"PagerDutyIntegrationApi.getPagerDutyIntegrationService\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n PagerDutyIntegrationApiRequestFactory.prototype.updatePagerDutyIntegrationService = function (serviceName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceName' is not null or undefined\n if (serviceName === null || serviceName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceName was null or undefined when calling updatePagerDutyIntegrationService.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updatePagerDutyIntegrationService.\");\n }\n localVarPath = \"/api/v1/integration/pagerduty/configuration/services/{service_name}\".replace(\"{\" + \"service_name\" + \"}\", encodeURIComponent(String(serviceName)));\n requestContext = (0, configuration_1.getServer)(_config, \"PagerDutyIntegrationApi.updatePagerDutyIntegrationService\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"PagerDutyServiceKey\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return PagerDutyIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.PagerDutyIntegrationApiRequestFactory = PagerDutyIntegrationApiRequestFactory;\nvar PagerDutyIntegrationApiResponseProcessor = /** @class */ (function () {\n function PagerDutyIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createPagerDutyIntegrationService\n * @throws ApiException if the response code was not in [200, 299]\n */\n PagerDutyIntegrationApiResponseProcessor.prototype.createPagerDutyIntegrationService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PagerDutyServiceName\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PagerDutyServiceName\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deletePagerDutyIntegrationService\n * @throws ApiException if the response code was not in [200, 299]\n */\n PagerDutyIntegrationApiResponseProcessor.prototype.deletePagerDutyIntegrationService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_6);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getPagerDutyIntegrationService\n * @throws ApiException if the response code was not in [200, 299]\n */\n PagerDutyIntegrationApiResponseProcessor.prototype.getPagerDutyIntegrationService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PagerDutyServiceName\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PagerDutyServiceName\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updatePagerDutyIntegrationService\n * @throws ApiException if the response code was not in [200, 299]\n */\n PagerDutyIntegrationApiResponseProcessor.prototype.updatePagerDutyIntegrationService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_15);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return PagerDutyIntegrationApiResponseProcessor;\n}());\nexports.PagerDutyIntegrationApiResponseProcessor = PagerDutyIntegrationApiResponseProcessor;\nvar PagerDutyIntegrationApi = /** @class */ (function () {\n function PagerDutyIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory ||\n new PagerDutyIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new PagerDutyIntegrationApiResponseProcessor();\n }\n /**\n * Create a new service object in the PagerDuty integration.\n * @param param The request object\n */\n PagerDutyIntegrationApi.prototype.createPagerDutyIntegrationService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createPagerDutyIntegrationService(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createPagerDutyIntegrationService(responseContext);\n });\n });\n };\n /**\n * Delete a single service object in the Datadog-PagerDuty integration.\n * @param param The request object\n */\n PagerDutyIntegrationApi.prototype.deletePagerDutyIntegrationService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deletePagerDutyIntegrationService(param.serviceName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deletePagerDutyIntegrationService(responseContext);\n });\n });\n };\n /**\n * Get service name in the Datadog-PagerDuty integration.\n * @param param The request object\n */\n PagerDutyIntegrationApi.prototype.getPagerDutyIntegrationService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getPagerDutyIntegrationService(param.serviceName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getPagerDutyIntegrationService(responseContext);\n });\n });\n };\n /**\n * Update a single service object in the Datadog-PagerDuty integration.\n * @param param The request object\n */\n PagerDutyIntegrationApi.prototype.updatePagerDutyIntegrationService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updatePagerDutyIntegrationService(param.serviceName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updatePagerDutyIntegrationService(responseContext);\n });\n });\n };\n return PagerDutyIntegrationApi;\n}());\nexports.PagerDutyIntegrationApi = PagerDutyIntegrationApi;\n//# sourceMappingURL=PagerDutyIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceChecksApi = exports.ServiceChecksApiResponseProcessor = exports.ServiceChecksApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar ServiceChecksApiRequestFactory = /** @class */ (function (_super) {\n __extends(ServiceChecksApiRequestFactory, _super);\n function ServiceChecksApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ServiceChecksApiRequestFactory.prototype.submitServiceCheck = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling submitServiceCheck.\");\n }\n localVarPath = \"/api/v1/check_run\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceChecksApi.submitServiceCheck\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"text/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Array\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\"apiKeyAuth\"]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return ServiceChecksApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.ServiceChecksApiRequestFactory = ServiceChecksApiRequestFactory;\nvar ServiceChecksApiResponseProcessor = /** @class */ (function () {\n function ServiceChecksApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to submitServiceCheck\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceChecksApiResponseProcessor.prototype.submitServiceCheck = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IntakePayloadAccepted\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"408\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(408, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"413\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(413, body_5);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_6);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IntakePayloadAccepted\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return ServiceChecksApiResponseProcessor;\n}());\nexports.ServiceChecksApiResponseProcessor = ServiceChecksApiResponseProcessor;\nvar ServiceChecksApi = /** @class */ (function () {\n function ServiceChecksApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new ServiceChecksApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new ServiceChecksApiResponseProcessor();\n }\n /**\n * Submit a list of Service Checks. **Notes**: - A valid API key is required. - Service checks can be submitted up to 10 minutes in the past.\n * @param param The request object\n */\n ServiceChecksApi.prototype.submitServiceCheck = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.submitServiceCheck(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.submitServiceCheck(responseContext);\n });\n });\n };\n return ServiceChecksApi;\n}());\nexports.ServiceChecksApi = ServiceChecksApi;\n//# sourceMappingURL=ServiceChecksApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceLevelObjectiveCorrectionsApi = exports.ServiceLevelObjectiveCorrectionsApiResponseProcessor = exports.ServiceLevelObjectiveCorrectionsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar ServiceLevelObjectiveCorrectionsApiRequestFactory = /** @class */ (function (_super) {\n __extends(ServiceLevelObjectiveCorrectionsApiRequestFactory, _super);\n function ServiceLevelObjectiveCorrectionsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.createSLOCorrection = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'createSLOCorrection'\");\n if (!_config.unstableOperations[\"createSLOCorrection\"]) {\n throw new Error(\"Unstable operation 'createSLOCorrection' is disabled\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSLOCorrection.\");\n }\n localVarPath = \"/api/v1/slo/correction\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectiveCorrectionsApi.createSLOCorrection\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SLOCorrectionCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.deleteSLOCorrection = function (sloCorrectionId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'deleteSLOCorrection'\");\n if (!_config.unstableOperations[\"deleteSLOCorrection\"]) {\n throw new Error(\"Unstable operation 'deleteSLOCorrection' is disabled\");\n }\n // verify required parameter 'sloCorrectionId' is not null or undefined\n if (sloCorrectionId === null || sloCorrectionId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloCorrectionId was null or undefined when calling deleteSLOCorrection.\");\n }\n localVarPath = \"/api/v1/slo/correction/{slo_correction_id}\".replace(\"{\" + \"slo_correction_id\" + \"}\", encodeURIComponent(String(sloCorrectionId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectiveCorrectionsApi.deleteSLOCorrection\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.getSLOCorrection = function (sloCorrectionId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getSLOCorrection'\");\n if (!_config.unstableOperations[\"getSLOCorrection\"]) {\n throw new Error(\"Unstable operation 'getSLOCorrection' is disabled\");\n }\n // verify required parameter 'sloCorrectionId' is not null or undefined\n if (sloCorrectionId === null || sloCorrectionId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloCorrectionId was null or undefined when calling getSLOCorrection.\");\n }\n localVarPath = \"/api/v1/slo/correction/{slo_correction_id}\".replace(\"{\" + \"slo_correction_id\" + \"}\", encodeURIComponent(String(sloCorrectionId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectiveCorrectionsApi.getSLOCorrection\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.listSLOCorrection = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listSLOCorrection'\");\n if (!_config.unstableOperations[\"listSLOCorrection\"]) {\n throw new Error(\"Unstable operation 'listSLOCorrection' is disabled\");\n }\n localVarPath = \"/api/v1/slo/correction\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectiveCorrectionsApi.listSLOCorrection\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectiveCorrectionsApiRequestFactory.prototype.updateSLOCorrection = function (sloCorrectionId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'updateSLOCorrection'\");\n if (!_config.unstableOperations[\"updateSLOCorrection\"]) {\n throw new Error(\"Unstable operation 'updateSLOCorrection' is disabled\");\n }\n // verify required parameter 'sloCorrectionId' is not null or undefined\n if (sloCorrectionId === null || sloCorrectionId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloCorrectionId was null or undefined when calling updateSLOCorrection.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateSLOCorrection.\");\n }\n localVarPath = \"/api/v1/slo/correction/{slo_correction_id}\".replace(\"{\" + \"slo_correction_id\" + \"}\", encodeURIComponent(String(sloCorrectionId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectiveCorrectionsApi.updateSLOCorrection\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SLOCorrectionUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return ServiceLevelObjectiveCorrectionsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.ServiceLevelObjectiveCorrectionsApiRequestFactory = ServiceLevelObjectiveCorrectionsApiRequestFactory;\nvar ServiceLevelObjectiveCorrectionsApiResponseProcessor = /** @class */ (function () {\n function ServiceLevelObjectiveCorrectionsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSLOCorrection\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.createSLOCorrection = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteSLOCorrection\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.deleteSLOCorrection = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSLOCorrection\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.getSLOCorrection = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listSLOCorrection\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.listSLOCorrection = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SLOCorrectionListResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SLOCorrectionListResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateSLOCorrection\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectiveCorrectionsApiResponseProcessor.prototype.updateSLOCorrection = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_23);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOCorrectionResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return ServiceLevelObjectiveCorrectionsApiResponseProcessor;\n}());\nexports.ServiceLevelObjectiveCorrectionsApiResponseProcessor = ServiceLevelObjectiveCorrectionsApiResponseProcessor;\nvar ServiceLevelObjectiveCorrectionsApi = /** @class */ (function () {\n function ServiceLevelObjectiveCorrectionsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory ||\n new ServiceLevelObjectiveCorrectionsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor ||\n new ServiceLevelObjectiveCorrectionsApiResponseProcessor();\n }\n /**\n * Create an SLO Correction.\n * @param param The request object\n */\n ServiceLevelObjectiveCorrectionsApi.prototype.createSLOCorrection = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSLOCorrection(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSLOCorrection(responseContext);\n });\n });\n };\n /**\n * Permanently delete the specified SLO correction object.\n * @param param The request object\n */\n ServiceLevelObjectiveCorrectionsApi.prototype.deleteSLOCorrection = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteSLOCorrection(param.sloCorrectionId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteSLOCorrection(responseContext);\n });\n });\n };\n /**\n * Get an SLO correction.\n * @param param The request object\n */\n ServiceLevelObjectiveCorrectionsApi.prototype.getSLOCorrection = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSLOCorrection(param.sloCorrectionId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSLOCorrection(responseContext);\n });\n });\n };\n /**\n * Get all Service Level Objective corrections.\n * @param param The request object\n */\n ServiceLevelObjectiveCorrectionsApi.prototype.listSLOCorrection = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listSLOCorrection(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listSLOCorrection(responseContext);\n });\n });\n };\n /**\n * Update the specified SLO correction object object.\n * @param param The request object\n */\n ServiceLevelObjectiveCorrectionsApi.prototype.updateSLOCorrection = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateSLOCorrection(param.sloCorrectionId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateSLOCorrection(responseContext);\n });\n });\n };\n return ServiceLevelObjectiveCorrectionsApi;\n}());\nexports.ServiceLevelObjectiveCorrectionsApi = ServiceLevelObjectiveCorrectionsApi;\n//# sourceMappingURL=ServiceLevelObjectiveCorrectionsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceLevelObjectivesApi = exports.ServiceLevelObjectivesApiResponseProcessor = exports.ServiceLevelObjectivesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar ServiceLevelObjectivesApiRequestFactory = /** @class */ (function (_super) {\n __extends(ServiceLevelObjectivesApiRequestFactory, _super);\n function ServiceLevelObjectivesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ServiceLevelObjectivesApiRequestFactory.prototype.checkCanDeleteSLO = function (ids, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'ids' is not null or undefined\n if (ids === null || ids === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter ids was null or undefined when calling checkCanDeleteSLO.\");\n }\n localVarPath = \"/api/v1/slo/can_delete\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.checkCanDeleteSLO\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (ids !== undefined) {\n requestContext.setQueryParam(\"ids\", ObjectSerializer_1.ObjectSerializer.serialize(ids, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.createSLO = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSLO.\");\n }\n localVarPath = \"/api/v1/slo\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.createSLO\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ServiceLevelObjectiveRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.deleteSLO = function (sloId, force, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'sloId' is not null or undefined\n if (sloId === null || sloId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloId was null or undefined when calling deleteSLO.\");\n }\n localVarPath = \"/api/v1/slo/{slo_id}\".replace(\"{\" + \"slo_id\" + \"}\", encodeURIComponent(String(sloId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.deleteSLO\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (force !== undefined) {\n requestContext.setQueryParam(\"force\", ObjectSerializer_1.ObjectSerializer.serialize(force, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.deleteSLOTimeframeInBulk = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteSLOTimeframeInBulk.\");\n }\n localVarPath = \"/api/v1/slo/bulk_delete\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.deleteSLOTimeframeInBulk\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"{ [key: string]: Array; }\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.getSLO = function (sloId, withConfiguredAlertIds, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'sloId' is not null or undefined\n if (sloId === null || sloId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloId was null or undefined when calling getSLO.\");\n }\n localVarPath = \"/api/v1/slo/{slo_id}\".replace(\"{\" + \"slo_id\" + \"}\", encodeURIComponent(String(sloId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.getSLO\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (withConfiguredAlertIds !== undefined) {\n requestContext.setQueryParam(\"with_configured_alert_ids\", ObjectSerializer_1.ObjectSerializer.serialize(withConfiguredAlertIds, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.getSLOCorrections = function (sloId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getSLOCorrections'\");\n if (!_config.unstableOperations[\"getSLOCorrections\"]) {\n throw new Error(\"Unstable operation 'getSLOCorrections' is disabled\");\n }\n // verify required parameter 'sloId' is not null or undefined\n if (sloId === null || sloId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloId was null or undefined when calling getSLOCorrections.\");\n }\n localVarPath = \"/api/v1/slo/{slo_id}/corrections\".replace(\"{\" + \"slo_id\" + \"}\", encodeURIComponent(String(sloId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.getSLOCorrections\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.getSLOHistory = function (sloId, fromTs, toTs, target, applyCorrection, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getSLOHistory'\");\n if (!_config.unstableOperations[\"getSLOHistory\"]) {\n throw new Error(\"Unstable operation 'getSLOHistory' is disabled\");\n }\n // verify required parameter 'sloId' is not null or undefined\n if (sloId === null || sloId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloId was null or undefined when calling getSLOHistory.\");\n }\n // verify required parameter 'fromTs' is not null or undefined\n if (fromTs === null || fromTs === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter fromTs was null or undefined when calling getSLOHistory.\");\n }\n // verify required parameter 'toTs' is not null or undefined\n if (toTs === null || toTs === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter toTs was null or undefined when calling getSLOHistory.\");\n }\n localVarPath = \"/api/v1/slo/{slo_id}/history\".replace(\"{\" + \"slo_id\" + \"}\", encodeURIComponent(String(sloId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.getSLOHistory\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (fromTs !== undefined) {\n requestContext.setQueryParam(\"from_ts\", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, \"number\", \"int64\"));\n }\n if (toTs !== undefined) {\n requestContext.setQueryParam(\"to_ts\", ObjectSerializer_1.ObjectSerializer.serialize(toTs, \"number\", \"int64\"));\n }\n if (target !== undefined) {\n requestContext.setQueryParam(\"target\", ObjectSerializer_1.ObjectSerializer.serialize(target, \"number\", \"double\"));\n }\n if (applyCorrection !== undefined) {\n requestContext.setQueryParam(\"apply_correction\", ObjectSerializer_1.ObjectSerializer.serialize(applyCorrection, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.listSLOs = function (ids, query, tagsQuery, metricsQuery, limit, offset, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/slo\";\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.listSLOs\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (ids !== undefined) {\n requestContext.setQueryParam(\"ids\", ObjectSerializer_1.ObjectSerializer.serialize(ids, \"string\", \"\"));\n }\n if (query !== undefined) {\n requestContext.setQueryParam(\"query\", ObjectSerializer_1.ObjectSerializer.serialize(query, \"string\", \"\"));\n }\n if (tagsQuery !== undefined) {\n requestContext.setQueryParam(\"tags_query\", ObjectSerializer_1.ObjectSerializer.serialize(tagsQuery, \"string\", \"\"));\n }\n if (metricsQuery !== undefined) {\n requestContext.setQueryParam(\"metrics_query\", ObjectSerializer_1.ObjectSerializer.serialize(metricsQuery, \"string\", \"\"));\n }\n if (limit !== undefined) {\n requestContext.setQueryParam(\"limit\", ObjectSerializer_1.ObjectSerializer.serialize(limit, \"number\", \"int64\"));\n }\n if (offset !== undefined) {\n requestContext.setQueryParam(\"offset\", ObjectSerializer_1.ObjectSerializer.serialize(offset, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceLevelObjectivesApiRequestFactory.prototype.updateSLO = function (sloId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'sloId' is not null or undefined\n if (sloId === null || sloId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter sloId was null or undefined when calling updateSLO.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateSLO.\");\n }\n localVarPath = \"/api/v1/slo/{slo_id}\".replace(\"{\" + \"slo_id\" + \"}\", encodeURIComponent(String(sloId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceLevelObjectivesApi.updateSLO\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ServiceLevelObjective\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return ServiceLevelObjectivesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.ServiceLevelObjectivesApiRequestFactory = ServiceLevelObjectivesApiRequestFactory;\nvar ServiceLevelObjectivesApiResponseProcessor = /** @class */ (function () {\n function ServiceLevelObjectivesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to checkCanDeleteSLO\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.checkCanDeleteSLO = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"CheckCanDeleteSLOResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"CheckCanDeleteSLOResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"CheckCanDeleteSLOResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSLO\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.createSLO = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_10);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteSLO\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.deleteSLO = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body_16, _s, _t, _u, _v, body_17, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_12 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLODeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_13 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_14 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_14);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_15 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"SLODeleteResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_15);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_16 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_16);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_17 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLODeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteSLOTimeframeInBulk\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.deleteSLOTimeframeInBulk = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_18 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SLOBulkDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_19 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_19);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_20 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_21 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_22 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SLOBulkDeleteResponse\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSLO\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.getSLO = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SLOResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SLOResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSLOCorrections\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.getSLOCorrections = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOCorrectionListResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_32);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOCorrectionListResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSLOHistory\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.getSLOHistory = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body_39, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_34 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOHistoryResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_35 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_35);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_36 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_36);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_37 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_37);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_38 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_38);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_39 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOHistoryResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listSLOs\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.listSLOs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body_45, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_40 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_40];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_41 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_41);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_42 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_42);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_43 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_43);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_44 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_44);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_45 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_45];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateSLO\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceLevelObjectivesApiResponseProcessor.prototype.updateSLO = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_46, _a, _b, _c, _d, body_47, _e, _f, _g, _h, body_48, _j, _k, _l, _m, body_49, _o, _p, _q, _r, body_50, _s, _t, _u, _v, body_51, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_46 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_47 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_47);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_48 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_48);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_49 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_49);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_50 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_50);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_51 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SLOListResponse\",\n \"\"]);\n return [2 /*return*/, body_51];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return ServiceLevelObjectivesApiResponseProcessor;\n}());\nexports.ServiceLevelObjectivesApiResponseProcessor = ServiceLevelObjectivesApiResponseProcessor;\nvar ServiceLevelObjectivesApi = /** @class */ (function () {\n function ServiceLevelObjectivesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory ||\n new ServiceLevelObjectivesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new ServiceLevelObjectivesApiResponseProcessor();\n }\n /**\n * Check if an SLO can be safely deleted. For example, assure an SLO can be deleted without disrupting a dashboard.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.checkCanDeleteSLO = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.checkCanDeleteSLO(param.ids, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.checkCanDeleteSLO(responseContext);\n });\n });\n };\n /**\n * Create a service level objective object.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.createSLO = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSLO(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSLO(responseContext);\n });\n });\n };\n /**\n * Permanently delete the specified service level objective object. If an SLO is used in a dashboard, the `DELETE /v1/slo/` endpoint returns a 409 conflict error because the SLO is referenced in a dashboard.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.deleteSLO = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteSLO(param.sloId, param.force, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteSLO(responseContext);\n });\n });\n };\n /**\n * Delete (or partially delete) multiple service level objective objects. This endpoint facilitates deletion of one or more thresholds for one or more service level objective objects. If all thresholds are deleted, the service level objective object is deleted as well.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.deleteSLOTimeframeInBulk = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteSLOTimeframeInBulk(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteSLOTimeframeInBulk(responseContext);\n });\n });\n };\n /**\n * Get a service level objective object.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.getSLO = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSLO(param.sloId, param.withConfiguredAlertIds, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSLO(responseContext);\n });\n });\n };\n /**\n * Get corrections applied to an SLO\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.getSLOCorrections = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSLOCorrections(param.sloId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSLOCorrections(responseContext);\n });\n });\n };\n /**\n * Get a specific SLO’s history, regardless of its SLO type. The detailed history data is structured according to the source data type. For example, metric data is included for event SLOs that use the metric source, and monitor SLO types include the monitor transition history. **Note:** There are different response formats for event based and time based SLOs. Examples of both are shown.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.getSLOHistory = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSLOHistory(param.sloId, param.fromTs, param.toTs, param.target, param.applyCorrection, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSLOHistory(responseContext);\n });\n });\n };\n /**\n * Get a list of service level objective objects for your organization.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.listSLOs = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listSLOs(param.ids, param.query, param.tagsQuery, param.metricsQuery, param.limit, param.offset, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listSLOs(responseContext);\n });\n });\n };\n /**\n * Update the specified service level objective object.\n * @param param The request object\n */\n ServiceLevelObjectivesApi.prototype.updateSLO = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateSLO(param.sloId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateSLO(responseContext);\n });\n });\n };\n return ServiceLevelObjectivesApi;\n}());\nexports.ServiceLevelObjectivesApi = ServiceLevelObjectivesApi;\n//# sourceMappingURL=ServiceLevelObjectivesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SlackIntegrationApi = exports.SlackIntegrationApiResponseProcessor = exports.SlackIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar SlackIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(SlackIntegrationApiRequestFactory, _super);\n function SlackIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SlackIntegrationApiRequestFactory.prototype.createSlackIntegrationChannel = function (accountName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountName' is not null or undefined\n if (accountName === null || accountName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountName was null or undefined when calling createSlackIntegrationChannel.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSlackIntegrationChannel.\");\n }\n localVarPath = \"/api/v1/integration/slack/configuration/accounts/{account_name}/channels\".replace(\"{\" + \"account_name\" + \"}\", encodeURIComponent(String(accountName)));\n requestContext = (0, configuration_1.getServer)(_config, \"SlackIntegrationApi.createSlackIntegrationChannel\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SlackIntegrationChannel\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SlackIntegrationApiRequestFactory.prototype.getSlackIntegrationChannel = function (accountName, channelName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountName' is not null or undefined\n if (accountName === null || accountName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountName was null or undefined when calling getSlackIntegrationChannel.\");\n }\n // verify required parameter 'channelName' is not null or undefined\n if (channelName === null || channelName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter channelName was null or undefined when calling getSlackIntegrationChannel.\");\n }\n localVarPath = \"/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}\"\n .replace(\"{\" + \"account_name\" + \"}\", encodeURIComponent(String(accountName)))\n .replace(\"{\" + \"channel_name\" + \"}\", encodeURIComponent(String(channelName)));\n requestContext = (0, configuration_1.getServer)(_config, \"SlackIntegrationApi.getSlackIntegrationChannel\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SlackIntegrationApiRequestFactory.prototype.getSlackIntegrationChannels = function (accountName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountName' is not null or undefined\n if (accountName === null || accountName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountName was null or undefined when calling getSlackIntegrationChannels.\");\n }\n localVarPath = \"/api/v1/integration/slack/configuration/accounts/{account_name}/channels\".replace(\"{\" + \"account_name\" + \"}\", encodeURIComponent(String(accountName)));\n requestContext = (0, configuration_1.getServer)(_config, \"SlackIntegrationApi.getSlackIntegrationChannels\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SlackIntegrationApiRequestFactory.prototype.removeSlackIntegrationChannel = function (accountName, channelName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountName' is not null or undefined\n if (accountName === null || accountName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountName was null or undefined when calling removeSlackIntegrationChannel.\");\n }\n // verify required parameter 'channelName' is not null or undefined\n if (channelName === null || channelName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter channelName was null or undefined when calling removeSlackIntegrationChannel.\");\n }\n localVarPath = \"/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}\"\n .replace(\"{\" + \"account_name\" + \"}\", encodeURIComponent(String(accountName)))\n .replace(\"{\" + \"channel_name\" + \"}\", encodeURIComponent(String(channelName)));\n requestContext = (0, configuration_1.getServer)(_config, \"SlackIntegrationApi.removeSlackIntegrationChannel\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SlackIntegrationApiRequestFactory.prototype.updateSlackIntegrationChannel = function (accountName, channelName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'accountName' is not null or undefined\n if (accountName === null || accountName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter accountName was null or undefined when calling updateSlackIntegrationChannel.\");\n }\n // verify required parameter 'channelName' is not null or undefined\n if (channelName === null || channelName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter channelName was null or undefined when calling updateSlackIntegrationChannel.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateSlackIntegrationChannel.\");\n }\n localVarPath = \"/api/v1/integration/slack/configuration/accounts/{account_name}/channels/{channel_name}\"\n .replace(\"{\" + \"account_name\" + \"}\", encodeURIComponent(String(accountName)))\n .replace(\"{\" + \"channel_name\" + \"}\", encodeURIComponent(String(channelName)));\n requestContext = (0, configuration_1.getServer)(_config, \"SlackIntegrationApi.updateSlackIntegrationChannel\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SlackIntegrationChannel\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return SlackIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.SlackIntegrationApiRequestFactory = SlackIntegrationApiRequestFactory;\nvar SlackIntegrationApiResponseProcessor = /** @class */ (function () {\n function SlackIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSlackIntegrationChannel\n * @throws ApiException if the response code was not in [200, 299]\n */\n SlackIntegrationApiResponseProcessor.prototype.createSlackIntegrationChannel = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSlackIntegrationChannel\n * @throws ApiException if the response code was not in [200, 299]\n */\n SlackIntegrationApiResponseProcessor.prototype.getSlackIntegrationChannel = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_10);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_11);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSlackIntegrationChannels\n * @throws ApiException if the response code was not in [200, 299]\n */\n SlackIntegrationApiResponseProcessor.prototype.getSlackIntegrationChannels = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_13 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_14 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_14);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_15 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_16 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_17 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_18 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"Array\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to removeSlackIntegrationChannel\n * @throws ApiException if the response code was not in [200, 299]\n */\n SlackIntegrationApiResponseProcessor.prototype.removeSlackIntegrationChannel = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_19);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_21);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_22);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_23 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateSlackIntegrationChannel\n * @throws ApiException if the response code was not in [200, 299]\n */\n SlackIntegrationApiResponseProcessor.prototype.updateSlackIntegrationChannel = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body_29, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_24 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_25 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_25);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_26 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_26);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_27 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_27);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_28 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_28);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_29 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SlackIntegrationChannel\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return SlackIntegrationApiResponseProcessor;\n}());\nexports.SlackIntegrationApiResponseProcessor = SlackIntegrationApiResponseProcessor;\nvar SlackIntegrationApi = /** @class */ (function () {\n function SlackIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new SlackIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new SlackIntegrationApiResponseProcessor();\n }\n /**\n * Add a channel to your Datadog-Slack integration.\n * @param param The request object\n */\n SlackIntegrationApi.prototype.createSlackIntegrationChannel = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSlackIntegrationChannel(param.accountName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSlackIntegrationChannel(responseContext);\n });\n });\n };\n /**\n * Get a channel configured for your Datadog-Slack integration.\n * @param param The request object\n */\n SlackIntegrationApi.prototype.getSlackIntegrationChannel = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSlackIntegrationChannel(param.accountName, param.channelName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSlackIntegrationChannel(responseContext);\n });\n });\n };\n /**\n * Get a list of all channels configured for your Datadog-Slack integration.\n * @param param The request object\n */\n SlackIntegrationApi.prototype.getSlackIntegrationChannels = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSlackIntegrationChannels(param.accountName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSlackIntegrationChannels(responseContext);\n });\n });\n };\n /**\n * Remove a channel from your Datadog-Slack integration.\n * @param param The request object\n */\n SlackIntegrationApi.prototype.removeSlackIntegrationChannel = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.removeSlackIntegrationChannel(param.accountName, param.channelName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.removeSlackIntegrationChannel(responseContext);\n });\n });\n };\n /**\n * Update a channel used in your Datadog-Slack integration.\n * @param param The request object\n */\n SlackIntegrationApi.prototype.updateSlackIntegrationChannel = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateSlackIntegrationChannel(param.accountName, param.channelName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateSlackIntegrationChannel(responseContext);\n });\n });\n };\n return SlackIntegrationApi;\n}());\nexports.SlackIntegrationApi = SlackIntegrationApi;\n//# sourceMappingURL=SlackIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SnapshotsApi = exports.SnapshotsApiResponseProcessor = exports.SnapshotsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar SnapshotsApiRequestFactory = /** @class */ (function (_super) {\n __extends(SnapshotsApiRequestFactory, _super);\n function SnapshotsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SnapshotsApiRequestFactory.prototype.getGraphSnapshot = function (start, end, metricQuery, eventQuery, graphDef, title, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'start' is not null or undefined\n if (start === null || start === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter start was null or undefined when calling getGraphSnapshot.\");\n }\n // verify required parameter 'end' is not null or undefined\n if (end === null || end === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter end was null or undefined when calling getGraphSnapshot.\");\n }\n localVarPath = \"/api/v1/graph/snapshot\";\n requestContext = (0, configuration_1.getServer)(_config, \"SnapshotsApi.getGraphSnapshot\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (metricQuery !== undefined) {\n requestContext.setQueryParam(\"metric_query\", ObjectSerializer_1.ObjectSerializer.serialize(metricQuery, \"string\", \"\"));\n }\n if (start !== undefined) {\n requestContext.setQueryParam(\"start\", ObjectSerializer_1.ObjectSerializer.serialize(start, \"number\", \"int64\"));\n }\n if (end !== undefined) {\n requestContext.setQueryParam(\"end\", ObjectSerializer_1.ObjectSerializer.serialize(end, \"number\", \"int64\"));\n }\n if (eventQuery !== undefined) {\n requestContext.setQueryParam(\"event_query\", ObjectSerializer_1.ObjectSerializer.serialize(eventQuery, \"string\", \"\"));\n }\n if (graphDef !== undefined) {\n requestContext.setQueryParam(\"graph_def\", ObjectSerializer_1.ObjectSerializer.serialize(graphDef, \"string\", \"\"));\n }\n if (title !== undefined) {\n requestContext.setQueryParam(\"title\", ObjectSerializer_1.ObjectSerializer.serialize(title, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return SnapshotsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.SnapshotsApiRequestFactory = SnapshotsApiRequestFactory;\nvar SnapshotsApiResponseProcessor = /** @class */ (function () {\n function SnapshotsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getGraphSnapshot\n * @throws ApiException if the response code was not in [200, 299]\n */\n SnapshotsApiResponseProcessor.prototype.getGraphSnapshot = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"GraphSnapshot\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"GraphSnapshot\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return SnapshotsApiResponseProcessor;\n}());\nexports.SnapshotsApiResponseProcessor = SnapshotsApiResponseProcessor;\nvar SnapshotsApi = /** @class */ (function () {\n function SnapshotsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new SnapshotsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new SnapshotsApiResponseProcessor();\n }\n /**\n * Take graph snapshots. **Note**: When a snapshot is created, there is some delay before it is available.\n * @param param The request object\n */\n SnapshotsApi.prototype.getGraphSnapshot = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getGraphSnapshot(param.start, param.end, param.metricQuery, param.eventQuery, param.graphDef, param.title, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getGraphSnapshot(responseContext);\n });\n });\n };\n return SnapshotsApi;\n}());\nexports.SnapshotsApi = SnapshotsApi;\n//# sourceMappingURL=SnapshotsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsApi = exports.SyntheticsApiResponseProcessor = exports.SyntheticsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar SyntheticsApiRequestFactory = /** @class */ (function (_super) {\n __extends(SyntheticsApiRequestFactory, _super);\n function SyntheticsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SyntheticsApiRequestFactory.prototype.createGlobalVariable = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createGlobalVariable.\");\n }\n localVarPath = \"/api/v1/synthetics/variables\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.createGlobalVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsGlobalVariable\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.createPrivateLocation = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createPrivateLocation.\");\n }\n localVarPath = \"/api/v1/synthetics/private-locations\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.createPrivateLocation\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsPrivateLocation\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.createSyntheticsAPITest = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSyntheticsAPITest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/api\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.createSyntheticsAPITest\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsAPITest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.createSyntheticsBrowserTest = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSyntheticsBrowserTest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/browser\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.createSyntheticsBrowserTest\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsBrowserTest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.deleteGlobalVariable = function (variableId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'variableId' is not null or undefined\n if (variableId === null || variableId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter variableId was null or undefined when calling deleteGlobalVariable.\");\n }\n localVarPath = \"/api/v1/synthetics/variables/{variable_id}\".replace(\"{\" + \"variable_id\" + \"}\", encodeURIComponent(String(variableId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.deleteGlobalVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.deletePrivateLocation = function (locationId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'locationId' is not null or undefined\n if (locationId === null || locationId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter locationId was null or undefined when calling deletePrivateLocation.\");\n }\n localVarPath = \"/api/v1/synthetics/private-locations/{location_id}\".replace(\"{\" + \"location_id\" + \"}\", encodeURIComponent(String(locationId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.deletePrivateLocation\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.deleteTests = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteTests.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/delete\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.deleteTests\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsDeleteTestsPayload\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.editGlobalVariable = function (variableId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'variableId' is not null or undefined\n if (variableId === null || variableId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter variableId was null or undefined when calling editGlobalVariable.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling editGlobalVariable.\");\n }\n localVarPath = \"/api/v1/synthetics/variables/{variable_id}\".replace(\"{\" + \"variable_id\" + \"}\", encodeURIComponent(String(variableId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.editGlobalVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsGlobalVariable\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getAPITest = function (publicId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getAPITest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/api/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getAPITest\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getAPITestLatestResults = function (publicId, fromTs, toTs, probeDc, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getAPITestLatestResults.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/{public_id}/results\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getAPITestLatestResults\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (fromTs !== undefined) {\n requestContext.setQueryParam(\"from_ts\", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, \"number\", \"int64\"));\n }\n if (toTs !== undefined) {\n requestContext.setQueryParam(\"to_ts\", ObjectSerializer_1.ObjectSerializer.serialize(toTs, \"number\", \"int64\"));\n }\n if (probeDc !== undefined) {\n requestContext.setQueryParam(\"probe_dc\", ObjectSerializer_1.ObjectSerializer.serialize(probeDc, \"Array\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getAPITestResult = function (publicId, resultId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getAPITestResult.\");\n }\n // verify required parameter 'resultId' is not null or undefined\n if (resultId === null || resultId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter resultId was null or undefined when calling getAPITestResult.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/{public_id}/results/{result_id}\"\n .replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)))\n .replace(\"{\" + \"result_id\" + \"}\", encodeURIComponent(String(resultId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getAPITestResult\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getBrowserTest = function (publicId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getBrowserTest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/browser/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getBrowserTest\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getBrowserTestLatestResults = function (publicId, fromTs, toTs, probeDc, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getBrowserTestLatestResults.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/browser/{public_id}/results\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getBrowserTestLatestResults\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (fromTs !== undefined) {\n requestContext.setQueryParam(\"from_ts\", ObjectSerializer_1.ObjectSerializer.serialize(fromTs, \"number\", \"int64\"));\n }\n if (toTs !== undefined) {\n requestContext.setQueryParam(\"to_ts\", ObjectSerializer_1.ObjectSerializer.serialize(toTs, \"number\", \"int64\"));\n }\n if (probeDc !== undefined) {\n requestContext.setQueryParam(\"probe_dc\", ObjectSerializer_1.ObjectSerializer.serialize(probeDc, \"Array\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getBrowserTestResult = function (publicId, resultId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getBrowserTestResult.\");\n }\n // verify required parameter 'resultId' is not null or undefined\n if (resultId === null || resultId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter resultId was null or undefined when calling getBrowserTestResult.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/browser/{public_id}/results/{result_id}\"\n .replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)))\n .replace(\"{\" + \"result_id\" + \"}\", encodeURIComponent(String(resultId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getBrowserTestResult\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getGlobalVariable = function (variableId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'variableId' is not null or undefined\n if (variableId === null || variableId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter variableId was null or undefined when calling getGlobalVariable.\");\n }\n localVarPath = \"/api/v1/synthetics/variables/{variable_id}\".replace(\"{\" + \"variable_id\" + \"}\", encodeURIComponent(String(variableId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getGlobalVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getPrivateLocation = function (locationId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'locationId' is not null or undefined\n if (locationId === null || locationId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter locationId was null or undefined when calling getPrivateLocation.\");\n }\n localVarPath = \"/api/v1/synthetics/private-locations/{location_id}\".replace(\"{\" + \"location_id\" + \"}\", encodeURIComponent(String(locationId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getPrivateLocation\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getSyntheticsCIBatch = function (batchId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'batchId' is not null or undefined\n if (batchId === null || batchId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter batchId was null or undefined when calling getSyntheticsCIBatch.\");\n }\n localVarPath = \"/api/v1/synthetics/ci/batch/{batch_id}\".replace(\"{\" + \"batch_id\" + \"}\", encodeURIComponent(String(batchId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getSyntheticsCIBatch\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.getTest = function (publicId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling getTest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.getTest\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.listGlobalVariables = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/synthetics/variables\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.listGlobalVariables\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.listLocations = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/synthetics/locations\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.listLocations\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.listTests = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/synthetics/tests\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.listTests\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.triggerCITests = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling triggerCITests.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/trigger/ci\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.triggerCITests\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsCITestBody\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.triggerTests = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling triggerTests.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/trigger\";\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.triggerTests\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsTriggerBody\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.updateAPITest = function (publicId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling updateAPITest.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAPITest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/api/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.updateAPITest\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsAPITest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.updateBrowserTest = function (publicId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling updateBrowserTest.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateBrowserTest.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/browser/{public_id}\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.updateBrowserTest\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsBrowserTest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.updatePrivateLocation = function (locationId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'locationId' is not null or undefined\n if (locationId === null || locationId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter locationId was null or undefined when calling updatePrivateLocation.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updatePrivateLocation.\");\n }\n localVarPath = \"/api/v1/synthetics/private-locations/{location_id}\".replace(\"{\" + \"location_id\" + \"}\", encodeURIComponent(String(locationId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.updatePrivateLocation\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsPrivateLocation\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SyntheticsApiRequestFactory.prototype.updateTestPauseStatus = function (publicId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'publicId' is not null or undefined\n if (publicId === null || publicId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter publicId was null or undefined when calling updateTestPauseStatus.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateTestPauseStatus.\");\n }\n localVarPath = \"/api/v1/synthetics/tests/{public_id}/status\".replace(\"{\" + \"public_id\" + \"}\", encodeURIComponent(String(publicId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SyntheticsApi.updateTestPauseStatus\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SyntheticsUpdateTestPauseStatusPayload\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return SyntheticsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.SyntheticsApiRequestFactory = SyntheticsApiRequestFactory;\nvar SyntheticsApiResponseProcessor = /** @class */ (function () {\n function SyntheticsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createGlobalVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.createGlobalVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createPrivateLocation\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.createPrivateLocation = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsPrivateLocationCreationResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"402\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(402, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsPrivateLocationCreationResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSyntheticsAPITest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.createSyntheticsAPITest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body_16, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"402\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(402, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_14);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_15);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_16 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSyntheticsBrowserTest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.createSyntheticsBrowserTest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_17, _a, _b, _c, _d, body_18, _e, _f, _g, _h, body_19, _j, _k, _l, _m, body_20, _o, _p, _q, _r, body_21, _s, _t, _u, _v, body_22, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_17 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_18 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_18);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"402\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_19 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(402, body_19);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_20 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_21 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_22 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteGlobalVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.deleteGlobalVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_23);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deletePrivateLocation\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.deletePrivateLocation = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body;\n return __generator(this, function (_o) {\n switch (_o.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_28);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_29);\n case 4:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 6: return [4 /*yield*/, response.body.text()];\n case 7:\n body = (_o.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteTests\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.deleteTests = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body_35, _s, _t, _u, _v, body_36, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_31 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SyntheticsDeleteTestsResponse\",\n \"\"]);\n return [2 /*return*/, body_31];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_32 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_32);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_33 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_33);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_34 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_34);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_35 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_35);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_36 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SyntheticsDeleteTestsResponse\",\n \"\"]);\n return [2 /*return*/, body_36];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to editGlobalVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.editGlobalVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_37 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_38 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_38);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_39 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_39);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_40 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_40);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_41 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_41];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAPITest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getAPITest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_42 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_42];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_43 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_43);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_44 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_44);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_45 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_46 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAPITestLatestResults\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getAPITestLatestResults = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsGetAPITestLatestResultsResponse\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_50);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsGetAPITestLatestResultsResponse\",\n \"\"]);\n return [2 /*return*/, body_51];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAPITestResult\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getAPITestResult = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_52, _a, _b, _c, _d, body_53, _e, _f, _g, _h, body_54, _j, _k, _l, _m, body_55, _o, _p, _q, _r, body_56, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_52 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsAPITestResultFull\",\n \"\"]);\n return [2 /*return*/, body_52];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_53 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_53);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_54 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_54);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_55 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_55);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_56 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsAPITestResultFull\",\n \"\"]);\n return [2 /*return*/, body_56];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getBrowserTest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getBrowserTest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_57, _a, _b, _c, _d, body_58, _e, _f, _g, _h, body_59, _j, _k, _l, _m, body_60, _o, _p, _q, _r, body_61, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_57 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_57];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_58 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_58);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_59 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_59);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_60 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_60);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_61 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_61];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getBrowserTestLatestResults\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getBrowserTestLatestResults = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_62 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsGetBrowserTestLatestResultsResponse\",\n \"\"]);\n return [2 /*return*/, body_62];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_63 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_63);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_64 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_64);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_65 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_65);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_66 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsGetBrowserTestLatestResultsResponse\",\n \"\"]);\n return [2 /*return*/, body_66];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getBrowserTestResult\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getBrowserTestResult = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_67, _a, _b, _c, _d, body_68, _e, _f, _g, _h, body_69, _j, _k, _l, _m, body_70, _o, _p, _q, _r, body_71, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_67 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsBrowserTestResultFull\",\n \"\"]);\n return [2 /*return*/, body_67];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_68 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_68);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_69 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_69);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_70 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_70);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_71 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsBrowserTestResultFull\",\n \"\"]);\n return [2 /*return*/, body_71];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getGlobalVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getGlobalVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_72, _a, _b, _c, _d, body_73, _e, _f, _g, _h, body_74, _j, _k, _l, _m, body_75, _o, _p, _q, _r, body_76, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_72 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_72];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_73 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_73);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_74 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_74);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_75 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_75);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_76 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsGlobalVariable\",\n \"\"]);\n return [2 /*return*/, body_76];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getPrivateLocation\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getPrivateLocation = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_77, _a, _b, _c, _d, body_78, _e, _f, _g, _h, body_79, _j, _k, _l, _m, body_80, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_77 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsPrivateLocation\",\n \"\"]);\n return [2 /*return*/, body_77];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_78 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_78);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_79 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_79);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_80 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsPrivateLocation\",\n \"\"]);\n return [2 /*return*/, body_80];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSyntheticsCIBatch\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getSyntheticsCIBatch = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_81, _a, _b, _c, _d, body_82, _e, _f, _g, _h, body_83, _j, _k, _l, _m, body_84, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_81 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsBatchDetails\",\n \"\"]);\n return [2 /*return*/, body_81];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_82 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_82);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_83 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_83);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_84 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsBatchDetails\",\n \"\"]);\n return [2 /*return*/, body_84];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getTest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.getTest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_85, _a, _b, _c, _d, body_86, _e, _f, _g, _h, body_87, _j, _k, _l, _m, body_88, _o, _p, _q, _r, body_89, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_85 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsTestDetails\",\n \"\"]);\n return [2 /*return*/, body_85];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_86 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_86);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_87 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_87);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_88 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_88);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_89 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsTestDetails\",\n \"\"]);\n return [2 /*return*/, body_89];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listGlobalVariables\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.listGlobalVariables = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_90, _a, _b, _c, _d, body_91, _e, _f, _g, _h, body_92, _j, _k, _l, _m, body_93, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_90 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsListGlobalVariablesResponse\",\n \"\"]);\n return [2 /*return*/, body_90];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_91 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_91);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_92 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_92);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_93 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsListGlobalVariablesResponse\",\n \"\"]);\n return [2 /*return*/, body_93];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLocations\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.listLocations = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_94, _a, _b, _c, _d, body_95, _e, _f, _g, _h, body_96, _j, _k, _l, _m, body;\n return __generator(this, function (_o) {\n switch (_o.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_94 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]),\n \"SyntheticsLocations\",\n \"\"]);\n return [2 /*return*/, body_94];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_95 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_95);\n case 4:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_96 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]),\n \"SyntheticsLocations\",\n \"\"]);\n return [2 /*return*/, body_96];\n case 6: return [4 /*yield*/, response.body.text()];\n case 7:\n body = (_o.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listTests\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.listTests = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_97, _a, _b, _c, _d, body_98, _e, _f, _g, _h, body_99, _j, _k, _l, _m, body_100, _o, _p, _q, _r, body_101, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_97 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SyntheticsListTestsResponse\",\n \"\"]);\n return [2 /*return*/, body_97];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_98 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_98);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_99 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_99);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_100 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_100);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_101 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SyntheticsListTestsResponse\",\n \"\"]);\n return [2 /*return*/, body_101];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to triggerCITests\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.triggerCITests = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_102, _a, _b, _c, _d, body_103, _e, _f, _g, _h, body_104, _j, _k, _l, _m, body_105, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_102 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsTriggerCITestsResponse\",\n \"\"]);\n return [2 /*return*/, body_102];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_103 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_103);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_104 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_104);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_105 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsTriggerCITestsResponse\",\n \"\"]);\n return [2 /*return*/, body_105];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to triggerTests\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.triggerTests = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_106, _a, _b, _c, _d, body_107, _e, _f, _g, _h, body_108, _j, _k, _l, _m, body_109, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_106 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsTriggerCITestsResponse\",\n \"\"]);\n return [2 /*return*/, body_106];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_107 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_107);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_108 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_108);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_109 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsTriggerCITestsResponse\",\n \"\"]);\n return [2 /*return*/, body_109];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAPITest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.updateAPITest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_110, _a, _b, _c, _d, body_111, _e, _f, _g, _h, body_112, _j, _k, _l, _m, body_113, _o, _p, _q, _r, body_114, _s, _t, _u, _v, body_115, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_110 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_110];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_111 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_111);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_112 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_112);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_113 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_113);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_114 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_114);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_115 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SyntheticsAPITest\",\n \"\"]);\n return [2 /*return*/, body_115];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateBrowserTest\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.updateBrowserTest = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_116, _a, _b, _c, _d, body_117, _e, _f, _g, _h, body_118, _j, _k, _l, _m, body_119, _o, _p, _q, _r, body_120, _s, _t, _u, _v, body_121, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_116 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_116];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_117 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_117);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_118 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_118);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_119 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_119);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_120 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_120);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_121 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SyntheticsBrowserTest\",\n \"\"]);\n return [2 /*return*/, body_121];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updatePrivateLocation\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.updatePrivateLocation = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_122, _a, _b, _c, _d, body_123, _e, _f, _g, _h, body_124, _j, _k, _l, _m, body_125, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_122 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SyntheticsPrivateLocation\",\n \"\"]);\n return [2 /*return*/, body_122];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_123 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_123);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_124 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_124);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_125 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SyntheticsPrivateLocation\",\n \"\"]);\n return [2 /*return*/, body_125];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateTestPauseStatus\n * @throws ApiException if the response code was not in [200, 299]\n */\n SyntheticsApiResponseProcessor.prototype.updateTestPauseStatus = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_126, _a, _b, _c, _d, body_127, _e, _f, _g, _h, body_128, _j, _k, _l, _m, body_129, _o, _p, _q, _r, body_130, _s, _t, _u, _v, body_131, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_126 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"boolean\",\n \"\"]);\n return [2 /*return*/, body_126];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_127 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_127);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_128 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_128);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_129 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_129);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_130 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_130);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_131 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"boolean\",\n \"\"]);\n return [2 /*return*/, body_131];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return SyntheticsApiResponseProcessor;\n}());\nexports.SyntheticsApiResponseProcessor = SyntheticsApiResponseProcessor;\nvar SyntheticsApi = /** @class */ (function () {\n function SyntheticsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new SyntheticsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new SyntheticsApiResponseProcessor();\n }\n /**\n * Create a Synthetics global variable.\n * @param param The request object\n */\n SyntheticsApi.prototype.createGlobalVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createGlobalVariable(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createGlobalVariable(responseContext);\n });\n });\n };\n /**\n * Create a new Synthetics private location.\n * @param param The request object\n */\n SyntheticsApi.prototype.createPrivateLocation = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createPrivateLocation(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createPrivateLocation(responseContext);\n });\n });\n };\n /**\n * Create a Synthetic API test.\n * @param param The request object\n */\n SyntheticsApi.prototype.createSyntheticsAPITest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSyntheticsAPITest(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSyntheticsAPITest(responseContext);\n });\n });\n };\n /**\n * Create a Synthetic browser test.\n * @param param The request object\n */\n SyntheticsApi.prototype.createSyntheticsBrowserTest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSyntheticsBrowserTest(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSyntheticsBrowserTest(responseContext);\n });\n });\n };\n /**\n * Delete a Synthetics global variable.\n * @param param The request object\n */\n SyntheticsApi.prototype.deleteGlobalVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteGlobalVariable(param.variableId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteGlobalVariable(responseContext);\n });\n });\n };\n /**\n * Delete a Synthetics private location.\n * @param param The request object\n */\n SyntheticsApi.prototype.deletePrivateLocation = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deletePrivateLocation(param.locationId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deletePrivateLocation(responseContext);\n });\n });\n };\n /**\n * Delete multiple Synthetic tests by ID.\n * @param param The request object\n */\n SyntheticsApi.prototype.deleteTests = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteTests(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteTests(responseContext);\n });\n });\n };\n /**\n * Edit a Synthetics global variable.\n * @param param The request object\n */\n SyntheticsApi.prototype.editGlobalVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.editGlobalVariable(param.variableId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.editGlobalVariable(responseContext);\n });\n });\n };\n /**\n * Get the detailed configuration associated with a Synthetic API test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getAPITest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAPITest(param.publicId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAPITest(responseContext);\n });\n });\n };\n /**\n * Get the last 50 test results summaries for a given Synthetics API test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getAPITestLatestResults = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAPITestLatestResults(param.publicId, param.fromTs, param.toTs, param.probeDc, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAPITestLatestResults(responseContext);\n });\n });\n };\n /**\n * Get a specific full result from a given (API) Synthetic test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getAPITestResult = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAPITestResult(param.publicId, param.resultId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAPITestResult(responseContext);\n });\n });\n };\n /**\n * Get the detailed configuration (including steps) associated with a Synthetic browser test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getBrowserTest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getBrowserTest(param.publicId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getBrowserTest(responseContext);\n });\n });\n };\n /**\n * Get the last 50 test results summaries for a given Synthetics Browser test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getBrowserTestLatestResults = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getBrowserTestLatestResults(param.publicId, param.fromTs, param.toTs, param.probeDc, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getBrowserTestLatestResults(responseContext);\n });\n });\n };\n /**\n * Get a specific full result from a given (browser) Synthetic test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getBrowserTestResult = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getBrowserTestResult(param.publicId, param.resultId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getBrowserTestResult(responseContext);\n });\n });\n };\n /**\n * Get the detailed configuration of a global variable.\n * @param param The request object\n */\n SyntheticsApi.prototype.getGlobalVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getGlobalVariable(param.variableId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getGlobalVariable(responseContext);\n });\n });\n };\n /**\n * Get a Synthetics private location.\n * @param param The request object\n */\n SyntheticsApi.prototype.getPrivateLocation = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getPrivateLocation(param.locationId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getPrivateLocation(responseContext);\n });\n });\n };\n /**\n * Get a batch's updated details.\n * @param param The request object\n */\n SyntheticsApi.prototype.getSyntheticsCIBatch = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSyntheticsCIBatch(param.batchId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSyntheticsCIBatch(responseContext);\n });\n });\n };\n /**\n * Get the detailed configuration associated with a Synthetics test.\n * @param param The request object\n */\n SyntheticsApi.prototype.getTest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getTest(param.publicId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getTest(responseContext);\n });\n });\n };\n /**\n * Get the list of all Synthetics global variables.\n * @param param The request object\n */\n SyntheticsApi.prototype.listGlobalVariables = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listGlobalVariables(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listGlobalVariables(responseContext);\n });\n });\n };\n /**\n * Get the list of public and private locations available for Synthetic tests. No arguments required.\n * @param param The request object\n */\n SyntheticsApi.prototype.listLocations = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLocations(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLocations(responseContext);\n });\n });\n };\n /**\n * Get the list of all Synthetic tests.\n * @param param The request object\n */\n SyntheticsApi.prototype.listTests = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listTests(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listTests(responseContext);\n });\n });\n };\n /**\n * Trigger a set of Synthetics tests for continuous integration.\n * @param param The request object\n */\n SyntheticsApi.prototype.triggerCITests = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.triggerCITests(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.triggerCITests(responseContext);\n });\n });\n };\n /**\n * Trigger a set of Synthetics tests.\n * @param param The request object\n */\n SyntheticsApi.prototype.triggerTests = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.triggerTests(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.triggerTests(responseContext);\n });\n });\n };\n /**\n * Edit the configuration of a Synthetic API test.\n * @param param The request object\n */\n SyntheticsApi.prototype.updateAPITest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAPITest(param.publicId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAPITest(responseContext);\n });\n });\n };\n /**\n * Edit the configuration of a Synthetic browser test.\n * @param param The request object\n */\n SyntheticsApi.prototype.updateBrowserTest = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateBrowserTest(param.publicId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateBrowserTest(responseContext);\n });\n });\n };\n /**\n * Edit a Synthetics private location.\n * @param param The request object\n */\n SyntheticsApi.prototype.updatePrivateLocation = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updatePrivateLocation(param.locationId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updatePrivateLocation(responseContext);\n });\n });\n };\n /**\n * Pause or start a Synthetics test by changing the status.\n * @param param The request object\n */\n SyntheticsApi.prototype.updateTestPauseStatus = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateTestPauseStatus(param.publicId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateTestPauseStatus(responseContext);\n });\n });\n };\n return SyntheticsApi;\n}());\nexports.SyntheticsApi = SyntheticsApi;\n//# sourceMappingURL=SyntheticsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TagsApi = exports.TagsApiResponseProcessor = exports.TagsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar TagsApiRequestFactory = /** @class */ (function (_super) {\n __extends(TagsApiRequestFactory, _super);\n function TagsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TagsApiRequestFactory.prototype.createHostTags = function (hostName, body, source, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling createHostTags.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createHostTags.\");\n }\n localVarPath = \"/api/v1/tags/hosts/{host_name}\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"TagsApi.createHostTags\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (source !== undefined) {\n requestContext.setQueryParam(\"source\", ObjectSerializer_1.ObjectSerializer.serialize(source, \"string\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"HostTags\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n TagsApiRequestFactory.prototype.deleteHostTags = function (hostName, source, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling deleteHostTags.\");\n }\n localVarPath = \"/api/v1/tags/hosts/{host_name}\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"TagsApi.deleteHostTags\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (source !== undefined) {\n requestContext.setQueryParam(\"source\", ObjectSerializer_1.ObjectSerializer.serialize(source, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n TagsApiRequestFactory.prototype.getHostTags = function (hostName, source, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling getHostTags.\");\n }\n localVarPath = \"/api/v1/tags/hosts/{host_name}\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"TagsApi.getHostTags\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (source !== undefined) {\n requestContext.setQueryParam(\"source\", ObjectSerializer_1.ObjectSerializer.serialize(source, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n TagsApiRequestFactory.prototype.listHostTags = function (source, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/tags/hosts\";\n requestContext = (0, configuration_1.getServer)(_config, \"TagsApi.listHostTags\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (source !== undefined) {\n requestContext.setQueryParam(\"source\", ObjectSerializer_1.ObjectSerializer.serialize(source, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n TagsApiRequestFactory.prototype.updateHostTags = function (hostName, body, source, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'hostName' is not null or undefined\n if (hostName === null || hostName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter hostName was null or undefined when calling updateHostTags.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateHostTags.\");\n }\n localVarPath = \"/api/v1/tags/hosts/{host_name}\".replace(\"{\" + \"host_name\" + \"}\", encodeURIComponent(String(hostName)));\n requestContext = (0, configuration_1.getServer)(_config, \"TagsApi.updateHostTags\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (source !== undefined) {\n requestContext.setQueryParam(\"source\", ObjectSerializer_1.ObjectSerializer.serialize(source, \"string\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"HostTags\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return TagsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.TagsApiRequestFactory = TagsApiRequestFactory;\nvar TagsApiResponseProcessor = /** @class */ (function () {\n function TagsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createHostTags\n * @throws ApiException if the response code was not in [200, 299]\n */\n TagsApiResponseProcessor.prototype.createHostTags = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteHostTags\n * @throws ApiException if the response code was not in [200, 299]\n */\n TagsApiResponseProcessor.prototype.deleteHostTags = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_6);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getHostTags\n * @throws ApiException if the response code was not in [200, 299]\n */\n TagsApiResponseProcessor.prototype.getHostTags = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listHostTags\n * @throws ApiException if the response code was not in [200, 299]\n */\n TagsApiResponseProcessor.prototype.listHostTags = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"TagToHosts\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"TagToHosts\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateHostTags\n * @throws ApiException if the response code was not in [200, 299]\n */\n TagsApiResponseProcessor.prototype.updateHostTags = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"HostTags\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return TagsApiResponseProcessor;\n}());\nexports.TagsApiResponseProcessor = TagsApiResponseProcessor;\nvar TagsApi = /** @class */ (function () {\n function TagsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new TagsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new TagsApiResponseProcessor();\n }\n /**\n * This endpoint allows you to add new tags to a host, optionally specifying where these tags come from.\n * @param param The request object\n */\n TagsApi.prototype.createHostTags = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createHostTags(param.hostName, param.body, param.source, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createHostTags(responseContext);\n });\n });\n };\n /**\n * This endpoint allows you to remove all user-assigned tags for a single host.\n * @param param The request object\n */\n TagsApi.prototype.deleteHostTags = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteHostTags(param.hostName, param.source, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteHostTags(responseContext);\n });\n });\n };\n /**\n * Return the list of tags that apply to a given host.\n * @param param The request object\n */\n TagsApi.prototype.getHostTags = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getHostTags(param.hostName, param.source, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getHostTags(responseContext);\n });\n });\n };\n /**\n * Return a mapping of tags to hosts for your whole infrastructure.\n * @param param The request object\n */\n TagsApi.prototype.listHostTags = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listHostTags(param.source, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listHostTags(responseContext);\n });\n });\n };\n /**\n * This endpoint allows you to update/replace all tags in an integration source with those supplied in the request.\n * @param param The request object\n */\n TagsApi.prototype.updateHostTags = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateHostTags(param.hostName, param.body, param.source, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateHostTags(responseContext);\n });\n });\n };\n return TagsApi;\n}());\nexports.TagsApi = TagsApi;\n//# sourceMappingURL=TagsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageMeteringApi = exports.UsageMeteringApiResponseProcessor = exports.UsageMeteringApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar UsageMeteringApiRequestFactory = /** @class */ (function (_super) {\n __extends(UsageMeteringApiRequestFactory, _super);\n function UsageMeteringApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UsageMeteringApiRequestFactory.prototype.getDailyCustomReports = function (pageSize, pageNumber, sortDir, sort, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getDailyCustomReports'\");\n if (!_config.unstableOperations[\"getDailyCustomReports\"]) {\n throw new Error(\"Unstable operation 'getDailyCustomReports' is disabled\");\n }\n localVarPath = \"/api/v1/daily_custom_reports\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getDailyCustomReports\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sortDir !== undefined) {\n requestContext.setQueryParam(\"sort_dir\", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, \"UsageSortDirection\", \"\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"UsageSort\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getHourlyUsageAttribution = function (startHr, usageType, endHr, nextRecordId, tagBreakdownKeys, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getHourlyUsageAttribution'\");\n if (!_config.unstableOperations[\"getHourlyUsageAttribution\"]) {\n throw new Error(\"Unstable operation 'getHourlyUsageAttribution' is disabled\");\n }\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getHourlyUsageAttribution.\");\n }\n // verify required parameter 'usageType' is not null or undefined\n if (usageType === null || usageType === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter usageType was null or undefined when calling getHourlyUsageAttribution.\");\n }\n localVarPath = \"/api/v1/usage/hourly-attribution\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getHourlyUsageAttribution\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n if (usageType !== undefined) {\n requestContext.setQueryParam(\"usage_type\", ObjectSerializer_1.ObjectSerializer.serialize(usageType, \"HourlyUsageAttributionUsageType\", \"\"));\n }\n if (nextRecordId !== undefined) {\n requestContext.setQueryParam(\"next_record_id\", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, \"string\", \"\"));\n }\n if (tagBreakdownKeys !== undefined) {\n requestContext.setQueryParam(\"tag_breakdown_keys\", ObjectSerializer_1.ObjectSerializer.serialize(tagBreakdownKeys, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getIncidentManagement = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getIncidentManagement.\");\n }\n localVarPath = \"/api/v1/usage/incident-management\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getIncidentManagement\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getIngestedSpans = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getIngestedSpans.\");\n }\n localVarPath = \"/api/v1/usage/ingested-spans\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getIngestedSpans\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getMonthlyCustomReports = function (pageSize, pageNumber, sortDir, sort, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getMonthlyCustomReports'\");\n if (!_config.unstableOperations[\"getMonthlyCustomReports\"]) {\n throw new Error(\"Unstable operation 'getMonthlyCustomReports' is disabled\");\n }\n localVarPath = \"/api/v1/monthly_custom_reports\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getMonthlyCustomReports\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sortDir !== undefined) {\n requestContext.setQueryParam(\"sort_dir\", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, \"UsageSortDirection\", \"\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"UsageSort\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getMonthlyUsageAttribution = function (startMonth, fields, endMonth, sortDirection, sortName, tagBreakdownKeys, nextRecordId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getMonthlyUsageAttribution'\");\n if (!_config.unstableOperations[\"getMonthlyUsageAttribution\"]) {\n throw new Error(\"Unstable operation 'getMonthlyUsageAttribution' is disabled\");\n }\n // verify required parameter 'startMonth' is not null or undefined\n if (startMonth === null || startMonth === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startMonth was null or undefined when calling getMonthlyUsageAttribution.\");\n }\n // verify required parameter 'fields' is not null or undefined\n if (fields === null || fields === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter fields was null or undefined when calling getMonthlyUsageAttribution.\");\n }\n localVarPath = \"/api/v1/usage/monthly-attribution\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getMonthlyUsageAttribution\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startMonth !== undefined) {\n requestContext.setQueryParam(\"start_month\", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, \"Date\", \"date-time\"));\n }\n if (endMonth !== undefined) {\n requestContext.setQueryParam(\"end_month\", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, \"Date\", \"date-time\"));\n }\n if (fields !== undefined) {\n requestContext.setQueryParam(\"fields\", ObjectSerializer_1.ObjectSerializer.serialize(fields, \"MonthlyUsageAttributionSupportedMetrics\", \"\"));\n }\n if (sortDirection !== undefined) {\n requestContext.setQueryParam(\"sort_direction\", ObjectSerializer_1.ObjectSerializer.serialize(sortDirection, \"UsageSortDirection\", \"\"));\n }\n if (sortName !== undefined) {\n requestContext.setQueryParam(\"sort_name\", ObjectSerializer_1.ObjectSerializer.serialize(sortName, \"MonthlyUsageAttributionSupportedMetrics\", \"\"));\n }\n if (tagBreakdownKeys !== undefined) {\n requestContext.setQueryParam(\"tag_breakdown_keys\", ObjectSerializer_1.ObjectSerializer.serialize(tagBreakdownKeys, \"string\", \"\"));\n }\n if (nextRecordId !== undefined) {\n requestContext.setQueryParam(\"next_record_id\", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getSpecifiedDailyCustomReports = function (reportId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getSpecifiedDailyCustomReports'\");\n if (!_config.unstableOperations[\"getSpecifiedDailyCustomReports\"]) {\n throw new Error(\"Unstable operation 'getSpecifiedDailyCustomReports' is disabled\");\n }\n // verify required parameter 'reportId' is not null or undefined\n if (reportId === null || reportId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter reportId was null or undefined when calling getSpecifiedDailyCustomReports.\");\n }\n localVarPath = \"/api/v1/daily_custom_reports/{report_id}\".replace(\"{\" + \"report_id\" + \"}\", encodeURIComponent(String(reportId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getSpecifiedDailyCustomReports\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getSpecifiedMonthlyCustomReports = function (reportId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getSpecifiedMonthlyCustomReports'\");\n if (!_config.unstableOperations[\"getSpecifiedMonthlyCustomReports\"]) {\n throw new Error(\"Unstable operation 'getSpecifiedMonthlyCustomReports' is disabled\");\n }\n // verify required parameter 'reportId' is not null or undefined\n if (reportId === null || reportId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter reportId was null or undefined when calling getSpecifiedMonthlyCustomReports.\");\n }\n localVarPath = \"/api/v1/monthly_custom_reports/{report_id}\".replace(\"{\" + \"report_id\" + \"}\", encodeURIComponent(String(reportId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getSpecifiedMonthlyCustomReports\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageAnalyzedLogs = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageAnalyzedLogs.\");\n }\n localVarPath = \"/api/v1/usage/analyzed_logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageAnalyzedLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageAttribution = function (startMonth, fields, endMonth, sortDirection, sortName, includeDescendants, offset, limit, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getUsageAttribution'\");\n if (!_config.unstableOperations[\"getUsageAttribution\"]) {\n throw new Error(\"Unstable operation 'getUsageAttribution' is disabled\");\n }\n // verify required parameter 'startMonth' is not null or undefined\n if (startMonth === null || startMonth === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startMonth was null or undefined when calling getUsageAttribution.\");\n }\n // verify required parameter 'fields' is not null or undefined\n if (fields === null || fields === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter fields was null or undefined when calling getUsageAttribution.\");\n }\n localVarPath = \"/api/v1/usage/attribution\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageAttribution\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startMonth !== undefined) {\n requestContext.setQueryParam(\"start_month\", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, \"Date\", \"date-time\"));\n }\n if (fields !== undefined) {\n requestContext.setQueryParam(\"fields\", ObjectSerializer_1.ObjectSerializer.serialize(fields, \"UsageAttributionSupportedMetrics\", \"\"));\n }\n if (endMonth !== undefined) {\n requestContext.setQueryParam(\"end_month\", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, \"Date\", \"date-time\"));\n }\n if (sortDirection !== undefined) {\n requestContext.setQueryParam(\"sort_direction\", ObjectSerializer_1.ObjectSerializer.serialize(sortDirection, \"UsageSortDirection\", \"\"));\n }\n if (sortName !== undefined) {\n requestContext.setQueryParam(\"sort_name\", ObjectSerializer_1.ObjectSerializer.serialize(sortName, \"UsageAttributionSort\", \"\"));\n }\n if (includeDescendants !== undefined) {\n requestContext.setQueryParam(\"include_descendants\", ObjectSerializer_1.ObjectSerializer.serialize(includeDescendants, \"boolean\", \"\"));\n }\n if (offset !== undefined) {\n requestContext.setQueryParam(\"offset\", ObjectSerializer_1.ObjectSerializer.serialize(offset, \"number\", \"int64\"));\n }\n if (limit !== undefined) {\n requestContext.setQueryParam(\"limit\", ObjectSerializer_1.ObjectSerializer.serialize(limit, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageAuditLogs = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageAuditLogs.\");\n }\n localVarPath = \"/api/v1/usage/audit_logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageAuditLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageBillableSummary = function (month, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/usage/billable-summary\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageBillableSummary\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (month !== undefined) {\n requestContext.setQueryParam(\"month\", ObjectSerializer_1.ObjectSerializer.serialize(month, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageCWS = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageCWS.\");\n }\n localVarPath = \"/api/v1/usage/cws\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageCWS\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageCloudSecurityPostureManagement = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageCloudSecurityPostureManagement.\");\n }\n localVarPath = \"/api/v1/usage/cspm\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageCloudSecurityPostureManagement\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageDBM = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageDBM.\");\n }\n localVarPath = \"/api/v1/usage/dbm\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageDBM\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageFargate = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageFargate.\");\n }\n localVarPath = \"/api/v1/usage/fargate\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageFargate\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageHosts = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageHosts.\");\n }\n localVarPath = \"/api/v1/usage/hosts\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageHosts\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageIndexedSpans = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageIndexedSpans.\");\n }\n localVarPath = \"/api/v1/usage/indexed-spans\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageIndexedSpans\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageInternetOfThings = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageInternetOfThings.\");\n }\n localVarPath = \"/api/v1/usage/iot\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageInternetOfThings\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageLambda = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageLambda.\");\n }\n localVarPath = \"/api/v1/usage/aws_lambda\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageLambda\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageLogs = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageLogs.\");\n }\n localVarPath = \"/api/v1/usage/logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageLogsByIndex = function (startHr, endHr, indexName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageLogsByIndex.\");\n }\n localVarPath = \"/api/v1/usage/logs_by_index\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageLogsByIndex\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n if (indexName !== undefined) {\n requestContext.setQueryParam(\"index_name\", ObjectSerializer_1.ObjectSerializer.serialize(indexName, \"Array\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageLogsByRetention = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageLogsByRetention.\");\n }\n localVarPath = \"/api/v1/usage/logs-by-retention\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageLogsByRetention\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageNetworkFlows = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageNetworkFlows.\");\n }\n localVarPath = \"/api/v1/usage/network_flows\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageNetworkFlows\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageNetworkHosts = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageNetworkHosts.\");\n }\n localVarPath = \"/api/v1/usage/network_hosts\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageNetworkHosts\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageProfiling = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageProfiling.\");\n }\n localVarPath = \"/api/v1/usage/profiling\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageProfiling\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageRumSessions = function (startHr, endHr, type, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageRumSessions.\");\n }\n localVarPath = \"/api/v1/usage/rum_sessions\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageRumSessions\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n if (type !== undefined) {\n requestContext.setQueryParam(\"type\", ObjectSerializer_1.ObjectSerializer.serialize(type, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageRumUnits = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageRumUnits.\");\n }\n localVarPath = \"/api/v1/usage/rum\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageRumUnits\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSDS = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageSDS.\");\n }\n localVarPath = \"/api/v1/usage/sds\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSDS\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSNMP = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageSNMP.\");\n }\n localVarPath = \"/api/v1/usage/snmp\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSNMP\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSummary = function (startMonth, endMonth, includeOrgDetails, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startMonth' is not null or undefined\n if (startMonth === null || startMonth === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startMonth was null or undefined when calling getUsageSummary.\");\n }\n localVarPath = \"/api/v1/usage/summary\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSummary\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startMonth !== undefined) {\n requestContext.setQueryParam(\"start_month\", ObjectSerializer_1.ObjectSerializer.serialize(startMonth, \"Date\", \"date-time\"));\n }\n if (endMonth !== undefined) {\n requestContext.setQueryParam(\"end_month\", ObjectSerializer_1.ObjectSerializer.serialize(endMonth, \"Date\", \"date-time\"));\n }\n if (includeOrgDetails !== undefined) {\n requestContext.setQueryParam(\"include_org_details\", ObjectSerializer_1.ObjectSerializer.serialize(includeOrgDetails, \"boolean\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSynthetics = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageSynthetics.\");\n }\n localVarPath = \"/api/v1/usage/synthetics\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSynthetics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSyntheticsAPI = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageSyntheticsAPI.\");\n }\n localVarPath = \"/api/v1/usage/synthetics_api\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSyntheticsAPI\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageSyntheticsBrowser = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageSyntheticsBrowser.\");\n }\n localVarPath = \"/api/v1/usage/synthetics_browser\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageSyntheticsBrowser\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageTimeseries = function (startHr, endHr, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'startHr' is not null or undefined\n if (startHr === null || startHr === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter startHr was null or undefined when calling getUsageTimeseries.\");\n }\n localVarPath = \"/api/v1/usage/timeseries\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageTimeseries\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (startHr !== undefined) {\n requestContext.setQueryParam(\"start_hr\", ObjectSerializer_1.ObjectSerializer.serialize(startHr, \"Date\", \"date-time\"));\n }\n if (endHr !== undefined) {\n requestContext.setQueryParam(\"end_hr\", ObjectSerializer_1.ObjectSerializer.serialize(endHr, \"Date\", \"date-time\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsageMeteringApiRequestFactory.prototype.getUsageTopAvgMetrics = function (month, day, names, limit, nextRecordId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/usage/top_avg_metrics\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsageMeteringApi.getUsageTopAvgMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json;datetime-format=rfc3339\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (month !== undefined) {\n requestContext.setQueryParam(\"month\", ObjectSerializer_1.ObjectSerializer.serialize(month, \"Date\", \"date-time\"));\n }\n if (day !== undefined) {\n requestContext.setQueryParam(\"day\", ObjectSerializer_1.ObjectSerializer.serialize(day, \"Date\", \"date-time\"));\n }\n if (names !== undefined) {\n requestContext.setQueryParam(\"names\", ObjectSerializer_1.ObjectSerializer.serialize(names, \"Array\", \"\"));\n }\n if (limit !== undefined) {\n requestContext.setQueryParam(\"limit\", ObjectSerializer_1.ObjectSerializer.serialize(limit, \"number\", \"int32\"));\n }\n if (nextRecordId !== undefined) {\n requestContext.setQueryParam(\"next_record_id\", ObjectSerializer_1.ObjectSerializer.serialize(nextRecordId, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return UsageMeteringApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.UsageMeteringApiRequestFactory = UsageMeteringApiRequestFactory;\nvar UsageMeteringApiResponseProcessor = /** @class */ (function () {\n function UsageMeteringApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getDailyCustomReports\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getDailyCustomReports = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"UsageCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_3);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"UsageCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_4];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getHourlyUsageAttribution\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getHourlyUsageAttribution = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_5, _a, _b, _c, _d, body_6, _e, _f, _g, _h, body_7, _j, _k, _l, _m, body_8, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_5 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"HourlyUsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_6 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_6);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_7 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_7);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_8 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"HourlyUsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_8];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIncidentManagement\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getIncidentManagement = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_9, _a, _b, _c, _d, body_10, _e, _f, _g, _h, body_11, _j, _k, _l, _m, body_12, _o, _p, _q, _r, body_13, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_9 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageIncidentManagementResponse\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_10 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_10);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_11 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_12 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_12);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_13 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageIncidentManagementResponse\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIngestedSpans\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getIngestedSpans = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_14 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageIngestedSpansResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_15 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_15);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_16 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_17 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_18 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageIngestedSpansResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getMonthlyCustomReports\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getMonthlyCustomReports = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"UsageCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"UsageCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getMonthlyUsageAttribution\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getMonthlyUsageAttribution = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"MonthlyUsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_25);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"MonthlyUsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_26];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSpecifiedDailyCustomReports\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getSpecifiedDailyCustomReports = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_27, _a, _b, _c, _d, body_28, _e, _f, _g, _h, body_29, _j, _k, _l, _m, body_30, _o, _p, _q, _r, body_31, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_27 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSpecifiedCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_28 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_28);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_29 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_29);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_30 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_30);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_31 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSpecifiedCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_31];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSpecifiedMonthlyCustomReports\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getSpecifiedMonthlyCustomReports = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_32, _a, _b, _c, _d, body_33, _e, _f, _g, _h, body_34, _j, _k, _l, _m, body_35, _o, _p, _q, _r, body_36, _s, _t, _u, _v, body_37, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_32 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UsageSpecifiedCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_33 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_33);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_34 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_34);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_35 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_35);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_36 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_36);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_37 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UsageSpecifiedCustomReportsResponse\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageAnalyzedLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageAnalyzedLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_38, _a, _b, _c, _d, body_39, _e, _f, _g, _h, body_40, _j, _k, _l, _m, body_41, _o, _p, _q, _r, body_42, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_38 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageAnalyzedLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_38];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_39 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_39);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_40 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_40);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_41 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_41);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_42 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageAnalyzedLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_42];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageAttribution\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageAttribution = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_43, _a, _b, _c, _d, body_44, _e, _f, _g, _h, body_45, _j, _k, _l, _m, body_46, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_43 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"UsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_43];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_44 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_44);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_45 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_46 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"UsageAttributionResponse\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageAuditLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageAuditLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageAuditLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_50);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageAuditLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_51];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageBillableSummary\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageBillableSummary = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_52, _a, _b, _c, _d, body_53, _e, _f, _g, _h, body_54, _j, _k, _l, _m, body_55, _o, _p, _q, _r, body_56, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_52 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageBillableSummaryResponse\",\n \"\"]);\n return [2 /*return*/, body_52];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_53 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_53);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_54 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_54);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_55 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_55);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_56 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageBillableSummaryResponse\",\n \"\"]);\n return [2 /*return*/, body_56];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageCWS\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageCWS = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_57, _a, _b, _c, _d, body_58, _e, _f, _g, _h, body_59, _j, _k, _l, _m, body_60, _o, _p, _q, _r, body_61, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_57 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageCWSResponse\",\n \"\"]);\n return [2 /*return*/, body_57];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_58 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_58);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_59 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_59);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_60 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_60);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_61 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageCWSResponse\",\n \"\"]);\n return [2 /*return*/, body_61];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageCloudSecurityPostureManagement\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageCloudSecurityPostureManagement = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_62 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageCloudSecurityPostureManagementResponse\",\n \"\"]);\n return [2 /*return*/, body_62];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_63 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_63);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_64 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_64);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_65 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_65);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_66 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageCloudSecurityPostureManagementResponse\",\n \"\"]);\n return [2 /*return*/, body_66];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageDBM\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageDBM = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_67, _a, _b, _c, _d, body_68, _e, _f, _g, _h, body_69, _j, _k, _l, _m, body_70, _o, _p, _q, _r, body_71, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_67 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageDBMResponse\",\n \"\"]);\n return [2 /*return*/, body_67];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_68 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_68);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_69 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_69);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_70 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_70);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_71 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageDBMResponse\",\n \"\"]);\n return [2 /*return*/, body_71];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageFargate\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageFargate = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_72, _a, _b, _c, _d, body_73, _e, _f, _g, _h, body_74, _j, _k, _l, _m, body_75, _o, _p, _q, _r, body_76, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_72 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageFargateResponse\",\n \"\"]);\n return [2 /*return*/, body_72];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_73 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_73);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_74 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_74);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_75 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_75);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_76 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageFargateResponse\",\n \"\"]);\n return [2 /*return*/, body_76];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageHosts\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageHosts = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_77, _a, _b, _c, _d, body_78, _e, _f, _g, _h, body_79, _j, _k, _l, _m, body_80, _o, _p, _q, _r, body_81, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_77 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageHostsResponse\",\n \"\"]);\n return [2 /*return*/, body_77];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_78 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_78);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_79 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_79);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_80 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_80);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_81 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageHostsResponse\",\n \"\"]);\n return [2 /*return*/, body_81];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageIndexedSpans\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageIndexedSpans = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_82, _a, _b, _c, _d, body_83, _e, _f, _g, _h, body_84, _j, _k, _l, _m, body_85, _o, _p, _q, _r, body_86, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_82 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageIndexedSpansResponse\",\n \"\"]);\n return [2 /*return*/, body_82];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_83 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_83);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_84 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_84);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_85 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_85);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_86 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageIndexedSpansResponse\",\n \"\"]);\n return [2 /*return*/, body_86];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageInternetOfThings\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageInternetOfThings = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_87, _a, _b, _c, _d, body_88, _e, _f, _g, _h, body_89, _j, _k, _l, _m, body_90, _o, _p, _q, _r, body_91, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_87 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageIoTResponse\",\n \"\"]);\n return [2 /*return*/, body_87];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_88 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_88);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_89 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_89);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_90 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_90);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_91 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageIoTResponse\",\n \"\"]);\n return [2 /*return*/, body_91];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageLambda\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageLambda = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_92, _a, _b, _c, _d, body_93, _e, _f, _g, _h, body_94, _j, _k, _l, _m, body_95, _o, _p, _q, _r, body_96, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_92 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageLambdaResponse\",\n \"\"]);\n return [2 /*return*/, body_92];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_93 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_93);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_94 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_94);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_95 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_95);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_96 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageLambdaResponse\",\n \"\"]);\n return [2 /*return*/, body_96];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_97, _a, _b, _c, _d, body_98, _e, _f, _g, _h, body_99, _j, _k, _l, _m, body_100, _o, _p, _q, _r, body_101, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_97 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_97];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_98 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_98);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_99 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_99);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_100 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_100);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_101 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageLogsResponse\",\n \"\"]);\n return [2 /*return*/, body_101];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageLogsByIndex\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageLogsByIndex = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_102, _a, _b, _c, _d, body_103, _e, _f, _g, _h, body_104, _j, _k, _l, _m, body_105, _o, _p, _q, _r, body_106, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_102 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageLogsByIndexResponse\",\n \"\"]);\n return [2 /*return*/, body_102];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_103 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_103);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_104 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_104);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_105 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_105);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_106 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageLogsByIndexResponse\",\n \"\"]);\n return [2 /*return*/, body_106];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageLogsByRetention\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageLogsByRetention = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_107, _a, _b, _c, _d, body_108, _e, _f, _g, _h, body_109, _j, _k, _l, _m, body_110, _o, _p, _q, _r, body_111, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_107 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageLogsByRetentionResponse\",\n \"\"]);\n return [2 /*return*/, body_107];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_108 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_108);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_109 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_109);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_110 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_110);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_111 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageLogsByRetentionResponse\",\n \"\"]);\n return [2 /*return*/, body_111];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageNetworkFlows\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageNetworkFlows = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_112, _a, _b, _c, _d, body_113, _e, _f, _g, _h, body_114, _j, _k, _l, _m, body_115, _o, _p, _q, _r, body_116, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_112 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageNetworkFlowsResponse\",\n \"\"]);\n return [2 /*return*/, body_112];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_113 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_113);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_114 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_114);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_115 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_115);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_116 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageNetworkFlowsResponse\",\n \"\"]);\n return [2 /*return*/, body_116];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageNetworkHosts\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageNetworkHosts = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_117, _a, _b, _c, _d, body_118, _e, _f, _g, _h, body_119, _j, _k, _l, _m, body_120, _o, _p, _q, _r, body_121, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_117 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageNetworkHostsResponse\",\n \"\"]);\n return [2 /*return*/, body_117];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_118 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_118);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_119 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_119);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_120 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_120);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_121 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageNetworkHostsResponse\",\n \"\"]);\n return [2 /*return*/, body_121];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageProfiling\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageProfiling = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_122, _a, _b, _c, _d, body_123, _e, _f, _g, _h, body_124, _j, _k, _l, _m, body_125, _o, _p, _q, _r, body_126, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_122 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageProfilingResponse\",\n \"\"]);\n return [2 /*return*/, body_122];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_123 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_123);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_124 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_124);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_125 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_125);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_126 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageProfilingResponse\",\n \"\"]);\n return [2 /*return*/, body_126];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageRumSessions\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageRumSessions = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_127, _a, _b, _c, _d, body_128, _e, _f, _g, _h, body_129, _j, _k, _l, _m, body_130, _o, _p, _q, _r, body_131, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_127 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageRumSessionsResponse\",\n \"\"]);\n return [2 /*return*/, body_127];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_128 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_128);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_129 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_129);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_130 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_130);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_131 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageRumSessionsResponse\",\n \"\"]);\n return [2 /*return*/, body_131];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageRumUnits\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageRumUnits = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_132, _a, _b, _c, _d, body_133, _e, _f, _g, _h, body_134, _j, _k, _l, _m, body_135, _o, _p, _q, _r, body_136, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_132 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageRumUnitsResponse\",\n \"\"]);\n return [2 /*return*/, body_132];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_133 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_133);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_134 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_134);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_135 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_135);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_136 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageRumUnitsResponse\",\n \"\"]);\n return [2 /*return*/, body_136];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSDS\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSDS = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_137, _a, _b, _c, _d, body_138, _e, _f, _g, _h, body_139, _j, _k, _l, _m, body_140, _o, _p, _q, _r, body_141, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_137 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSDSResponse\",\n \"\"]);\n return [2 /*return*/, body_137];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_138 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_138);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_139 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_139);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_140 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_140);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_141 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSDSResponse\",\n \"\"]);\n return [2 /*return*/, body_141];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSNMP\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSNMP = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_142, _a, _b, _c, _d, body_143, _e, _f, _g, _h, body_144, _j, _k, _l, _m, body_145, _o, _p, _q, _r, body_146, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_142 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSNMPResponse\",\n \"\"]);\n return [2 /*return*/, body_142];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_143 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_143);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_144 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_144);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_145 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_145);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_146 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSNMPResponse\",\n \"\"]);\n return [2 /*return*/, body_146];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSummary\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSummary = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_147, _a, _b, _c, _d, body_148, _e, _f, _g, _h, body_149, _j, _k, _l, _m, body_150, _o, _p, _q, _r, body_151, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_147 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSummaryResponse\",\n \"\"]);\n return [2 /*return*/, body_147];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_148 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_148);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_149 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_149);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_150 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_150);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_151 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSummaryResponse\",\n \"\"]);\n return [2 /*return*/, body_151];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSynthetics\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSynthetics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_152, _a, _b, _c, _d, body_153, _e, _f, _g, _h, body_154, _j, _k, _l, _m, body_155, _o, _p, _q, _r, body_156, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_152 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSyntheticsResponse\",\n \"\"]);\n return [2 /*return*/, body_152];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_153 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_153);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_154 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_154);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_155 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_155);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_156 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSyntheticsResponse\",\n \"\"]);\n return [2 /*return*/, body_156];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSyntheticsAPI\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsAPI = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_157, _a, _b, _c, _d, body_158, _e, _f, _g, _h, body_159, _j, _k, _l, _m, body_160, _o, _p, _q, _r, body_161, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_157 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSyntheticsAPIResponse\",\n \"\"]);\n return [2 /*return*/, body_157];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_158 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_158);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_159 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_159);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_160 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_160);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_161 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSyntheticsAPIResponse\",\n \"\"]);\n return [2 /*return*/, body_161];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageSyntheticsBrowser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageSyntheticsBrowser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_162, _a, _b, _c, _d, body_163, _e, _f, _g, _h, body_164, _j, _k, _l, _m, body_165, _o, _p, _q, _r, body_166, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_162 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageSyntheticsBrowserResponse\",\n \"\"]);\n return [2 /*return*/, body_162];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_163 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_163);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_164 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_164);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_165 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_165);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_166 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageSyntheticsBrowserResponse\",\n \"\"]);\n return [2 /*return*/, body_166];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageTimeseries\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageTimeseries = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_167, _a, _b, _c, _d, body_168, _e, _f, _g, _h, body_169, _j, _k, _l, _m, body_170, _o, _p, _q, _r, body_171, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_167 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageTimeseriesResponse\",\n \"\"]);\n return [2 /*return*/, body_167];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_168 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_168);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_169 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_169);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_170 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_170);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_171 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageTimeseriesResponse\",\n \"\"]);\n return [2 /*return*/, body_171];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUsageTopAvgMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsageMeteringApiResponseProcessor.prototype.getUsageTopAvgMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_172, _a, _b, _c, _d, body_173, _e, _f, _g, _h, body_174, _j, _k, _l, _m, body_175, _o, _p, _q, _r, body_176, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_172 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsageTopAvgMetricsResponse\",\n \"\"]);\n return [2 /*return*/, body_172];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_173 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_173);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_174 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_174);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_175 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_175);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_176 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsageTopAvgMetricsResponse\",\n \"\"]);\n return [2 /*return*/, body_176];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return UsageMeteringApiResponseProcessor;\n}());\nexports.UsageMeteringApiResponseProcessor = UsageMeteringApiResponseProcessor;\nvar UsageMeteringApi = /** @class */ (function () {\n function UsageMeteringApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new UsageMeteringApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new UsageMeteringApiResponseProcessor();\n }\n /**\n * Get daily custom reports.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getDailyCustomReports = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.getDailyCustomReports(param.pageSize, param.pageNumber, param.sortDir, param.sort, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getDailyCustomReports(responseContext);\n });\n });\n };\n /**\n * Get Hourly Usage Attribution.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getHourlyUsageAttribution = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getHourlyUsageAttribution(param.startHr, param.usageType, param.endHr, param.nextRecordId, param.tagBreakdownKeys, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getHourlyUsageAttribution(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for incident management.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getIncidentManagement = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIncidentManagement(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIncidentManagement(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for ingested spans.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getIngestedSpans = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIngestedSpans(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIngestedSpans(responseContext);\n });\n });\n };\n /**\n * Get monthly custom reports.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getMonthlyCustomReports = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.getMonthlyCustomReports(param.pageSize, param.pageNumber, param.sortDir, param.sort, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getMonthlyCustomReports(responseContext);\n });\n });\n };\n /**\n * Get Monthly Usage Attribution.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getMonthlyUsageAttribution = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getMonthlyUsageAttribution(param.startMonth, param.fields, param.endMonth, param.sortDirection, param.sortName, param.tagBreakdownKeys, param.nextRecordId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getMonthlyUsageAttribution(responseContext);\n });\n });\n };\n /**\n * Get specified daily custom reports.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getSpecifiedDailyCustomReports = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSpecifiedDailyCustomReports(param.reportId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSpecifiedDailyCustomReports(responseContext);\n });\n });\n };\n /**\n * Get specified monthly custom reports.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getSpecifiedMonthlyCustomReports = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSpecifiedMonthlyCustomReports(param.reportId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSpecifiedMonthlyCustomReports(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for analyzed logs (Security Monitoring).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageAnalyzedLogs = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageAnalyzedLogs(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageAnalyzedLogs(responseContext);\n });\n });\n };\n /**\n * Get Usage Attribution.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageAttribution = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageAttribution(param.startMonth, param.fields, param.endMonth, param.sortDirection, param.sortName, param.includeDescendants, param.offset, param.limit, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageAttribution(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for audit logs.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageAuditLogs = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageAuditLogs(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageAuditLogs(responseContext);\n });\n });\n };\n /**\n * Get billable usage across your account.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageBillableSummary = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.getUsageBillableSummary(param.month, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageBillableSummary(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for Cloud Workload Security.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageCWS = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageCWS(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageCWS(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for Cloud Security Posture Management (CSPM).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageCloudSecurityPostureManagement = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageCloudSecurityPostureManagement(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageCloudSecurityPostureManagement(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for Database Monitoring\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageDBM = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageDBM(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageDBM(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageFargate = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageFargate(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageFargate(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for hosts and containers.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageHosts = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageHosts(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageHosts(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for indexed spans.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageIndexedSpans = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageIndexedSpans(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageIndexedSpans(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for IoT.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageInternetOfThings = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageInternetOfThings(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageInternetOfThings(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for lambda.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageLambda = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageLambda(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageLambda(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for logs.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageLogs = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageLogs(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageLogs(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for logs by index.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageLogsByIndex = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageLogsByIndex(param.startHr, param.endHr, param.indexName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageLogsByIndex(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for indexed logs by retention period.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageLogsByRetention = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageLogsByRetention(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageLogsByRetention(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for network flows.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageNetworkFlows = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageNetworkFlows(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageNetworkFlows(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for network hosts.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageNetworkHosts = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageNetworkHosts(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageNetworkHosts(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for profiled hosts.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageProfiling = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageProfiling(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageProfiling(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageRumSessions = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageRumSessions(param.startHr, param.endHr, param.type, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageRumSessions(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageRumUnits = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageRumUnits(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageRumUnits(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for Sensitive Data Scanner.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSDS = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSDS(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSDS(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for SNMP devices.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSNMP = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSNMP(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSNMP(responseContext);\n });\n });\n };\n /**\n * Get usage across your multi-org account. You must have the multi-org feature enabled.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSummary = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSummary(param.startMonth, param.endMonth, param.includeOrgDetails, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSummary(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSynthetics = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSynthetics(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSynthetics(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSyntheticsAPI = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSyntheticsAPI(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSyntheticsAPI(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for synthetics browser checks.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageSyntheticsBrowser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageSyntheticsBrowser(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageSyntheticsBrowser(responseContext);\n });\n });\n };\n /**\n * Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageTimeseries = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUsageTimeseries(param.startHr, param.endHr, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageTimeseries(responseContext);\n });\n });\n };\n /**\n * Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.\n * @param param The request object\n */\n UsageMeteringApi.prototype.getUsageTopAvgMetrics = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.getUsageTopAvgMetrics(param.month, param.day, param.names, param.limit, param.nextRecordId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUsageTopAvgMetrics(responseContext);\n });\n });\n };\n return UsageMeteringApi;\n}());\nexports.UsageMeteringApi = UsageMeteringApi;\n//# sourceMappingURL=UsageMeteringApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsersApi = exports.UsersApiResponseProcessor = exports.UsersApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar UsersApiRequestFactory = /** @class */ (function (_super) {\n __extends(UsersApiRequestFactory, _super);\n function UsersApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UsersApiRequestFactory.prototype.createUser = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createUser.\");\n }\n localVarPath = \"/api/v1/user\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.createUser\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"User\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.disableUser = function (userHandle, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userHandle' is not null or undefined\n if (userHandle === null || userHandle === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userHandle was null or undefined when calling disableUser.\");\n }\n localVarPath = \"/api/v1/user/{user_handle}\".replace(\"{\" + \"user_handle\" + \"}\", encodeURIComponent(String(userHandle)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.disableUser\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.getUser = function (userHandle, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userHandle' is not null or undefined\n if (userHandle === null || userHandle === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userHandle was null or undefined when calling getUser.\");\n }\n localVarPath = \"/api/v1/user/{user_handle}\".replace(\"{\" + \"user_handle\" + \"}\", encodeURIComponent(String(userHandle)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.getUser\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.listUsers = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v1/user\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.listUsers\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.updateUser = function (userHandle, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userHandle' is not null or undefined\n if (userHandle === null || userHandle === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userHandle was null or undefined when calling updateUser.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateUser.\");\n }\n localVarPath = \"/api/v1/user/{user_handle}\".replace(\"{\" + \"user_handle\" + \"}\", encodeURIComponent(String(userHandle)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.updateUser\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"User\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return UsersApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.UsersApiRequestFactory = UsersApiRequestFactory;\nvar UsersApiResponseProcessor = /** @class */ (function () {\n function UsersApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.createUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to disableUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.disableUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UserDisableResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_10);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_11);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UserDisableResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.getUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_13 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_14 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_14);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_15 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_15);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_16 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_16);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_17 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listUsers\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.listUsers = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_18 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"UserListResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_19 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_20 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_20);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_21 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"UserListResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.updateUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body_26, _s, _t, _u, _v, body_27, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_22 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_23 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_23);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_24 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_25 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_26 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_27 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return UsersApiResponseProcessor;\n}());\nexports.UsersApiResponseProcessor = UsersApiResponseProcessor;\nvar UsersApi = /** @class */ (function () {\n function UsersApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new UsersApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new UsersApiResponseProcessor();\n }\n /**\n * Create a user for your organization. **Note**: Users can only be created with the admin access role if application keys belong to administrators.\n * @param param The request object\n */\n UsersApi.prototype.createUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createUser(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createUser(responseContext);\n });\n });\n };\n /**\n * Delete a user from an organization. **Note**: This endpoint can only be used with application keys belonging to administrators.\n * @param param The request object\n */\n UsersApi.prototype.disableUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.disableUser(param.userHandle, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.disableUser(responseContext);\n });\n });\n };\n /**\n * Get a user's details.\n * @param param The request object\n */\n UsersApi.prototype.getUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUser(param.userHandle, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUser(responseContext);\n });\n });\n };\n /**\n * List all users for your organization.\n * @param param The request object\n */\n UsersApi.prototype.listUsers = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listUsers(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listUsers(responseContext);\n });\n });\n };\n /**\n * Update a user information. **Note**: It can only be used with application keys belonging to administrators.\n * @param param The request object\n */\n UsersApi.prototype.updateUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateUser(param.userHandle, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateUser(responseContext);\n });\n });\n };\n return UsersApi;\n}());\nexports.UsersApi = UsersApi;\n//# sourceMappingURL=UsersApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegrationApi = exports.WebhooksIntegrationApiResponseProcessor = exports.WebhooksIntegrationApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar WebhooksIntegrationApiRequestFactory = /** @class */ (function (_super) {\n __extends(WebhooksIntegrationApiRequestFactory, _super);\n function WebhooksIntegrationApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WebhooksIntegrationApiRequestFactory.prototype.createWebhooksIntegration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createWebhooksIntegration.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/webhooks\";\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.createWebhooksIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"WebhooksIntegration\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.createWebhooksIntegrationCustomVariable = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createWebhooksIntegrationCustomVariable.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/custom-variables\";\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.createWebhooksIntegrationCustomVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"WebhooksIntegrationCustomVariable\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.deleteWebhooksIntegration = function (webhookName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'webhookName' is not null or undefined\n if (webhookName === null || webhookName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter webhookName was null or undefined when calling deleteWebhooksIntegration.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}\".replace(\"{\" + \"webhook_name\" + \"}\", encodeURIComponent(String(webhookName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.deleteWebhooksIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.deleteWebhooksIntegrationCustomVariable = function (customVariableName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'customVariableName' is not null or undefined\n if (customVariableName === null || customVariableName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter customVariableName was null or undefined when calling deleteWebhooksIntegrationCustomVariable.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}\".replace(\"{\" + \"custom_variable_name\" + \"}\", encodeURIComponent(String(customVariableName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.deleteWebhooksIntegrationCustomVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.getWebhooksIntegration = function (webhookName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'webhookName' is not null or undefined\n if (webhookName === null || webhookName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter webhookName was null or undefined when calling getWebhooksIntegration.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}\".replace(\"{\" + \"webhook_name\" + \"}\", encodeURIComponent(String(webhookName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.getWebhooksIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.getWebhooksIntegrationCustomVariable = function (customVariableName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'customVariableName' is not null or undefined\n if (customVariableName === null || customVariableName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter customVariableName was null or undefined when calling getWebhooksIntegrationCustomVariable.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}\".replace(\"{\" + \"custom_variable_name\" + \"}\", encodeURIComponent(String(customVariableName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.getWebhooksIntegrationCustomVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.updateWebhooksIntegration = function (webhookName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'webhookName' is not null or undefined\n if (webhookName === null || webhookName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter webhookName was null or undefined when calling updateWebhooksIntegration.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateWebhooksIntegration.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}\".replace(\"{\" + \"webhook_name\" + \"}\", encodeURIComponent(String(webhookName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.updateWebhooksIntegration\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"WebhooksIntegrationUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n WebhooksIntegrationApiRequestFactory.prototype.updateWebhooksIntegrationCustomVariable = function (customVariableName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'customVariableName' is not null or undefined\n if (customVariableName === null || customVariableName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter customVariableName was null or undefined when calling updateWebhooksIntegrationCustomVariable.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateWebhooksIntegrationCustomVariable.\");\n }\n localVarPath = \"/api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}\".replace(\"{\" + \"custom_variable_name\" + \"}\", encodeURIComponent(String(customVariableName)));\n requestContext = (0, configuration_1.getServer)(_config, \"WebhooksIntegrationApi.updateWebhooksIntegrationCustomVariable\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"WebhooksIntegrationCustomVariableUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return WebhooksIntegrationApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.WebhooksIntegrationApiRequestFactory = WebhooksIntegrationApiRequestFactory;\nvar WebhooksIntegrationApiResponseProcessor = /** @class */ (function () {\n function WebhooksIntegrationApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createWebhooksIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.createWebhooksIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createWebhooksIntegrationCustomVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.createWebhooksIntegrationCustomVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteWebhooksIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.deleteWebhooksIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteWebhooksIntegrationCustomVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.deleteWebhooksIntegrationCustomVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getWebhooksIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.getWebhooksIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body_23, _s, _t, _u, _v, body_24, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_22);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_23 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_24 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getWebhooksIntegrationCustomVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.getWebhooksIntegrationCustomVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body_30, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_27);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_28);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_29 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_29);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_30 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateWebhooksIntegration\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.updateWebhooksIntegration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_31, _a, _b, _c, _d, body_32, _e, _f, _g, _h, body_33, _j, _k, _l, _m, body_34, _o, _p, _q, _r, body_35, _s, _t, _u, _v, body_36, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_31 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_31];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_32 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_32);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_33 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_33);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_34 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_34);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_35 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_35);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_36 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"WebhooksIntegration\",\n \"\"]);\n return [2 /*return*/, body_36];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateWebhooksIntegrationCustomVariable\n * @throws ApiException if the response code was not in [200, 299]\n */\n WebhooksIntegrationApiResponseProcessor.prototype.updateWebhooksIntegrationCustomVariable = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body_42, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_37 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_38 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_38);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_39 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_39);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_40 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_40);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_41 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_41);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_42 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"WebhooksIntegrationCustomVariableResponse\",\n \"\"]);\n return [2 /*return*/, body_42];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return WebhooksIntegrationApiResponseProcessor;\n}());\nexports.WebhooksIntegrationApiResponseProcessor = WebhooksIntegrationApiResponseProcessor;\nvar WebhooksIntegrationApi = /** @class */ (function () {\n function WebhooksIntegrationApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new WebhooksIntegrationApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new WebhooksIntegrationApiResponseProcessor();\n }\n /**\n * Creates an endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.createWebhooksIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createWebhooksIntegration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createWebhooksIntegration(responseContext);\n });\n });\n };\n /**\n * Creates an endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.createWebhooksIntegrationCustomVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createWebhooksIntegrationCustomVariable(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createWebhooksIntegrationCustomVariable(responseContext);\n });\n });\n };\n /**\n * Deletes the endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.deleteWebhooksIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteWebhooksIntegration(param.webhookName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteWebhooksIntegration(responseContext);\n });\n });\n };\n /**\n * Deletes the endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.deleteWebhooksIntegrationCustomVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteWebhooksIntegrationCustomVariable(param.customVariableName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteWebhooksIntegrationCustomVariable(responseContext);\n });\n });\n };\n /**\n * Gets the content of the webhook with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.getWebhooksIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getWebhooksIntegration(param.webhookName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getWebhooksIntegration(responseContext);\n });\n });\n };\n /**\n * Shows the content of the custom variable with the name ``. If the custom variable is secret, the value does not return in the response payload.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.getWebhooksIntegrationCustomVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getWebhooksIntegrationCustomVariable(param.customVariableName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getWebhooksIntegrationCustomVariable(responseContext);\n });\n });\n };\n /**\n * Updates the endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.updateWebhooksIntegration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateWebhooksIntegration(param.webhookName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateWebhooksIntegration(responseContext);\n });\n });\n };\n /**\n * Updates the endpoint with the name ``.\n * @param param The request object\n */\n WebhooksIntegrationApi.prototype.updateWebhooksIntegrationCustomVariable = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateWebhooksIntegrationCustomVariable(param.customVariableName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateWebhooksIntegrationCustomVariable(responseContext);\n });\n });\n };\n return WebhooksIntegrationApi;\n}());\nexports.WebhooksIntegrationApi = WebhooksIntegrationApi;\n//# sourceMappingURL=WebhooksIntegrationApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RequiredError = exports.BaseAPIRequestFactory = exports.COLLECTION_FORMATS = void 0;\n/**\n *\n * @export\n */\nexports.COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n/**\n *\n * @export\n * @class BaseAPI\n */\nvar BaseAPIRequestFactory = /** @class */ (function () {\n function BaseAPIRequestFactory(configuration) {\n this.configuration = configuration;\n }\n return BaseAPIRequestFactory;\n}());\nexports.BaseAPIRequestFactory = BaseAPIRequestFactory;\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nvar RequiredError = /** @class */ (function (_super) {\n __extends(RequiredError, _super);\n function RequiredError(field, msg) {\n var _this = _super.call(this, msg) || this;\n _this.field = field;\n _this.name = \"RequiredError\";\n return _this;\n }\n return RequiredError;\n}(Error));\nexports.RequiredError = RequiredError;\n//# sourceMappingURL=baseapi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiException = void 0;\n/**\n * Represents an error caused by an api call i.e. it has attributes for a HTTP status code\n * and the returned body object.\n *\n * Example\n * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299]\n * => ApiException(404, someErrorMessageObject)\n *\n */\nvar ApiException = /** @class */ (function (_super) {\n __extends(ApiException, _super);\n function ApiException(code, body) {\n var _this = _super.call(this, \"HTTP-Code: \" + code + \"\\nMessage: \" + JSON.stringify(body)) || this;\n _this.code = code;\n _this.body = body;\n return _this;\n }\n return ApiException;\n}(Error));\nexports.ApiException = ApiException;\n//# sourceMappingURL=exception.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.configureAuthMethods = exports.AppKeyAuthQueryAuthentication = exports.AppKeyAuthAuthentication = exports.ApiKeyAuthQueryAuthentication = exports.ApiKeyAuthAuthentication = exports.AuthZAuthentication = void 0;\n/**\n * Applies oauth2 authentication to the request context.\n */\nvar AuthZAuthentication = /** @class */ (function () {\n /**\n * Configures OAuth2 with the necessary properties\n *\n * @param accessToken: The access token to be used for every request\n */\n function AuthZAuthentication(accessToken) {\n this.accessToken = accessToken;\n }\n AuthZAuthentication.prototype.getName = function () {\n return \"AuthZ\";\n };\n AuthZAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"Authorization\", \"Bearer \" + this.accessToken);\n };\n return AuthZAuthentication;\n}());\nexports.AuthZAuthentication = AuthZAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar ApiKeyAuthAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function ApiKeyAuthAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n ApiKeyAuthAuthentication.prototype.getName = function () {\n return \"apiKeyAuth\";\n };\n ApiKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"DD-API-KEY\", this.apiKey);\n };\n return ApiKeyAuthAuthentication;\n}());\nexports.ApiKeyAuthAuthentication = ApiKeyAuthAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar ApiKeyAuthQueryAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function ApiKeyAuthQueryAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n ApiKeyAuthQueryAuthentication.prototype.getName = function () {\n return \"apiKeyAuthQuery\";\n };\n ApiKeyAuthQueryAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setQueryParam(\"api_key\", this.apiKey);\n };\n return ApiKeyAuthQueryAuthentication;\n}());\nexports.ApiKeyAuthQueryAuthentication = ApiKeyAuthQueryAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar AppKeyAuthAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function AppKeyAuthAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n AppKeyAuthAuthentication.prototype.getName = function () {\n return \"appKeyAuth\";\n };\n AppKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"DD-APPLICATION-KEY\", this.apiKey);\n };\n return AppKeyAuthAuthentication;\n}());\nexports.AppKeyAuthAuthentication = AppKeyAuthAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar AppKeyAuthQueryAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function AppKeyAuthQueryAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n AppKeyAuthQueryAuthentication.prototype.getName = function () {\n return \"appKeyAuthQuery\";\n };\n AppKeyAuthQueryAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setQueryParam(\"application_key\", this.apiKey);\n };\n return AppKeyAuthQueryAuthentication;\n}());\nexports.AppKeyAuthQueryAuthentication = AppKeyAuthQueryAuthentication;\n/**\n * Creates the authentication methods from a swagger description.\n *\n */\nfunction configureAuthMethods(config) {\n var authMethods = {};\n if (!config) {\n return authMethods;\n }\n if (config[\"AuthZ\"]) {\n authMethods[\"AuthZ\"] = new AuthZAuthentication(config[\"AuthZ\"][\"accessToken\"]);\n }\n if (config[\"apiKeyAuth\"]) {\n authMethods[\"apiKeyAuth\"] = new ApiKeyAuthAuthentication(config[\"apiKeyAuth\"]);\n }\n if (config[\"apiKeyAuthQuery\"]) {\n authMethods[\"apiKeyAuthQuery\"] = new ApiKeyAuthQueryAuthentication(config[\"apiKeyAuthQuery\"]);\n }\n if (config[\"appKeyAuth\"]) {\n authMethods[\"appKeyAuth\"] = new AppKeyAuthAuthentication(config[\"appKeyAuth\"]);\n }\n if (config[\"appKeyAuthQuery\"]) {\n authMethods[\"appKeyAuthQuery\"] = new AppKeyAuthQueryAuthentication(config[\"appKeyAuthQuery\"]);\n }\n return authMethods;\n}\nexports.configureAuthMethods = configureAuthMethods;\n//# sourceMappingURL=auth.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applySecurityAuthentication = exports.setServerVariables = exports.getServer = exports.createConfiguration = void 0;\nvar isomorphic_fetch_1 = require(\"./http/isomorphic-fetch\");\nvar servers_1 = require(\"./servers\");\nvar auth_1 = require(\"./auth/auth\");\n/**\n * Configuration factory function\n *\n * If a property is not included in conf, a default is used:\n * - baseServer: null\n * - serverIndex: 0\n * - operationServerIndices: {}\n * - httpApi: IsomorphicFetchHttpLibrary\n * - authMethods: {}\n * - httpConfig: {}\n * - debug: false\n *\n * @param conf partial configuration\n */\nfunction createConfiguration(conf) {\n if (conf === void 0) { conf = {}; }\n if (process !== undefined && process.env.DD_SITE) {\n var serverConf = servers_1.server1.getConfiguration();\n servers_1.server1.setVariables({ site: process.env.DD_SITE });\n for (var op in servers_1.operationServers) {\n servers_1.operationServers[op][0].setVariables({ site: process.env.DD_SITE });\n }\n }\n var authMethods = conf.authMethods || {};\n if (!(\"apiKeyAuth\" in authMethods) &&\n process !== undefined &&\n process.env.DD_API_KEY) {\n authMethods[\"apiKeyAuth\"] = process.env.DD_API_KEY;\n }\n if (!(\"appKeyAuth\" in authMethods) &&\n process !== undefined &&\n process.env.DD_APP_KEY) {\n authMethods[\"appKeyAuth\"] = process.env.DD_APP_KEY;\n }\n var configuration = {\n baseServer: conf.baseServer,\n serverIndex: conf.serverIndex || 0,\n operationServerIndices: conf.operationServerIndices || {},\n unstableOperations: {\n createSLOCorrection: false,\n deleteSLOCorrection: false,\n getSLOCorrection: false,\n listSLOCorrection: false,\n updateSLOCorrection: false,\n getSLOCorrections: false,\n getSLOHistory: false,\n getDailyCustomReports: false,\n getHourlyUsageAttribution: false,\n getMonthlyCustomReports: false,\n getMonthlyUsageAttribution: false,\n getSpecifiedDailyCustomReports: false,\n getSpecifiedMonthlyCustomReports: false,\n getUsageAttribution: false,\n },\n httpApi: conf.httpApi || new isomorphic_fetch_1.IsomorphicFetchHttpLibrary(),\n authMethods: (0, auth_1.configureAuthMethods)(authMethods),\n httpConfig: conf.httpConfig || {},\n debug: conf.debug,\n };\n configuration.httpApi.debug = configuration.debug;\n return configuration;\n}\nexports.createConfiguration = createConfiguration;\nfunction getServer(conf, endpoint) {\n if (conf.baseServer !== undefined) {\n return conf.baseServer;\n }\n var index = endpoint in conf.operationServerIndices\n ? conf.operationServerIndices[endpoint]\n : conf.serverIndex;\n return endpoint in servers_1.operationServers\n ? servers_1.operationServers[endpoint][index]\n : servers_1.servers[index];\n}\nexports.getServer = getServer;\n/**\n * Sets the server variables.\n *\n * @param serverVariables key/value object representing the server variables (site, name, protocol, ...)\n */\nfunction setServerVariables(conf, serverVariables) {\n if (conf.baseServer !== undefined) {\n conf.baseServer.setVariables(serverVariables);\n return;\n }\n var index = conf.serverIndex;\n servers_1.servers[index].setVariables(serverVariables);\n for (var op in servers_1.operationServers) {\n servers_1.operationServers[op][0].setVariables(serverVariables);\n }\n}\nexports.setServerVariables = setServerVariables;\n/**\n * Apply given security authentication method if avaiable in configuration.\n */\nfunction applySecurityAuthentication(conf, requestContext, authMethods) {\n for (var _i = 0, authMethods_1 = authMethods; _i < authMethods_1.length; _i++) {\n var authMethodName = authMethods_1[_i];\n var authMethod = conf.authMethods[authMethodName];\n if (authMethod) {\n authMethod.applySecurityAuthentication(requestContext);\n }\n }\n}\nexports.applySecurityAuthentication = applySecurityAuthentication;\n//# sourceMappingURL=configuration.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\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 __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0;\nvar userAgent_1 = require(\"../../../userAgent\");\nvar url_parse_1 = __importDefault(require(\"url-parse\"));\n__exportStar(require(\"./isomorphic-fetch\"), exports);\n/**\n * Represents an HTTP method.\n */\nvar HttpMethod;\n(function (HttpMethod) {\n HttpMethod[\"GET\"] = \"GET\";\n HttpMethod[\"HEAD\"] = \"HEAD\";\n HttpMethod[\"POST\"] = \"POST\";\n HttpMethod[\"PUT\"] = \"PUT\";\n HttpMethod[\"DELETE\"] = \"DELETE\";\n HttpMethod[\"CONNECT\"] = \"CONNECT\";\n HttpMethod[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethod[\"TRACE\"] = \"TRACE\";\n HttpMethod[\"PATCH\"] = \"PATCH\";\n})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));\nvar HttpException = /** @class */ (function (_super) {\n __extends(HttpException, _super);\n function HttpException(msg) {\n return _super.call(this, msg) || this;\n }\n return HttpException;\n}(Error));\nexports.HttpException = HttpException;\n/**\n * Represents an HTTP request context\n */\nvar RequestContext = /** @class */ (function () {\n /**\n * Creates the request context using a http method and request resource url\n *\n * @param url url of the requested resource\n * @param httpMethod http method\n */\n function RequestContext(url, httpMethod) {\n this.httpMethod = httpMethod;\n this.headers = { \"user-agent\": userAgent_1.userAgent };\n this.body = undefined;\n this.httpConfig = {};\n this.url = new url_parse_1.default(url, true);\n }\n /*\n * Returns the url set in the constructor including the query string\n *\n */\n RequestContext.prototype.getUrl = function () {\n return this.url.toString();\n };\n /**\n * Replaces the url set in the constructor with this url.\n *\n */\n RequestContext.prototype.setUrl = function (url) {\n this.url = new url_parse_1.default(url, true);\n };\n /**\n * Sets the body of the http request either as a string or FormData\n *\n * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE\n * request is discouraged.\n * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1\n *\n * @param body the body of the request\n */\n RequestContext.prototype.setBody = function (body) {\n this.body = body;\n };\n RequestContext.prototype.getHttpMethod = function () {\n return this.httpMethod;\n };\n RequestContext.prototype.getHeaders = function () {\n return this.headers;\n };\n RequestContext.prototype.getBody = function () {\n return this.body;\n };\n RequestContext.prototype.setQueryParam = function (name, value) {\n var queryObj = this.url.query;\n queryObj[name] = value;\n this.url.set(\"query\", queryObj);\n };\n /**\n * Sets a cookie with the name and value. NO check for duplicate cookies is performed\n *\n */\n RequestContext.prototype.addCookie = function (name, value) {\n if (!this.headers[\"Cookie\"]) {\n this.headers[\"Cookie\"] = \"\";\n }\n this.headers[\"Cookie\"] += name + \"=\" + value + \"; \";\n };\n RequestContext.prototype.setHeaderParam = function (key, value) {\n this.headers[key] = value;\n };\n RequestContext.prototype.setHttpConfig = function (conf) {\n this.httpConfig = conf;\n };\n RequestContext.prototype.getHttpConfig = function () {\n return this.httpConfig;\n };\n return RequestContext;\n}());\nexports.RequestContext = RequestContext;\n/**\n * Helper class to generate a `ResponseBody` from binary data\n */\nvar SelfDecodingBody = /** @class */ (function () {\n function SelfDecodingBody(dataSource) {\n this.dataSource = dataSource;\n }\n SelfDecodingBody.prototype.binary = function () {\n return this.dataSource;\n };\n SelfDecodingBody.prototype.text = function () {\n return __awaiter(this, void 0, void 0, function () {\n var data;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.dataSource];\n case 1:\n data = _a.sent();\n return [2 /*return*/, data.toString()];\n }\n });\n });\n };\n return SelfDecodingBody;\n}());\nexports.SelfDecodingBody = SelfDecodingBody;\nvar ResponseContext = /** @class */ (function () {\n function ResponseContext(httpStatusCode, headers, body) {\n this.httpStatusCode = httpStatusCode;\n this.headers = headers;\n this.body = body;\n }\n /**\n * Parse header value in the form `value; param1=\"value1\"`\n *\n * E.g. for Content-Type or Content-Disposition\n * Parameter names are converted to lower case\n * The first parameter is returned with the key `\"\"`\n */\n ResponseContext.prototype.getParsedHeader = function (headerName) {\n var result = {};\n if (!this.headers[headerName]) {\n return result;\n }\n var parameters = this.headers[headerName].split(\";\");\n for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) {\n var parameter = parameters_1[_i];\n var _a = parameter.split(\"=\", 2), key = _a[0], value = _a[1];\n key = key.toLowerCase().trim();\n if (value === undefined) {\n result[\"\"] = key;\n }\n else {\n value = value.trim();\n if (value.startsWith('\"') && value.endsWith('\"')) {\n value = value.substring(1, value.length - 1);\n }\n result[key] = value;\n }\n }\n return result;\n };\n ResponseContext.prototype.getBodyAsFile = function () {\n return __awaiter(this, void 0, void 0, function () {\n var data, fileName;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.body.binary()];\n case 1:\n data = _a.sent();\n fileName = this.getParsedHeader(\"content-disposition\")[\"filename\"] || \"\";\n return [2 /*return*/, { data: data, name: fileName }];\n }\n });\n });\n };\n return ResponseContext;\n}());\nexports.ResponseContext = ResponseContext;\n//# sourceMappingURL=http.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 });\nexports.IsomorphicFetchHttpLibrary = void 0;\nvar http_1 = require(\"./http\");\nvar cross_fetch_1 = __importDefault(require(\"cross-fetch\"));\nvar pako_1 = __importDefault(require(\"pako\"));\nvar buffer_from_1 = __importDefault(require(\"buffer-from\"));\nvar IsomorphicFetchHttpLibrary = /** @class */ (function () {\n function IsomorphicFetchHttpLibrary() {\n this.debug = false;\n }\n IsomorphicFetchHttpLibrary.prototype.send = function (request) {\n var _this = this;\n if (this.debug) {\n this.logRequest(request);\n }\n var method = request.getHttpMethod().toString();\n var body = request.getBody();\n var compress = request.getHttpConfig().compress;\n if (compress === undefined) {\n compress = true;\n }\n var headers = request.getHeaders();\n if (typeof body === \"string\") {\n if (headers[\"Content-Encoding\"] == \"gzip\") {\n body = (0, buffer_from_1.default)(pako_1.default.gzip(body).buffer);\n }\n else if (headers[\"Content-Encoding\"] == \"deflate\") {\n body = (0, buffer_from_1.default)(pako_1.default.deflate(body).buffer);\n }\n }\n if (!headers[\"Accept-Encoding\"]) {\n if (compress) {\n headers[\"Accept-Encoding\"] = \"gzip,deflate\";\n }\n else {\n // We need to enforce it otherwise node-fetch will set a default\n headers[\"Accept-Encoding\"] = \"identity\";\n }\n }\n var resultPromise = (0, cross_fetch_1.default)(request.getUrl(), {\n method: method,\n body: body,\n headers: headers,\n signal: request.getHttpConfig().signal,\n }).then(function (resp) {\n var headers = {};\n resp.headers.forEach(function (value, name) {\n headers[name] = value;\n });\n var body = {\n text: function () { return resp.text(); },\n binary: function () { return resp.buffer(); },\n };\n var response = new http_1.ResponseContext(resp.status, headers, body);\n if (_this.debug) {\n _this.logResponse(response);\n }\n return response;\n });\n return resultPromise;\n };\n IsomorphicFetchHttpLibrary.prototype.logRequest = function (request) {\n var headers = request.getHeaders();\n if (headers[\"DD-API-KEY\"]) {\n headers[\"DD-API-KEY\"] = headers[\"DD-API-KEY\"].replace(/./g, \"x\");\n }\n if (headers[\"DD-APPLICATION-KEY\"]) {\n headers[\"DD-APPLICATION-KEY\"] = headers[\"DD-APPLICATION-KEY\"].replace(/./g, \"x\");\n }\n var headersJSON = JSON.stringify(headers, null, 2).replace(/\\n/g, \"\\n\\t\");\n var method = request.getHttpMethod().toString();\n var url = request.getUrl().toString();\n var body = request.getBody()\n ? JSON.stringify(request.getBody(), null, 2).replace(/\\n/g, \"\\n\\t\")\n : \"\";\n var compress = request.getHttpConfig().compress || true;\n console.debug(\"\\nrequest: {\\n\", \"\\turl: \".concat(url, \"\\n\"), \"\\tmethod: \".concat(method, \"\\n\"), \"\\theaders: \".concat(headersJSON, \"\\n\"), \"\\tcompress: \".concat(compress, \"\\n\"), \"\\tbody: \".concat(body, \"\\n}\\n\"));\n };\n IsomorphicFetchHttpLibrary.prototype.logResponse = function (response) {\n var httpStatusCode = response.httpStatusCode;\n var headers = JSON.stringify(response.headers, null, 2).replace(/\\n/g, \"\\n\\t\");\n var body = response.body\n ? JSON.stringify(response.body, null, 2).replace(/\\n/g, \"\\n\\t\")\n : \"\";\n console.debug(\"response: {\\n\", \"\\tstatus: \".concat(httpStatusCode, \"\\n\"), \"\\theaders: \".concat(headers, \"\\n\"), \"\\tbody: \".concat(body, \"\\n}\\n\"));\n };\n return IsomorphicFetchHttpLibrary;\n}());\nexports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary;\n//# sourceMappingURL=isomorphic-fetch.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 __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AlertValueWidgetDefinition = exports.AlertGraphWidgetDefinition = exports.AWSTagFilterListResponse = exports.AWSTagFilterDeleteRequest = exports.AWSTagFilterCreateRequest = exports.AWSTagFilter = exports.AWSLogsServicesRequest = exports.AWSLogsListServicesResponse = exports.AWSLogsListResponse = exports.AWSLogsLambda = exports.AWSLogsAsyncResponse = exports.AWSLogsAsyncError = exports.AWSAccountListResponse = exports.AWSAccountDeleteRequest = exports.AWSAccountCreateResponse = exports.AWSAccountAndLambdaRequest = exports.AWSAccount = exports.APIErrorResponse = exports.WebhooksIntegrationApi = exports.UsersApi = exports.UsageMeteringApi = exports.TagsApi = exports.SyntheticsApi = exports.SnapshotsApi = exports.SlackIntegrationApi = exports.ServiceLevelObjectivesApi = exports.ServiceLevelObjectiveCorrectionsApi = exports.ServiceChecksApi = exports.PagerDutyIntegrationApi = exports.OrganizationsApi = exports.NotebooksApi = exports.MonitorsApi = exports.MetricsApi = exports.LogsPipelinesApi = exports.LogsIndexesApi = exports.LogsApi = exports.KeyManagementApi = exports.IPRangesApi = exports.HostsApi = exports.GCPIntegrationApi = exports.EventsApi = exports.DowntimesApi = exports.DashboardsApi = exports.DashboardListsApi = exports.AzureIntegrationApi = exports.AuthenticationApi = exports.AWSLogsIntegrationApi = exports.AWSIntegrationApi = exports.setServerVariables = exports.createConfiguration = void 0;\nexports.FormulaAndFunctionApmDependencyStatsQueryDefinition = exports.EventTimelineWidgetDefinition = exports.EventStreamWidgetDefinition = exports.EventResponse = exports.EventQueryDefinition = exports.EventListResponse = exports.EventCreateResponse = exports.EventCreateRequest = exports.Event = exports.DowntimeRecurrence = exports.DowntimeChild = exports.Downtime = exports.DistributionWidgetYAxis = exports.DistributionWidgetXAxis = exports.DistributionWidgetRequest = exports.DistributionWidgetDefinition = exports.DeletedMonitor = exports.DashboardTemplateVariablePresetValue = exports.DashboardTemplateVariablePreset = exports.DashboardTemplateVariable = exports.DashboardSummaryDefinition = exports.DashboardSummary = exports.DashboardRestoreRequest = exports.DashboardListListResponse = exports.DashboardListDeleteResponse = exports.DashboardList = exports.DashboardDeleteResponse = exports.DashboardBulkDeleteRequest = exports.DashboardBulkActionData = exports.Dashboard = exports.Creator = exports.CheckStatusWidgetDefinition = exports.CheckCanDeleteSLOResponseData = exports.CheckCanDeleteSLOResponse = exports.CheckCanDeleteMonitorResponseData = exports.CheckCanDeleteMonitorResponse = exports.ChangeWidgetRequest = exports.ChangeWidgetDefinition = exports.CanceledDowntimesIds = exports.CancelDowntimesByScopeRequest = exports.AzureAccount = exports.AuthenticationValidationResponse = exports.ApplicationKeyResponse = exports.ApplicationKeyListResponse = exports.ApplicationKey = exports.ApmStatsQueryDefinition = exports.ApmStatsQueryColumnType = exports.ApiKeyResponse = exports.ApiKeyListResponse = exports.ApiKey = void 0;\nexports.IPRanges = exports.IPPrefixesWebhooks = exports.IPPrefixesSynthetics = exports.IPPrefixesProcess = exports.IPPrefixesLogs = exports.IPPrefixesAgents = exports.IPPrefixesAPM = exports.IPPrefixesAPI = exports.IFrameWidgetDefinition = exports.HourlyUsageAttributionResponse = exports.HourlyUsageAttributionPagination = exports.HourlyUsageAttributionMetadata = exports.HourlyUsageAttributionBody = exports.HostTotals = exports.HostTags = exports.HostMuteSettings = exports.HostMuteResponse = exports.HostMetrics = exports.HostMetaInstallMethod = exports.HostMeta = exports.HostMapWidgetDefinitionStyle = exports.HostMapWidgetDefinitionRequests = exports.HostMapWidgetDefinition = exports.HostMapRequest = exports.HostListResponse = exports.Host = exports.HeatMapWidgetRequest = exports.HeatMapWidgetDefinition = exports.HTTPLogItem = exports.HTTPLogError = exports.GroupWidgetDefinition = exports.GraphSnapshot = exports.GeomapWidgetRequest = exports.GeomapWidgetDefinitionView = exports.GeomapWidgetDefinitionStyle = exports.GeomapWidgetDefinition = exports.GCPAccount = exports.FunnelWidgetRequest = exports.FunnelWidgetDefinition = exports.FunnelStep = exports.FunnelQuery = exports.FreeTextWidgetDefinition = exports.FormulaAndFunctionProcessQueryDefinition = exports.FormulaAndFunctionMetricQueryDefinition = exports.FormulaAndFunctionEventQueryGroupBySort = exports.FormulaAndFunctionEventQueryGroupBy = exports.FormulaAndFunctionEventQueryDefinitionSearch = exports.FormulaAndFunctionEventQueryDefinitionCompute = exports.FormulaAndFunctionEventQueryDefinition = exports.FormulaAndFunctionApmResourceStatsQueryDefinition = void 0;\nexports.LogsStringBuilderProcessor = exports.LogsStatusRemapper = exports.LogsServiceRemapper = exports.LogsRetentionSumUsage = exports.LogsRetentionAggSumUsage = exports.LogsQueryCompute = exports.LogsPipelinesOrder = exports.LogsPipelineProcessor = exports.LogsPipeline = exports.LogsMessageRemapper = exports.LogsLookupProcessor = exports.LogsListResponse = exports.LogsListRequestTime = exports.LogsListRequest = exports.LogsIndexesOrder = exports.LogsIndexUpdateRequest = exports.LogsIndexListResponse = exports.LogsIndex = exports.LogsGrokParserRules = exports.LogsGrokParser = exports.LogsGeoIPParser = exports.LogsFilter = exports.LogsExclusionFilter = exports.LogsExclusion = exports.LogsDateRemapper = exports.LogsCategoryProcessorCategory = exports.LogsCategoryProcessor = exports.LogsByRetentionOrgs = exports.LogsByRetentionOrgUsage = exports.LogsByRetentionMonthlyUsage = exports.LogsByRetention = exports.LogsAttributeRemapper = exports.LogsArithmeticProcessor = exports.LogsAPIErrorResponse = exports.LogsAPIError = exports.LogStreamWidgetDefinition = exports.LogQueryDefinitionSearch = exports.LogQueryDefinitionGroupBySort = exports.LogQueryDefinitionGroupBy = exports.LogQueryDefinition = exports.LogContent = exports.Log = exports.ListStreamWidgetRequest = exports.ListStreamWidgetDefinition = exports.ListStreamQuery = exports.ListStreamColumn = exports.IntakePayloadAccepted = exports.ImageWidgetDefinition = exports.IdpResponse = exports.IdpFormData = void 0;\nexports.NotebookLogStreamCellAttributes = exports.NotebookHeatMapCellAttributes = exports.NotebookDistributionCellAttributes = exports.NotebookCreateRequest = exports.NotebookCreateDataAttributes = exports.NotebookCreateData = exports.NotebookCellUpdateRequest = exports.NotebookCellResponse = exports.NotebookCellCreateRequest = exports.NotebookAuthor = exports.NotebookAbsoluteTime = exports.NoteWidgetDefinition = exports.MonthlyUsageAttributionValues = exports.MonthlyUsageAttributionResponse = exports.MonthlyUsageAttributionPagination = exports.MonthlyUsageAttributionMetadata = exports.MonthlyUsageAttributionBody = exports.MonitorUpdateRequest = exports.MonitorThresholds = exports.MonitorThresholdWindowOptions = exports.MonitorSummaryWidgetDefinition = exports.MonitorStateGroup = exports.MonitorState = exports.MonitorSearchResultNotification = exports.MonitorSearchResult = exports.MonitorSearchResponseMetadata = exports.MonitorSearchResponseCounts = exports.MonitorSearchResponse = exports.MonitorOptionsAggregation = exports.MonitorOptions = exports.MonitorGroupSearchResult = exports.MonitorGroupSearchResponseCounts = exports.MonitorGroupSearchResponse = exports.MonitorFormulaAndFunctionEventQueryGroupBySort = exports.MonitorFormulaAndFunctionEventQueryGroupBy = exports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = exports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = exports.MonitorFormulaAndFunctionEventQueryDefinition = exports.Monitor = exports.MetricsQueryUnit = exports.MetricsQueryResponse = exports.MetricsQueryMetadata = exports.MetricsPayload = exports.MetricsListResponse = exports.MetricSearchResponseResults = exports.MetricSearchResponse = exports.MetricMetadata = exports.LogsUserAgentParser = exports.LogsURLParser = exports.LogsTraceRemapper = void 0;\nexports.SLOCorrectionUpdateData = exports.SLOCorrectionResponseAttributesModifier = exports.SLOCorrectionResponseAttributes = exports.SLOCorrectionResponse = exports.SLOCorrectionListResponse = exports.SLOCorrectionCreateRequestAttributes = exports.SLOCorrectionCreateRequest = exports.SLOCorrectionCreateData = exports.SLOCorrection = exports.SLOBulkDeleteResponseData = exports.SLOBulkDeleteResponse = exports.SLOBulkDeleteError = exports.ResponseMetaAttributes = exports.QueryValueWidgetRequest = exports.QueryValueWidgetDefinition = exports.ProcessQueryDefinition = exports.Pagination = exports.PagerDutyServiceName = exports.PagerDutyServiceKey = exports.PagerDutyService = exports.OrganizationSubscription = exports.OrganizationSettingsSamlStrictMode = exports.OrganizationSettingsSamlIdpInitiatedLogin = exports.OrganizationSettingsSamlAutocreateUsersDomains = exports.OrganizationSettingsSaml = exports.OrganizationSettings = exports.OrganizationResponse = exports.OrganizationListResponse = exports.OrganizationCreateResponse = exports.OrganizationCreateBody = exports.OrganizationBilling = exports.Organization = exports.NotebooksResponsePage = exports.NotebooksResponseMeta = exports.NotebooksResponseDataAttributes = exports.NotebooksResponseData = exports.NotebooksResponse = exports.NotebookUpdateRequest = exports.NotebookUpdateDataAttributes = exports.NotebookUpdateData = exports.NotebookToplistCellAttributes = exports.NotebookTimeseriesCellAttributes = exports.NotebookSplitBy = exports.NotebookResponseDataAttributes = exports.NotebookResponseData = exports.NotebookResponse = exports.NotebookRelativeTime = exports.NotebookMetadata = exports.NotebookMarkdownCellDefinition = exports.NotebookMarkdownCellAttributes = void 0;\nexports.SyntheticsAssertionTarget = exports.SyntheticsAssertionJSONPathTargetTarget = exports.SyntheticsAssertionJSONPathTarget = exports.SyntheticsApiTestResultFailure = exports.SyntheticsAPITestResultShortResult = exports.SyntheticsAPITestResultShort = exports.SyntheticsAPITestResultFullCheck = exports.SyntheticsAPITestResultFull = exports.SyntheticsAPITestResultData = exports.SyntheticsAPITestConfig = exports.SyntheticsAPITest = exports.SyntheticsAPIStep = exports.SunburstWidgetRequest = exports.SunburstWidgetLegendTable = exports.SunburstWidgetLegendInlineAutomatic = exports.SunburstWidgetDefinition = exports.SlackIntegrationChannelDisplay = exports.SlackIntegrationChannel = exports.ServiceSummaryWidgetDefinition = exports.ServiceMapWidgetDefinition = exports.ServiceLevelObjectiveRequest = exports.ServiceLevelObjectiveQuery = exports.ServiceLevelObjective = exports.ServiceCheck = exports.Series = exports.ScatterplotWidgetFormula = exports.ScatterplotTableRequest = exports.ScatterPlotWidgetDefinitionRequests = exports.ScatterPlotWidgetDefinition = exports.ScatterPlotRequest = exports.SLOWidgetDefinition = exports.SLOThreshold = exports.SLOResponseData = exports.SLOResponse = exports.SLOListResponseMetadataPage = exports.SLOListResponseMetadata = exports.SLOListResponse = exports.SLOHistorySLIData = exports.SLOHistoryResponseErrorWithType = exports.SLOHistoryResponseError = exports.SLOHistoryResponseData = exports.SLOHistoryResponse = exports.SLOHistoryMonitor = exports.SLOHistoryMetricsSeriesMetadataUnit = exports.SLOHistoryMetricsSeriesMetadata = exports.SLOHistoryMetricsSeries = exports.SLOHistoryMetrics = exports.SLODeleteResponse = exports.SLOCorrectionUpdateRequestAttributes = exports.SLOCorrectionUpdateRequest = void 0;\nexports.SyntheticsStep = exports.SyntheticsSSLCertificateSubject = exports.SyntheticsSSLCertificateIssuer = exports.SyntheticsSSLCertificate = exports.SyntheticsPrivateLocationSecretsConfigDecryption = exports.SyntheticsPrivateLocationSecretsAuthentication = exports.SyntheticsPrivateLocationSecrets = exports.SyntheticsPrivateLocationCreationResponseResultEncryption = exports.SyntheticsPrivateLocationCreationResponse = exports.SyntheticsPrivateLocation = exports.SyntheticsParsingOptions = exports.SyntheticsLocations = exports.SyntheticsLocation = exports.SyntheticsListTestsResponse = exports.SyntheticsListGlobalVariablesResponse = exports.SyntheticsGlobalVariableValue = exports.SyntheticsGlobalVariableParseTestOptions = exports.SyntheticsGlobalVariableAttributes = exports.SyntheticsGlobalVariable = exports.SyntheticsGetBrowserTestLatestResultsResponse = exports.SyntheticsGetAPITestLatestResultsResponse = exports.SyntheticsDevice = exports.SyntheticsDeletedTest = exports.SyntheticsDeleteTestsResponse = exports.SyntheticsDeleteTestsPayload = exports.SyntheticsCoreWebVitals = exports.SyntheticsConfigVariable = exports.SyntheticsCITestBody = exports.SyntheticsCITest = exports.SyntheticsCIBatchMetadataProvider = exports.SyntheticsCIBatchMetadataPipeline = exports.SyntheticsCIBatchMetadataGit = exports.SyntheticsCIBatchMetadataCI = exports.SyntheticsCIBatchMetadata = exports.SyntheticsBrowserVariable = exports.SyntheticsBrowserTestResultShortResult = exports.SyntheticsBrowserTestResultShort = exports.SyntheticsBrowserTestResultFullCheck = exports.SyntheticsBrowserTestResultFull = exports.SyntheticsBrowserTestResultFailure = exports.SyntheticsBrowserTestResultData = exports.SyntheticsBrowserTestConfig = exports.SyntheticsBrowserTest = exports.SyntheticsBrowserError = exports.SyntheticsBatchResult = exports.SyntheticsBatchDetailsData = exports.SyntheticsBatchDetails = exports.SyntheticsBasicAuthWeb = exports.SyntheticsBasicAuthSigv4 = exports.SyntheticsBasicAuthNTLM = void 0;\nexports.UsageCustomReportsMeta = exports.UsageCustomReportsData = exports.UsageCustomReportsAttributes = exports.UsageCloudSecurityPostureManagementResponse = exports.UsageCloudSecurityPostureManagementHour = exports.UsageCWSResponse = exports.UsageCWSHour = exports.UsageBillableSummaryResponse = exports.UsageBillableSummaryKeys = exports.UsageBillableSummaryHour = exports.UsageBillableSummaryBody = exports.UsageAuditLogsResponse = exports.UsageAuditLogsHour = exports.UsageAttributionValues = exports.UsageAttributionResponse = exports.UsageAttributionPagination = exports.UsageAttributionMetadata = exports.UsageAttributionBody = exports.UsageAttributionAggregatesBody = exports.UsageAnalyzedLogsResponse = exports.UsageAnalyzedLogsHour = exports.TreeMapWidgetRequest = exports.TreeMapWidgetDefinition = exports.ToplistWidgetRequest = exports.ToplistWidgetDefinition = exports.TimeseriesWidgetRequest = exports.TimeseriesWidgetExpressionAlias = exports.TimeseriesWidgetDefinition = exports.TagToHosts = exports.TableWidgetRequest = exports.TableWidgetDefinition = exports.SyntheticsVariableParser = exports.SyntheticsUpdateTestPauseStatusPayload = exports.SyntheticsTriggerTest = exports.SyntheticsTriggerCITestsResponse = exports.SyntheticsTriggerCITestRunResult = exports.SyntheticsTriggerCITestLocation = exports.SyntheticsTriggerBody = exports.SyntheticsTiming = exports.SyntheticsTestRequestProxy = exports.SyntheticsTestRequestCertificateItem = exports.SyntheticsTestRequestCertificate = exports.SyntheticsTestRequest = exports.SyntheticsTestOptionsRetry = exports.SyntheticsTestOptionsMonitorOptions = exports.SyntheticsTestOptions = exports.SyntheticsTestDetails = exports.SyntheticsTestConfig = exports.SyntheticsStepDetailWarning = exports.SyntheticsStepDetail = void 0;\nexports.UsageSyntheticsBrowserResponse = exports.UsageSyntheticsBrowserHour = exports.UsageSyntheticsAPIResponse = exports.UsageSyntheticsAPIHour = exports.UsageSummaryResponse = exports.UsageSummaryDateOrg = exports.UsageSummaryDate = exports.UsageSpecifiedCustomReportsResponse = exports.UsageSpecifiedCustomReportsPage = exports.UsageSpecifiedCustomReportsMeta = exports.UsageSpecifiedCustomReportsData = exports.UsageSpecifiedCustomReportsAttributes = exports.UsageSNMPResponse = exports.UsageSNMPHour = exports.UsageSDSResponse = exports.UsageSDSHour = exports.UsageRumUnitsResponse = exports.UsageRumUnitsHour = exports.UsageRumSessionsResponse = exports.UsageRumSessionsHour = exports.UsageProfilingResponse = exports.UsageProfilingHour = exports.UsageNetworkHostsResponse = exports.UsageNetworkHostsHour = exports.UsageNetworkFlowsResponse = exports.UsageNetworkFlowsHour = exports.UsageLogsResponse = exports.UsageLogsHour = exports.UsageLogsByRetentionResponse = exports.UsageLogsByRetentionHour = exports.UsageLogsByIndexResponse = exports.UsageLogsByIndexHour = exports.UsageLambdaResponse = exports.UsageLambdaHour = exports.UsageIoTResponse = exports.UsageIoTHour = exports.UsageIngestedSpansResponse = exports.UsageIngestedSpansHour = exports.UsageIndexedSpansResponse = exports.UsageIndexedSpansHour = exports.UsageIncidentManagementResponse = exports.UsageIncidentManagementHour = exports.UsageHostsResponse = exports.UsageHostHour = exports.UsageFargateResponse = exports.UsageFargateHour = exports.UsageDBMResponse = exports.UsageDBMHour = exports.UsageCustomReportsResponse = exports.UsageCustomReportsPage = void 0;\nexports.WidgetTime = exports.WidgetStyle = exports.WidgetRequestStyle = exports.WidgetMarker = exports.WidgetLayout = exports.WidgetFormulaLimit = exports.WidgetFormula = exports.WidgetFieldSort = exports.WidgetEvent = exports.WidgetCustomLink = exports.WidgetConditionalFormat = exports.WidgetAxis = exports.Widget = exports.WebhooksIntegrationUpdateRequest = exports.WebhooksIntegrationCustomVariableUpdateRequest = exports.WebhooksIntegrationCustomVariableResponse = exports.WebhooksIntegrationCustomVariable = exports.WebhooksIntegration = exports.UserResponse = exports.UserListResponse = exports.UserDisableResponse = exports.User = exports.UsageTopAvgMetricsResponse = exports.UsageTopAvgMetricsMetadata = exports.UsageTopAvgMetricsHour = exports.UsageTimeseriesResponse = exports.UsageTimeseriesHour = exports.UsageSyntheticsResponse = exports.UsageSyntheticsHour = void 0;\n__exportStar(require(\"./http/http\"), exports);\n__exportStar(require(\"./auth/auth\"), exports);\nvar configuration_1 = require(\"./configuration\");\nObject.defineProperty(exports, \"createConfiguration\", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });\nvar configuration_2 = require(\"./configuration\");\nObject.defineProperty(exports, \"setServerVariables\", { enumerable: true, get: function () { return configuration_2.setServerVariables; } });\n__exportStar(require(\"./apis/exception\"), exports);\n__exportStar(require(\"./servers\"), exports);\nvar AWSIntegrationApi_1 = require(\"./apis/AWSIntegrationApi\");\nObject.defineProperty(exports, \"AWSIntegrationApi\", { enumerable: true, get: function () { return AWSIntegrationApi_1.AWSIntegrationApi; } });\nvar AWSLogsIntegrationApi_1 = require(\"./apis/AWSLogsIntegrationApi\");\nObject.defineProperty(exports, \"AWSLogsIntegrationApi\", { enumerable: true, get: function () { return AWSLogsIntegrationApi_1.AWSLogsIntegrationApi; } });\nvar AuthenticationApi_1 = require(\"./apis/AuthenticationApi\");\nObject.defineProperty(exports, \"AuthenticationApi\", { enumerable: true, get: function () { return AuthenticationApi_1.AuthenticationApi; } });\nvar AzureIntegrationApi_1 = require(\"./apis/AzureIntegrationApi\");\nObject.defineProperty(exports, \"AzureIntegrationApi\", { enumerable: true, get: function () { return AzureIntegrationApi_1.AzureIntegrationApi; } });\nvar DashboardListsApi_1 = require(\"./apis/DashboardListsApi\");\nObject.defineProperty(exports, \"DashboardListsApi\", { enumerable: true, get: function () { return DashboardListsApi_1.DashboardListsApi; } });\nvar DashboardsApi_1 = require(\"./apis/DashboardsApi\");\nObject.defineProperty(exports, \"DashboardsApi\", { enumerable: true, get: function () { return DashboardsApi_1.DashboardsApi; } });\nvar DowntimesApi_1 = require(\"./apis/DowntimesApi\");\nObject.defineProperty(exports, \"DowntimesApi\", { enumerable: true, get: function () { return DowntimesApi_1.DowntimesApi; } });\nvar EventsApi_1 = require(\"./apis/EventsApi\");\nObject.defineProperty(exports, \"EventsApi\", { enumerable: true, get: function () { return EventsApi_1.EventsApi; } });\nvar GCPIntegrationApi_1 = require(\"./apis/GCPIntegrationApi\");\nObject.defineProperty(exports, \"GCPIntegrationApi\", { enumerable: true, get: function () { return GCPIntegrationApi_1.GCPIntegrationApi; } });\nvar HostsApi_1 = require(\"./apis/HostsApi\");\nObject.defineProperty(exports, \"HostsApi\", { enumerable: true, get: function () { return HostsApi_1.HostsApi; } });\nvar IPRangesApi_1 = require(\"./apis/IPRangesApi\");\nObject.defineProperty(exports, \"IPRangesApi\", { enumerable: true, get: function () { return IPRangesApi_1.IPRangesApi; } });\nvar KeyManagementApi_1 = require(\"./apis/KeyManagementApi\");\nObject.defineProperty(exports, \"KeyManagementApi\", { enumerable: true, get: function () { return KeyManagementApi_1.KeyManagementApi; } });\nvar LogsApi_1 = require(\"./apis/LogsApi\");\nObject.defineProperty(exports, \"LogsApi\", { enumerable: true, get: function () { return LogsApi_1.LogsApi; } });\nvar LogsIndexesApi_1 = require(\"./apis/LogsIndexesApi\");\nObject.defineProperty(exports, \"LogsIndexesApi\", { enumerable: true, get: function () { return LogsIndexesApi_1.LogsIndexesApi; } });\nvar LogsPipelinesApi_1 = require(\"./apis/LogsPipelinesApi\");\nObject.defineProperty(exports, \"LogsPipelinesApi\", { enumerable: true, get: function () { return LogsPipelinesApi_1.LogsPipelinesApi; } });\nvar MetricsApi_1 = require(\"./apis/MetricsApi\");\nObject.defineProperty(exports, \"MetricsApi\", { enumerable: true, get: function () { return MetricsApi_1.MetricsApi; } });\nvar MonitorsApi_1 = require(\"./apis/MonitorsApi\");\nObject.defineProperty(exports, \"MonitorsApi\", { enumerable: true, get: function () { return MonitorsApi_1.MonitorsApi; } });\nvar NotebooksApi_1 = require(\"./apis/NotebooksApi\");\nObject.defineProperty(exports, \"NotebooksApi\", { enumerable: true, get: function () { return NotebooksApi_1.NotebooksApi; } });\nvar OrganizationsApi_1 = require(\"./apis/OrganizationsApi\");\nObject.defineProperty(exports, \"OrganizationsApi\", { enumerable: true, get: function () { return OrganizationsApi_1.OrganizationsApi; } });\nvar PagerDutyIntegrationApi_1 = require(\"./apis/PagerDutyIntegrationApi\");\nObject.defineProperty(exports, \"PagerDutyIntegrationApi\", { enumerable: true, get: function () { return PagerDutyIntegrationApi_1.PagerDutyIntegrationApi; } });\nvar ServiceChecksApi_1 = require(\"./apis/ServiceChecksApi\");\nObject.defineProperty(exports, \"ServiceChecksApi\", { enumerable: true, get: function () { return ServiceChecksApi_1.ServiceChecksApi; } });\nvar ServiceLevelObjectiveCorrectionsApi_1 = require(\"./apis/ServiceLevelObjectiveCorrectionsApi\");\nObject.defineProperty(exports, \"ServiceLevelObjectiveCorrectionsApi\", { enumerable: true, get: function () { return ServiceLevelObjectiveCorrectionsApi_1.ServiceLevelObjectiveCorrectionsApi; } });\nvar ServiceLevelObjectivesApi_1 = require(\"./apis/ServiceLevelObjectivesApi\");\nObject.defineProperty(exports, \"ServiceLevelObjectivesApi\", { enumerable: true, get: function () { return ServiceLevelObjectivesApi_1.ServiceLevelObjectivesApi; } });\nvar SlackIntegrationApi_1 = require(\"./apis/SlackIntegrationApi\");\nObject.defineProperty(exports, \"SlackIntegrationApi\", { enumerable: true, get: function () { return SlackIntegrationApi_1.SlackIntegrationApi; } });\nvar SnapshotsApi_1 = require(\"./apis/SnapshotsApi\");\nObject.defineProperty(exports, \"SnapshotsApi\", { enumerable: true, get: function () { return SnapshotsApi_1.SnapshotsApi; } });\nvar SyntheticsApi_1 = require(\"./apis/SyntheticsApi\");\nObject.defineProperty(exports, \"SyntheticsApi\", { enumerable: true, get: function () { return SyntheticsApi_1.SyntheticsApi; } });\nvar TagsApi_1 = require(\"./apis/TagsApi\");\nObject.defineProperty(exports, \"TagsApi\", { enumerable: true, get: function () { return TagsApi_1.TagsApi; } });\nvar UsageMeteringApi_1 = require(\"./apis/UsageMeteringApi\");\nObject.defineProperty(exports, \"UsageMeteringApi\", { enumerable: true, get: function () { return UsageMeteringApi_1.UsageMeteringApi; } });\nvar UsersApi_1 = require(\"./apis/UsersApi\");\nObject.defineProperty(exports, \"UsersApi\", { enumerable: true, get: function () { return UsersApi_1.UsersApi; } });\nvar WebhooksIntegrationApi_1 = require(\"./apis/WebhooksIntegrationApi\");\nObject.defineProperty(exports, \"WebhooksIntegrationApi\", { enumerable: true, get: function () { return WebhooksIntegrationApi_1.WebhooksIntegrationApi; } });\nvar APIErrorResponse_1 = require(\"./models/APIErrorResponse\");\nObject.defineProperty(exports, \"APIErrorResponse\", { enumerable: true, get: function () { return APIErrorResponse_1.APIErrorResponse; } });\nvar AWSAccount_1 = require(\"./models/AWSAccount\");\nObject.defineProperty(exports, \"AWSAccount\", { enumerable: true, get: function () { return AWSAccount_1.AWSAccount; } });\nvar AWSAccountAndLambdaRequest_1 = require(\"./models/AWSAccountAndLambdaRequest\");\nObject.defineProperty(exports, \"AWSAccountAndLambdaRequest\", { enumerable: true, get: function () { return AWSAccountAndLambdaRequest_1.AWSAccountAndLambdaRequest; } });\nvar AWSAccountCreateResponse_1 = require(\"./models/AWSAccountCreateResponse\");\nObject.defineProperty(exports, \"AWSAccountCreateResponse\", { enumerable: true, get: function () { return AWSAccountCreateResponse_1.AWSAccountCreateResponse; } });\nvar AWSAccountDeleteRequest_1 = require(\"./models/AWSAccountDeleteRequest\");\nObject.defineProperty(exports, \"AWSAccountDeleteRequest\", { enumerable: true, get: function () { return AWSAccountDeleteRequest_1.AWSAccountDeleteRequest; } });\nvar AWSAccountListResponse_1 = require(\"./models/AWSAccountListResponse\");\nObject.defineProperty(exports, \"AWSAccountListResponse\", { enumerable: true, get: function () { return AWSAccountListResponse_1.AWSAccountListResponse; } });\nvar AWSLogsAsyncError_1 = require(\"./models/AWSLogsAsyncError\");\nObject.defineProperty(exports, \"AWSLogsAsyncError\", { enumerable: true, get: function () { return AWSLogsAsyncError_1.AWSLogsAsyncError; } });\nvar AWSLogsAsyncResponse_1 = require(\"./models/AWSLogsAsyncResponse\");\nObject.defineProperty(exports, \"AWSLogsAsyncResponse\", { enumerable: true, get: function () { return AWSLogsAsyncResponse_1.AWSLogsAsyncResponse; } });\nvar AWSLogsLambda_1 = require(\"./models/AWSLogsLambda\");\nObject.defineProperty(exports, \"AWSLogsLambda\", { enumerable: true, get: function () { return AWSLogsLambda_1.AWSLogsLambda; } });\nvar AWSLogsListResponse_1 = require(\"./models/AWSLogsListResponse\");\nObject.defineProperty(exports, \"AWSLogsListResponse\", { enumerable: true, get: function () { return AWSLogsListResponse_1.AWSLogsListResponse; } });\nvar AWSLogsListServicesResponse_1 = require(\"./models/AWSLogsListServicesResponse\");\nObject.defineProperty(exports, \"AWSLogsListServicesResponse\", { enumerable: true, get: function () { return AWSLogsListServicesResponse_1.AWSLogsListServicesResponse; } });\nvar AWSLogsServicesRequest_1 = require(\"./models/AWSLogsServicesRequest\");\nObject.defineProperty(exports, \"AWSLogsServicesRequest\", { enumerable: true, get: function () { return AWSLogsServicesRequest_1.AWSLogsServicesRequest; } });\nvar AWSTagFilter_1 = require(\"./models/AWSTagFilter\");\nObject.defineProperty(exports, \"AWSTagFilter\", { enumerable: true, get: function () { return AWSTagFilter_1.AWSTagFilter; } });\nvar AWSTagFilterCreateRequest_1 = require(\"./models/AWSTagFilterCreateRequest\");\nObject.defineProperty(exports, \"AWSTagFilterCreateRequest\", { enumerable: true, get: function () { return AWSTagFilterCreateRequest_1.AWSTagFilterCreateRequest; } });\nvar AWSTagFilterDeleteRequest_1 = require(\"./models/AWSTagFilterDeleteRequest\");\nObject.defineProperty(exports, \"AWSTagFilterDeleteRequest\", { enumerable: true, get: function () { return AWSTagFilterDeleteRequest_1.AWSTagFilterDeleteRequest; } });\nvar AWSTagFilterListResponse_1 = require(\"./models/AWSTagFilterListResponse\");\nObject.defineProperty(exports, \"AWSTagFilterListResponse\", { enumerable: true, get: function () { return AWSTagFilterListResponse_1.AWSTagFilterListResponse; } });\nvar AlertGraphWidgetDefinition_1 = require(\"./models/AlertGraphWidgetDefinition\");\nObject.defineProperty(exports, \"AlertGraphWidgetDefinition\", { enumerable: true, get: function () { return AlertGraphWidgetDefinition_1.AlertGraphWidgetDefinition; } });\nvar AlertValueWidgetDefinition_1 = require(\"./models/AlertValueWidgetDefinition\");\nObject.defineProperty(exports, \"AlertValueWidgetDefinition\", { enumerable: true, get: function () { return AlertValueWidgetDefinition_1.AlertValueWidgetDefinition; } });\nvar ApiKey_1 = require(\"./models/ApiKey\");\nObject.defineProperty(exports, \"ApiKey\", { enumerable: true, get: function () { return ApiKey_1.ApiKey; } });\nvar ApiKeyListResponse_1 = require(\"./models/ApiKeyListResponse\");\nObject.defineProperty(exports, \"ApiKeyListResponse\", { enumerable: true, get: function () { return ApiKeyListResponse_1.ApiKeyListResponse; } });\nvar ApiKeyResponse_1 = require(\"./models/ApiKeyResponse\");\nObject.defineProperty(exports, \"ApiKeyResponse\", { enumerable: true, get: function () { return ApiKeyResponse_1.ApiKeyResponse; } });\nvar ApmStatsQueryColumnType_1 = require(\"./models/ApmStatsQueryColumnType\");\nObject.defineProperty(exports, \"ApmStatsQueryColumnType\", { enumerable: true, get: function () { return ApmStatsQueryColumnType_1.ApmStatsQueryColumnType; } });\nvar ApmStatsQueryDefinition_1 = require(\"./models/ApmStatsQueryDefinition\");\nObject.defineProperty(exports, \"ApmStatsQueryDefinition\", { enumerable: true, get: function () { return ApmStatsQueryDefinition_1.ApmStatsQueryDefinition; } });\nvar ApplicationKey_1 = require(\"./models/ApplicationKey\");\nObject.defineProperty(exports, \"ApplicationKey\", { enumerable: true, get: function () { return ApplicationKey_1.ApplicationKey; } });\nvar ApplicationKeyListResponse_1 = require(\"./models/ApplicationKeyListResponse\");\nObject.defineProperty(exports, \"ApplicationKeyListResponse\", { enumerable: true, get: function () { return ApplicationKeyListResponse_1.ApplicationKeyListResponse; } });\nvar ApplicationKeyResponse_1 = require(\"./models/ApplicationKeyResponse\");\nObject.defineProperty(exports, \"ApplicationKeyResponse\", { enumerable: true, get: function () { return ApplicationKeyResponse_1.ApplicationKeyResponse; } });\nvar AuthenticationValidationResponse_1 = require(\"./models/AuthenticationValidationResponse\");\nObject.defineProperty(exports, \"AuthenticationValidationResponse\", { enumerable: true, get: function () { return AuthenticationValidationResponse_1.AuthenticationValidationResponse; } });\nvar AzureAccount_1 = require(\"./models/AzureAccount\");\nObject.defineProperty(exports, \"AzureAccount\", { enumerable: true, get: function () { return AzureAccount_1.AzureAccount; } });\nvar CancelDowntimesByScopeRequest_1 = require(\"./models/CancelDowntimesByScopeRequest\");\nObject.defineProperty(exports, \"CancelDowntimesByScopeRequest\", { enumerable: true, get: function () { return CancelDowntimesByScopeRequest_1.CancelDowntimesByScopeRequest; } });\nvar CanceledDowntimesIds_1 = require(\"./models/CanceledDowntimesIds\");\nObject.defineProperty(exports, \"CanceledDowntimesIds\", { enumerable: true, get: function () { return CanceledDowntimesIds_1.CanceledDowntimesIds; } });\nvar ChangeWidgetDefinition_1 = require(\"./models/ChangeWidgetDefinition\");\nObject.defineProperty(exports, \"ChangeWidgetDefinition\", { enumerable: true, get: function () { return ChangeWidgetDefinition_1.ChangeWidgetDefinition; } });\nvar ChangeWidgetRequest_1 = require(\"./models/ChangeWidgetRequest\");\nObject.defineProperty(exports, \"ChangeWidgetRequest\", { enumerable: true, get: function () { return ChangeWidgetRequest_1.ChangeWidgetRequest; } });\nvar CheckCanDeleteMonitorResponse_1 = require(\"./models/CheckCanDeleteMonitorResponse\");\nObject.defineProperty(exports, \"CheckCanDeleteMonitorResponse\", { enumerable: true, get: function () { return CheckCanDeleteMonitorResponse_1.CheckCanDeleteMonitorResponse; } });\nvar CheckCanDeleteMonitorResponseData_1 = require(\"./models/CheckCanDeleteMonitorResponseData\");\nObject.defineProperty(exports, \"CheckCanDeleteMonitorResponseData\", { enumerable: true, get: function () { return CheckCanDeleteMonitorResponseData_1.CheckCanDeleteMonitorResponseData; } });\nvar CheckCanDeleteSLOResponse_1 = require(\"./models/CheckCanDeleteSLOResponse\");\nObject.defineProperty(exports, \"CheckCanDeleteSLOResponse\", { enumerable: true, get: function () { return CheckCanDeleteSLOResponse_1.CheckCanDeleteSLOResponse; } });\nvar CheckCanDeleteSLOResponseData_1 = require(\"./models/CheckCanDeleteSLOResponseData\");\nObject.defineProperty(exports, \"CheckCanDeleteSLOResponseData\", { enumerable: true, get: function () { return CheckCanDeleteSLOResponseData_1.CheckCanDeleteSLOResponseData; } });\nvar CheckStatusWidgetDefinition_1 = require(\"./models/CheckStatusWidgetDefinition\");\nObject.defineProperty(exports, \"CheckStatusWidgetDefinition\", { enumerable: true, get: function () { return CheckStatusWidgetDefinition_1.CheckStatusWidgetDefinition; } });\nvar Creator_1 = require(\"./models/Creator\");\nObject.defineProperty(exports, \"Creator\", { enumerable: true, get: function () { return Creator_1.Creator; } });\nvar Dashboard_1 = require(\"./models/Dashboard\");\nObject.defineProperty(exports, \"Dashboard\", { enumerable: true, get: function () { return Dashboard_1.Dashboard; } });\nvar DashboardBulkActionData_1 = require(\"./models/DashboardBulkActionData\");\nObject.defineProperty(exports, \"DashboardBulkActionData\", { enumerable: true, get: function () { return DashboardBulkActionData_1.DashboardBulkActionData; } });\nvar DashboardBulkDeleteRequest_1 = require(\"./models/DashboardBulkDeleteRequest\");\nObject.defineProperty(exports, \"DashboardBulkDeleteRequest\", { enumerable: true, get: function () { return DashboardBulkDeleteRequest_1.DashboardBulkDeleteRequest; } });\nvar DashboardDeleteResponse_1 = require(\"./models/DashboardDeleteResponse\");\nObject.defineProperty(exports, \"DashboardDeleteResponse\", { enumerable: true, get: function () { return DashboardDeleteResponse_1.DashboardDeleteResponse; } });\nvar DashboardList_1 = require(\"./models/DashboardList\");\nObject.defineProperty(exports, \"DashboardList\", { enumerable: true, get: function () { return DashboardList_1.DashboardList; } });\nvar DashboardListDeleteResponse_1 = require(\"./models/DashboardListDeleteResponse\");\nObject.defineProperty(exports, \"DashboardListDeleteResponse\", { enumerable: true, get: function () { return DashboardListDeleteResponse_1.DashboardListDeleteResponse; } });\nvar DashboardListListResponse_1 = require(\"./models/DashboardListListResponse\");\nObject.defineProperty(exports, \"DashboardListListResponse\", { enumerable: true, get: function () { return DashboardListListResponse_1.DashboardListListResponse; } });\nvar DashboardRestoreRequest_1 = require(\"./models/DashboardRestoreRequest\");\nObject.defineProperty(exports, \"DashboardRestoreRequest\", { enumerable: true, get: function () { return DashboardRestoreRequest_1.DashboardRestoreRequest; } });\nvar DashboardSummary_1 = require(\"./models/DashboardSummary\");\nObject.defineProperty(exports, \"DashboardSummary\", { enumerable: true, get: function () { return DashboardSummary_1.DashboardSummary; } });\nvar DashboardSummaryDefinition_1 = require(\"./models/DashboardSummaryDefinition\");\nObject.defineProperty(exports, \"DashboardSummaryDefinition\", { enumerable: true, get: function () { return DashboardSummaryDefinition_1.DashboardSummaryDefinition; } });\nvar DashboardTemplateVariable_1 = require(\"./models/DashboardTemplateVariable\");\nObject.defineProperty(exports, \"DashboardTemplateVariable\", { enumerable: true, get: function () { return DashboardTemplateVariable_1.DashboardTemplateVariable; } });\nvar DashboardTemplateVariablePreset_1 = require(\"./models/DashboardTemplateVariablePreset\");\nObject.defineProperty(exports, \"DashboardTemplateVariablePreset\", { enumerable: true, get: function () { return DashboardTemplateVariablePreset_1.DashboardTemplateVariablePreset; } });\nvar DashboardTemplateVariablePresetValue_1 = require(\"./models/DashboardTemplateVariablePresetValue\");\nObject.defineProperty(exports, \"DashboardTemplateVariablePresetValue\", { enumerable: true, get: function () { return DashboardTemplateVariablePresetValue_1.DashboardTemplateVariablePresetValue; } });\nvar DeletedMonitor_1 = require(\"./models/DeletedMonitor\");\nObject.defineProperty(exports, \"DeletedMonitor\", { enumerable: true, get: function () { return DeletedMonitor_1.DeletedMonitor; } });\nvar DistributionWidgetDefinition_1 = require(\"./models/DistributionWidgetDefinition\");\nObject.defineProperty(exports, \"DistributionWidgetDefinition\", { enumerable: true, get: function () { return DistributionWidgetDefinition_1.DistributionWidgetDefinition; } });\nvar DistributionWidgetRequest_1 = require(\"./models/DistributionWidgetRequest\");\nObject.defineProperty(exports, \"DistributionWidgetRequest\", { enumerable: true, get: function () { return DistributionWidgetRequest_1.DistributionWidgetRequest; } });\nvar DistributionWidgetXAxis_1 = require(\"./models/DistributionWidgetXAxis\");\nObject.defineProperty(exports, \"DistributionWidgetXAxis\", { enumerable: true, get: function () { return DistributionWidgetXAxis_1.DistributionWidgetXAxis; } });\nvar DistributionWidgetYAxis_1 = require(\"./models/DistributionWidgetYAxis\");\nObject.defineProperty(exports, \"DistributionWidgetYAxis\", { enumerable: true, get: function () { return DistributionWidgetYAxis_1.DistributionWidgetYAxis; } });\nvar Downtime_1 = require(\"./models/Downtime\");\nObject.defineProperty(exports, \"Downtime\", { enumerable: true, get: function () { return Downtime_1.Downtime; } });\nvar DowntimeChild_1 = require(\"./models/DowntimeChild\");\nObject.defineProperty(exports, \"DowntimeChild\", { enumerable: true, get: function () { return DowntimeChild_1.DowntimeChild; } });\nvar DowntimeRecurrence_1 = require(\"./models/DowntimeRecurrence\");\nObject.defineProperty(exports, \"DowntimeRecurrence\", { enumerable: true, get: function () { return DowntimeRecurrence_1.DowntimeRecurrence; } });\nvar Event_1 = require(\"./models/Event\");\nObject.defineProperty(exports, \"Event\", { enumerable: true, get: function () { return Event_1.Event; } });\nvar EventCreateRequest_1 = require(\"./models/EventCreateRequest\");\nObject.defineProperty(exports, \"EventCreateRequest\", { enumerable: true, get: function () { return EventCreateRequest_1.EventCreateRequest; } });\nvar EventCreateResponse_1 = require(\"./models/EventCreateResponse\");\nObject.defineProperty(exports, \"EventCreateResponse\", { enumerable: true, get: function () { return EventCreateResponse_1.EventCreateResponse; } });\nvar EventListResponse_1 = require(\"./models/EventListResponse\");\nObject.defineProperty(exports, \"EventListResponse\", { enumerable: true, get: function () { return EventListResponse_1.EventListResponse; } });\nvar EventQueryDefinition_1 = require(\"./models/EventQueryDefinition\");\nObject.defineProperty(exports, \"EventQueryDefinition\", { enumerable: true, get: function () { return EventQueryDefinition_1.EventQueryDefinition; } });\nvar EventResponse_1 = require(\"./models/EventResponse\");\nObject.defineProperty(exports, \"EventResponse\", { enumerable: true, get: function () { return EventResponse_1.EventResponse; } });\nvar EventStreamWidgetDefinition_1 = require(\"./models/EventStreamWidgetDefinition\");\nObject.defineProperty(exports, \"EventStreamWidgetDefinition\", { enumerable: true, get: function () { return EventStreamWidgetDefinition_1.EventStreamWidgetDefinition; } });\nvar EventTimelineWidgetDefinition_1 = require(\"./models/EventTimelineWidgetDefinition\");\nObject.defineProperty(exports, \"EventTimelineWidgetDefinition\", { enumerable: true, get: function () { return EventTimelineWidgetDefinition_1.EventTimelineWidgetDefinition; } });\nvar FormulaAndFunctionApmDependencyStatsQueryDefinition_1 = require(\"./models/FormulaAndFunctionApmDependencyStatsQueryDefinition\");\nObject.defineProperty(exports, \"FormulaAndFunctionApmDependencyStatsQueryDefinition\", { enumerable: true, get: function () { return FormulaAndFunctionApmDependencyStatsQueryDefinition_1.FormulaAndFunctionApmDependencyStatsQueryDefinition; } });\nvar FormulaAndFunctionApmResourceStatsQueryDefinition_1 = require(\"./models/FormulaAndFunctionApmResourceStatsQueryDefinition\");\nObject.defineProperty(exports, \"FormulaAndFunctionApmResourceStatsQueryDefinition\", { enumerable: true, get: function () { return FormulaAndFunctionApmResourceStatsQueryDefinition_1.FormulaAndFunctionApmResourceStatsQueryDefinition; } });\nvar FormulaAndFunctionEventQueryDefinition_1 = require(\"./models/FormulaAndFunctionEventQueryDefinition\");\nObject.defineProperty(exports, \"FormulaAndFunctionEventQueryDefinition\", { enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinition_1.FormulaAndFunctionEventQueryDefinition; } });\nvar FormulaAndFunctionEventQueryDefinitionCompute_1 = require(\"./models/FormulaAndFunctionEventQueryDefinitionCompute\");\nObject.defineProperty(exports, \"FormulaAndFunctionEventQueryDefinitionCompute\", { enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinitionCompute_1.FormulaAndFunctionEventQueryDefinitionCompute; } });\nvar FormulaAndFunctionEventQueryDefinitionSearch_1 = require(\"./models/FormulaAndFunctionEventQueryDefinitionSearch\");\nObject.defineProperty(exports, \"FormulaAndFunctionEventQueryDefinitionSearch\", { enumerable: true, get: function () { return FormulaAndFunctionEventQueryDefinitionSearch_1.FormulaAndFunctionEventQueryDefinitionSearch; } });\nvar FormulaAndFunctionEventQueryGroupBy_1 = require(\"./models/FormulaAndFunctionEventQueryGroupBy\");\nObject.defineProperty(exports, \"FormulaAndFunctionEventQueryGroupBy\", { enumerable: true, get: function () { return FormulaAndFunctionEventQueryGroupBy_1.FormulaAndFunctionEventQueryGroupBy; } });\nvar FormulaAndFunctionEventQueryGroupBySort_1 = require(\"./models/FormulaAndFunctionEventQueryGroupBySort\");\nObject.defineProperty(exports, \"FormulaAndFunctionEventQueryGroupBySort\", { enumerable: true, get: function () { return FormulaAndFunctionEventQueryGroupBySort_1.FormulaAndFunctionEventQueryGroupBySort; } });\nvar FormulaAndFunctionMetricQueryDefinition_1 = require(\"./models/FormulaAndFunctionMetricQueryDefinition\");\nObject.defineProperty(exports, \"FormulaAndFunctionMetricQueryDefinition\", { enumerable: true, get: function () { return FormulaAndFunctionMetricQueryDefinition_1.FormulaAndFunctionMetricQueryDefinition; } });\nvar FormulaAndFunctionProcessQueryDefinition_1 = require(\"./models/FormulaAndFunctionProcessQueryDefinition\");\nObject.defineProperty(exports, \"FormulaAndFunctionProcessQueryDefinition\", { enumerable: true, get: function () { return FormulaAndFunctionProcessQueryDefinition_1.FormulaAndFunctionProcessQueryDefinition; } });\nvar FreeTextWidgetDefinition_1 = require(\"./models/FreeTextWidgetDefinition\");\nObject.defineProperty(exports, \"FreeTextWidgetDefinition\", { enumerable: true, get: function () { return FreeTextWidgetDefinition_1.FreeTextWidgetDefinition; } });\nvar FunnelQuery_1 = require(\"./models/FunnelQuery\");\nObject.defineProperty(exports, \"FunnelQuery\", { enumerable: true, get: function () { return FunnelQuery_1.FunnelQuery; } });\nvar FunnelStep_1 = require(\"./models/FunnelStep\");\nObject.defineProperty(exports, \"FunnelStep\", { enumerable: true, get: function () { return FunnelStep_1.FunnelStep; } });\nvar FunnelWidgetDefinition_1 = require(\"./models/FunnelWidgetDefinition\");\nObject.defineProperty(exports, \"FunnelWidgetDefinition\", { enumerable: true, get: function () { return FunnelWidgetDefinition_1.FunnelWidgetDefinition; } });\nvar FunnelWidgetRequest_1 = require(\"./models/FunnelWidgetRequest\");\nObject.defineProperty(exports, \"FunnelWidgetRequest\", { enumerable: true, get: function () { return FunnelWidgetRequest_1.FunnelWidgetRequest; } });\nvar GCPAccount_1 = require(\"./models/GCPAccount\");\nObject.defineProperty(exports, \"GCPAccount\", { enumerable: true, get: function () { return GCPAccount_1.GCPAccount; } });\nvar GeomapWidgetDefinition_1 = require(\"./models/GeomapWidgetDefinition\");\nObject.defineProperty(exports, \"GeomapWidgetDefinition\", { enumerable: true, get: function () { return GeomapWidgetDefinition_1.GeomapWidgetDefinition; } });\nvar GeomapWidgetDefinitionStyle_1 = require(\"./models/GeomapWidgetDefinitionStyle\");\nObject.defineProperty(exports, \"GeomapWidgetDefinitionStyle\", { enumerable: true, get: function () { return GeomapWidgetDefinitionStyle_1.GeomapWidgetDefinitionStyle; } });\nvar GeomapWidgetDefinitionView_1 = require(\"./models/GeomapWidgetDefinitionView\");\nObject.defineProperty(exports, \"GeomapWidgetDefinitionView\", { enumerable: true, get: function () { return GeomapWidgetDefinitionView_1.GeomapWidgetDefinitionView; } });\nvar GeomapWidgetRequest_1 = require(\"./models/GeomapWidgetRequest\");\nObject.defineProperty(exports, \"GeomapWidgetRequest\", { enumerable: true, get: function () { return GeomapWidgetRequest_1.GeomapWidgetRequest; } });\nvar GraphSnapshot_1 = require(\"./models/GraphSnapshot\");\nObject.defineProperty(exports, \"GraphSnapshot\", { enumerable: true, get: function () { return GraphSnapshot_1.GraphSnapshot; } });\nvar GroupWidgetDefinition_1 = require(\"./models/GroupWidgetDefinition\");\nObject.defineProperty(exports, \"GroupWidgetDefinition\", { enumerable: true, get: function () { return GroupWidgetDefinition_1.GroupWidgetDefinition; } });\nvar HTTPLogError_1 = require(\"./models/HTTPLogError\");\nObject.defineProperty(exports, \"HTTPLogError\", { enumerable: true, get: function () { return HTTPLogError_1.HTTPLogError; } });\nvar HTTPLogItem_1 = require(\"./models/HTTPLogItem\");\nObject.defineProperty(exports, \"HTTPLogItem\", { enumerable: true, get: function () { return HTTPLogItem_1.HTTPLogItem; } });\nvar HeatMapWidgetDefinition_1 = require(\"./models/HeatMapWidgetDefinition\");\nObject.defineProperty(exports, \"HeatMapWidgetDefinition\", { enumerable: true, get: function () { return HeatMapWidgetDefinition_1.HeatMapWidgetDefinition; } });\nvar HeatMapWidgetRequest_1 = require(\"./models/HeatMapWidgetRequest\");\nObject.defineProperty(exports, \"HeatMapWidgetRequest\", { enumerable: true, get: function () { return HeatMapWidgetRequest_1.HeatMapWidgetRequest; } });\nvar Host_1 = require(\"./models/Host\");\nObject.defineProperty(exports, \"Host\", { enumerable: true, get: function () { return Host_1.Host; } });\nvar HostListResponse_1 = require(\"./models/HostListResponse\");\nObject.defineProperty(exports, \"HostListResponse\", { enumerable: true, get: function () { return HostListResponse_1.HostListResponse; } });\nvar HostMapRequest_1 = require(\"./models/HostMapRequest\");\nObject.defineProperty(exports, \"HostMapRequest\", { enumerable: true, get: function () { return HostMapRequest_1.HostMapRequest; } });\nvar HostMapWidgetDefinition_1 = require(\"./models/HostMapWidgetDefinition\");\nObject.defineProperty(exports, \"HostMapWidgetDefinition\", { enumerable: true, get: function () { return HostMapWidgetDefinition_1.HostMapWidgetDefinition; } });\nvar HostMapWidgetDefinitionRequests_1 = require(\"./models/HostMapWidgetDefinitionRequests\");\nObject.defineProperty(exports, \"HostMapWidgetDefinitionRequests\", { enumerable: true, get: function () { return HostMapWidgetDefinitionRequests_1.HostMapWidgetDefinitionRequests; } });\nvar HostMapWidgetDefinitionStyle_1 = require(\"./models/HostMapWidgetDefinitionStyle\");\nObject.defineProperty(exports, \"HostMapWidgetDefinitionStyle\", { enumerable: true, get: function () { return HostMapWidgetDefinitionStyle_1.HostMapWidgetDefinitionStyle; } });\nvar HostMeta_1 = require(\"./models/HostMeta\");\nObject.defineProperty(exports, \"HostMeta\", { enumerable: true, get: function () { return HostMeta_1.HostMeta; } });\nvar HostMetaInstallMethod_1 = require(\"./models/HostMetaInstallMethod\");\nObject.defineProperty(exports, \"HostMetaInstallMethod\", { enumerable: true, get: function () { return HostMetaInstallMethod_1.HostMetaInstallMethod; } });\nvar HostMetrics_1 = require(\"./models/HostMetrics\");\nObject.defineProperty(exports, \"HostMetrics\", { enumerable: true, get: function () { return HostMetrics_1.HostMetrics; } });\nvar HostMuteResponse_1 = require(\"./models/HostMuteResponse\");\nObject.defineProperty(exports, \"HostMuteResponse\", { enumerable: true, get: function () { return HostMuteResponse_1.HostMuteResponse; } });\nvar HostMuteSettings_1 = require(\"./models/HostMuteSettings\");\nObject.defineProperty(exports, \"HostMuteSettings\", { enumerable: true, get: function () { return HostMuteSettings_1.HostMuteSettings; } });\nvar HostTags_1 = require(\"./models/HostTags\");\nObject.defineProperty(exports, \"HostTags\", { enumerable: true, get: function () { return HostTags_1.HostTags; } });\nvar HostTotals_1 = require(\"./models/HostTotals\");\nObject.defineProperty(exports, \"HostTotals\", { enumerable: true, get: function () { return HostTotals_1.HostTotals; } });\nvar HourlyUsageAttributionBody_1 = require(\"./models/HourlyUsageAttributionBody\");\nObject.defineProperty(exports, \"HourlyUsageAttributionBody\", { enumerable: true, get: function () { return HourlyUsageAttributionBody_1.HourlyUsageAttributionBody; } });\nvar HourlyUsageAttributionMetadata_1 = require(\"./models/HourlyUsageAttributionMetadata\");\nObject.defineProperty(exports, \"HourlyUsageAttributionMetadata\", { enumerable: true, get: function () { return HourlyUsageAttributionMetadata_1.HourlyUsageAttributionMetadata; } });\nvar HourlyUsageAttributionPagination_1 = require(\"./models/HourlyUsageAttributionPagination\");\nObject.defineProperty(exports, \"HourlyUsageAttributionPagination\", { enumerable: true, get: function () { return HourlyUsageAttributionPagination_1.HourlyUsageAttributionPagination; } });\nvar HourlyUsageAttributionResponse_1 = require(\"./models/HourlyUsageAttributionResponse\");\nObject.defineProperty(exports, \"HourlyUsageAttributionResponse\", { enumerable: true, get: function () { return HourlyUsageAttributionResponse_1.HourlyUsageAttributionResponse; } });\nvar IFrameWidgetDefinition_1 = require(\"./models/IFrameWidgetDefinition\");\nObject.defineProperty(exports, \"IFrameWidgetDefinition\", { enumerable: true, get: function () { return IFrameWidgetDefinition_1.IFrameWidgetDefinition; } });\nvar IPPrefixesAPI_1 = require(\"./models/IPPrefixesAPI\");\nObject.defineProperty(exports, \"IPPrefixesAPI\", { enumerable: true, get: function () { return IPPrefixesAPI_1.IPPrefixesAPI; } });\nvar IPPrefixesAPM_1 = require(\"./models/IPPrefixesAPM\");\nObject.defineProperty(exports, \"IPPrefixesAPM\", { enumerable: true, get: function () { return IPPrefixesAPM_1.IPPrefixesAPM; } });\nvar IPPrefixesAgents_1 = require(\"./models/IPPrefixesAgents\");\nObject.defineProperty(exports, \"IPPrefixesAgents\", { enumerable: true, get: function () { return IPPrefixesAgents_1.IPPrefixesAgents; } });\nvar IPPrefixesLogs_1 = require(\"./models/IPPrefixesLogs\");\nObject.defineProperty(exports, \"IPPrefixesLogs\", { enumerable: true, get: function () { return IPPrefixesLogs_1.IPPrefixesLogs; } });\nvar IPPrefixesProcess_1 = require(\"./models/IPPrefixesProcess\");\nObject.defineProperty(exports, \"IPPrefixesProcess\", { enumerable: true, get: function () { return IPPrefixesProcess_1.IPPrefixesProcess; } });\nvar IPPrefixesSynthetics_1 = require(\"./models/IPPrefixesSynthetics\");\nObject.defineProperty(exports, \"IPPrefixesSynthetics\", { enumerable: true, get: function () { return IPPrefixesSynthetics_1.IPPrefixesSynthetics; } });\nvar IPPrefixesWebhooks_1 = require(\"./models/IPPrefixesWebhooks\");\nObject.defineProperty(exports, \"IPPrefixesWebhooks\", { enumerable: true, get: function () { return IPPrefixesWebhooks_1.IPPrefixesWebhooks; } });\nvar IPRanges_1 = require(\"./models/IPRanges\");\nObject.defineProperty(exports, \"IPRanges\", { enumerable: true, get: function () { return IPRanges_1.IPRanges; } });\nvar IdpFormData_1 = require(\"./models/IdpFormData\");\nObject.defineProperty(exports, \"IdpFormData\", { enumerable: true, get: function () { return IdpFormData_1.IdpFormData; } });\nvar IdpResponse_1 = require(\"./models/IdpResponse\");\nObject.defineProperty(exports, \"IdpResponse\", { enumerable: true, get: function () { return IdpResponse_1.IdpResponse; } });\nvar ImageWidgetDefinition_1 = require(\"./models/ImageWidgetDefinition\");\nObject.defineProperty(exports, \"ImageWidgetDefinition\", { enumerable: true, get: function () { return ImageWidgetDefinition_1.ImageWidgetDefinition; } });\nvar IntakePayloadAccepted_1 = require(\"./models/IntakePayloadAccepted\");\nObject.defineProperty(exports, \"IntakePayloadAccepted\", { enumerable: true, get: function () { return IntakePayloadAccepted_1.IntakePayloadAccepted; } });\nvar ListStreamColumn_1 = require(\"./models/ListStreamColumn\");\nObject.defineProperty(exports, \"ListStreamColumn\", { enumerable: true, get: function () { return ListStreamColumn_1.ListStreamColumn; } });\nvar ListStreamQuery_1 = require(\"./models/ListStreamQuery\");\nObject.defineProperty(exports, \"ListStreamQuery\", { enumerable: true, get: function () { return ListStreamQuery_1.ListStreamQuery; } });\nvar ListStreamWidgetDefinition_1 = require(\"./models/ListStreamWidgetDefinition\");\nObject.defineProperty(exports, \"ListStreamWidgetDefinition\", { enumerable: true, get: function () { return ListStreamWidgetDefinition_1.ListStreamWidgetDefinition; } });\nvar ListStreamWidgetRequest_1 = require(\"./models/ListStreamWidgetRequest\");\nObject.defineProperty(exports, \"ListStreamWidgetRequest\", { enumerable: true, get: function () { return ListStreamWidgetRequest_1.ListStreamWidgetRequest; } });\nvar Log_1 = require(\"./models/Log\");\nObject.defineProperty(exports, \"Log\", { enumerable: true, get: function () { return Log_1.Log; } });\nvar LogContent_1 = require(\"./models/LogContent\");\nObject.defineProperty(exports, \"LogContent\", { enumerable: true, get: function () { return LogContent_1.LogContent; } });\nvar LogQueryDefinition_1 = require(\"./models/LogQueryDefinition\");\nObject.defineProperty(exports, \"LogQueryDefinition\", { enumerable: true, get: function () { return LogQueryDefinition_1.LogQueryDefinition; } });\nvar LogQueryDefinitionGroupBy_1 = require(\"./models/LogQueryDefinitionGroupBy\");\nObject.defineProperty(exports, \"LogQueryDefinitionGroupBy\", { enumerable: true, get: function () { return LogQueryDefinitionGroupBy_1.LogQueryDefinitionGroupBy; } });\nvar LogQueryDefinitionGroupBySort_1 = require(\"./models/LogQueryDefinitionGroupBySort\");\nObject.defineProperty(exports, \"LogQueryDefinitionGroupBySort\", { enumerable: true, get: function () { return LogQueryDefinitionGroupBySort_1.LogQueryDefinitionGroupBySort; } });\nvar LogQueryDefinitionSearch_1 = require(\"./models/LogQueryDefinitionSearch\");\nObject.defineProperty(exports, \"LogQueryDefinitionSearch\", { enumerable: true, get: function () { return LogQueryDefinitionSearch_1.LogQueryDefinitionSearch; } });\nvar LogStreamWidgetDefinition_1 = require(\"./models/LogStreamWidgetDefinition\");\nObject.defineProperty(exports, \"LogStreamWidgetDefinition\", { enumerable: true, get: function () { return LogStreamWidgetDefinition_1.LogStreamWidgetDefinition; } });\nvar LogsAPIError_1 = require(\"./models/LogsAPIError\");\nObject.defineProperty(exports, \"LogsAPIError\", { enumerable: true, get: function () { return LogsAPIError_1.LogsAPIError; } });\nvar LogsAPIErrorResponse_1 = require(\"./models/LogsAPIErrorResponse\");\nObject.defineProperty(exports, \"LogsAPIErrorResponse\", { enumerable: true, get: function () { return LogsAPIErrorResponse_1.LogsAPIErrorResponse; } });\nvar LogsArithmeticProcessor_1 = require(\"./models/LogsArithmeticProcessor\");\nObject.defineProperty(exports, \"LogsArithmeticProcessor\", { enumerable: true, get: function () { return LogsArithmeticProcessor_1.LogsArithmeticProcessor; } });\nvar LogsAttributeRemapper_1 = require(\"./models/LogsAttributeRemapper\");\nObject.defineProperty(exports, \"LogsAttributeRemapper\", { enumerable: true, get: function () { return LogsAttributeRemapper_1.LogsAttributeRemapper; } });\nvar LogsByRetention_1 = require(\"./models/LogsByRetention\");\nObject.defineProperty(exports, \"LogsByRetention\", { enumerable: true, get: function () { return LogsByRetention_1.LogsByRetention; } });\nvar LogsByRetentionMonthlyUsage_1 = require(\"./models/LogsByRetentionMonthlyUsage\");\nObject.defineProperty(exports, \"LogsByRetentionMonthlyUsage\", { enumerable: true, get: function () { return LogsByRetentionMonthlyUsage_1.LogsByRetentionMonthlyUsage; } });\nvar LogsByRetentionOrgUsage_1 = require(\"./models/LogsByRetentionOrgUsage\");\nObject.defineProperty(exports, \"LogsByRetentionOrgUsage\", { enumerable: true, get: function () { return LogsByRetentionOrgUsage_1.LogsByRetentionOrgUsage; } });\nvar LogsByRetentionOrgs_1 = require(\"./models/LogsByRetentionOrgs\");\nObject.defineProperty(exports, \"LogsByRetentionOrgs\", { enumerable: true, get: function () { return LogsByRetentionOrgs_1.LogsByRetentionOrgs; } });\nvar LogsCategoryProcessor_1 = require(\"./models/LogsCategoryProcessor\");\nObject.defineProperty(exports, \"LogsCategoryProcessor\", { enumerable: true, get: function () { return LogsCategoryProcessor_1.LogsCategoryProcessor; } });\nvar LogsCategoryProcessorCategory_1 = require(\"./models/LogsCategoryProcessorCategory\");\nObject.defineProperty(exports, \"LogsCategoryProcessorCategory\", { enumerable: true, get: function () { return LogsCategoryProcessorCategory_1.LogsCategoryProcessorCategory; } });\nvar LogsDateRemapper_1 = require(\"./models/LogsDateRemapper\");\nObject.defineProperty(exports, \"LogsDateRemapper\", { enumerable: true, get: function () { return LogsDateRemapper_1.LogsDateRemapper; } });\nvar LogsExclusion_1 = require(\"./models/LogsExclusion\");\nObject.defineProperty(exports, \"LogsExclusion\", { enumerable: true, get: function () { return LogsExclusion_1.LogsExclusion; } });\nvar LogsExclusionFilter_1 = require(\"./models/LogsExclusionFilter\");\nObject.defineProperty(exports, \"LogsExclusionFilter\", { enumerable: true, get: function () { return LogsExclusionFilter_1.LogsExclusionFilter; } });\nvar LogsFilter_1 = require(\"./models/LogsFilter\");\nObject.defineProperty(exports, \"LogsFilter\", { enumerable: true, get: function () { return LogsFilter_1.LogsFilter; } });\nvar LogsGeoIPParser_1 = require(\"./models/LogsGeoIPParser\");\nObject.defineProperty(exports, \"LogsGeoIPParser\", { enumerable: true, get: function () { return LogsGeoIPParser_1.LogsGeoIPParser; } });\nvar LogsGrokParser_1 = require(\"./models/LogsGrokParser\");\nObject.defineProperty(exports, \"LogsGrokParser\", { enumerable: true, get: function () { return LogsGrokParser_1.LogsGrokParser; } });\nvar LogsGrokParserRules_1 = require(\"./models/LogsGrokParserRules\");\nObject.defineProperty(exports, \"LogsGrokParserRules\", { enumerable: true, get: function () { return LogsGrokParserRules_1.LogsGrokParserRules; } });\nvar LogsIndex_1 = require(\"./models/LogsIndex\");\nObject.defineProperty(exports, \"LogsIndex\", { enumerable: true, get: function () { return LogsIndex_1.LogsIndex; } });\nvar LogsIndexListResponse_1 = require(\"./models/LogsIndexListResponse\");\nObject.defineProperty(exports, \"LogsIndexListResponse\", { enumerable: true, get: function () { return LogsIndexListResponse_1.LogsIndexListResponse; } });\nvar LogsIndexUpdateRequest_1 = require(\"./models/LogsIndexUpdateRequest\");\nObject.defineProperty(exports, \"LogsIndexUpdateRequest\", { enumerable: true, get: function () { return LogsIndexUpdateRequest_1.LogsIndexUpdateRequest; } });\nvar LogsIndexesOrder_1 = require(\"./models/LogsIndexesOrder\");\nObject.defineProperty(exports, \"LogsIndexesOrder\", { enumerable: true, get: function () { return LogsIndexesOrder_1.LogsIndexesOrder; } });\nvar LogsListRequest_1 = require(\"./models/LogsListRequest\");\nObject.defineProperty(exports, \"LogsListRequest\", { enumerable: true, get: function () { return LogsListRequest_1.LogsListRequest; } });\nvar LogsListRequestTime_1 = require(\"./models/LogsListRequestTime\");\nObject.defineProperty(exports, \"LogsListRequestTime\", { enumerable: true, get: function () { return LogsListRequestTime_1.LogsListRequestTime; } });\nvar LogsListResponse_1 = require(\"./models/LogsListResponse\");\nObject.defineProperty(exports, \"LogsListResponse\", { enumerable: true, get: function () { return LogsListResponse_1.LogsListResponse; } });\nvar LogsLookupProcessor_1 = require(\"./models/LogsLookupProcessor\");\nObject.defineProperty(exports, \"LogsLookupProcessor\", { enumerable: true, get: function () { return LogsLookupProcessor_1.LogsLookupProcessor; } });\nvar LogsMessageRemapper_1 = require(\"./models/LogsMessageRemapper\");\nObject.defineProperty(exports, \"LogsMessageRemapper\", { enumerable: true, get: function () { return LogsMessageRemapper_1.LogsMessageRemapper; } });\nvar LogsPipeline_1 = require(\"./models/LogsPipeline\");\nObject.defineProperty(exports, \"LogsPipeline\", { enumerable: true, get: function () { return LogsPipeline_1.LogsPipeline; } });\nvar LogsPipelineProcessor_1 = require(\"./models/LogsPipelineProcessor\");\nObject.defineProperty(exports, \"LogsPipelineProcessor\", { enumerable: true, get: function () { return LogsPipelineProcessor_1.LogsPipelineProcessor; } });\nvar LogsPipelinesOrder_1 = require(\"./models/LogsPipelinesOrder\");\nObject.defineProperty(exports, \"LogsPipelinesOrder\", { enumerable: true, get: function () { return LogsPipelinesOrder_1.LogsPipelinesOrder; } });\nvar LogsQueryCompute_1 = require(\"./models/LogsQueryCompute\");\nObject.defineProperty(exports, \"LogsQueryCompute\", { enumerable: true, get: function () { return LogsQueryCompute_1.LogsQueryCompute; } });\nvar LogsRetentionAggSumUsage_1 = require(\"./models/LogsRetentionAggSumUsage\");\nObject.defineProperty(exports, \"LogsRetentionAggSumUsage\", { enumerable: true, get: function () { return LogsRetentionAggSumUsage_1.LogsRetentionAggSumUsage; } });\nvar LogsRetentionSumUsage_1 = require(\"./models/LogsRetentionSumUsage\");\nObject.defineProperty(exports, \"LogsRetentionSumUsage\", { enumerable: true, get: function () { return LogsRetentionSumUsage_1.LogsRetentionSumUsage; } });\nvar LogsServiceRemapper_1 = require(\"./models/LogsServiceRemapper\");\nObject.defineProperty(exports, \"LogsServiceRemapper\", { enumerable: true, get: function () { return LogsServiceRemapper_1.LogsServiceRemapper; } });\nvar LogsStatusRemapper_1 = require(\"./models/LogsStatusRemapper\");\nObject.defineProperty(exports, \"LogsStatusRemapper\", { enumerable: true, get: function () { return LogsStatusRemapper_1.LogsStatusRemapper; } });\nvar LogsStringBuilderProcessor_1 = require(\"./models/LogsStringBuilderProcessor\");\nObject.defineProperty(exports, \"LogsStringBuilderProcessor\", { enumerable: true, get: function () { return LogsStringBuilderProcessor_1.LogsStringBuilderProcessor; } });\nvar LogsTraceRemapper_1 = require(\"./models/LogsTraceRemapper\");\nObject.defineProperty(exports, \"LogsTraceRemapper\", { enumerable: true, get: function () { return LogsTraceRemapper_1.LogsTraceRemapper; } });\nvar LogsURLParser_1 = require(\"./models/LogsURLParser\");\nObject.defineProperty(exports, \"LogsURLParser\", { enumerable: true, get: function () { return LogsURLParser_1.LogsURLParser; } });\nvar LogsUserAgentParser_1 = require(\"./models/LogsUserAgentParser\");\nObject.defineProperty(exports, \"LogsUserAgentParser\", { enumerable: true, get: function () { return LogsUserAgentParser_1.LogsUserAgentParser; } });\nvar MetricMetadata_1 = require(\"./models/MetricMetadata\");\nObject.defineProperty(exports, \"MetricMetadata\", { enumerable: true, get: function () { return MetricMetadata_1.MetricMetadata; } });\nvar MetricSearchResponse_1 = require(\"./models/MetricSearchResponse\");\nObject.defineProperty(exports, \"MetricSearchResponse\", { enumerable: true, get: function () { return MetricSearchResponse_1.MetricSearchResponse; } });\nvar MetricSearchResponseResults_1 = require(\"./models/MetricSearchResponseResults\");\nObject.defineProperty(exports, \"MetricSearchResponseResults\", { enumerable: true, get: function () { return MetricSearchResponseResults_1.MetricSearchResponseResults; } });\nvar MetricsListResponse_1 = require(\"./models/MetricsListResponse\");\nObject.defineProperty(exports, \"MetricsListResponse\", { enumerable: true, get: function () { return MetricsListResponse_1.MetricsListResponse; } });\nvar MetricsPayload_1 = require(\"./models/MetricsPayload\");\nObject.defineProperty(exports, \"MetricsPayload\", { enumerable: true, get: function () { return MetricsPayload_1.MetricsPayload; } });\nvar MetricsQueryMetadata_1 = require(\"./models/MetricsQueryMetadata\");\nObject.defineProperty(exports, \"MetricsQueryMetadata\", { enumerable: true, get: function () { return MetricsQueryMetadata_1.MetricsQueryMetadata; } });\nvar MetricsQueryResponse_1 = require(\"./models/MetricsQueryResponse\");\nObject.defineProperty(exports, \"MetricsQueryResponse\", { enumerable: true, get: function () { return MetricsQueryResponse_1.MetricsQueryResponse; } });\nvar MetricsQueryUnit_1 = require(\"./models/MetricsQueryUnit\");\nObject.defineProperty(exports, \"MetricsQueryUnit\", { enumerable: true, get: function () { return MetricsQueryUnit_1.MetricsQueryUnit; } });\nvar Monitor_1 = require(\"./models/Monitor\");\nObject.defineProperty(exports, \"Monitor\", { enumerable: true, get: function () { return Monitor_1.Monitor; } });\nvar MonitorFormulaAndFunctionEventQueryDefinition_1 = require(\"./models/MonitorFormulaAndFunctionEventQueryDefinition\");\nObject.defineProperty(exports, \"MonitorFormulaAndFunctionEventQueryDefinition\", { enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinition_1.MonitorFormulaAndFunctionEventQueryDefinition; } });\nvar MonitorFormulaAndFunctionEventQueryDefinitionCompute_1 = require(\"./models/MonitorFormulaAndFunctionEventQueryDefinitionCompute\");\nObject.defineProperty(exports, \"MonitorFormulaAndFunctionEventQueryDefinitionCompute\", { enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinitionCompute_1.MonitorFormulaAndFunctionEventQueryDefinitionCompute; } });\nvar MonitorFormulaAndFunctionEventQueryDefinitionSearch_1 = require(\"./models/MonitorFormulaAndFunctionEventQueryDefinitionSearch\");\nObject.defineProperty(exports, \"MonitorFormulaAndFunctionEventQueryDefinitionSearch\", { enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryDefinitionSearch_1.MonitorFormulaAndFunctionEventQueryDefinitionSearch; } });\nvar MonitorFormulaAndFunctionEventQueryGroupBy_1 = require(\"./models/MonitorFormulaAndFunctionEventQueryGroupBy\");\nObject.defineProperty(exports, \"MonitorFormulaAndFunctionEventQueryGroupBy\", { enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryGroupBy_1.MonitorFormulaAndFunctionEventQueryGroupBy; } });\nvar MonitorFormulaAndFunctionEventQueryGroupBySort_1 = require(\"./models/MonitorFormulaAndFunctionEventQueryGroupBySort\");\nObject.defineProperty(exports, \"MonitorFormulaAndFunctionEventQueryGroupBySort\", { enumerable: true, get: function () { return MonitorFormulaAndFunctionEventQueryGroupBySort_1.MonitorFormulaAndFunctionEventQueryGroupBySort; } });\nvar MonitorGroupSearchResponse_1 = require(\"./models/MonitorGroupSearchResponse\");\nObject.defineProperty(exports, \"MonitorGroupSearchResponse\", { enumerable: true, get: function () { return MonitorGroupSearchResponse_1.MonitorGroupSearchResponse; } });\nvar MonitorGroupSearchResponseCounts_1 = require(\"./models/MonitorGroupSearchResponseCounts\");\nObject.defineProperty(exports, \"MonitorGroupSearchResponseCounts\", { enumerable: true, get: function () { return MonitorGroupSearchResponseCounts_1.MonitorGroupSearchResponseCounts; } });\nvar MonitorGroupSearchResult_1 = require(\"./models/MonitorGroupSearchResult\");\nObject.defineProperty(exports, \"MonitorGroupSearchResult\", { enumerable: true, get: function () { return MonitorGroupSearchResult_1.MonitorGroupSearchResult; } });\nvar MonitorOptions_1 = require(\"./models/MonitorOptions\");\nObject.defineProperty(exports, \"MonitorOptions\", { enumerable: true, get: function () { return MonitorOptions_1.MonitorOptions; } });\nvar MonitorOptionsAggregation_1 = require(\"./models/MonitorOptionsAggregation\");\nObject.defineProperty(exports, \"MonitorOptionsAggregation\", { enumerable: true, get: function () { return MonitorOptionsAggregation_1.MonitorOptionsAggregation; } });\nvar MonitorSearchResponse_1 = require(\"./models/MonitorSearchResponse\");\nObject.defineProperty(exports, \"MonitorSearchResponse\", { enumerable: true, get: function () { return MonitorSearchResponse_1.MonitorSearchResponse; } });\nvar MonitorSearchResponseCounts_1 = require(\"./models/MonitorSearchResponseCounts\");\nObject.defineProperty(exports, \"MonitorSearchResponseCounts\", { enumerable: true, get: function () { return MonitorSearchResponseCounts_1.MonitorSearchResponseCounts; } });\nvar MonitorSearchResponseMetadata_1 = require(\"./models/MonitorSearchResponseMetadata\");\nObject.defineProperty(exports, \"MonitorSearchResponseMetadata\", { enumerable: true, get: function () { return MonitorSearchResponseMetadata_1.MonitorSearchResponseMetadata; } });\nvar MonitorSearchResult_1 = require(\"./models/MonitorSearchResult\");\nObject.defineProperty(exports, \"MonitorSearchResult\", { enumerable: true, get: function () { return MonitorSearchResult_1.MonitorSearchResult; } });\nvar MonitorSearchResultNotification_1 = require(\"./models/MonitorSearchResultNotification\");\nObject.defineProperty(exports, \"MonitorSearchResultNotification\", { enumerable: true, get: function () { return MonitorSearchResultNotification_1.MonitorSearchResultNotification; } });\nvar MonitorState_1 = require(\"./models/MonitorState\");\nObject.defineProperty(exports, \"MonitorState\", { enumerable: true, get: function () { return MonitorState_1.MonitorState; } });\nvar MonitorStateGroup_1 = require(\"./models/MonitorStateGroup\");\nObject.defineProperty(exports, \"MonitorStateGroup\", { enumerable: true, get: function () { return MonitorStateGroup_1.MonitorStateGroup; } });\nvar MonitorSummaryWidgetDefinition_1 = require(\"./models/MonitorSummaryWidgetDefinition\");\nObject.defineProperty(exports, \"MonitorSummaryWidgetDefinition\", { enumerable: true, get: function () { return MonitorSummaryWidgetDefinition_1.MonitorSummaryWidgetDefinition; } });\nvar MonitorThresholdWindowOptions_1 = require(\"./models/MonitorThresholdWindowOptions\");\nObject.defineProperty(exports, \"MonitorThresholdWindowOptions\", { enumerable: true, get: function () { return MonitorThresholdWindowOptions_1.MonitorThresholdWindowOptions; } });\nvar MonitorThresholds_1 = require(\"./models/MonitorThresholds\");\nObject.defineProperty(exports, \"MonitorThresholds\", { enumerable: true, get: function () { return MonitorThresholds_1.MonitorThresholds; } });\nvar MonitorUpdateRequest_1 = require(\"./models/MonitorUpdateRequest\");\nObject.defineProperty(exports, \"MonitorUpdateRequest\", { enumerable: true, get: function () { return MonitorUpdateRequest_1.MonitorUpdateRequest; } });\nvar MonthlyUsageAttributionBody_1 = require(\"./models/MonthlyUsageAttributionBody\");\nObject.defineProperty(exports, \"MonthlyUsageAttributionBody\", { enumerable: true, get: function () { return MonthlyUsageAttributionBody_1.MonthlyUsageAttributionBody; } });\nvar MonthlyUsageAttributionMetadata_1 = require(\"./models/MonthlyUsageAttributionMetadata\");\nObject.defineProperty(exports, \"MonthlyUsageAttributionMetadata\", { enumerable: true, get: function () { return MonthlyUsageAttributionMetadata_1.MonthlyUsageAttributionMetadata; } });\nvar MonthlyUsageAttributionPagination_1 = require(\"./models/MonthlyUsageAttributionPagination\");\nObject.defineProperty(exports, \"MonthlyUsageAttributionPagination\", { enumerable: true, get: function () { return MonthlyUsageAttributionPagination_1.MonthlyUsageAttributionPagination; } });\nvar MonthlyUsageAttributionResponse_1 = require(\"./models/MonthlyUsageAttributionResponse\");\nObject.defineProperty(exports, \"MonthlyUsageAttributionResponse\", { enumerable: true, get: function () { return MonthlyUsageAttributionResponse_1.MonthlyUsageAttributionResponse; } });\nvar MonthlyUsageAttributionValues_1 = require(\"./models/MonthlyUsageAttributionValues\");\nObject.defineProperty(exports, \"MonthlyUsageAttributionValues\", { enumerable: true, get: function () { return MonthlyUsageAttributionValues_1.MonthlyUsageAttributionValues; } });\nvar NoteWidgetDefinition_1 = require(\"./models/NoteWidgetDefinition\");\nObject.defineProperty(exports, \"NoteWidgetDefinition\", { enumerable: true, get: function () { return NoteWidgetDefinition_1.NoteWidgetDefinition; } });\nvar NotebookAbsoluteTime_1 = require(\"./models/NotebookAbsoluteTime\");\nObject.defineProperty(exports, \"NotebookAbsoluteTime\", { enumerable: true, get: function () { return NotebookAbsoluteTime_1.NotebookAbsoluteTime; } });\nvar NotebookAuthor_1 = require(\"./models/NotebookAuthor\");\nObject.defineProperty(exports, \"NotebookAuthor\", { enumerable: true, get: function () { return NotebookAuthor_1.NotebookAuthor; } });\nvar NotebookCellCreateRequest_1 = require(\"./models/NotebookCellCreateRequest\");\nObject.defineProperty(exports, \"NotebookCellCreateRequest\", { enumerable: true, get: function () { return NotebookCellCreateRequest_1.NotebookCellCreateRequest; } });\nvar NotebookCellResponse_1 = require(\"./models/NotebookCellResponse\");\nObject.defineProperty(exports, \"NotebookCellResponse\", { enumerable: true, get: function () { return NotebookCellResponse_1.NotebookCellResponse; } });\nvar NotebookCellUpdateRequest_1 = require(\"./models/NotebookCellUpdateRequest\");\nObject.defineProperty(exports, \"NotebookCellUpdateRequest\", { enumerable: true, get: function () { return NotebookCellUpdateRequest_1.NotebookCellUpdateRequest; } });\nvar NotebookCreateData_1 = require(\"./models/NotebookCreateData\");\nObject.defineProperty(exports, \"NotebookCreateData\", { enumerable: true, get: function () { return NotebookCreateData_1.NotebookCreateData; } });\nvar NotebookCreateDataAttributes_1 = require(\"./models/NotebookCreateDataAttributes\");\nObject.defineProperty(exports, \"NotebookCreateDataAttributes\", { enumerable: true, get: function () { return NotebookCreateDataAttributes_1.NotebookCreateDataAttributes; } });\nvar NotebookCreateRequest_1 = require(\"./models/NotebookCreateRequest\");\nObject.defineProperty(exports, \"NotebookCreateRequest\", { enumerable: true, get: function () { return NotebookCreateRequest_1.NotebookCreateRequest; } });\nvar NotebookDistributionCellAttributes_1 = require(\"./models/NotebookDistributionCellAttributes\");\nObject.defineProperty(exports, \"NotebookDistributionCellAttributes\", { enumerable: true, get: function () { return NotebookDistributionCellAttributes_1.NotebookDistributionCellAttributes; } });\nvar NotebookHeatMapCellAttributes_1 = require(\"./models/NotebookHeatMapCellAttributes\");\nObject.defineProperty(exports, \"NotebookHeatMapCellAttributes\", { enumerable: true, get: function () { return NotebookHeatMapCellAttributes_1.NotebookHeatMapCellAttributes; } });\nvar NotebookLogStreamCellAttributes_1 = require(\"./models/NotebookLogStreamCellAttributes\");\nObject.defineProperty(exports, \"NotebookLogStreamCellAttributes\", { enumerable: true, get: function () { return NotebookLogStreamCellAttributes_1.NotebookLogStreamCellAttributes; } });\nvar NotebookMarkdownCellAttributes_1 = require(\"./models/NotebookMarkdownCellAttributes\");\nObject.defineProperty(exports, \"NotebookMarkdownCellAttributes\", { enumerable: true, get: function () { return NotebookMarkdownCellAttributes_1.NotebookMarkdownCellAttributes; } });\nvar NotebookMarkdownCellDefinition_1 = require(\"./models/NotebookMarkdownCellDefinition\");\nObject.defineProperty(exports, \"NotebookMarkdownCellDefinition\", { enumerable: true, get: function () { return NotebookMarkdownCellDefinition_1.NotebookMarkdownCellDefinition; } });\nvar NotebookMetadata_1 = require(\"./models/NotebookMetadata\");\nObject.defineProperty(exports, \"NotebookMetadata\", { enumerable: true, get: function () { return NotebookMetadata_1.NotebookMetadata; } });\nvar NotebookRelativeTime_1 = require(\"./models/NotebookRelativeTime\");\nObject.defineProperty(exports, \"NotebookRelativeTime\", { enumerable: true, get: function () { return NotebookRelativeTime_1.NotebookRelativeTime; } });\nvar NotebookResponse_1 = require(\"./models/NotebookResponse\");\nObject.defineProperty(exports, \"NotebookResponse\", { enumerable: true, get: function () { return NotebookResponse_1.NotebookResponse; } });\nvar NotebookResponseData_1 = require(\"./models/NotebookResponseData\");\nObject.defineProperty(exports, \"NotebookResponseData\", { enumerable: true, get: function () { return NotebookResponseData_1.NotebookResponseData; } });\nvar NotebookResponseDataAttributes_1 = require(\"./models/NotebookResponseDataAttributes\");\nObject.defineProperty(exports, \"NotebookResponseDataAttributes\", { enumerable: true, get: function () { return NotebookResponseDataAttributes_1.NotebookResponseDataAttributes; } });\nvar NotebookSplitBy_1 = require(\"./models/NotebookSplitBy\");\nObject.defineProperty(exports, \"NotebookSplitBy\", { enumerable: true, get: function () { return NotebookSplitBy_1.NotebookSplitBy; } });\nvar NotebookTimeseriesCellAttributes_1 = require(\"./models/NotebookTimeseriesCellAttributes\");\nObject.defineProperty(exports, \"NotebookTimeseriesCellAttributes\", { enumerable: true, get: function () { return NotebookTimeseriesCellAttributes_1.NotebookTimeseriesCellAttributes; } });\nvar NotebookToplistCellAttributes_1 = require(\"./models/NotebookToplistCellAttributes\");\nObject.defineProperty(exports, \"NotebookToplistCellAttributes\", { enumerable: true, get: function () { return NotebookToplistCellAttributes_1.NotebookToplistCellAttributes; } });\nvar NotebookUpdateData_1 = require(\"./models/NotebookUpdateData\");\nObject.defineProperty(exports, \"NotebookUpdateData\", { enumerable: true, get: function () { return NotebookUpdateData_1.NotebookUpdateData; } });\nvar NotebookUpdateDataAttributes_1 = require(\"./models/NotebookUpdateDataAttributes\");\nObject.defineProperty(exports, \"NotebookUpdateDataAttributes\", { enumerable: true, get: function () { return NotebookUpdateDataAttributes_1.NotebookUpdateDataAttributes; } });\nvar NotebookUpdateRequest_1 = require(\"./models/NotebookUpdateRequest\");\nObject.defineProperty(exports, \"NotebookUpdateRequest\", { enumerable: true, get: function () { return NotebookUpdateRequest_1.NotebookUpdateRequest; } });\nvar NotebooksResponse_1 = require(\"./models/NotebooksResponse\");\nObject.defineProperty(exports, \"NotebooksResponse\", { enumerable: true, get: function () { return NotebooksResponse_1.NotebooksResponse; } });\nvar NotebooksResponseData_1 = require(\"./models/NotebooksResponseData\");\nObject.defineProperty(exports, \"NotebooksResponseData\", { enumerable: true, get: function () { return NotebooksResponseData_1.NotebooksResponseData; } });\nvar NotebooksResponseDataAttributes_1 = require(\"./models/NotebooksResponseDataAttributes\");\nObject.defineProperty(exports, \"NotebooksResponseDataAttributes\", { enumerable: true, get: function () { return NotebooksResponseDataAttributes_1.NotebooksResponseDataAttributes; } });\nvar NotebooksResponseMeta_1 = require(\"./models/NotebooksResponseMeta\");\nObject.defineProperty(exports, \"NotebooksResponseMeta\", { enumerable: true, get: function () { return NotebooksResponseMeta_1.NotebooksResponseMeta; } });\nvar NotebooksResponsePage_1 = require(\"./models/NotebooksResponsePage\");\nObject.defineProperty(exports, \"NotebooksResponsePage\", { enumerable: true, get: function () { return NotebooksResponsePage_1.NotebooksResponsePage; } });\nvar Organization_1 = require(\"./models/Organization\");\nObject.defineProperty(exports, \"Organization\", { enumerable: true, get: function () { return Organization_1.Organization; } });\nvar OrganizationBilling_1 = require(\"./models/OrganizationBilling\");\nObject.defineProperty(exports, \"OrganizationBilling\", { enumerable: true, get: function () { return OrganizationBilling_1.OrganizationBilling; } });\nvar OrganizationCreateBody_1 = require(\"./models/OrganizationCreateBody\");\nObject.defineProperty(exports, \"OrganizationCreateBody\", { enumerable: true, get: function () { return OrganizationCreateBody_1.OrganizationCreateBody; } });\nvar OrganizationCreateResponse_1 = require(\"./models/OrganizationCreateResponse\");\nObject.defineProperty(exports, \"OrganizationCreateResponse\", { enumerable: true, get: function () { return OrganizationCreateResponse_1.OrganizationCreateResponse; } });\nvar OrganizationListResponse_1 = require(\"./models/OrganizationListResponse\");\nObject.defineProperty(exports, \"OrganizationListResponse\", { enumerable: true, get: function () { return OrganizationListResponse_1.OrganizationListResponse; } });\nvar OrganizationResponse_1 = require(\"./models/OrganizationResponse\");\nObject.defineProperty(exports, \"OrganizationResponse\", { enumerable: true, get: function () { return OrganizationResponse_1.OrganizationResponse; } });\nvar OrganizationSettings_1 = require(\"./models/OrganizationSettings\");\nObject.defineProperty(exports, \"OrganizationSettings\", { enumerable: true, get: function () { return OrganizationSettings_1.OrganizationSettings; } });\nvar OrganizationSettingsSaml_1 = require(\"./models/OrganizationSettingsSaml\");\nObject.defineProperty(exports, \"OrganizationSettingsSaml\", { enumerable: true, get: function () { return OrganizationSettingsSaml_1.OrganizationSettingsSaml; } });\nvar OrganizationSettingsSamlAutocreateUsersDomains_1 = require(\"./models/OrganizationSettingsSamlAutocreateUsersDomains\");\nObject.defineProperty(exports, \"OrganizationSettingsSamlAutocreateUsersDomains\", { enumerable: true, get: function () { return OrganizationSettingsSamlAutocreateUsersDomains_1.OrganizationSettingsSamlAutocreateUsersDomains; } });\nvar OrganizationSettingsSamlIdpInitiatedLogin_1 = require(\"./models/OrganizationSettingsSamlIdpInitiatedLogin\");\nObject.defineProperty(exports, \"OrganizationSettingsSamlIdpInitiatedLogin\", { enumerable: true, get: function () { return OrganizationSettingsSamlIdpInitiatedLogin_1.OrganizationSettingsSamlIdpInitiatedLogin; } });\nvar OrganizationSettingsSamlStrictMode_1 = require(\"./models/OrganizationSettingsSamlStrictMode\");\nObject.defineProperty(exports, \"OrganizationSettingsSamlStrictMode\", { enumerable: true, get: function () { return OrganizationSettingsSamlStrictMode_1.OrganizationSettingsSamlStrictMode; } });\nvar OrganizationSubscription_1 = require(\"./models/OrganizationSubscription\");\nObject.defineProperty(exports, \"OrganizationSubscription\", { enumerable: true, get: function () { return OrganizationSubscription_1.OrganizationSubscription; } });\nvar PagerDutyService_1 = require(\"./models/PagerDutyService\");\nObject.defineProperty(exports, \"PagerDutyService\", { enumerable: true, get: function () { return PagerDutyService_1.PagerDutyService; } });\nvar PagerDutyServiceKey_1 = require(\"./models/PagerDutyServiceKey\");\nObject.defineProperty(exports, \"PagerDutyServiceKey\", { enumerable: true, get: function () { return PagerDutyServiceKey_1.PagerDutyServiceKey; } });\nvar PagerDutyServiceName_1 = require(\"./models/PagerDutyServiceName\");\nObject.defineProperty(exports, \"PagerDutyServiceName\", { enumerable: true, get: function () { return PagerDutyServiceName_1.PagerDutyServiceName; } });\nvar Pagination_1 = require(\"./models/Pagination\");\nObject.defineProperty(exports, \"Pagination\", { enumerable: true, get: function () { return Pagination_1.Pagination; } });\nvar ProcessQueryDefinition_1 = require(\"./models/ProcessQueryDefinition\");\nObject.defineProperty(exports, \"ProcessQueryDefinition\", { enumerable: true, get: function () { return ProcessQueryDefinition_1.ProcessQueryDefinition; } });\nvar QueryValueWidgetDefinition_1 = require(\"./models/QueryValueWidgetDefinition\");\nObject.defineProperty(exports, \"QueryValueWidgetDefinition\", { enumerable: true, get: function () { return QueryValueWidgetDefinition_1.QueryValueWidgetDefinition; } });\nvar QueryValueWidgetRequest_1 = require(\"./models/QueryValueWidgetRequest\");\nObject.defineProperty(exports, \"QueryValueWidgetRequest\", { enumerable: true, get: function () { return QueryValueWidgetRequest_1.QueryValueWidgetRequest; } });\nvar ResponseMetaAttributes_1 = require(\"./models/ResponseMetaAttributes\");\nObject.defineProperty(exports, \"ResponseMetaAttributes\", { enumerable: true, get: function () { return ResponseMetaAttributes_1.ResponseMetaAttributes; } });\nvar SLOBulkDeleteError_1 = require(\"./models/SLOBulkDeleteError\");\nObject.defineProperty(exports, \"SLOBulkDeleteError\", { enumerable: true, get: function () { return SLOBulkDeleteError_1.SLOBulkDeleteError; } });\nvar SLOBulkDeleteResponse_1 = require(\"./models/SLOBulkDeleteResponse\");\nObject.defineProperty(exports, \"SLOBulkDeleteResponse\", { enumerable: true, get: function () { return SLOBulkDeleteResponse_1.SLOBulkDeleteResponse; } });\nvar SLOBulkDeleteResponseData_1 = require(\"./models/SLOBulkDeleteResponseData\");\nObject.defineProperty(exports, \"SLOBulkDeleteResponseData\", { enumerable: true, get: function () { return SLOBulkDeleteResponseData_1.SLOBulkDeleteResponseData; } });\nvar SLOCorrection_1 = require(\"./models/SLOCorrection\");\nObject.defineProperty(exports, \"SLOCorrection\", { enumerable: true, get: function () { return SLOCorrection_1.SLOCorrection; } });\nvar SLOCorrectionCreateData_1 = require(\"./models/SLOCorrectionCreateData\");\nObject.defineProperty(exports, \"SLOCorrectionCreateData\", { enumerable: true, get: function () { return SLOCorrectionCreateData_1.SLOCorrectionCreateData; } });\nvar SLOCorrectionCreateRequest_1 = require(\"./models/SLOCorrectionCreateRequest\");\nObject.defineProperty(exports, \"SLOCorrectionCreateRequest\", { enumerable: true, get: function () { return SLOCorrectionCreateRequest_1.SLOCorrectionCreateRequest; } });\nvar SLOCorrectionCreateRequestAttributes_1 = require(\"./models/SLOCorrectionCreateRequestAttributes\");\nObject.defineProperty(exports, \"SLOCorrectionCreateRequestAttributes\", { enumerable: true, get: function () { return SLOCorrectionCreateRequestAttributes_1.SLOCorrectionCreateRequestAttributes; } });\nvar SLOCorrectionListResponse_1 = require(\"./models/SLOCorrectionListResponse\");\nObject.defineProperty(exports, \"SLOCorrectionListResponse\", { enumerable: true, get: function () { return SLOCorrectionListResponse_1.SLOCorrectionListResponse; } });\nvar SLOCorrectionResponse_1 = require(\"./models/SLOCorrectionResponse\");\nObject.defineProperty(exports, \"SLOCorrectionResponse\", { enumerable: true, get: function () { return SLOCorrectionResponse_1.SLOCorrectionResponse; } });\nvar SLOCorrectionResponseAttributes_1 = require(\"./models/SLOCorrectionResponseAttributes\");\nObject.defineProperty(exports, \"SLOCorrectionResponseAttributes\", { enumerable: true, get: function () { return SLOCorrectionResponseAttributes_1.SLOCorrectionResponseAttributes; } });\nvar SLOCorrectionResponseAttributesModifier_1 = require(\"./models/SLOCorrectionResponseAttributesModifier\");\nObject.defineProperty(exports, \"SLOCorrectionResponseAttributesModifier\", { enumerable: true, get: function () { return SLOCorrectionResponseAttributesModifier_1.SLOCorrectionResponseAttributesModifier; } });\nvar SLOCorrectionUpdateData_1 = require(\"./models/SLOCorrectionUpdateData\");\nObject.defineProperty(exports, \"SLOCorrectionUpdateData\", { enumerable: true, get: function () { return SLOCorrectionUpdateData_1.SLOCorrectionUpdateData; } });\nvar SLOCorrectionUpdateRequest_1 = require(\"./models/SLOCorrectionUpdateRequest\");\nObject.defineProperty(exports, \"SLOCorrectionUpdateRequest\", { enumerable: true, get: function () { return SLOCorrectionUpdateRequest_1.SLOCorrectionUpdateRequest; } });\nvar SLOCorrectionUpdateRequestAttributes_1 = require(\"./models/SLOCorrectionUpdateRequestAttributes\");\nObject.defineProperty(exports, \"SLOCorrectionUpdateRequestAttributes\", { enumerable: true, get: function () { return SLOCorrectionUpdateRequestAttributes_1.SLOCorrectionUpdateRequestAttributes; } });\nvar SLODeleteResponse_1 = require(\"./models/SLODeleteResponse\");\nObject.defineProperty(exports, \"SLODeleteResponse\", { enumerable: true, get: function () { return SLODeleteResponse_1.SLODeleteResponse; } });\nvar SLOHistoryMetrics_1 = require(\"./models/SLOHistoryMetrics\");\nObject.defineProperty(exports, \"SLOHistoryMetrics\", { enumerable: true, get: function () { return SLOHistoryMetrics_1.SLOHistoryMetrics; } });\nvar SLOHistoryMetricsSeries_1 = require(\"./models/SLOHistoryMetricsSeries\");\nObject.defineProperty(exports, \"SLOHistoryMetricsSeries\", { enumerable: true, get: function () { return SLOHistoryMetricsSeries_1.SLOHistoryMetricsSeries; } });\nvar SLOHistoryMetricsSeriesMetadata_1 = require(\"./models/SLOHistoryMetricsSeriesMetadata\");\nObject.defineProperty(exports, \"SLOHistoryMetricsSeriesMetadata\", { enumerable: true, get: function () { return SLOHistoryMetricsSeriesMetadata_1.SLOHistoryMetricsSeriesMetadata; } });\nvar SLOHistoryMetricsSeriesMetadataUnit_1 = require(\"./models/SLOHistoryMetricsSeriesMetadataUnit\");\nObject.defineProperty(exports, \"SLOHistoryMetricsSeriesMetadataUnit\", { enumerable: true, get: function () { return SLOHistoryMetricsSeriesMetadataUnit_1.SLOHistoryMetricsSeriesMetadataUnit; } });\nvar SLOHistoryMonitor_1 = require(\"./models/SLOHistoryMonitor\");\nObject.defineProperty(exports, \"SLOHistoryMonitor\", { enumerable: true, get: function () { return SLOHistoryMonitor_1.SLOHistoryMonitor; } });\nvar SLOHistoryResponse_1 = require(\"./models/SLOHistoryResponse\");\nObject.defineProperty(exports, \"SLOHistoryResponse\", { enumerable: true, get: function () { return SLOHistoryResponse_1.SLOHistoryResponse; } });\nvar SLOHistoryResponseData_1 = require(\"./models/SLOHistoryResponseData\");\nObject.defineProperty(exports, \"SLOHistoryResponseData\", { enumerable: true, get: function () { return SLOHistoryResponseData_1.SLOHistoryResponseData; } });\nvar SLOHistoryResponseError_1 = require(\"./models/SLOHistoryResponseError\");\nObject.defineProperty(exports, \"SLOHistoryResponseError\", { enumerable: true, get: function () { return SLOHistoryResponseError_1.SLOHistoryResponseError; } });\nvar SLOHistoryResponseErrorWithType_1 = require(\"./models/SLOHistoryResponseErrorWithType\");\nObject.defineProperty(exports, \"SLOHistoryResponseErrorWithType\", { enumerable: true, get: function () { return SLOHistoryResponseErrorWithType_1.SLOHistoryResponseErrorWithType; } });\nvar SLOHistorySLIData_1 = require(\"./models/SLOHistorySLIData\");\nObject.defineProperty(exports, \"SLOHistorySLIData\", { enumerable: true, get: function () { return SLOHistorySLIData_1.SLOHistorySLIData; } });\nvar SLOListResponse_1 = require(\"./models/SLOListResponse\");\nObject.defineProperty(exports, \"SLOListResponse\", { enumerable: true, get: function () { return SLOListResponse_1.SLOListResponse; } });\nvar SLOListResponseMetadata_1 = require(\"./models/SLOListResponseMetadata\");\nObject.defineProperty(exports, \"SLOListResponseMetadata\", { enumerable: true, get: function () { return SLOListResponseMetadata_1.SLOListResponseMetadata; } });\nvar SLOListResponseMetadataPage_1 = require(\"./models/SLOListResponseMetadataPage\");\nObject.defineProperty(exports, \"SLOListResponseMetadataPage\", { enumerable: true, get: function () { return SLOListResponseMetadataPage_1.SLOListResponseMetadataPage; } });\nvar SLOResponse_1 = require(\"./models/SLOResponse\");\nObject.defineProperty(exports, \"SLOResponse\", { enumerable: true, get: function () { return SLOResponse_1.SLOResponse; } });\nvar SLOResponseData_1 = require(\"./models/SLOResponseData\");\nObject.defineProperty(exports, \"SLOResponseData\", { enumerable: true, get: function () { return SLOResponseData_1.SLOResponseData; } });\nvar SLOThreshold_1 = require(\"./models/SLOThreshold\");\nObject.defineProperty(exports, \"SLOThreshold\", { enumerable: true, get: function () { return SLOThreshold_1.SLOThreshold; } });\nvar SLOWidgetDefinition_1 = require(\"./models/SLOWidgetDefinition\");\nObject.defineProperty(exports, \"SLOWidgetDefinition\", { enumerable: true, get: function () { return SLOWidgetDefinition_1.SLOWidgetDefinition; } });\nvar ScatterPlotRequest_1 = require(\"./models/ScatterPlotRequest\");\nObject.defineProperty(exports, \"ScatterPlotRequest\", { enumerable: true, get: function () { return ScatterPlotRequest_1.ScatterPlotRequest; } });\nvar ScatterPlotWidgetDefinition_1 = require(\"./models/ScatterPlotWidgetDefinition\");\nObject.defineProperty(exports, \"ScatterPlotWidgetDefinition\", { enumerable: true, get: function () { return ScatterPlotWidgetDefinition_1.ScatterPlotWidgetDefinition; } });\nvar ScatterPlotWidgetDefinitionRequests_1 = require(\"./models/ScatterPlotWidgetDefinitionRequests\");\nObject.defineProperty(exports, \"ScatterPlotWidgetDefinitionRequests\", { enumerable: true, get: function () { return ScatterPlotWidgetDefinitionRequests_1.ScatterPlotWidgetDefinitionRequests; } });\nvar ScatterplotTableRequest_1 = require(\"./models/ScatterplotTableRequest\");\nObject.defineProperty(exports, \"ScatterplotTableRequest\", { enumerable: true, get: function () { return ScatterplotTableRequest_1.ScatterplotTableRequest; } });\nvar ScatterplotWidgetFormula_1 = require(\"./models/ScatterplotWidgetFormula\");\nObject.defineProperty(exports, \"ScatterplotWidgetFormula\", { enumerable: true, get: function () { return ScatterplotWidgetFormula_1.ScatterplotWidgetFormula; } });\nvar Series_1 = require(\"./models/Series\");\nObject.defineProperty(exports, \"Series\", { enumerable: true, get: function () { return Series_1.Series; } });\nvar ServiceCheck_1 = require(\"./models/ServiceCheck\");\nObject.defineProperty(exports, \"ServiceCheck\", { enumerable: true, get: function () { return ServiceCheck_1.ServiceCheck; } });\nvar ServiceLevelObjective_1 = require(\"./models/ServiceLevelObjective\");\nObject.defineProperty(exports, \"ServiceLevelObjective\", { enumerable: true, get: function () { return ServiceLevelObjective_1.ServiceLevelObjective; } });\nvar ServiceLevelObjectiveQuery_1 = require(\"./models/ServiceLevelObjectiveQuery\");\nObject.defineProperty(exports, \"ServiceLevelObjectiveQuery\", { enumerable: true, get: function () { return ServiceLevelObjectiveQuery_1.ServiceLevelObjectiveQuery; } });\nvar ServiceLevelObjectiveRequest_1 = require(\"./models/ServiceLevelObjectiveRequest\");\nObject.defineProperty(exports, \"ServiceLevelObjectiveRequest\", { enumerable: true, get: function () { return ServiceLevelObjectiveRequest_1.ServiceLevelObjectiveRequest; } });\nvar ServiceMapWidgetDefinition_1 = require(\"./models/ServiceMapWidgetDefinition\");\nObject.defineProperty(exports, \"ServiceMapWidgetDefinition\", { enumerable: true, get: function () { return ServiceMapWidgetDefinition_1.ServiceMapWidgetDefinition; } });\nvar ServiceSummaryWidgetDefinition_1 = require(\"./models/ServiceSummaryWidgetDefinition\");\nObject.defineProperty(exports, \"ServiceSummaryWidgetDefinition\", { enumerable: true, get: function () { return ServiceSummaryWidgetDefinition_1.ServiceSummaryWidgetDefinition; } });\nvar SlackIntegrationChannel_1 = require(\"./models/SlackIntegrationChannel\");\nObject.defineProperty(exports, \"SlackIntegrationChannel\", { enumerable: true, get: function () { return SlackIntegrationChannel_1.SlackIntegrationChannel; } });\nvar SlackIntegrationChannelDisplay_1 = require(\"./models/SlackIntegrationChannelDisplay\");\nObject.defineProperty(exports, \"SlackIntegrationChannelDisplay\", { enumerable: true, get: function () { return SlackIntegrationChannelDisplay_1.SlackIntegrationChannelDisplay; } });\nvar SunburstWidgetDefinition_1 = require(\"./models/SunburstWidgetDefinition\");\nObject.defineProperty(exports, \"SunburstWidgetDefinition\", { enumerable: true, get: function () { return SunburstWidgetDefinition_1.SunburstWidgetDefinition; } });\nvar SunburstWidgetLegendInlineAutomatic_1 = require(\"./models/SunburstWidgetLegendInlineAutomatic\");\nObject.defineProperty(exports, \"SunburstWidgetLegendInlineAutomatic\", { enumerable: true, get: function () { return SunburstWidgetLegendInlineAutomatic_1.SunburstWidgetLegendInlineAutomatic; } });\nvar SunburstWidgetLegendTable_1 = require(\"./models/SunburstWidgetLegendTable\");\nObject.defineProperty(exports, \"SunburstWidgetLegendTable\", { enumerable: true, get: function () { return SunburstWidgetLegendTable_1.SunburstWidgetLegendTable; } });\nvar SunburstWidgetRequest_1 = require(\"./models/SunburstWidgetRequest\");\nObject.defineProperty(exports, \"SunburstWidgetRequest\", { enumerable: true, get: function () { return SunburstWidgetRequest_1.SunburstWidgetRequest; } });\nvar SyntheticsAPIStep_1 = require(\"./models/SyntheticsAPIStep\");\nObject.defineProperty(exports, \"SyntheticsAPIStep\", { enumerable: true, get: function () { return SyntheticsAPIStep_1.SyntheticsAPIStep; } });\nvar SyntheticsAPITest_1 = require(\"./models/SyntheticsAPITest\");\nObject.defineProperty(exports, \"SyntheticsAPITest\", { enumerable: true, get: function () { return SyntheticsAPITest_1.SyntheticsAPITest; } });\nvar SyntheticsAPITestConfig_1 = require(\"./models/SyntheticsAPITestConfig\");\nObject.defineProperty(exports, \"SyntheticsAPITestConfig\", { enumerable: true, get: function () { return SyntheticsAPITestConfig_1.SyntheticsAPITestConfig; } });\nvar SyntheticsAPITestResultData_1 = require(\"./models/SyntheticsAPITestResultData\");\nObject.defineProperty(exports, \"SyntheticsAPITestResultData\", { enumerable: true, get: function () { return SyntheticsAPITestResultData_1.SyntheticsAPITestResultData; } });\nvar SyntheticsAPITestResultFull_1 = require(\"./models/SyntheticsAPITestResultFull\");\nObject.defineProperty(exports, \"SyntheticsAPITestResultFull\", { enumerable: true, get: function () { return SyntheticsAPITestResultFull_1.SyntheticsAPITestResultFull; } });\nvar SyntheticsAPITestResultFullCheck_1 = require(\"./models/SyntheticsAPITestResultFullCheck\");\nObject.defineProperty(exports, \"SyntheticsAPITestResultFullCheck\", { enumerable: true, get: function () { return SyntheticsAPITestResultFullCheck_1.SyntheticsAPITestResultFullCheck; } });\nvar SyntheticsAPITestResultShort_1 = require(\"./models/SyntheticsAPITestResultShort\");\nObject.defineProperty(exports, \"SyntheticsAPITestResultShort\", { enumerable: true, get: function () { return SyntheticsAPITestResultShort_1.SyntheticsAPITestResultShort; } });\nvar SyntheticsAPITestResultShortResult_1 = require(\"./models/SyntheticsAPITestResultShortResult\");\nObject.defineProperty(exports, \"SyntheticsAPITestResultShortResult\", { enumerable: true, get: function () { return SyntheticsAPITestResultShortResult_1.SyntheticsAPITestResultShortResult; } });\nvar SyntheticsApiTestResultFailure_1 = require(\"./models/SyntheticsApiTestResultFailure\");\nObject.defineProperty(exports, \"SyntheticsApiTestResultFailure\", { enumerable: true, get: function () { return SyntheticsApiTestResultFailure_1.SyntheticsApiTestResultFailure; } });\nvar SyntheticsAssertionJSONPathTarget_1 = require(\"./models/SyntheticsAssertionJSONPathTarget\");\nObject.defineProperty(exports, \"SyntheticsAssertionJSONPathTarget\", { enumerable: true, get: function () { return SyntheticsAssertionJSONPathTarget_1.SyntheticsAssertionJSONPathTarget; } });\nvar SyntheticsAssertionJSONPathTargetTarget_1 = require(\"./models/SyntheticsAssertionJSONPathTargetTarget\");\nObject.defineProperty(exports, \"SyntheticsAssertionJSONPathTargetTarget\", { enumerable: true, get: function () { return SyntheticsAssertionJSONPathTargetTarget_1.SyntheticsAssertionJSONPathTargetTarget; } });\nvar SyntheticsAssertionTarget_1 = require(\"./models/SyntheticsAssertionTarget\");\nObject.defineProperty(exports, \"SyntheticsAssertionTarget\", { enumerable: true, get: function () { return SyntheticsAssertionTarget_1.SyntheticsAssertionTarget; } });\nvar SyntheticsBasicAuthNTLM_1 = require(\"./models/SyntheticsBasicAuthNTLM\");\nObject.defineProperty(exports, \"SyntheticsBasicAuthNTLM\", { enumerable: true, get: function () { return SyntheticsBasicAuthNTLM_1.SyntheticsBasicAuthNTLM; } });\nvar SyntheticsBasicAuthSigv4_1 = require(\"./models/SyntheticsBasicAuthSigv4\");\nObject.defineProperty(exports, \"SyntheticsBasicAuthSigv4\", { enumerable: true, get: function () { return SyntheticsBasicAuthSigv4_1.SyntheticsBasicAuthSigv4; } });\nvar SyntheticsBasicAuthWeb_1 = require(\"./models/SyntheticsBasicAuthWeb\");\nObject.defineProperty(exports, \"SyntheticsBasicAuthWeb\", { enumerable: true, get: function () { return SyntheticsBasicAuthWeb_1.SyntheticsBasicAuthWeb; } });\nvar SyntheticsBatchDetails_1 = require(\"./models/SyntheticsBatchDetails\");\nObject.defineProperty(exports, \"SyntheticsBatchDetails\", { enumerable: true, get: function () { return SyntheticsBatchDetails_1.SyntheticsBatchDetails; } });\nvar SyntheticsBatchDetailsData_1 = require(\"./models/SyntheticsBatchDetailsData\");\nObject.defineProperty(exports, \"SyntheticsBatchDetailsData\", { enumerable: true, get: function () { return SyntheticsBatchDetailsData_1.SyntheticsBatchDetailsData; } });\nvar SyntheticsBatchResult_1 = require(\"./models/SyntheticsBatchResult\");\nObject.defineProperty(exports, \"SyntheticsBatchResult\", { enumerable: true, get: function () { return SyntheticsBatchResult_1.SyntheticsBatchResult; } });\nvar SyntheticsBrowserError_1 = require(\"./models/SyntheticsBrowserError\");\nObject.defineProperty(exports, \"SyntheticsBrowserError\", { enumerable: true, get: function () { return SyntheticsBrowserError_1.SyntheticsBrowserError; } });\nvar SyntheticsBrowserTest_1 = require(\"./models/SyntheticsBrowserTest\");\nObject.defineProperty(exports, \"SyntheticsBrowserTest\", { enumerable: true, get: function () { return SyntheticsBrowserTest_1.SyntheticsBrowserTest; } });\nvar SyntheticsBrowserTestConfig_1 = require(\"./models/SyntheticsBrowserTestConfig\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestConfig\", { enumerable: true, get: function () { return SyntheticsBrowserTestConfig_1.SyntheticsBrowserTestConfig; } });\nvar SyntheticsBrowserTestResultData_1 = require(\"./models/SyntheticsBrowserTestResultData\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultData\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultData_1.SyntheticsBrowserTestResultData; } });\nvar SyntheticsBrowserTestResultFailure_1 = require(\"./models/SyntheticsBrowserTestResultFailure\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultFailure\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultFailure_1.SyntheticsBrowserTestResultFailure; } });\nvar SyntheticsBrowserTestResultFull_1 = require(\"./models/SyntheticsBrowserTestResultFull\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultFull\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultFull_1.SyntheticsBrowserTestResultFull; } });\nvar SyntheticsBrowserTestResultFullCheck_1 = require(\"./models/SyntheticsBrowserTestResultFullCheck\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultFullCheck\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultFullCheck_1.SyntheticsBrowserTestResultFullCheck; } });\nvar SyntheticsBrowserTestResultShort_1 = require(\"./models/SyntheticsBrowserTestResultShort\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultShort\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultShort_1.SyntheticsBrowserTestResultShort; } });\nvar SyntheticsBrowserTestResultShortResult_1 = require(\"./models/SyntheticsBrowserTestResultShortResult\");\nObject.defineProperty(exports, \"SyntheticsBrowserTestResultShortResult\", { enumerable: true, get: function () { return SyntheticsBrowserTestResultShortResult_1.SyntheticsBrowserTestResultShortResult; } });\nvar SyntheticsBrowserVariable_1 = require(\"./models/SyntheticsBrowserVariable\");\nObject.defineProperty(exports, \"SyntheticsBrowserVariable\", { enumerable: true, get: function () { return SyntheticsBrowserVariable_1.SyntheticsBrowserVariable; } });\nvar SyntheticsCIBatchMetadata_1 = require(\"./models/SyntheticsCIBatchMetadata\");\nObject.defineProperty(exports, \"SyntheticsCIBatchMetadata\", { enumerable: true, get: function () { return SyntheticsCIBatchMetadata_1.SyntheticsCIBatchMetadata; } });\nvar SyntheticsCIBatchMetadataCI_1 = require(\"./models/SyntheticsCIBatchMetadataCI\");\nObject.defineProperty(exports, \"SyntheticsCIBatchMetadataCI\", { enumerable: true, get: function () { return SyntheticsCIBatchMetadataCI_1.SyntheticsCIBatchMetadataCI; } });\nvar SyntheticsCIBatchMetadataGit_1 = require(\"./models/SyntheticsCIBatchMetadataGit\");\nObject.defineProperty(exports, \"SyntheticsCIBatchMetadataGit\", { enumerable: true, get: function () { return SyntheticsCIBatchMetadataGit_1.SyntheticsCIBatchMetadataGit; } });\nvar SyntheticsCIBatchMetadataPipeline_1 = require(\"./models/SyntheticsCIBatchMetadataPipeline\");\nObject.defineProperty(exports, \"SyntheticsCIBatchMetadataPipeline\", { enumerable: true, get: function () { return SyntheticsCIBatchMetadataPipeline_1.SyntheticsCIBatchMetadataPipeline; } });\nvar SyntheticsCIBatchMetadataProvider_1 = require(\"./models/SyntheticsCIBatchMetadataProvider\");\nObject.defineProperty(exports, \"SyntheticsCIBatchMetadataProvider\", { enumerable: true, get: function () { return SyntheticsCIBatchMetadataProvider_1.SyntheticsCIBatchMetadataProvider; } });\nvar SyntheticsCITest_1 = require(\"./models/SyntheticsCITest\");\nObject.defineProperty(exports, \"SyntheticsCITest\", { enumerable: true, get: function () { return SyntheticsCITest_1.SyntheticsCITest; } });\nvar SyntheticsCITestBody_1 = require(\"./models/SyntheticsCITestBody\");\nObject.defineProperty(exports, \"SyntheticsCITestBody\", { enumerable: true, get: function () { return SyntheticsCITestBody_1.SyntheticsCITestBody; } });\nvar SyntheticsConfigVariable_1 = require(\"./models/SyntheticsConfigVariable\");\nObject.defineProperty(exports, \"SyntheticsConfigVariable\", { enumerable: true, get: function () { return SyntheticsConfigVariable_1.SyntheticsConfigVariable; } });\nvar SyntheticsCoreWebVitals_1 = require(\"./models/SyntheticsCoreWebVitals\");\nObject.defineProperty(exports, \"SyntheticsCoreWebVitals\", { enumerable: true, get: function () { return SyntheticsCoreWebVitals_1.SyntheticsCoreWebVitals; } });\nvar SyntheticsDeleteTestsPayload_1 = require(\"./models/SyntheticsDeleteTestsPayload\");\nObject.defineProperty(exports, \"SyntheticsDeleteTestsPayload\", { enumerable: true, get: function () { return SyntheticsDeleteTestsPayload_1.SyntheticsDeleteTestsPayload; } });\nvar SyntheticsDeleteTestsResponse_1 = require(\"./models/SyntheticsDeleteTestsResponse\");\nObject.defineProperty(exports, \"SyntheticsDeleteTestsResponse\", { enumerable: true, get: function () { return SyntheticsDeleteTestsResponse_1.SyntheticsDeleteTestsResponse; } });\nvar SyntheticsDeletedTest_1 = require(\"./models/SyntheticsDeletedTest\");\nObject.defineProperty(exports, \"SyntheticsDeletedTest\", { enumerable: true, get: function () { return SyntheticsDeletedTest_1.SyntheticsDeletedTest; } });\nvar SyntheticsDevice_1 = require(\"./models/SyntheticsDevice\");\nObject.defineProperty(exports, \"SyntheticsDevice\", { enumerable: true, get: function () { return SyntheticsDevice_1.SyntheticsDevice; } });\nvar SyntheticsGetAPITestLatestResultsResponse_1 = require(\"./models/SyntheticsGetAPITestLatestResultsResponse\");\nObject.defineProperty(exports, \"SyntheticsGetAPITestLatestResultsResponse\", { enumerable: true, get: function () { return SyntheticsGetAPITestLatestResultsResponse_1.SyntheticsGetAPITestLatestResultsResponse; } });\nvar SyntheticsGetBrowserTestLatestResultsResponse_1 = require(\"./models/SyntheticsGetBrowserTestLatestResultsResponse\");\nObject.defineProperty(exports, \"SyntheticsGetBrowserTestLatestResultsResponse\", { enumerable: true, get: function () { return SyntheticsGetBrowserTestLatestResultsResponse_1.SyntheticsGetBrowserTestLatestResultsResponse; } });\nvar SyntheticsGlobalVariable_1 = require(\"./models/SyntheticsGlobalVariable\");\nObject.defineProperty(exports, \"SyntheticsGlobalVariable\", { enumerable: true, get: function () { return SyntheticsGlobalVariable_1.SyntheticsGlobalVariable; } });\nvar SyntheticsGlobalVariableAttributes_1 = require(\"./models/SyntheticsGlobalVariableAttributes\");\nObject.defineProperty(exports, \"SyntheticsGlobalVariableAttributes\", { enumerable: true, get: function () { return SyntheticsGlobalVariableAttributes_1.SyntheticsGlobalVariableAttributes; } });\nvar SyntheticsGlobalVariableParseTestOptions_1 = require(\"./models/SyntheticsGlobalVariableParseTestOptions\");\nObject.defineProperty(exports, \"SyntheticsGlobalVariableParseTestOptions\", { enumerable: true, get: function () { return SyntheticsGlobalVariableParseTestOptions_1.SyntheticsGlobalVariableParseTestOptions; } });\nvar SyntheticsGlobalVariableValue_1 = require(\"./models/SyntheticsGlobalVariableValue\");\nObject.defineProperty(exports, \"SyntheticsGlobalVariableValue\", { enumerable: true, get: function () { return SyntheticsGlobalVariableValue_1.SyntheticsGlobalVariableValue; } });\nvar SyntheticsListGlobalVariablesResponse_1 = require(\"./models/SyntheticsListGlobalVariablesResponse\");\nObject.defineProperty(exports, \"SyntheticsListGlobalVariablesResponse\", { enumerable: true, get: function () { return SyntheticsListGlobalVariablesResponse_1.SyntheticsListGlobalVariablesResponse; } });\nvar SyntheticsListTestsResponse_1 = require(\"./models/SyntheticsListTestsResponse\");\nObject.defineProperty(exports, \"SyntheticsListTestsResponse\", { enumerable: true, get: function () { return SyntheticsListTestsResponse_1.SyntheticsListTestsResponse; } });\nvar SyntheticsLocation_1 = require(\"./models/SyntheticsLocation\");\nObject.defineProperty(exports, \"SyntheticsLocation\", { enumerable: true, get: function () { return SyntheticsLocation_1.SyntheticsLocation; } });\nvar SyntheticsLocations_1 = require(\"./models/SyntheticsLocations\");\nObject.defineProperty(exports, \"SyntheticsLocations\", { enumerable: true, get: function () { return SyntheticsLocations_1.SyntheticsLocations; } });\nvar SyntheticsParsingOptions_1 = require(\"./models/SyntheticsParsingOptions\");\nObject.defineProperty(exports, \"SyntheticsParsingOptions\", { enumerable: true, get: function () { return SyntheticsParsingOptions_1.SyntheticsParsingOptions; } });\nvar SyntheticsPrivateLocation_1 = require(\"./models/SyntheticsPrivateLocation\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocation\", { enumerable: true, get: function () { return SyntheticsPrivateLocation_1.SyntheticsPrivateLocation; } });\nvar SyntheticsPrivateLocationCreationResponse_1 = require(\"./models/SyntheticsPrivateLocationCreationResponse\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocationCreationResponse\", { enumerable: true, get: function () { return SyntheticsPrivateLocationCreationResponse_1.SyntheticsPrivateLocationCreationResponse; } });\nvar SyntheticsPrivateLocationCreationResponseResultEncryption_1 = require(\"./models/SyntheticsPrivateLocationCreationResponseResultEncryption\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocationCreationResponseResultEncryption\", { enumerable: true, get: function () { return SyntheticsPrivateLocationCreationResponseResultEncryption_1.SyntheticsPrivateLocationCreationResponseResultEncryption; } });\nvar SyntheticsPrivateLocationSecrets_1 = require(\"./models/SyntheticsPrivateLocationSecrets\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocationSecrets\", { enumerable: true, get: function () { return SyntheticsPrivateLocationSecrets_1.SyntheticsPrivateLocationSecrets; } });\nvar SyntheticsPrivateLocationSecretsAuthentication_1 = require(\"./models/SyntheticsPrivateLocationSecretsAuthentication\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocationSecretsAuthentication\", { enumerable: true, get: function () { return SyntheticsPrivateLocationSecretsAuthentication_1.SyntheticsPrivateLocationSecretsAuthentication; } });\nvar SyntheticsPrivateLocationSecretsConfigDecryption_1 = require(\"./models/SyntheticsPrivateLocationSecretsConfigDecryption\");\nObject.defineProperty(exports, \"SyntheticsPrivateLocationSecretsConfigDecryption\", { enumerable: true, get: function () { return SyntheticsPrivateLocationSecretsConfigDecryption_1.SyntheticsPrivateLocationSecretsConfigDecryption; } });\nvar SyntheticsSSLCertificate_1 = require(\"./models/SyntheticsSSLCertificate\");\nObject.defineProperty(exports, \"SyntheticsSSLCertificate\", { enumerable: true, get: function () { return SyntheticsSSLCertificate_1.SyntheticsSSLCertificate; } });\nvar SyntheticsSSLCertificateIssuer_1 = require(\"./models/SyntheticsSSLCertificateIssuer\");\nObject.defineProperty(exports, \"SyntheticsSSLCertificateIssuer\", { enumerable: true, get: function () { return SyntheticsSSLCertificateIssuer_1.SyntheticsSSLCertificateIssuer; } });\nvar SyntheticsSSLCertificateSubject_1 = require(\"./models/SyntheticsSSLCertificateSubject\");\nObject.defineProperty(exports, \"SyntheticsSSLCertificateSubject\", { enumerable: true, get: function () { return SyntheticsSSLCertificateSubject_1.SyntheticsSSLCertificateSubject; } });\nvar SyntheticsStep_1 = require(\"./models/SyntheticsStep\");\nObject.defineProperty(exports, \"SyntheticsStep\", { enumerable: true, get: function () { return SyntheticsStep_1.SyntheticsStep; } });\nvar SyntheticsStepDetail_1 = require(\"./models/SyntheticsStepDetail\");\nObject.defineProperty(exports, \"SyntheticsStepDetail\", { enumerable: true, get: function () { return SyntheticsStepDetail_1.SyntheticsStepDetail; } });\nvar SyntheticsStepDetailWarning_1 = require(\"./models/SyntheticsStepDetailWarning\");\nObject.defineProperty(exports, \"SyntheticsStepDetailWarning\", { enumerable: true, get: function () { return SyntheticsStepDetailWarning_1.SyntheticsStepDetailWarning; } });\nvar SyntheticsTestConfig_1 = require(\"./models/SyntheticsTestConfig\");\nObject.defineProperty(exports, \"SyntheticsTestConfig\", { enumerable: true, get: function () { return SyntheticsTestConfig_1.SyntheticsTestConfig; } });\nvar SyntheticsTestDetails_1 = require(\"./models/SyntheticsTestDetails\");\nObject.defineProperty(exports, \"SyntheticsTestDetails\", { enumerable: true, get: function () { return SyntheticsTestDetails_1.SyntheticsTestDetails; } });\nvar SyntheticsTestOptions_1 = require(\"./models/SyntheticsTestOptions\");\nObject.defineProperty(exports, \"SyntheticsTestOptions\", { enumerable: true, get: function () { return SyntheticsTestOptions_1.SyntheticsTestOptions; } });\nvar SyntheticsTestOptionsMonitorOptions_1 = require(\"./models/SyntheticsTestOptionsMonitorOptions\");\nObject.defineProperty(exports, \"SyntheticsTestOptionsMonitorOptions\", { enumerable: true, get: function () { return SyntheticsTestOptionsMonitorOptions_1.SyntheticsTestOptionsMonitorOptions; } });\nvar SyntheticsTestOptionsRetry_1 = require(\"./models/SyntheticsTestOptionsRetry\");\nObject.defineProperty(exports, \"SyntheticsTestOptionsRetry\", { enumerable: true, get: function () { return SyntheticsTestOptionsRetry_1.SyntheticsTestOptionsRetry; } });\nvar SyntheticsTestRequest_1 = require(\"./models/SyntheticsTestRequest\");\nObject.defineProperty(exports, \"SyntheticsTestRequest\", { enumerable: true, get: function () { return SyntheticsTestRequest_1.SyntheticsTestRequest; } });\nvar SyntheticsTestRequestCertificate_1 = require(\"./models/SyntheticsTestRequestCertificate\");\nObject.defineProperty(exports, \"SyntheticsTestRequestCertificate\", { enumerable: true, get: function () { return SyntheticsTestRequestCertificate_1.SyntheticsTestRequestCertificate; } });\nvar SyntheticsTestRequestCertificateItem_1 = require(\"./models/SyntheticsTestRequestCertificateItem\");\nObject.defineProperty(exports, \"SyntheticsTestRequestCertificateItem\", { enumerable: true, get: function () { return SyntheticsTestRequestCertificateItem_1.SyntheticsTestRequestCertificateItem; } });\nvar SyntheticsTestRequestProxy_1 = require(\"./models/SyntheticsTestRequestProxy\");\nObject.defineProperty(exports, \"SyntheticsTestRequestProxy\", { enumerable: true, get: function () { return SyntheticsTestRequestProxy_1.SyntheticsTestRequestProxy; } });\nvar SyntheticsTiming_1 = require(\"./models/SyntheticsTiming\");\nObject.defineProperty(exports, \"SyntheticsTiming\", { enumerable: true, get: function () { return SyntheticsTiming_1.SyntheticsTiming; } });\nvar SyntheticsTriggerBody_1 = require(\"./models/SyntheticsTriggerBody\");\nObject.defineProperty(exports, \"SyntheticsTriggerBody\", { enumerable: true, get: function () { return SyntheticsTriggerBody_1.SyntheticsTriggerBody; } });\nvar SyntheticsTriggerCITestLocation_1 = require(\"./models/SyntheticsTriggerCITestLocation\");\nObject.defineProperty(exports, \"SyntheticsTriggerCITestLocation\", { enumerable: true, get: function () { return SyntheticsTriggerCITestLocation_1.SyntheticsTriggerCITestLocation; } });\nvar SyntheticsTriggerCITestRunResult_1 = require(\"./models/SyntheticsTriggerCITestRunResult\");\nObject.defineProperty(exports, \"SyntheticsTriggerCITestRunResult\", { enumerable: true, get: function () { return SyntheticsTriggerCITestRunResult_1.SyntheticsTriggerCITestRunResult; } });\nvar SyntheticsTriggerCITestsResponse_1 = require(\"./models/SyntheticsTriggerCITestsResponse\");\nObject.defineProperty(exports, \"SyntheticsTriggerCITestsResponse\", { enumerable: true, get: function () { return SyntheticsTriggerCITestsResponse_1.SyntheticsTriggerCITestsResponse; } });\nvar SyntheticsTriggerTest_1 = require(\"./models/SyntheticsTriggerTest\");\nObject.defineProperty(exports, \"SyntheticsTriggerTest\", { enumerable: true, get: function () { return SyntheticsTriggerTest_1.SyntheticsTriggerTest; } });\nvar SyntheticsUpdateTestPauseStatusPayload_1 = require(\"./models/SyntheticsUpdateTestPauseStatusPayload\");\nObject.defineProperty(exports, \"SyntheticsUpdateTestPauseStatusPayload\", { enumerable: true, get: function () { return SyntheticsUpdateTestPauseStatusPayload_1.SyntheticsUpdateTestPauseStatusPayload; } });\nvar SyntheticsVariableParser_1 = require(\"./models/SyntheticsVariableParser\");\nObject.defineProperty(exports, \"SyntheticsVariableParser\", { enumerable: true, get: function () { return SyntheticsVariableParser_1.SyntheticsVariableParser; } });\nvar TableWidgetDefinition_1 = require(\"./models/TableWidgetDefinition\");\nObject.defineProperty(exports, \"TableWidgetDefinition\", { enumerable: true, get: function () { return TableWidgetDefinition_1.TableWidgetDefinition; } });\nvar TableWidgetRequest_1 = require(\"./models/TableWidgetRequest\");\nObject.defineProperty(exports, \"TableWidgetRequest\", { enumerable: true, get: function () { return TableWidgetRequest_1.TableWidgetRequest; } });\nvar TagToHosts_1 = require(\"./models/TagToHosts\");\nObject.defineProperty(exports, \"TagToHosts\", { enumerable: true, get: function () { return TagToHosts_1.TagToHosts; } });\nvar TimeseriesWidgetDefinition_1 = require(\"./models/TimeseriesWidgetDefinition\");\nObject.defineProperty(exports, \"TimeseriesWidgetDefinition\", { enumerable: true, get: function () { return TimeseriesWidgetDefinition_1.TimeseriesWidgetDefinition; } });\nvar TimeseriesWidgetExpressionAlias_1 = require(\"./models/TimeseriesWidgetExpressionAlias\");\nObject.defineProperty(exports, \"TimeseriesWidgetExpressionAlias\", { enumerable: true, get: function () { return TimeseriesWidgetExpressionAlias_1.TimeseriesWidgetExpressionAlias; } });\nvar TimeseriesWidgetRequest_1 = require(\"./models/TimeseriesWidgetRequest\");\nObject.defineProperty(exports, \"TimeseriesWidgetRequest\", { enumerable: true, get: function () { return TimeseriesWidgetRequest_1.TimeseriesWidgetRequest; } });\nvar ToplistWidgetDefinition_1 = require(\"./models/ToplistWidgetDefinition\");\nObject.defineProperty(exports, \"ToplistWidgetDefinition\", { enumerable: true, get: function () { return ToplistWidgetDefinition_1.ToplistWidgetDefinition; } });\nvar ToplistWidgetRequest_1 = require(\"./models/ToplistWidgetRequest\");\nObject.defineProperty(exports, \"ToplistWidgetRequest\", { enumerable: true, get: function () { return ToplistWidgetRequest_1.ToplistWidgetRequest; } });\nvar TreeMapWidgetDefinition_1 = require(\"./models/TreeMapWidgetDefinition\");\nObject.defineProperty(exports, \"TreeMapWidgetDefinition\", { enumerable: true, get: function () { return TreeMapWidgetDefinition_1.TreeMapWidgetDefinition; } });\nvar TreeMapWidgetRequest_1 = require(\"./models/TreeMapWidgetRequest\");\nObject.defineProperty(exports, \"TreeMapWidgetRequest\", { enumerable: true, get: function () { return TreeMapWidgetRequest_1.TreeMapWidgetRequest; } });\nvar UsageAnalyzedLogsHour_1 = require(\"./models/UsageAnalyzedLogsHour\");\nObject.defineProperty(exports, \"UsageAnalyzedLogsHour\", { enumerable: true, get: function () { return UsageAnalyzedLogsHour_1.UsageAnalyzedLogsHour; } });\nvar UsageAnalyzedLogsResponse_1 = require(\"./models/UsageAnalyzedLogsResponse\");\nObject.defineProperty(exports, \"UsageAnalyzedLogsResponse\", { enumerable: true, get: function () { return UsageAnalyzedLogsResponse_1.UsageAnalyzedLogsResponse; } });\nvar UsageAttributionAggregatesBody_1 = require(\"./models/UsageAttributionAggregatesBody\");\nObject.defineProperty(exports, \"UsageAttributionAggregatesBody\", { enumerable: true, get: function () { return UsageAttributionAggregatesBody_1.UsageAttributionAggregatesBody; } });\nvar UsageAttributionBody_1 = require(\"./models/UsageAttributionBody\");\nObject.defineProperty(exports, \"UsageAttributionBody\", { enumerable: true, get: function () { return UsageAttributionBody_1.UsageAttributionBody; } });\nvar UsageAttributionMetadata_1 = require(\"./models/UsageAttributionMetadata\");\nObject.defineProperty(exports, \"UsageAttributionMetadata\", { enumerable: true, get: function () { return UsageAttributionMetadata_1.UsageAttributionMetadata; } });\nvar UsageAttributionPagination_1 = require(\"./models/UsageAttributionPagination\");\nObject.defineProperty(exports, \"UsageAttributionPagination\", { enumerable: true, get: function () { return UsageAttributionPagination_1.UsageAttributionPagination; } });\nvar UsageAttributionResponse_1 = require(\"./models/UsageAttributionResponse\");\nObject.defineProperty(exports, \"UsageAttributionResponse\", { enumerable: true, get: function () { return UsageAttributionResponse_1.UsageAttributionResponse; } });\nvar UsageAttributionValues_1 = require(\"./models/UsageAttributionValues\");\nObject.defineProperty(exports, \"UsageAttributionValues\", { enumerable: true, get: function () { return UsageAttributionValues_1.UsageAttributionValues; } });\nvar UsageAuditLogsHour_1 = require(\"./models/UsageAuditLogsHour\");\nObject.defineProperty(exports, \"UsageAuditLogsHour\", { enumerable: true, get: function () { return UsageAuditLogsHour_1.UsageAuditLogsHour; } });\nvar UsageAuditLogsResponse_1 = require(\"./models/UsageAuditLogsResponse\");\nObject.defineProperty(exports, \"UsageAuditLogsResponse\", { enumerable: true, get: function () { return UsageAuditLogsResponse_1.UsageAuditLogsResponse; } });\nvar UsageBillableSummaryBody_1 = require(\"./models/UsageBillableSummaryBody\");\nObject.defineProperty(exports, \"UsageBillableSummaryBody\", { enumerable: true, get: function () { return UsageBillableSummaryBody_1.UsageBillableSummaryBody; } });\nvar UsageBillableSummaryHour_1 = require(\"./models/UsageBillableSummaryHour\");\nObject.defineProperty(exports, \"UsageBillableSummaryHour\", { enumerable: true, get: function () { return UsageBillableSummaryHour_1.UsageBillableSummaryHour; } });\nvar UsageBillableSummaryKeys_1 = require(\"./models/UsageBillableSummaryKeys\");\nObject.defineProperty(exports, \"UsageBillableSummaryKeys\", { enumerable: true, get: function () { return UsageBillableSummaryKeys_1.UsageBillableSummaryKeys; } });\nvar UsageBillableSummaryResponse_1 = require(\"./models/UsageBillableSummaryResponse\");\nObject.defineProperty(exports, \"UsageBillableSummaryResponse\", { enumerable: true, get: function () { return UsageBillableSummaryResponse_1.UsageBillableSummaryResponse; } });\nvar UsageCWSHour_1 = require(\"./models/UsageCWSHour\");\nObject.defineProperty(exports, \"UsageCWSHour\", { enumerable: true, get: function () { return UsageCWSHour_1.UsageCWSHour; } });\nvar UsageCWSResponse_1 = require(\"./models/UsageCWSResponse\");\nObject.defineProperty(exports, \"UsageCWSResponse\", { enumerable: true, get: function () { return UsageCWSResponse_1.UsageCWSResponse; } });\nvar UsageCloudSecurityPostureManagementHour_1 = require(\"./models/UsageCloudSecurityPostureManagementHour\");\nObject.defineProperty(exports, \"UsageCloudSecurityPostureManagementHour\", { enumerable: true, get: function () { return UsageCloudSecurityPostureManagementHour_1.UsageCloudSecurityPostureManagementHour; } });\nvar UsageCloudSecurityPostureManagementResponse_1 = require(\"./models/UsageCloudSecurityPostureManagementResponse\");\nObject.defineProperty(exports, \"UsageCloudSecurityPostureManagementResponse\", { enumerable: true, get: function () { return UsageCloudSecurityPostureManagementResponse_1.UsageCloudSecurityPostureManagementResponse; } });\nvar UsageCustomReportsAttributes_1 = require(\"./models/UsageCustomReportsAttributes\");\nObject.defineProperty(exports, \"UsageCustomReportsAttributes\", { enumerable: true, get: function () { return UsageCustomReportsAttributes_1.UsageCustomReportsAttributes; } });\nvar UsageCustomReportsData_1 = require(\"./models/UsageCustomReportsData\");\nObject.defineProperty(exports, \"UsageCustomReportsData\", { enumerable: true, get: function () { return UsageCustomReportsData_1.UsageCustomReportsData; } });\nvar UsageCustomReportsMeta_1 = require(\"./models/UsageCustomReportsMeta\");\nObject.defineProperty(exports, \"UsageCustomReportsMeta\", { enumerable: true, get: function () { return UsageCustomReportsMeta_1.UsageCustomReportsMeta; } });\nvar UsageCustomReportsPage_1 = require(\"./models/UsageCustomReportsPage\");\nObject.defineProperty(exports, \"UsageCustomReportsPage\", { enumerable: true, get: function () { return UsageCustomReportsPage_1.UsageCustomReportsPage; } });\nvar UsageCustomReportsResponse_1 = require(\"./models/UsageCustomReportsResponse\");\nObject.defineProperty(exports, \"UsageCustomReportsResponse\", { enumerable: true, get: function () { return UsageCustomReportsResponse_1.UsageCustomReportsResponse; } });\nvar UsageDBMHour_1 = require(\"./models/UsageDBMHour\");\nObject.defineProperty(exports, \"UsageDBMHour\", { enumerable: true, get: function () { return UsageDBMHour_1.UsageDBMHour; } });\nvar UsageDBMResponse_1 = require(\"./models/UsageDBMResponse\");\nObject.defineProperty(exports, \"UsageDBMResponse\", { enumerable: true, get: function () { return UsageDBMResponse_1.UsageDBMResponse; } });\nvar UsageFargateHour_1 = require(\"./models/UsageFargateHour\");\nObject.defineProperty(exports, \"UsageFargateHour\", { enumerable: true, get: function () { return UsageFargateHour_1.UsageFargateHour; } });\nvar UsageFargateResponse_1 = require(\"./models/UsageFargateResponse\");\nObject.defineProperty(exports, \"UsageFargateResponse\", { enumerable: true, get: function () { return UsageFargateResponse_1.UsageFargateResponse; } });\nvar UsageHostHour_1 = require(\"./models/UsageHostHour\");\nObject.defineProperty(exports, \"UsageHostHour\", { enumerable: true, get: function () { return UsageHostHour_1.UsageHostHour; } });\nvar UsageHostsResponse_1 = require(\"./models/UsageHostsResponse\");\nObject.defineProperty(exports, \"UsageHostsResponse\", { enumerable: true, get: function () { return UsageHostsResponse_1.UsageHostsResponse; } });\nvar UsageIncidentManagementHour_1 = require(\"./models/UsageIncidentManagementHour\");\nObject.defineProperty(exports, \"UsageIncidentManagementHour\", { enumerable: true, get: function () { return UsageIncidentManagementHour_1.UsageIncidentManagementHour; } });\nvar UsageIncidentManagementResponse_1 = require(\"./models/UsageIncidentManagementResponse\");\nObject.defineProperty(exports, \"UsageIncidentManagementResponse\", { enumerable: true, get: function () { return UsageIncidentManagementResponse_1.UsageIncidentManagementResponse; } });\nvar UsageIndexedSpansHour_1 = require(\"./models/UsageIndexedSpansHour\");\nObject.defineProperty(exports, \"UsageIndexedSpansHour\", { enumerable: true, get: function () { return UsageIndexedSpansHour_1.UsageIndexedSpansHour; } });\nvar UsageIndexedSpansResponse_1 = require(\"./models/UsageIndexedSpansResponse\");\nObject.defineProperty(exports, \"UsageIndexedSpansResponse\", { enumerable: true, get: function () { return UsageIndexedSpansResponse_1.UsageIndexedSpansResponse; } });\nvar UsageIngestedSpansHour_1 = require(\"./models/UsageIngestedSpansHour\");\nObject.defineProperty(exports, \"UsageIngestedSpansHour\", { enumerable: true, get: function () { return UsageIngestedSpansHour_1.UsageIngestedSpansHour; } });\nvar UsageIngestedSpansResponse_1 = require(\"./models/UsageIngestedSpansResponse\");\nObject.defineProperty(exports, \"UsageIngestedSpansResponse\", { enumerable: true, get: function () { return UsageIngestedSpansResponse_1.UsageIngestedSpansResponse; } });\nvar UsageIoTHour_1 = require(\"./models/UsageIoTHour\");\nObject.defineProperty(exports, \"UsageIoTHour\", { enumerable: true, get: function () { return UsageIoTHour_1.UsageIoTHour; } });\nvar UsageIoTResponse_1 = require(\"./models/UsageIoTResponse\");\nObject.defineProperty(exports, \"UsageIoTResponse\", { enumerable: true, get: function () { return UsageIoTResponse_1.UsageIoTResponse; } });\nvar UsageLambdaHour_1 = require(\"./models/UsageLambdaHour\");\nObject.defineProperty(exports, \"UsageLambdaHour\", { enumerable: true, get: function () { return UsageLambdaHour_1.UsageLambdaHour; } });\nvar UsageLambdaResponse_1 = require(\"./models/UsageLambdaResponse\");\nObject.defineProperty(exports, \"UsageLambdaResponse\", { enumerable: true, get: function () { return UsageLambdaResponse_1.UsageLambdaResponse; } });\nvar UsageLogsByIndexHour_1 = require(\"./models/UsageLogsByIndexHour\");\nObject.defineProperty(exports, \"UsageLogsByIndexHour\", { enumerable: true, get: function () { return UsageLogsByIndexHour_1.UsageLogsByIndexHour; } });\nvar UsageLogsByIndexResponse_1 = require(\"./models/UsageLogsByIndexResponse\");\nObject.defineProperty(exports, \"UsageLogsByIndexResponse\", { enumerable: true, get: function () { return UsageLogsByIndexResponse_1.UsageLogsByIndexResponse; } });\nvar UsageLogsByRetentionHour_1 = require(\"./models/UsageLogsByRetentionHour\");\nObject.defineProperty(exports, \"UsageLogsByRetentionHour\", { enumerable: true, get: function () { return UsageLogsByRetentionHour_1.UsageLogsByRetentionHour; } });\nvar UsageLogsByRetentionResponse_1 = require(\"./models/UsageLogsByRetentionResponse\");\nObject.defineProperty(exports, \"UsageLogsByRetentionResponse\", { enumerable: true, get: function () { return UsageLogsByRetentionResponse_1.UsageLogsByRetentionResponse; } });\nvar UsageLogsHour_1 = require(\"./models/UsageLogsHour\");\nObject.defineProperty(exports, \"UsageLogsHour\", { enumerable: true, get: function () { return UsageLogsHour_1.UsageLogsHour; } });\nvar UsageLogsResponse_1 = require(\"./models/UsageLogsResponse\");\nObject.defineProperty(exports, \"UsageLogsResponse\", { enumerable: true, get: function () { return UsageLogsResponse_1.UsageLogsResponse; } });\nvar UsageNetworkFlowsHour_1 = require(\"./models/UsageNetworkFlowsHour\");\nObject.defineProperty(exports, \"UsageNetworkFlowsHour\", { enumerable: true, get: function () { return UsageNetworkFlowsHour_1.UsageNetworkFlowsHour; } });\nvar UsageNetworkFlowsResponse_1 = require(\"./models/UsageNetworkFlowsResponse\");\nObject.defineProperty(exports, \"UsageNetworkFlowsResponse\", { enumerable: true, get: function () { return UsageNetworkFlowsResponse_1.UsageNetworkFlowsResponse; } });\nvar UsageNetworkHostsHour_1 = require(\"./models/UsageNetworkHostsHour\");\nObject.defineProperty(exports, \"UsageNetworkHostsHour\", { enumerable: true, get: function () { return UsageNetworkHostsHour_1.UsageNetworkHostsHour; } });\nvar UsageNetworkHostsResponse_1 = require(\"./models/UsageNetworkHostsResponse\");\nObject.defineProperty(exports, \"UsageNetworkHostsResponse\", { enumerable: true, get: function () { return UsageNetworkHostsResponse_1.UsageNetworkHostsResponse; } });\nvar UsageProfilingHour_1 = require(\"./models/UsageProfilingHour\");\nObject.defineProperty(exports, \"UsageProfilingHour\", { enumerable: true, get: function () { return UsageProfilingHour_1.UsageProfilingHour; } });\nvar UsageProfilingResponse_1 = require(\"./models/UsageProfilingResponse\");\nObject.defineProperty(exports, \"UsageProfilingResponse\", { enumerable: true, get: function () { return UsageProfilingResponse_1.UsageProfilingResponse; } });\nvar UsageRumSessionsHour_1 = require(\"./models/UsageRumSessionsHour\");\nObject.defineProperty(exports, \"UsageRumSessionsHour\", { enumerable: true, get: function () { return UsageRumSessionsHour_1.UsageRumSessionsHour; } });\nvar UsageRumSessionsResponse_1 = require(\"./models/UsageRumSessionsResponse\");\nObject.defineProperty(exports, \"UsageRumSessionsResponse\", { enumerable: true, get: function () { return UsageRumSessionsResponse_1.UsageRumSessionsResponse; } });\nvar UsageRumUnitsHour_1 = require(\"./models/UsageRumUnitsHour\");\nObject.defineProperty(exports, \"UsageRumUnitsHour\", { enumerable: true, get: function () { return UsageRumUnitsHour_1.UsageRumUnitsHour; } });\nvar UsageRumUnitsResponse_1 = require(\"./models/UsageRumUnitsResponse\");\nObject.defineProperty(exports, \"UsageRumUnitsResponse\", { enumerable: true, get: function () { return UsageRumUnitsResponse_1.UsageRumUnitsResponse; } });\nvar UsageSDSHour_1 = require(\"./models/UsageSDSHour\");\nObject.defineProperty(exports, \"UsageSDSHour\", { enumerable: true, get: function () { return UsageSDSHour_1.UsageSDSHour; } });\nvar UsageSDSResponse_1 = require(\"./models/UsageSDSResponse\");\nObject.defineProperty(exports, \"UsageSDSResponse\", { enumerable: true, get: function () { return UsageSDSResponse_1.UsageSDSResponse; } });\nvar UsageSNMPHour_1 = require(\"./models/UsageSNMPHour\");\nObject.defineProperty(exports, \"UsageSNMPHour\", { enumerable: true, get: function () { return UsageSNMPHour_1.UsageSNMPHour; } });\nvar UsageSNMPResponse_1 = require(\"./models/UsageSNMPResponse\");\nObject.defineProperty(exports, \"UsageSNMPResponse\", { enumerable: true, get: function () { return UsageSNMPResponse_1.UsageSNMPResponse; } });\nvar UsageSpecifiedCustomReportsAttributes_1 = require(\"./models/UsageSpecifiedCustomReportsAttributes\");\nObject.defineProperty(exports, \"UsageSpecifiedCustomReportsAttributes\", { enumerable: true, get: function () { return UsageSpecifiedCustomReportsAttributes_1.UsageSpecifiedCustomReportsAttributes; } });\nvar UsageSpecifiedCustomReportsData_1 = require(\"./models/UsageSpecifiedCustomReportsData\");\nObject.defineProperty(exports, \"UsageSpecifiedCustomReportsData\", { enumerable: true, get: function () { return UsageSpecifiedCustomReportsData_1.UsageSpecifiedCustomReportsData; } });\nvar UsageSpecifiedCustomReportsMeta_1 = require(\"./models/UsageSpecifiedCustomReportsMeta\");\nObject.defineProperty(exports, \"UsageSpecifiedCustomReportsMeta\", { enumerable: true, get: function () { return UsageSpecifiedCustomReportsMeta_1.UsageSpecifiedCustomReportsMeta; } });\nvar UsageSpecifiedCustomReportsPage_1 = require(\"./models/UsageSpecifiedCustomReportsPage\");\nObject.defineProperty(exports, \"UsageSpecifiedCustomReportsPage\", { enumerable: true, get: function () { return UsageSpecifiedCustomReportsPage_1.UsageSpecifiedCustomReportsPage; } });\nvar UsageSpecifiedCustomReportsResponse_1 = require(\"./models/UsageSpecifiedCustomReportsResponse\");\nObject.defineProperty(exports, \"UsageSpecifiedCustomReportsResponse\", { enumerable: true, get: function () { return UsageSpecifiedCustomReportsResponse_1.UsageSpecifiedCustomReportsResponse; } });\nvar UsageSummaryDate_1 = require(\"./models/UsageSummaryDate\");\nObject.defineProperty(exports, \"UsageSummaryDate\", { enumerable: true, get: function () { return UsageSummaryDate_1.UsageSummaryDate; } });\nvar UsageSummaryDateOrg_1 = require(\"./models/UsageSummaryDateOrg\");\nObject.defineProperty(exports, \"UsageSummaryDateOrg\", { enumerable: true, get: function () { return UsageSummaryDateOrg_1.UsageSummaryDateOrg; } });\nvar UsageSummaryResponse_1 = require(\"./models/UsageSummaryResponse\");\nObject.defineProperty(exports, \"UsageSummaryResponse\", { enumerable: true, get: function () { return UsageSummaryResponse_1.UsageSummaryResponse; } });\nvar UsageSyntheticsAPIHour_1 = require(\"./models/UsageSyntheticsAPIHour\");\nObject.defineProperty(exports, \"UsageSyntheticsAPIHour\", { enumerable: true, get: function () { return UsageSyntheticsAPIHour_1.UsageSyntheticsAPIHour; } });\nvar UsageSyntheticsAPIResponse_1 = require(\"./models/UsageSyntheticsAPIResponse\");\nObject.defineProperty(exports, \"UsageSyntheticsAPIResponse\", { enumerable: true, get: function () { return UsageSyntheticsAPIResponse_1.UsageSyntheticsAPIResponse; } });\nvar UsageSyntheticsBrowserHour_1 = require(\"./models/UsageSyntheticsBrowserHour\");\nObject.defineProperty(exports, \"UsageSyntheticsBrowserHour\", { enumerable: true, get: function () { return UsageSyntheticsBrowserHour_1.UsageSyntheticsBrowserHour; } });\nvar UsageSyntheticsBrowserResponse_1 = require(\"./models/UsageSyntheticsBrowserResponse\");\nObject.defineProperty(exports, \"UsageSyntheticsBrowserResponse\", { enumerable: true, get: function () { return UsageSyntheticsBrowserResponse_1.UsageSyntheticsBrowserResponse; } });\nvar UsageSyntheticsHour_1 = require(\"./models/UsageSyntheticsHour\");\nObject.defineProperty(exports, \"UsageSyntheticsHour\", { enumerable: true, get: function () { return UsageSyntheticsHour_1.UsageSyntheticsHour; } });\nvar UsageSyntheticsResponse_1 = require(\"./models/UsageSyntheticsResponse\");\nObject.defineProperty(exports, \"UsageSyntheticsResponse\", { enumerable: true, get: function () { return UsageSyntheticsResponse_1.UsageSyntheticsResponse; } });\nvar UsageTimeseriesHour_1 = require(\"./models/UsageTimeseriesHour\");\nObject.defineProperty(exports, \"UsageTimeseriesHour\", { enumerable: true, get: function () { return UsageTimeseriesHour_1.UsageTimeseriesHour; } });\nvar UsageTimeseriesResponse_1 = require(\"./models/UsageTimeseriesResponse\");\nObject.defineProperty(exports, \"UsageTimeseriesResponse\", { enumerable: true, get: function () { return UsageTimeseriesResponse_1.UsageTimeseriesResponse; } });\nvar UsageTopAvgMetricsHour_1 = require(\"./models/UsageTopAvgMetricsHour\");\nObject.defineProperty(exports, \"UsageTopAvgMetricsHour\", { enumerable: true, get: function () { return UsageTopAvgMetricsHour_1.UsageTopAvgMetricsHour; } });\nvar UsageTopAvgMetricsMetadata_1 = require(\"./models/UsageTopAvgMetricsMetadata\");\nObject.defineProperty(exports, \"UsageTopAvgMetricsMetadata\", { enumerable: true, get: function () { return UsageTopAvgMetricsMetadata_1.UsageTopAvgMetricsMetadata; } });\nvar UsageTopAvgMetricsResponse_1 = require(\"./models/UsageTopAvgMetricsResponse\");\nObject.defineProperty(exports, \"UsageTopAvgMetricsResponse\", { enumerable: true, get: function () { return UsageTopAvgMetricsResponse_1.UsageTopAvgMetricsResponse; } });\nvar User_1 = require(\"./models/User\");\nObject.defineProperty(exports, \"User\", { enumerable: true, get: function () { return User_1.User; } });\nvar UserDisableResponse_1 = require(\"./models/UserDisableResponse\");\nObject.defineProperty(exports, \"UserDisableResponse\", { enumerable: true, get: function () { return UserDisableResponse_1.UserDisableResponse; } });\nvar UserListResponse_1 = require(\"./models/UserListResponse\");\nObject.defineProperty(exports, \"UserListResponse\", { enumerable: true, get: function () { return UserListResponse_1.UserListResponse; } });\nvar UserResponse_1 = require(\"./models/UserResponse\");\nObject.defineProperty(exports, \"UserResponse\", { enumerable: true, get: function () { return UserResponse_1.UserResponse; } });\nvar WebhooksIntegration_1 = require(\"./models/WebhooksIntegration\");\nObject.defineProperty(exports, \"WebhooksIntegration\", { enumerable: true, get: function () { return WebhooksIntegration_1.WebhooksIntegration; } });\nvar WebhooksIntegrationCustomVariable_1 = require(\"./models/WebhooksIntegrationCustomVariable\");\nObject.defineProperty(exports, \"WebhooksIntegrationCustomVariable\", { enumerable: true, get: function () { return WebhooksIntegrationCustomVariable_1.WebhooksIntegrationCustomVariable; } });\nvar WebhooksIntegrationCustomVariableResponse_1 = require(\"./models/WebhooksIntegrationCustomVariableResponse\");\nObject.defineProperty(exports, \"WebhooksIntegrationCustomVariableResponse\", { enumerable: true, get: function () { return WebhooksIntegrationCustomVariableResponse_1.WebhooksIntegrationCustomVariableResponse; } });\nvar WebhooksIntegrationCustomVariableUpdateRequest_1 = require(\"./models/WebhooksIntegrationCustomVariableUpdateRequest\");\nObject.defineProperty(exports, \"WebhooksIntegrationCustomVariableUpdateRequest\", { enumerable: true, get: function () { return WebhooksIntegrationCustomVariableUpdateRequest_1.WebhooksIntegrationCustomVariableUpdateRequest; } });\nvar WebhooksIntegrationUpdateRequest_1 = require(\"./models/WebhooksIntegrationUpdateRequest\");\nObject.defineProperty(exports, \"WebhooksIntegrationUpdateRequest\", { enumerable: true, get: function () { return WebhooksIntegrationUpdateRequest_1.WebhooksIntegrationUpdateRequest; } });\nvar Widget_1 = require(\"./models/Widget\");\nObject.defineProperty(exports, \"Widget\", { enumerable: true, get: function () { return Widget_1.Widget; } });\nvar WidgetAxis_1 = require(\"./models/WidgetAxis\");\nObject.defineProperty(exports, \"WidgetAxis\", { enumerable: true, get: function () { return WidgetAxis_1.WidgetAxis; } });\nvar WidgetConditionalFormat_1 = require(\"./models/WidgetConditionalFormat\");\nObject.defineProperty(exports, \"WidgetConditionalFormat\", { enumerable: true, get: function () { return WidgetConditionalFormat_1.WidgetConditionalFormat; } });\nvar WidgetCustomLink_1 = require(\"./models/WidgetCustomLink\");\nObject.defineProperty(exports, \"WidgetCustomLink\", { enumerable: true, get: function () { return WidgetCustomLink_1.WidgetCustomLink; } });\nvar WidgetEvent_1 = require(\"./models/WidgetEvent\");\nObject.defineProperty(exports, \"WidgetEvent\", { enumerable: true, get: function () { return WidgetEvent_1.WidgetEvent; } });\nvar WidgetFieldSort_1 = require(\"./models/WidgetFieldSort\");\nObject.defineProperty(exports, \"WidgetFieldSort\", { enumerable: true, get: function () { return WidgetFieldSort_1.WidgetFieldSort; } });\nvar WidgetFormula_1 = require(\"./models/WidgetFormula\");\nObject.defineProperty(exports, \"WidgetFormula\", { enumerable: true, get: function () { return WidgetFormula_1.WidgetFormula; } });\nvar WidgetFormulaLimit_1 = require(\"./models/WidgetFormulaLimit\");\nObject.defineProperty(exports, \"WidgetFormulaLimit\", { enumerable: true, get: function () { return WidgetFormulaLimit_1.WidgetFormulaLimit; } });\nvar WidgetLayout_1 = require(\"./models/WidgetLayout\");\nObject.defineProperty(exports, \"WidgetLayout\", { enumerable: true, get: function () { return WidgetLayout_1.WidgetLayout; } });\nvar WidgetMarker_1 = require(\"./models/WidgetMarker\");\nObject.defineProperty(exports, \"WidgetMarker\", { enumerable: true, get: function () { return WidgetMarker_1.WidgetMarker; } });\nvar WidgetRequestStyle_1 = require(\"./models/WidgetRequestStyle\");\nObject.defineProperty(exports, \"WidgetRequestStyle\", { enumerable: true, get: function () { return WidgetRequestStyle_1.WidgetRequestStyle; } });\nvar WidgetStyle_1 = require(\"./models/WidgetStyle\");\nObject.defineProperty(exports, \"WidgetStyle\", { enumerable: true, get: function () { return WidgetStyle_1.WidgetStyle; } });\nvar WidgetTime_1 = require(\"./models/WidgetTime\");\nObject.defineProperty(exports, \"WidgetTime\", { enumerable: true, get: function () { return WidgetTime_1.WidgetTime; } });\n//# sourceMappingURL=index.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIErrorResponse = void 0;\n/**\n * Error response object.\n */\nvar APIErrorResponse = /** @class */ (function () {\n function APIErrorResponse() {\n }\n /**\n * @ignore\n */\n APIErrorResponse.getAttributeTypeMap = function () {\n return APIErrorResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIErrorResponse.attributeTypeMap = {\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n required: true,\n },\n };\n return APIErrorResponse;\n}());\nexports.APIErrorResponse = APIErrorResponse;\n//# sourceMappingURL=APIErrorResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSAccount = void 0;\n/**\n * Returns the AWS account associated with this integration.\n */\nvar AWSAccount = /** @class */ (function () {\n function AWSAccount() {\n }\n /**\n * @ignore\n */\n AWSAccount.getAttributeTypeMap = function () {\n return AWSAccount.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSAccount.attributeTypeMap = {\n accessKeyId: {\n baseName: \"access_key_id\",\n type: \"string\",\n },\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n },\n accountSpecificNamespaceRules: {\n baseName: \"account_specific_namespace_rules\",\n type: \"{ [key: string]: boolean; }\",\n },\n cspmResourceCollectionEnabled: {\n baseName: \"cspm_resource_collection_enabled\",\n type: \"boolean\",\n },\n excludedRegions: {\n baseName: \"excluded_regions\",\n type: \"Array\",\n },\n filterTags: {\n baseName: \"filter_tags\",\n type: \"Array\",\n },\n hostTags: {\n baseName: \"host_tags\",\n type: \"Array\",\n },\n metricsCollectionEnabled: {\n baseName: \"metrics_collection_enabled\",\n type: \"boolean\",\n },\n resourceCollectionEnabled: {\n baseName: \"resource_collection_enabled\",\n type: \"boolean\",\n },\n roleName: {\n baseName: \"role_name\",\n type: \"string\",\n },\n secretAccessKey: {\n baseName: \"secret_access_key\",\n type: \"string\",\n },\n };\n return AWSAccount;\n}());\nexports.AWSAccount = AWSAccount;\n//# sourceMappingURL=AWSAccount.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSAccountAndLambdaRequest = void 0;\n/**\n * AWS account ID and Lambda ARN.\n */\nvar AWSAccountAndLambdaRequest = /** @class */ (function () {\n function AWSAccountAndLambdaRequest() {\n }\n /**\n * @ignore\n */\n AWSAccountAndLambdaRequest.getAttributeTypeMap = function () {\n return AWSAccountAndLambdaRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSAccountAndLambdaRequest.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n required: true,\n },\n lambdaArn: {\n baseName: \"lambda_arn\",\n type: \"string\",\n required: true,\n },\n };\n return AWSAccountAndLambdaRequest;\n}());\nexports.AWSAccountAndLambdaRequest = AWSAccountAndLambdaRequest;\n//# sourceMappingURL=AWSAccountAndLambdaRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSAccountCreateResponse = void 0;\n/**\n * The Response returned by the AWS Create Account call.\n */\nvar AWSAccountCreateResponse = /** @class */ (function () {\n function AWSAccountCreateResponse() {\n }\n /**\n * @ignore\n */\n AWSAccountCreateResponse.getAttributeTypeMap = function () {\n return AWSAccountCreateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSAccountCreateResponse.attributeTypeMap = {\n externalId: {\n baseName: \"external_id\",\n type: \"string\",\n },\n };\n return AWSAccountCreateResponse;\n}());\nexports.AWSAccountCreateResponse = AWSAccountCreateResponse;\n//# sourceMappingURL=AWSAccountCreateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSAccountDeleteRequest = void 0;\n/**\n * List of AWS accounts to delete.\n */\nvar AWSAccountDeleteRequest = /** @class */ (function () {\n function AWSAccountDeleteRequest() {\n }\n /**\n * @ignore\n */\n AWSAccountDeleteRequest.getAttributeTypeMap = function () {\n return AWSAccountDeleteRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSAccountDeleteRequest.attributeTypeMap = {\n accessKeyId: {\n baseName: \"access_key_id\",\n type: \"string\",\n },\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n },\n roleName: {\n baseName: \"role_name\",\n type: \"string\",\n },\n };\n return AWSAccountDeleteRequest;\n}());\nexports.AWSAccountDeleteRequest = AWSAccountDeleteRequest;\n//# sourceMappingURL=AWSAccountDeleteRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSAccountListResponse = void 0;\n/**\n * List of enabled AWS accounts.\n */\nvar AWSAccountListResponse = /** @class */ (function () {\n function AWSAccountListResponse() {\n }\n /**\n * @ignore\n */\n AWSAccountListResponse.getAttributeTypeMap = function () {\n return AWSAccountListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSAccountListResponse.attributeTypeMap = {\n accounts: {\n baseName: \"accounts\",\n type: \"Array\",\n },\n };\n return AWSAccountListResponse;\n}());\nexports.AWSAccountListResponse = AWSAccountListResponse;\n//# sourceMappingURL=AWSAccountListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsAsyncError = void 0;\n/**\n * Description of errors.\n */\nvar AWSLogsAsyncError = /** @class */ (function () {\n function AWSLogsAsyncError() {\n }\n /**\n * @ignore\n */\n AWSLogsAsyncError.getAttributeTypeMap = function () {\n return AWSLogsAsyncError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsAsyncError.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return AWSLogsAsyncError;\n}());\nexports.AWSLogsAsyncError = AWSLogsAsyncError;\n//# sourceMappingURL=AWSLogsAsyncError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsAsyncResponse = void 0;\n/**\n * A list of all Datadog-AWS logs integrations available in your Datadog organization.\n */\nvar AWSLogsAsyncResponse = /** @class */ (function () {\n function AWSLogsAsyncResponse() {\n }\n /**\n * @ignore\n */\n AWSLogsAsyncResponse.getAttributeTypeMap = function () {\n return AWSLogsAsyncResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsAsyncResponse.attributeTypeMap = {\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n };\n return AWSLogsAsyncResponse;\n}());\nexports.AWSLogsAsyncResponse = AWSLogsAsyncResponse;\n//# sourceMappingURL=AWSLogsAsyncResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsLambda = void 0;\n/**\n * Description of the Lambdas.\n */\nvar AWSLogsLambda = /** @class */ (function () {\n function AWSLogsLambda() {\n }\n /**\n * @ignore\n */\n AWSLogsLambda.getAttributeTypeMap = function () {\n return AWSLogsLambda.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsLambda.attributeTypeMap = {\n arn: {\n baseName: \"arn\",\n type: \"string\",\n },\n };\n return AWSLogsLambda;\n}());\nexports.AWSLogsLambda = AWSLogsLambda;\n//# sourceMappingURL=AWSLogsLambda.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsListResponse = void 0;\n/**\n * A list of all Datadog-AWS logs integrations available in your Datadog organization.\n */\nvar AWSLogsListResponse = /** @class */ (function () {\n function AWSLogsListResponse() {\n }\n /**\n * @ignore\n */\n AWSLogsListResponse.getAttributeTypeMap = function () {\n return AWSLogsListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsListResponse.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n },\n lambdas: {\n baseName: \"lambdas\",\n type: \"Array\",\n },\n services: {\n baseName: \"services\",\n type: \"Array\",\n },\n };\n return AWSLogsListResponse;\n}());\nexports.AWSLogsListResponse = AWSLogsListResponse;\n//# sourceMappingURL=AWSLogsListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsListServicesResponse = void 0;\n/**\n * The list of current AWS services for which Datadog offers automatic log collection.\n */\nvar AWSLogsListServicesResponse = /** @class */ (function () {\n function AWSLogsListServicesResponse() {\n }\n /**\n * @ignore\n */\n AWSLogsListServicesResponse.getAttributeTypeMap = function () {\n return AWSLogsListServicesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsListServicesResponse.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n label: {\n baseName: \"label\",\n type: \"string\",\n },\n };\n return AWSLogsListServicesResponse;\n}());\nexports.AWSLogsListServicesResponse = AWSLogsListServicesResponse;\n//# sourceMappingURL=AWSLogsListServicesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSLogsServicesRequest = void 0;\n/**\n * A list of current AWS services for which Datadog offers automatic log collection.\n */\nvar AWSLogsServicesRequest = /** @class */ (function () {\n function AWSLogsServicesRequest() {\n }\n /**\n * @ignore\n */\n AWSLogsServicesRequest.getAttributeTypeMap = function () {\n return AWSLogsServicesRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSLogsServicesRequest.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n required: true,\n },\n services: {\n baseName: \"services\",\n type: \"Array\",\n required: true,\n },\n };\n return AWSLogsServicesRequest;\n}());\nexports.AWSLogsServicesRequest = AWSLogsServicesRequest;\n//# sourceMappingURL=AWSLogsServicesRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSTagFilter = void 0;\n/**\n * A tag filter.\n */\nvar AWSTagFilter = /** @class */ (function () {\n function AWSTagFilter() {\n }\n /**\n * @ignore\n */\n AWSTagFilter.getAttributeTypeMap = function () {\n return AWSTagFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSTagFilter.attributeTypeMap = {\n namespace: {\n baseName: \"namespace\",\n type: \"AWSNamespace\",\n },\n tagFilterStr: {\n baseName: \"tag_filter_str\",\n type: \"string\",\n },\n };\n return AWSTagFilter;\n}());\nexports.AWSTagFilter = AWSTagFilter;\n//# sourceMappingURL=AWSTagFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSTagFilterCreateRequest = void 0;\n/**\n * The objects used to set an AWS tag filter.\n */\nvar AWSTagFilterCreateRequest = /** @class */ (function () {\n function AWSTagFilterCreateRequest() {\n }\n /**\n * @ignore\n */\n AWSTagFilterCreateRequest.getAttributeTypeMap = function () {\n return AWSTagFilterCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSTagFilterCreateRequest.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n },\n namespace: {\n baseName: \"namespace\",\n type: \"AWSNamespace\",\n },\n tagFilterStr: {\n baseName: \"tag_filter_str\",\n type: \"string\",\n },\n };\n return AWSTagFilterCreateRequest;\n}());\nexports.AWSTagFilterCreateRequest = AWSTagFilterCreateRequest;\n//# sourceMappingURL=AWSTagFilterCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSTagFilterDeleteRequest = void 0;\n/**\n * The objects used to delete an AWS tag filter entry.\n */\nvar AWSTagFilterDeleteRequest = /** @class */ (function () {\n function AWSTagFilterDeleteRequest() {\n }\n /**\n * @ignore\n */\n AWSTagFilterDeleteRequest.getAttributeTypeMap = function () {\n return AWSTagFilterDeleteRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSTagFilterDeleteRequest.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n },\n namespace: {\n baseName: \"namespace\",\n type: \"AWSNamespace\",\n },\n };\n return AWSTagFilterDeleteRequest;\n}());\nexports.AWSTagFilterDeleteRequest = AWSTagFilterDeleteRequest;\n//# sourceMappingURL=AWSTagFilterDeleteRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AWSTagFilterListResponse = void 0;\n/**\n * An array of tag filter rules by `namespace` and tag filter string.\n */\nvar AWSTagFilterListResponse = /** @class */ (function () {\n function AWSTagFilterListResponse() {\n }\n /**\n * @ignore\n */\n AWSTagFilterListResponse.getAttributeTypeMap = function () {\n return AWSTagFilterListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AWSTagFilterListResponse.attributeTypeMap = {\n filters: {\n baseName: \"filters\",\n type: \"Array\",\n },\n };\n return AWSTagFilterListResponse;\n}());\nexports.AWSTagFilterListResponse = AWSTagFilterListResponse;\n//# sourceMappingURL=AWSTagFilterListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AlertGraphWidgetDefinition = void 0;\n/**\n * Alert graphs are timeseries graphs showing the current status of any monitor defined on your system.\n */\nvar AlertGraphWidgetDefinition = /** @class */ (function () {\n function AlertGraphWidgetDefinition() {\n }\n /**\n * @ignore\n */\n AlertGraphWidgetDefinition.getAttributeTypeMap = function () {\n return AlertGraphWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AlertGraphWidgetDefinition.attributeTypeMap = {\n alertId: {\n baseName: \"alert_id\",\n type: \"string\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"AlertGraphWidgetDefinitionType\",\n required: true,\n },\n vizType: {\n baseName: \"viz_type\",\n type: \"WidgetVizType\",\n required: true,\n },\n };\n return AlertGraphWidgetDefinition;\n}());\nexports.AlertGraphWidgetDefinition = AlertGraphWidgetDefinition;\n//# sourceMappingURL=AlertGraphWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AlertValueWidgetDefinition = void 0;\n/**\n * Alert values are query values showing the current value of the metric in any monitor defined on your system.\n */\nvar AlertValueWidgetDefinition = /** @class */ (function () {\n function AlertValueWidgetDefinition() {\n }\n /**\n * @ignore\n */\n AlertValueWidgetDefinition.getAttributeTypeMap = function () {\n return AlertValueWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AlertValueWidgetDefinition.attributeTypeMap = {\n alertId: {\n baseName: \"alert_id\",\n type: \"string\",\n required: true,\n },\n precision: {\n baseName: \"precision\",\n type: \"number\",\n format: \"int64\",\n },\n textAlign: {\n baseName: \"text_align\",\n type: \"WidgetTextAlign\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"AlertValueWidgetDefinitionType\",\n required: true,\n },\n unit: {\n baseName: \"unit\",\n type: \"string\",\n },\n };\n return AlertValueWidgetDefinition;\n}());\nexports.AlertValueWidgetDefinition = AlertValueWidgetDefinition;\n//# sourceMappingURL=AlertValueWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiKey = void 0;\n/**\n * Datadog API key.\n */\nvar ApiKey = /** @class */ (function () {\n function ApiKey() {\n }\n /**\n * @ignore\n */\n ApiKey.getAttributeTypeMap = function () {\n return ApiKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApiKey.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"string\",\n },\n createdBy: {\n baseName: \"created_by\",\n type: \"string\",\n },\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return ApiKey;\n}());\nexports.ApiKey = ApiKey;\n//# sourceMappingURL=ApiKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiKeyListResponse = void 0;\n/**\n * List of API and application keys available for a given organization.\n */\nvar ApiKeyListResponse = /** @class */ (function () {\n function ApiKeyListResponse() {\n }\n /**\n * @ignore\n */\n ApiKeyListResponse.getAttributeTypeMap = function () {\n return ApiKeyListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApiKeyListResponse.attributeTypeMap = {\n apiKeys: {\n baseName: \"api_keys\",\n type: \"Array\",\n },\n };\n return ApiKeyListResponse;\n}());\nexports.ApiKeyListResponse = ApiKeyListResponse;\n//# sourceMappingURL=ApiKeyListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiKeyResponse = void 0;\n/**\n * An API key with its associated metadata.\n */\nvar ApiKeyResponse = /** @class */ (function () {\n function ApiKeyResponse() {\n }\n /**\n * @ignore\n */\n ApiKeyResponse.getAttributeTypeMap = function () {\n return ApiKeyResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApiKeyResponse.attributeTypeMap = {\n apiKey: {\n baseName: \"api_key\",\n type: \"ApiKey\",\n },\n };\n return ApiKeyResponse;\n}());\nexports.ApiKeyResponse = ApiKeyResponse;\n//# sourceMappingURL=ApiKeyResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApmStatsQueryColumnType = void 0;\n/**\n * Column properties.\n */\nvar ApmStatsQueryColumnType = /** @class */ (function () {\n function ApmStatsQueryColumnType() {\n }\n /**\n * @ignore\n */\n ApmStatsQueryColumnType.getAttributeTypeMap = function () {\n return ApmStatsQueryColumnType.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApmStatsQueryColumnType.attributeTypeMap = {\n alias: {\n baseName: \"alias\",\n type: \"string\",\n },\n cellDisplayMode: {\n baseName: \"cell_display_mode\",\n type: \"TableWidgetCellDisplayMode\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n order: {\n baseName: \"order\",\n type: \"WidgetSort\",\n },\n };\n return ApmStatsQueryColumnType;\n}());\nexports.ApmStatsQueryColumnType = ApmStatsQueryColumnType;\n//# sourceMappingURL=ApmStatsQueryColumnType.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApmStatsQueryDefinition = void 0;\n/**\n * The APM stats query for table and distributions widgets.\n */\nvar ApmStatsQueryDefinition = /** @class */ (function () {\n function ApmStatsQueryDefinition() {\n }\n /**\n * @ignore\n */\n ApmStatsQueryDefinition.getAttributeTypeMap = function () {\n return ApmStatsQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApmStatsQueryDefinition.attributeTypeMap = {\n columns: {\n baseName: \"columns\",\n type: \"Array\",\n },\n env: {\n baseName: \"env\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n primaryTag: {\n baseName: \"primary_tag\",\n type: \"string\",\n required: true,\n },\n resource: {\n baseName: \"resource\",\n type: \"string\",\n },\n rowType: {\n baseName: \"row_type\",\n type: \"ApmStatsQueryRowType\",\n required: true,\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n required: true,\n },\n };\n return ApmStatsQueryDefinition;\n}());\nexports.ApmStatsQueryDefinition = ApmStatsQueryDefinition;\n//# sourceMappingURL=ApmStatsQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKey = void 0;\n/**\n * An application key with its associated metadata.\n */\nvar ApplicationKey = /** @class */ (function () {\n function ApplicationKey() {\n }\n /**\n * @ignore\n */\n ApplicationKey.getAttributeTypeMap = function () {\n return ApplicationKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKey.attributeTypeMap = {\n hash: {\n baseName: \"hash\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n owner: {\n baseName: \"owner\",\n type: \"string\",\n },\n };\n return ApplicationKey;\n}());\nexports.ApplicationKey = ApplicationKey;\n//# sourceMappingURL=ApplicationKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyListResponse = void 0;\n/**\n * An application key response.\n */\nvar ApplicationKeyListResponse = /** @class */ (function () {\n function ApplicationKeyListResponse() {\n }\n /**\n * @ignore\n */\n ApplicationKeyListResponse.getAttributeTypeMap = function () {\n return ApplicationKeyListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyListResponse.attributeTypeMap = {\n applicationKeys: {\n baseName: \"application_keys\",\n type: \"Array\",\n },\n };\n return ApplicationKeyListResponse;\n}());\nexports.ApplicationKeyListResponse = ApplicationKeyListResponse;\n//# sourceMappingURL=ApplicationKeyListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyResponse = void 0;\n/**\n * An application key response.\n */\nvar ApplicationKeyResponse = /** @class */ (function () {\n function ApplicationKeyResponse() {\n }\n /**\n * @ignore\n */\n ApplicationKeyResponse.getAttributeTypeMap = function () {\n return ApplicationKeyResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyResponse.attributeTypeMap = {\n applicationKey: {\n baseName: \"application_key\",\n type: \"ApplicationKey\",\n },\n };\n return ApplicationKeyResponse;\n}());\nexports.ApplicationKeyResponse = ApplicationKeyResponse;\n//# sourceMappingURL=ApplicationKeyResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthenticationValidationResponse = void 0;\n/**\n * Represent validation endpoint responses.\n */\nvar AuthenticationValidationResponse = /** @class */ (function () {\n function AuthenticationValidationResponse() {\n }\n /**\n * @ignore\n */\n AuthenticationValidationResponse.getAttributeTypeMap = function () {\n return AuthenticationValidationResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthenticationValidationResponse.attributeTypeMap = {\n valid: {\n baseName: \"valid\",\n type: \"boolean\",\n },\n };\n return AuthenticationValidationResponse;\n}());\nexports.AuthenticationValidationResponse = AuthenticationValidationResponse;\n//# sourceMappingURL=AuthenticationValidationResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AzureAccount = void 0;\n/**\n * Datadog-Azure integrations configured for your organization.\n */\nvar AzureAccount = /** @class */ (function () {\n function AzureAccount() {\n }\n /**\n * @ignore\n */\n AzureAccount.getAttributeTypeMap = function () {\n return AzureAccount.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AzureAccount.attributeTypeMap = {\n automute: {\n baseName: \"automute\",\n type: \"boolean\",\n },\n clientId: {\n baseName: \"client_id\",\n type: \"string\",\n },\n clientSecret: {\n baseName: \"client_secret\",\n type: \"string\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n hostFilters: {\n baseName: \"host_filters\",\n type: \"string\",\n },\n newClientId: {\n baseName: \"new_client_id\",\n type: \"string\",\n },\n newTenantName: {\n baseName: \"new_tenant_name\",\n type: \"string\",\n },\n tenantName: {\n baseName: \"tenant_name\",\n type: \"string\",\n },\n };\n return AzureAccount;\n}());\nexports.AzureAccount = AzureAccount;\n//# sourceMappingURL=AzureAccount.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CancelDowntimesByScopeRequest = void 0;\n/**\n * Cancel downtimes according to scope.\n */\nvar CancelDowntimesByScopeRequest = /** @class */ (function () {\n function CancelDowntimesByScopeRequest() {\n }\n /**\n * @ignore\n */\n CancelDowntimesByScopeRequest.getAttributeTypeMap = function () {\n return CancelDowntimesByScopeRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CancelDowntimesByScopeRequest.attributeTypeMap = {\n scope: {\n baseName: \"scope\",\n type: \"string\",\n required: true,\n },\n };\n return CancelDowntimesByScopeRequest;\n}());\nexports.CancelDowntimesByScopeRequest = CancelDowntimesByScopeRequest;\n//# sourceMappingURL=CancelDowntimesByScopeRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CanceledDowntimesIds = void 0;\n/**\n * Object containing array of IDs of canceled downtimes.\n */\nvar CanceledDowntimesIds = /** @class */ (function () {\n function CanceledDowntimesIds() {\n }\n /**\n * @ignore\n */\n CanceledDowntimesIds.getAttributeTypeMap = function () {\n return CanceledDowntimesIds.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CanceledDowntimesIds.attributeTypeMap = {\n cancelledIds: {\n baseName: \"cancelled_ids\",\n type: \"Array\",\n format: \"int64\",\n },\n };\n return CanceledDowntimesIds;\n}());\nexports.CanceledDowntimesIds = CanceledDowntimesIds;\n//# sourceMappingURL=CanceledDowntimesIds.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ChangeWidgetDefinition = void 0;\n/**\n * The Change graph shows you the change in a value over the time period chosen.\n */\nvar ChangeWidgetDefinition = /** @class */ (function () {\n function ChangeWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ChangeWidgetDefinition.getAttributeTypeMap = function () {\n return ChangeWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ChangeWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ChangeWidgetDefinitionType\",\n required: true,\n },\n };\n return ChangeWidgetDefinition;\n}());\nexports.ChangeWidgetDefinition = ChangeWidgetDefinition;\n//# sourceMappingURL=ChangeWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ChangeWidgetRequest = void 0;\n/**\n * Updated change widget.\n */\nvar ChangeWidgetRequest = /** @class */ (function () {\n function ChangeWidgetRequest() {\n }\n /**\n * @ignore\n */\n ChangeWidgetRequest.getAttributeTypeMap = function () {\n return ChangeWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ChangeWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n changeType: {\n baseName: \"change_type\",\n type: \"WidgetChangeType\",\n },\n compareTo: {\n baseName: \"compare_to\",\n type: \"WidgetCompareTo\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n increaseGood: {\n baseName: \"increase_good\",\n type: \"boolean\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n orderBy: {\n baseName: \"order_by\",\n type: \"WidgetOrderBy\",\n },\n orderDir: {\n baseName: \"order_dir\",\n type: \"WidgetSort\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n showPresent: {\n baseName: \"show_present\",\n type: \"boolean\",\n },\n };\n return ChangeWidgetRequest;\n}());\nexports.ChangeWidgetRequest = ChangeWidgetRequest;\n//# sourceMappingURL=ChangeWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CheckCanDeleteMonitorResponse = void 0;\n/**\n * Response of monitor IDs that can or can't be safely deleted.\n */\nvar CheckCanDeleteMonitorResponse = /** @class */ (function () {\n function CheckCanDeleteMonitorResponse() {\n }\n /**\n * @ignore\n */\n CheckCanDeleteMonitorResponse.getAttributeTypeMap = function () {\n return CheckCanDeleteMonitorResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CheckCanDeleteMonitorResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"CheckCanDeleteMonitorResponseData\",\n required: true,\n },\n errors: {\n baseName: \"errors\",\n type: \"{ [key: string]: Array; }\",\n },\n };\n return CheckCanDeleteMonitorResponse;\n}());\nexports.CheckCanDeleteMonitorResponse = CheckCanDeleteMonitorResponse;\n//# sourceMappingURL=CheckCanDeleteMonitorResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CheckCanDeleteMonitorResponseData = void 0;\n/**\n * Wrapper object with the list of monitor IDs.\n */\nvar CheckCanDeleteMonitorResponseData = /** @class */ (function () {\n function CheckCanDeleteMonitorResponseData() {\n }\n /**\n * @ignore\n */\n CheckCanDeleteMonitorResponseData.getAttributeTypeMap = function () {\n return CheckCanDeleteMonitorResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CheckCanDeleteMonitorResponseData.attributeTypeMap = {\n ok: {\n baseName: \"ok\",\n type: \"Array\",\n format: \"int64\",\n },\n };\n return CheckCanDeleteMonitorResponseData;\n}());\nexports.CheckCanDeleteMonitorResponseData = CheckCanDeleteMonitorResponseData;\n//# sourceMappingURL=CheckCanDeleteMonitorResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CheckCanDeleteSLOResponse = void 0;\n/**\n * A service level objective response containing the requested object.\n */\nvar CheckCanDeleteSLOResponse = /** @class */ (function () {\n function CheckCanDeleteSLOResponse() {\n }\n /**\n * @ignore\n */\n CheckCanDeleteSLOResponse.getAttributeTypeMap = function () {\n return CheckCanDeleteSLOResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CheckCanDeleteSLOResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"CheckCanDeleteSLOResponseData\",\n },\n errors: {\n baseName: \"errors\",\n type: \"{ [key: string]: string; }\",\n },\n };\n return CheckCanDeleteSLOResponse;\n}());\nexports.CheckCanDeleteSLOResponse = CheckCanDeleteSLOResponse;\n//# sourceMappingURL=CheckCanDeleteSLOResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CheckCanDeleteSLOResponseData = void 0;\n/**\n * An array of service level objective objects.\n */\nvar CheckCanDeleteSLOResponseData = /** @class */ (function () {\n function CheckCanDeleteSLOResponseData() {\n }\n /**\n * @ignore\n */\n CheckCanDeleteSLOResponseData.getAttributeTypeMap = function () {\n return CheckCanDeleteSLOResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CheckCanDeleteSLOResponseData.attributeTypeMap = {\n ok: {\n baseName: \"ok\",\n type: \"Array\",\n },\n };\n return CheckCanDeleteSLOResponseData;\n}());\nexports.CheckCanDeleteSLOResponseData = CheckCanDeleteSLOResponseData;\n//# sourceMappingURL=CheckCanDeleteSLOResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CheckStatusWidgetDefinition = void 0;\n/**\n * Check status shows the current status or number of results for any check performed.\n */\nvar CheckStatusWidgetDefinition = /** @class */ (function () {\n function CheckStatusWidgetDefinition() {\n }\n /**\n * @ignore\n */\n CheckStatusWidgetDefinition.getAttributeTypeMap = function () {\n return CheckStatusWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CheckStatusWidgetDefinition.attributeTypeMap = {\n check: {\n baseName: \"check\",\n type: \"string\",\n required: true,\n },\n group: {\n baseName: \"group\",\n type: \"string\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n grouping: {\n baseName: \"grouping\",\n type: \"WidgetGrouping\",\n required: true,\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"CheckStatusWidgetDefinitionType\",\n required: true,\n },\n };\n return CheckStatusWidgetDefinition;\n}());\nexports.CheckStatusWidgetDefinition = CheckStatusWidgetDefinition;\n//# sourceMappingURL=CheckStatusWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Creator = void 0;\n/**\n * Object describing the creator of the shared element.\n */\nvar Creator = /** @class */ (function () {\n function Creator() {\n }\n /**\n * @ignore\n */\n Creator.getAttributeTypeMap = function () {\n return Creator.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Creator.attributeTypeMap = {\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return Creator;\n}());\nexports.Creator = Creator;\n//# sourceMappingURL=Creator.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Dashboard = void 0;\n/**\n * A dashboard is Datadog’s tool for visually tracking, analyzing, and displaying key performance metrics, which enable you to monitor the health of your infrastructure.\n */\nvar Dashboard = /** @class */ (function () {\n function Dashboard() {\n }\n /**\n * @ignore\n */\n Dashboard.getAttributeTypeMap = function () {\n return Dashboard.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Dashboard.attributeTypeMap = {\n authorHandle: {\n baseName: \"author_handle\",\n type: \"string\",\n },\n authorName: {\n baseName: \"author_name\",\n type: \"string\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n isReadOnly: {\n baseName: \"is_read_only\",\n type: \"boolean\",\n },\n layoutType: {\n baseName: \"layout_type\",\n type: \"DashboardLayoutType\",\n required: true,\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n notifyList: {\n baseName: \"notify_list\",\n type: \"Array\",\n },\n reflowType: {\n baseName: \"reflow_type\",\n type: \"DashboardReflowType\",\n },\n restrictedRoles: {\n baseName: \"restricted_roles\",\n type: \"Array\",\n },\n templateVariablePresets: {\n baseName: \"template_variable_presets\",\n type: \"Array\",\n },\n templateVariables: {\n baseName: \"template_variables\",\n type: \"Array\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n required: true,\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n widgets: {\n baseName: \"widgets\",\n type: \"Array\",\n required: true,\n },\n };\n return Dashboard;\n}());\nexports.Dashboard = Dashboard;\n//# sourceMappingURL=Dashboard.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardBulkActionData = void 0;\n/**\n * Dashboard bulk action request data.\n */\nvar DashboardBulkActionData = /** @class */ (function () {\n function DashboardBulkActionData() {\n }\n /**\n * @ignore\n */\n DashboardBulkActionData.getAttributeTypeMap = function () {\n return DashboardBulkActionData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardBulkActionData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"DashboardResourceType\",\n required: true,\n },\n };\n return DashboardBulkActionData;\n}());\nexports.DashboardBulkActionData = DashboardBulkActionData;\n//# sourceMappingURL=DashboardBulkActionData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardBulkDeleteRequest = void 0;\n/**\n * Dashboard bulk delete request body.\n */\nvar DashboardBulkDeleteRequest = /** @class */ (function () {\n function DashboardBulkDeleteRequest() {\n }\n /**\n * @ignore\n */\n DashboardBulkDeleteRequest.getAttributeTypeMap = function () {\n return DashboardBulkDeleteRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardBulkDeleteRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return DashboardBulkDeleteRequest;\n}());\nexports.DashboardBulkDeleteRequest = DashboardBulkDeleteRequest;\n//# sourceMappingURL=DashboardBulkDeleteRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardDeleteResponse = void 0;\n/**\n * Response from the delete dashboard call.\n */\nvar DashboardDeleteResponse = /** @class */ (function () {\n function DashboardDeleteResponse() {\n }\n /**\n * @ignore\n */\n DashboardDeleteResponse.getAttributeTypeMap = function () {\n return DashboardDeleteResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardDeleteResponse.attributeTypeMap = {\n deletedDashboardId: {\n baseName: \"deleted_dashboard_id\",\n type: \"string\",\n },\n };\n return DashboardDeleteResponse;\n}());\nexports.DashboardDeleteResponse = DashboardDeleteResponse;\n//# sourceMappingURL=DashboardDeleteResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardList = void 0;\n/**\n * Your Datadog Dashboards.\n */\nvar DashboardList = /** @class */ (function () {\n function DashboardList() {\n }\n /**\n * @ignore\n */\n DashboardList.getAttributeTypeMap = function () {\n return DashboardList.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardList.attributeTypeMap = {\n author: {\n baseName: \"author\",\n type: \"Creator\",\n },\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n dashboardCount: {\n baseName: \"dashboard_count\",\n type: \"number\",\n format: \"int64\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n isFavorite: {\n baseName: \"is_favorite\",\n type: \"boolean\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return DashboardList;\n}());\nexports.DashboardList = DashboardList;\n//# sourceMappingURL=DashboardList.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListDeleteResponse = void 0;\n/**\n * Deleted dashboard details.\n */\nvar DashboardListDeleteResponse = /** @class */ (function () {\n function DashboardListDeleteResponse() {\n }\n /**\n * @ignore\n */\n DashboardListDeleteResponse.getAttributeTypeMap = function () {\n return DashboardListDeleteResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListDeleteResponse.attributeTypeMap = {\n deletedDashboardListId: {\n baseName: \"deleted_dashboard_list_id\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return DashboardListDeleteResponse;\n}());\nexports.DashboardListDeleteResponse = DashboardListDeleteResponse;\n//# sourceMappingURL=DashboardListDeleteResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListListResponse = void 0;\n/**\n * Information on your dashboard lists.\n */\nvar DashboardListListResponse = /** @class */ (function () {\n function DashboardListListResponse() {\n }\n /**\n * @ignore\n */\n DashboardListListResponse.getAttributeTypeMap = function () {\n return DashboardListListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListListResponse.attributeTypeMap = {\n dashboardLists: {\n baseName: \"dashboard_lists\",\n type: \"Array\",\n },\n };\n return DashboardListListResponse;\n}());\nexports.DashboardListListResponse = DashboardListListResponse;\n//# sourceMappingURL=DashboardListListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardRestoreRequest = void 0;\n/**\n * Dashboard restore request body.\n */\nvar DashboardRestoreRequest = /** @class */ (function () {\n function DashboardRestoreRequest() {\n }\n /**\n * @ignore\n */\n DashboardRestoreRequest.getAttributeTypeMap = function () {\n return DashboardRestoreRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardRestoreRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return DashboardRestoreRequest;\n}());\nexports.DashboardRestoreRequest = DashboardRestoreRequest;\n//# sourceMappingURL=DashboardRestoreRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardSummary = void 0;\n/**\n * Dashboard summary response.\n */\nvar DashboardSummary = /** @class */ (function () {\n function DashboardSummary() {\n }\n /**\n * @ignore\n */\n DashboardSummary.getAttributeTypeMap = function () {\n return DashboardSummary.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardSummary.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n },\n };\n return DashboardSummary;\n}());\nexports.DashboardSummary = DashboardSummary;\n//# sourceMappingURL=DashboardSummary.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardSummaryDefinition = void 0;\n/**\n * Dashboard definition.\n */\nvar DashboardSummaryDefinition = /** @class */ (function () {\n function DashboardSummaryDefinition() {\n }\n /**\n * @ignore\n */\n DashboardSummaryDefinition.getAttributeTypeMap = function () {\n return DashboardSummaryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardSummaryDefinition.attributeTypeMap = {\n authorHandle: {\n baseName: \"author_handle\",\n type: \"string\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n isReadOnly: {\n baseName: \"is_read_only\",\n type: \"boolean\",\n },\n layoutType: {\n baseName: \"layout_type\",\n type: \"DashboardLayoutType\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return DashboardSummaryDefinition;\n}());\nexports.DashboardSummaryDefinition = DashboardSummaryDefinition;\n//# sourceMappingURL=DashboardSummaryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardTemplateVariable = void 0;\n/**\n * Template variable.\n */\nvar DashboardTemplateVariable = /** @class */ (function () {\n function DashboardTemplateVariable() {\n }\n /**\n * @ignore\n */\n DashboardTemplateVariable.getAttributeTypeMap = function () {\n return DashboardTemplateVariable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardTemplateVariable.attributeTypeMap = {\n availableValues: {\n baseName: \"available_values\",\n type: \"Array\",\n },\n _default: {\n baseName: \"default\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n prefix: {\n baseName: \"prefix\",\n type: \"string\",\n },\n };\n return DashboardTemplateVariable;\n}());\nexports.DashboardTemplateVariable = DashboardTemplateVariable;\n//# sourceMappingURL=DashboardTemplateVariable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardTemplateVariablePreset = void 0;\n/**\n * Template variables saved views.\n */\nvar DashboardTemplateVariablePreset = /** @class */ (function () {\n function DashboardTemplateVariablePreset() {\n }\n /**\n * @ignore\n */\n DashboardTemplateVariablePreset.getAttributeTypeMap = function () {\n return DashboardTemplateVariablePreset.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardTemplateVariablePreset.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n templateVariables: {\n baseName: \"template_variables\",\n type: \"Array\",\n },\n };\n return DashboardTemplateVariablePreset;\n}());\nexports.DashboardTemplateVariablePreset = DashboardTemplateVariablePreset;\n//# sourceMappingURL=DashboardTemplateVariablePreset.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardTemplateVariablePresetValue = void 0;\n/**\n * Template variables saved views.\n */\nvar DashboardTemplateVariablePresetValue = /** @class */ (function () {\n function DashboardTemplateVariablePresetValue() {\n }\n /**\n * @ignore\n */\n DashboardTemplateVariablePresetValue.getAttributeTypeMap = function () {\n return DashboardTemplateVariablePresetValue.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardTemplateVariablePresetValue.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return DashboardTemplateVariablePresetValue;\n}());\nexports.DashboardTemplateVariablePresetValue = DashboardTemplateVariablePresetValue;\n//# sourceMappingURL=DashboardTemplateVariablePresetValue.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DeletedMonitor = void 0;\n/**\n * Response from the delete monitor call.\n */\nvar DeletedMonitor = /** @class */ (function () {\n function DeletedMonitor() {\n }\n /**\n * @ignore\n */\n DeletedMonitor.getAttributeTypeMap = function () {\n return DeletedMonitor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DeletedMonitor.attributeTypeMap = {\n deletedMonitorId: {\n baseName: \"deleted_monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return DeletedMonitor;\n}());\nexports.DeletedMonitor = DeletedMonitor;\n//# sourceMappingURL=DeletedMonitor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DistributionWidgetDefinition = void 0;\n/**\n * The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.\n */\nvar DistributionWidgetDefinition = /** @class */ (function () {\n function DistributionWidgetDefinition() {\n }\n /**\n * @ignore\n */\n DistributionWidgetDefinition.getAttributeTypeMap = function () {\n return DistributionWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DistributionWidgetDefinition.attributeTypeMap = {\n legendSize: {\n baseName: \"legend_size\",\n type: \"string\",\n },\n markers: {\n baseName: \"markers\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n showLegend: {\n baseName: \"show_legend\",\n type: \"boolean\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"DistributionWidgetDefinitionType\",\n required: true,\n },\n xaxis: {\n baseName: \"xaxis\",\n type: \"DistributionWidgetXAxis\",\n },\n yaxis: {\n baseName: \"yaxis\",\n type: \"DistributionWidgetYAxis\",\n },\n };\n return DistributionWidgetDefinition;\n}());\nexports.DistributionWidgetDefinition = DistributionWidgetDefinition;\n//# sourceMappingURL=DistributionWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DistributionWidgetRequest = void 0;\n/**\n * Updated distribution widget.\n */\nvar DistributionWidgetRequest = /** @class */ (function () {\n function DistributionWidgetRequest() {\n }\n /**\n * @ignore\n */\n DistributionWidgetRequest.getAttributeTypeMap = function () {\n return DistributionWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DistributionWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n apmStatsQuery: {\n baseName: \"apm_stats_query\",\n type: \"ApmStatsQueryDefinition\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n style: {\n baseName: \"style\",\n type: \"WidgetStyle\",\n },\n };\n return DistributionWidgetRequest;\n}());\nexports.DistributionWidgetRequest = DistributionWidgetRequest;\n//# sourceMappingURL=DistributionWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DistributionWidgetXAxis = void 0;\n/**\n * X Axis controls for the distribution widget.\n */\nvar DistributionWidgetXAxis = /** @class */ (function () {\n function DistributionWidgetXAxis() {\n }\n /**\n * @ignore\n */\n DistributionWidgetXAxis.getAttributeTypeMap = function () {\n return DistributionWidgetXAxis.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DistributionWidgetXAxis.attributeTypeMap = {\n includeZero: {\n baseName: \"include_zero\",\n type: \"boolean\",\n },\n max: {\n baseName: \"max\",\n type: \"string\",\n },\n min: {\n baseName: \"min\",\n type: \"string\",\n },\n scale: {\n baseName: \"scale\",\n type: \"string\",\n },\n };\n return DistributionWidgetXAxis;\n}());\nexports.DistributionWidgetXAxis = DistributionWidgetXAxis;\n//# sourceMappingURL=DistributionWidgetXAxis.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DistributionWidgetYAxis = void 0;\n/**\n * Y Axis controls for the distribution widget.\n */\nvar DistributionWidgetYAxis = /** @class */ (function () {\n function DistributionWidgetYAxis() {\n }\n /**\n * @ignore\n */\n DistributionWidgetYAxis.getAttributeTypeMap = function () {\n return DistributionWidgetYAxis.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DistributionWidgetYAxis.attributeTypeMap = {\n includeZero: {\n baseName: \"include_zero\",\n type: \"boolean\",\n },\n label: {\n baseName: \"label\",\n type: \"string\",\n },\n max: {\n baseName: \"max\",\n type: \"string\",\n },\n min: {\n baseName: \"min\",\n type: \"string\",\n },\n scale: {\n baseName: \"scale\",\n type: \"string\",\n },\n };\n return DistributionWidgetYAxis;\n}());\nexports.DistributionWidgetYAxis = DistributionWidgetYAxis;\n//# sourceMappingURL=DistributionWidgetYAxis.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Downtime = void 0;\n/**\n * Downtiming gives you greater control over monitor notifications by allowing you to globally exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times, prevent all alerting related to specified Datadog tags.\n */\nvar Downtime = /** @class */ (function () {\n function Downtime() {\n }\n /**\n * @ignore\n */\n Downtime.getAttributeTypeMap = function () {\n return Downtime.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Downtime.attributeTypeMap = {\n active: {\n baseName: \"active\",\n type: \"boolean\",\n },\n activeChild: {\n baseName: \"active_child\",\n type: \"DowntimeChild\",\n },\n canceled: {\n baseName: \"canceled\",\n type: \"number\",\n format: \"int64\",\n },\n creatorId: {\n baseName: \"creator_id\",\n type: \"number\",\n format: \"int32\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n downtimeType: {\n baseName: \"downtime_type\",\n type: \"number\",\n format: \"int32\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n monitorTags: {\n baseName: \"monitor_tags\",\n type: \"Array\",\n },\n parentId: {\n baseName: \"parent_id\",\n type: \"number\",\n format: \"int64\",\n },\n recurrence: {\n baseName: \"recurrence\",\n type: \"DowntimeRecurrence\",\n },\n scope: {\n baseName: \"scope\",\n type: \"Array\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n updaterId: {\n baseName: \"updater_id\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return Downtime;\n}());\nexports.Downtime = Downtime;\n//# sourceMappingURL=Downtime.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DowntimeChild = void 0;\n/**\n * The downtime object definition of the active child for the original parent recurring downtime. This field will only exist on recurring downtimes.\n */\nvar DowntimeChild = /** @class */ (function () {\n function DowntimeChild() {\n }\n /**\n * @ignore\n */\n DowntimeChild.getAttributeTypeMap = function () {\n return DowntimeChild.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DowntimeChild.attributeTypeMap = {\n active: {\n baseName: \"active\",\n type: \"boolean\",\n },\n canceled: {\n baseName: \"canceled\",\n type: \"number\",\n format: \"int64\",\n },\n creatorId: {\n baseName: \"creator_id\",\n type: \"number\",\n format: \"int32\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n downtimeType: {\n baseName: \"downtime_type\",\n type: \"number\",\n format: \"int32\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n monitorTags: {\n baseName: \"monitor_tags\",\n type: \"Array\",\n },\n parentId: {\n baseName: \"parent_id\",\n type: \"number\",\n format: \"int64\",\n },\n recurrence: {\n baseName: \"recurrence\",\n type: \"DowntimeRecurrence\",\n },\n scope: {\n baseName: \"scope\",\n type: \"Array\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n updaterId: {\n baseName: \"updater_id\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return DowntimeChild;\n}());\nexports.DowntimeChild = DowntimeChild;\n//# sourceMappingURL=DowntimeChild.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DowntimeRecurrence = void 0;\n/**\n * An object defining the recurrence of the downtime.\n */\nvar DowntimeRecurrence = /** @class */ (function () {\n function DowntimeRecurrence() {\n }\n /**\n * @ignore\n */\n DowntimeRecurrence.getAttributeTypeMap = function () {\n return DowntimeRecurrence.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DowntimeRecurrence.attributeTypeMap = {\n period: {\n baseName: \"period\",\n type: \"number\",\n format: \"int32\",\n },\n rrule: {\n baseName: \"rrule\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n untilDate: {\n baseName: \"until_date\",\n type: \"number\",\n format: \"int64\",\n },\n untilOccurrences: {\n baseName: \"until_occurrences\",\n type: \"number\",\n format: \"int32\",\n },\n weekDays: {\n baseName: \"week_days\",\n type: \"Array\",\n },\n };\n return DowntimeRecurrence;\n}());\nexports.DowntimeRecurrence = DowntimeRecurrence;\n//# sourceMappingURL=DowntimeRecurrence.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Event = void 0;\n/**\n * Object representing an event.\n */\nvar Event = /** @class */ (function () {\n function Event() {\n }\n /**\n * @ignore\n */\n Event.getAttributeTypeMap = function () {\n return Event.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Event.attributeTypeMap = {\n alertType: {\n baseName: \"alert_type\",\n type: \"EventAlertType\",\n },\n dateHappened: {\n baseName: \"date_happened\",\n type: \"number\",\n format: \"int64\",\n },\n deviceName: {\n baseName: \"device_name\",\n type: \"string\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n idStr: {\n baseName: \"id_str\",\n type: \"string\",\n },\n payload: {\n baseName: \"payload\",\n type: \"string\",\n },\n priority: {\n baseName: \"priority\",\n type: \"EventPriority\",\n },\n sourceTypeName: {\n baseName: \"source_type_name\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n text: {\n baseName: \"text\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return Event;\n}());\nexports.Event = Event;\n//# sourceMappingURL=Event.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventCreateRequest = void 0;\n/**\n * Object representing an event.\n */\nvar EventCreateRequest = /** @class */ (function () {\n function EventCreateRequest() {\n }\n /**\n * @ignore\n */\n EventCreateRequest.getAttributeTypeMap = function () {\n return EventCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventCreateRequest.attributeTypeMap = {\n aggregationKey: {\n baseName: \"aggregation_key\",\n type: \"string\",\n },\n alertType: {\n baseName: \"alert_type\",\n type: \"EventAlertType\",\n },\n dateHappened: {\n baseName: \"date_happened\",\n type: \"number\",\n format: \"int64\",\n },\n deviceName: {\n baseName: \"device_name\",\n type: \"string\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n priority: {\n baseName: \"priority\",\n type: \"EventPriority\",\n },\n relatedEventId: {\n baseName: \"related_event_id\",\n type: \"number\",\n format: \"int64\",\n },\n sourceTypeName: {\n baseName: \"source_type_name\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n text: {\n baseName: \"text\",\n type: \"string\",\n required: true,\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n required: true,\n },\n };\n return EventCreateRequest;\n}());\nexports.EventCreateRequest = EventCreateRequest;\n//# sourceMappingURL=EventCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventCreateResponse = void 0;\n/**\n * Object containing an event response.\n */\nvar EventCreateResponse = /** @class */ (function () {\n function EventCreateResponse() {\n }\n /**\n * @ignore\n */\n EventCreateResponse.getAttributeTypeMap = function () {\n return EventCreateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventCreateResponse.attributeTypeMap = {\n alertType: {\n baseName: \"alert_type\",\n type: \"EventAlertType\",\n },\n dateHappened: {\n baseName: \"date_happened\",\n type: \"number\",\n format: \"int64\",\n },\n deviceName: {\n baseName: \"device_name\",\n type: \"string\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n payload: {\n baseName: \"payload\",\n type: \"string\",\n },\n priority: {\n baseName: \"priority\",\n type: \"EventPriority\",\n },\n relatedEventId: {\n baseName: \"related_event_id\",\n type: \"number\",\n format: \"int64\",\n },\n sourceTypeName: {\n baseName: \"source_type_name\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n text: {\n baseName: \"text\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return EventCreateResponse;\n}());\nexports.EventCreateResponse = EventCreateResponse;\n//# sourceMappingURL=EventCreateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventListResponse = void 0;\n/**\n * An event list response.\n */\nvar EventListResponse = /** @class */ (function () {\n function EventListResponse() {\n }\n /**\n * @ignore\n */\n EventListResponse.getAttributeTypeMap = function () {\n return EventListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventListResponse.attributeTypeMap = {\n events: {\n baseName: \"events\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n };\n return EventListResponse;\n}());\nexports.EventListResponse = EventListResponse;\n//# sourceMappingURL=EventListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventQueryDefinition = void 0;\n/**\n * The event query.\n */\nvar EventQueryDefinition = /** @class */ (function () {\n function EventQueryDefinition() {\n }\n /**\n * @ignore\n */\n EventQueryDefinition.getAttributeTypeMap = function () {\n return EventQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventQueryDefinition.attributeTypeMap = {\n search: {\n baseName: \"search\",\n type: \"string\",\n required: true,\n },\n tagsExecution: {\n baseName: \"tags_execution\",\n type: \"string\",\n required: true,\n },\n };\n return EventQueryDefinition;\n}());\nexports.EventQueryDefinition = EventQueryDefinition;\n//# sourceMappingURL=EventQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventResponse = void 0;\n/**\n * Object containing an event response.\n */\nvar EventResponse = /** @class */ (function () {\n function EventResponse() {\n }\n /**\n * @ignore\n */\n EventResponse.getAttributeTypeMap = function () {\n return EventResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventResponse.attributeTypeMap = {\n event: {\n baseName: \"event\",\n type: \"Event\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n };\n return EventResponse;\n}());\nexports.EventResponse = EventResponse;\n//# sourceMappingURL=EventResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventStreamWidgetDefinition = void 0;\n/**\n * The event stream is a widget version of the stream of events on the Event Stream view. Only available on FREE layout dashboards.\n */\nvar EventStreamWidgetDefinition = /** @class */ (function () {\n function EventStreamWidgetDefinition() {\n }\n /**\n * @ignore\n */\n EventStreamWidgetDefinition.getAttributeTypeMap = function () {\n return EventStreamWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventStreamWidgetDefinition.attributeTypeMap = {\n eventSize: {\n baseName: \"event_size\",\n type: \"WidgetEventSize\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n tagsExecution: {\n baseName: \"tags_execution\",\n type: \"string\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"EventStreamWidgetDefinitionType\",\n required: true,\n },\n };\n return EventStreamWidgetDefinition;\n}());\nexports.EventStreamWidgetDefinition = EventStreamWidgetDefinition;\n//# sourceMappingURL=EventStreamWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.EventTimelineWidgetDefinition = void 0;\n/**\n * The event timeline is a widget version of the timeline that appears at the top of the Event Stream view. Only available on FREE layout dashboards.\n */\nvar EventTimelineWidgetDefinition = /** @class */ (function () {\n function EventTimelineWidgetDefinition() {\n }\n /**\n * @ignore\n */\n EventTimelineWidgetDefinition.getAttributeTypeMap = function () {\n return EventTimelineWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n EventTimelineWidgetDefinition.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n tagsExecution: {\n baseName: \"tags_execution\",\n type: \"string\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"EventTimelineWidgetDefinitionType\",\n required: true,\n },\n };\n return EventTimelineWidgetDefinition;\n}());\nexports.EventTimelineWidgetDefinition = EventTimelineWidgetDefinition;\n//# sourceMappingURL=EventTimelineWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionApmDependencyStatsQueryDefinition = void 0;\n/**\n * A formula and functions APM dependency stats query.\n */\nvar FormulaAndFunctionApmDependencyStatsQueryDefinition = /** @class */ (function () {\n function FormulaAndFunctionApmDependencyStatsQueryDefinition() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionApmDependencyStatsQueryDefinition.getAttributeTypeMap = function () {\n return FormulaAndFunctionApmDependencyStatsQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionApmDependencyStatsQueryDefinition.attributeTypeMap = {\n dataSource: {\n baseName: \"data_source\",\n type: \"FormulaAndFunctionApmDependencyStatsDataSource\",\n required: true,\n },\n env: {\n baseName: \"env\",\n type: \"string\",\n required: true,\n },\n isUpstream: {\n baseName: \"is_upstream\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n operationName: {\n baseName: \"operation_name\",\n type: \"string\",\n required: true,\n },\n primaryTagName: {\n baseName: \"primary_tag_name\",\n type: \"string\",\n },\n primaryTagValue: {\n baseName: \"primary_tag_value\",\n type: \"string\",\n },\n resourceName: {\n baseName: \"resource_name\",\n type: \"string\",\n required: true,\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n required: true,\n },\n stat: {\n baseName: \"stat\",\n type: \"FormulaAndFunctionApmDependencyStatName\",\n required: true,\n },\n };\n return FormulaAndFunctionApmDependencyStatsQueryDefinition;\n}());\nexports.FormulaAndFunctionApmDependencyStatsQueryDefinition = FormulaAndFunctionApmDependencyStatsQueryDefinition;\n//# sourceMappingURL=FormulaAndFunctionApmDependencyStatsQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionApmResourceStatsQueryDefinition = void 0;\n/**\n * APM resource stats query using formulas and functions.\n */\nvar FormulaAndFunctionApmResourceStatsQueryDefinition = /** @class */ (function () {\n function FormulaAndFunctionApmResourceStatsQueryDefinition() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionApmResourceStatsQueryDefinition.getAttributeTypeMap = function () {\n return FormulaAndFunctionApmResourceStatsQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionApmResourceStatsQueryDefinition.attributeTypeMap = {\n dataSource: {\n baseName: \"data_source\",\n type: \"FormulaAndFunctionApmResourceStatsDataSource\",\n required: true,\n },\n env: {\n baseName: \"env\",\n type: \"string\",\n required: true,\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n operationName: {\n baseName: \"operation_name\",\n type: \"string\",\n },\n primaryTagName: {\n baseName: \"primary_tag_name\",\n type: \"string\",\n },\n primaryTagValue: {\n baseName: \"primary_tag_value\",\n type: \"string\",\n },\n resourceName: {\n baseName: \"resource_name\",\n type: \"string\",\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n required: true,\n },\n stat: {\n baseName: \"stat\",\n type: \"FormulaAndFunctionApmResourceStatName\",\n required: true,\n },\n };\n return FormulaAndFunctionApmResourceStatsQueryDefinition;\n}());\nexports.FormulaAndFunctionApmResourceStatsQueryDefinition = FormulaAndFunctionApmResourceStatsQueryDefinition;\n//# sourceMappingURL=FormulaAndFunctionApmResourceStatsQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionEventQueryDefinition = void 0;\n/**\n * A formula and functions events query.\n */\nvar FormulaAndFunctionEventQueryDefinition = /** @class */ (function () {\n function FormulaAndFunctionEventQueryDefinition() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinition.getAttributeTypeMap = function () {\n return FormulaAndFunctionEventQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinition.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"FormulaAndFunctionEventQueryDefinitionCompute\",\n required: true,\n },\n dataSource: {\n baseName: \"data_source\",\n type: \"FormulaAndFunctionEventsDataSource\",\n required: true,\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n search: {\n baseName: \"search\",\n type: \"FormulaAndFunctionEventQueryDefinitionSearch\",\n },\n };\n return FormulaAndFunctionEventQueryDefinition;\n}());\nexports.FormulaAndFunctionEventQueryDefinition = FormulaAndFunctionEventQueryDefinition;\n//# sourceMappingURL=FormulaAndFunctionEventQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionEventQueryDefinitionCompute = void 0;\n/**\n * Compute options.\n */\nvar FormulaAndFunctionEventQueryDefinitionCompute = /** @class */ (function () {\n function FormulaAndFunctionEventQueryDefinitionCompute() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinitionCompute.getAttributeTypeMap = function () {\n return FormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"FormulaAndFunctionEventAggregation\",\n required: true,\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n };\n return FormulaAndFunctionEventQueryDefinitionCompute;\n}());\nexports.FormulaAndFunctionEventQueryDefinitionCompute = FormulaAndFunctionEventQueryDefinitionCompute;\n//# sourceMappingURL=FormulaAndFunctionEventQueryDefinitionCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionEventQueryDefinitionSearch = void 0;\n/**\n * Search options.\n */\nvar FormulaAndFunctionEventQueryDefinitionSearch = /** @class */ (function () {\n function FormulaAndFunctionEventQueryDefinitionSearch() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinitionSearch.getAttributeTypeMap = function () {\n return FormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return FormulaAndFunctionEventQueryDefinitionSearch;\n}());\nexports.FormulaAndFunctionEventQueryDefinitionSearch = FormulaAndFunctionEventQueryDefinitionSearch;\n//# sourceMappingURL=FormulaAndFunctionEventQueryDefinitionSearch.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionEventQueryGroupBy = void 0;\n/**\n * List of objects used to group by.\n */\nvar FormulaAndFunctionEventQueryGroupBy = /** @class */ (function () {\n function FormulaAndFunctionEventQueryGroupBy() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryGroupBy.getAttributeTypeMap = function () {\n return FormulaAndFunctionEventQueryGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryGroupBy.attributeTypeMap = {\n facet: {\n baseName: \"facet\",\n type: \"string\",\n required: true,\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n sort: {\n baseName: \"sort\",\n type: \"FormulaAndFunctionEventQueryGroupBySort\",\n },\n };\n return FormulaAndFunctionEventQueryGroupBy;\n}());\nexports.FormulaAndFunctionEventQueryGroupBy = FormulaAndFunctionEventQueryGroupBy;\n//# sourceMappingURL=FormulaAndFunctionEventQueryGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionEventQueryGroupBySort = void 0;\n/**\n * Options for sorting group by results.\n */\nvar FormulaAndFunctionEventQueryGroupBySort = /** @class */ (function () {\n function FormulaAndFunctionEventQueryGroupBySort() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryGroupBySort.getAttributeTypeMap = function () {\n return FormulaAndFunctionEventQueryGroupBySort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionEventQueryGroupBySort.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"FormulaAndFunctionEventAggregation\",\n required: true,\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n order: {\n baseName: \"order\",\n type: \"QuerySortOrder\",\n },\n };\n return FormulaAndFunctionEventQueryGroupBySort;\n}());\nexports.FormulaAndFunctionEventQueryGroupBySort = FormulaAndFunctionEventQueryGroupBySort;\n//# sourceMappingURL=FormulaAndFunctionEventQueryGroupBySort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionMetricQueryDefinition = void 0;\n/**\n * A formula and functions metrics query.\n */\nvar FormulaAndFunctionMetricQueryDefinition = /** @class */ (function () {\n function FormulaAndFunctionMetricQueryDefinition() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionMetricQueryDefinition.getAttributeTypeMap = function () {\n return FormulaAndFunctionMetricQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionMetricQueryDefinition.attributeTypeMap = {\n aggregator: {\n baseName: \"aggregator\",\n type: \"FormulaAndFunctionMetricAggregation\",\n },\n dataSource: {\n baseName: \"data_source\",\n type: \"FormulaAndFunctionMetricDataSource\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return FormulaAndFunctionMetricQueryDefinition;\n}());\nexports.FormulaAndFunctionMetricQueryDefinition = FormulaAndFunctionMetricQueryDefinition;\n//# sourceMappingURL=FormulaAndFunctionMetricQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FormulaAndFunctionProcessQueryDefinition = void 0;\n/**\n * Process query using formulas and functions.\n */\nvar FormulaAndFunctionProcessQueryDefinition = /** @class */ (function () {\n function FormulaAndFunctionProcessQueryDefinition() {\n }\n /**\n * @ignore\n */\n FormulaAndFunctionProcessQueryDefinition.getAttributeTypeMap = function () {\n return FormulaAndFunctionProcessQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FormulaAndFunctionProcessQueryDefinition.attributeTypeMap = {\n aggregator: {\n baseName: \"aggregator\",\n type: \"FormulaAndFunctionMetricAggregation\",\n },\n dataSource: {\n baseName: \"data_source\",\n type: \"FormulaAndFunctionProcessQueryDataSource\",\n required: true,\n },\n isNormalizedCpu: {\n baseName: \"is_normalized_cpu\",\n type: \"boolean\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n sort: {\n baseName: \"sort\",\n type: \"QuerySortOrder\",\n },\n tagFilters: {\n baseName: \"tag_filters\",\n type: \"Array\",\n },\n textFilter: {\n baseName: \"text_filter\",\n type: \"string\",\n },\n };\n return FormulaAndFunctionProcessQueryDefinition;\n}());\nexports.FormulaAndFunctionProcessQueryDefinition = FormulaAndFunctionProcessQueryDefinition;\n//# sourceMappingURL=FormulaAndFunctionProcessQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FreeTextWidgetDefinition = void 0;\n/**\n * Free text is a widget that allows you to add headings to your screenboard. Commonly used to state the overall purpose of the dashboard. Only available on FREE layout dashboards.\n */\nvar FreeTextWidgetDefinition = /** @class */ (function () {\n function FreeTextWidgetDefinition() {\n }\n /**\n * @ignore\n */\n FreeTextWidgetDefinition.getAttributeTypeMap = function () {\n return FreeTextWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FreeTextWidgetDefinition.attributeTypeMap = {\n color: {\n baseName: \"color\",\n type: \"string\",\n },\n fontSize: {\n baseName: \"font_size\",\n type: \"string\",\n },\n text: {\n baseName: \"text\",\n type: \"string\",\n required: true,\n },\n textAlign: {\n baseName: \"text_align\",\n type: \"WidgetTextAlign\",\n },\n type: {\n baseName: \"type\",\n type: \"FreeTextWidgetDefinitionType\",\n required: true,\n },\n };\n return FreeTextWidgetDefinition;\n}());\nexports.FreeTextWidgetDefinition = FreeTextWidgetDefinition;\n//# sourceMappingURL=FreeTextWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FunnelQuery = void 0;\n/**\n * Updated funnel widget.\n */\nvar FunnelQuery = /** @class */ (function () {\n function FunnelQuery() {\n }\n /**\n * @ignore\n */\n FunnelQuery.getAttributeTypeMap = function () {\n return FunnelQuery.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FunnelQuery.attributeTypeMap = {\n dataSource: {\n baseName: \"data_source\",\n type: \"FunnelSource\",\n required: true,\n },\n queryString: {\n baseName: \"query_string\",\n type: \"string\",\n required: true,\n },\n steps: {\n baseName: \"steps\",\n type: \"Array\",\n required: true,\n },\n };\n return FunnelQuery;\n}());\nexports.FunnelQuery = FunnelQuery;\n//# sourceMappingURL=FunnelQuery.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FunnelStep = void 0;\n/**\n * The funnel step.\n */\nvar FunnelStep = /** @class */ (function () {\n function FunnelStep() {\n }\n /**\n * @ignore\n */\n FunnelStep.getAttributeTypeMap = function () {\n return FunnelStep.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FunnelStep.attributeTypeMap = {\n facet: {\n baseName: \"facet\",\n type: \"string\",\n required: true,\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n required: true,\n },\n };\n return FunnelStep;\n}());\nexports.FunnelStep = FunnelStep;\n//# sourceMappingURL=FunnelStep.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FunnelWidgetDefinition = void 0;\n/**\n * The funnel visualization displays a funnel of user sessions that maps a sequence of view navigation and user interaction in your application.\n */\nvar FunnelWidgetDefinition = /** @class */ (function () {\n function FunnelWidgetDefinition() {\n }\n /**\n * @ignore\n */\n FunnelWidgetDefinition.getAttributeTypeMap = function () {\n return FunnelWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FunnelWidgetDefinition.attributeTypeMap = {\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"FunnelWidgetDefinitionType\",\n required: true,\n },\n };\n return FunnelWidgetDefinition;\n}());\nexports.FunnelWidgetDefinition = FunnelWidgetDefinition;\n//# sourceMappingURL=FunnelWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FunnelWidgetRequest = void 0;\n/**\n * Updated funnel widget.\n */\nvar FunnelWidgetRequest = /** @class */ (function () {\n function FunnelWidgetRequest() {\n }\n /**\n * @ignore\n */\n FunnelWidgetRequest.getAttributeTypeMap = function () {\n return FunnelWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FunnelWidgetRequest.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"FunnelQuery\",\n required: true,\n },\n requestType: {\n baseName: \"request_type\",\n type: \"FunnelRequestType\",\n required: true,\n },\n };\n return FunnelWidgetRequest;\n}());\nexports.FunnelWidgetRequest = FunnelWidgetRequest;\n//# sourceMappingURL=FunnelWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GCPAccount = void 0;\n/**\n * Your Google Cloud Platform Account.\n */\nvar GCPAccount = /** @class */ (function () {\n function GCPAccount() {\n }\n /**\n * @ignore\n */\n GCPAccount.getAttributeTypeMap = function () {\n return GCPAccount.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GCPAccount.attributeTypeMap = {\n authProviderX509CertUrl: {\n baseName: \"auth_provider_x509_cert_url\",\n type: \"string\",\n },\n authUri: {\n baseName: \"auth_uri\",\n type: \"string\",\n },\n automute: {\n baseName: \"automute\",\n type: \"boolean\",\n },\n clientEmail: {\n baseName: \"client_email\",\n type: \"string\",\n },\n clientId: {\n baseName: \"client_id\",\n type: \"string\",\n },\n clientX509CertUrl: {\n baseName: \"client_x509_cert_url\",\n type: \"string\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n hostFilters: {\n baseName: \"host_filters\",\n type: \"string\",\n },\n privateKey: {\n baseName: \"private_key\",\n type: \"string\",\n },\n privateKeyId: {\n baseName: \"private_key_id\",\n type: \"string\",\n },\n projectId: {\n baseName: \"project_id\",\n type: \"string\",\n },\n tokenUri: {\n baseName: \"token_uri\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return GCPAccount;\n}());\nexports.GCPAccount = GCPAccount;\n//# sourceMappingURL=GCPAccount.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GeomapWidgetDefinition = void 0;\n/**\n * This visualization displays a series of values by country on a world map.\n */\nvar GeomapWidgetDefinition = /** @class */ (function () {\n function GeomapWidgetDefinition() {\n }\n /**\n * @ignore\n */\n GeomapWidgetDefinition.getAttributeTypeMap = function () {\n return GeomapWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GeomapWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n style: {\n baseName: \"style\",\n type: \"GeomapWidgetDefinitionStyle\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"GeomapWidgetDefinitionType\",\n required: true,\n },\n view: {\n baseName: \"view\",\n type: \"GeomapWidgetDefinitionView\",\n required: true,\n },\n };\n return GeomapWidgetDefinition;\n}());\nexports.GeomapWidgetDefinition = GeomapWidgetDefinition;\n//# sourceMappingURL=GeomapWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GeomapWidgetDefinitionStyle = void 0;\n/**\n * The style to apply to the widget.\n */\nvar GeomapWidgetDefinitionStyle = /** @class */ (function () {\n function GeomapWidgetDefinitionStyle() {\n }\n /**\n * @ignore\n */\n GeomapWidgetDefinitionStyle.getAttributeTypeMap = function () {\n return GeomapWidgetDefinitionStyle.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GeomapWidgetDefinitionStyle.attributeTypeMap = {\n palette: {\n baseName: \"palette\",\n type: \"string\",\n required: true,\n },\n paletteFlip: {\n baseName: \"palette_flip\",\n type: \"boolean\",\n required: true,\n },\n };\n return GeomapWidgetDefinitionStyle;\n}());\nexports.GeomapWidgetDefinitionStyle = GeomapWidgetDefinitionStyle;\n//# sourceMappingURL=GeomapWidgetDefinitionStyle.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GeomapWidgetDefinitionView = void 0;\n/**\n * The view of the world that the map should render.\n */\nvar GeomapWidgetDefinitionView = /** @class */ (function () {\n function GeomapWidgetDefinitionView() {\n }\n /**\n * @ignore\n */\n GeomapWidgetDefinitionView.getAttributeTypeMap = function () {\n return GeomapWidgetDefinitionView.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GeomapWidgetDefinitionView.attributeTypeMap = {\n focus: {\n baseName: \"focus\",\n type: \"string\",\n required: true,\n },\n };\n return GeomapWidgetDefinitionView;\n}());\nexports.GeomapWidgetDefinitionView = GeomapWidgetDefinitionView;\n//# sourceMappingURL=GeomapWidgetDefinitionView.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GeomapWidgetRequest = void 0;\n/**\n * An updated geomap widget.\n */\nvar GeomapWidgetRequest = /** @class */ (function () {\n function GeomapWidgetRequest() {\n }\n /**\n * @ignore\n */\n GeomapWidgetRequest.getAttributeTypeMap = function () {\n return GeomapWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GeomapWidgetRequest.attributeTypeMap = {\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return GeomapWidgetRequest;\n}());\nexports.GeomapWidgetRequest = GeomapWidgetRequest;\n//# sourceMappingURL=GeomapWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GraphSnapshot = void 0;\n/**\n * Object representing a graph snapshot.\n */\nvar GraphSnapshot = /** @class */ (function () {\n function GraphSnapshot() {\n }\n /**\n * @ignore\n */\n GraphSnapshot.getAttributeTypeMap = function () {\n return GraphSnapshot.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GraphSnapshot.attributeTypeMap = {\n graphDef: {\n baseName: \"graph_def\",\n type: \"string\",\n },\n metricQuery: {\n baseName: \"metric_query\",\n type: \"string\",\n },\n snapshotUrl: {\n baseName: \"snapshot_url\",\n type: \"string\",\n },\n };\n return GraphSnapshot;\n}());\nexports.GraphSnapshot = GraphSnapshot;\n//# sourceMappingURL=GraphSnapshot.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.GroupWidgetDefinition = void 0;\n/**\n * The groups widget allows you to keep similar graphs together on your timeboard. Each group has a custom header, can hold one to many graphs, and is collapsible.\n */\nvar GroupWidgetDefinition = /** @class */ (function () {\n function GroupWidgetDefinition() {\n }\n /**\n * @ignore\n */\n GroupWidgetDefinition.getAttributeTypeMap = function () {\n return GroupWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n GroupWidgetDefinition.attributeTypeMap = {\n backgroundColor: {\n baseName: \"background_color\",\n type: \"string\",\n },\n bannerImg: {\n baseName: \"banner_img\",\n type: \"string\",\n },\n layoutType: {\n baseName: \"layout_type\",\n type: \"WidgetLayoutType\",\n required: true,\n },\n showTitle: {\n baseName: \"show_title\",\n type: \"boolean\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n type: {\n baseName: \"type\",\n type: \"GroupWidgetDefinitionType\",\n required: true,\n },\n widgets: {\n baseName: \"widgets\",\n type: \"Array\",\n required: true,\n },\n };\n return GroupWidgetDefinition;\n}());\nexports.GroupWidgetDefinition = GroupWidgetDefinition;\n//# sourceMappingURL=GroupWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPLogError = void 0;\n/**\n * Invalid query performed.\n */\nvar HTTPLogError = /** @class */ (function () {\n function HTTPLogError() {\n }\n /**\n * @ignore\n */\n HTTPLogError.getAttributeTypeMap = function () {\n return HTTPLogError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HTTPLogError.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"number\",\n required: true,\n format: \"int32\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n };\n return HTTPLogError;\n}());\nexports.HTTPLogError = HTTPLogError;\n//# sourceMappingURL=HTTPLogError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPLogItem = void 0;\n/**\n * Logs that are sent over HTTP.\n */\nvar HTTPLogItem = /** @class */ (function () {\n function HTTPLogItem() {\n }\n /**\n * @ignore\n */\n HTTPLogItem.getAttributeTypeMap = function () {\n return HTTPLogItem.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HTTPLogItem.attributeTypeMap = {\n ddsource: {\n baseName: \"ddsource\",\n type: \"string\",\n },\n ddtags: {\n baseName: \"ddtags\",\n type: \"string\",\n },\n hostname: {\n baseName: \"hostname\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n },\n };\n return HTTPLogItem;\n}());\nexports.HTTPLogItem = HTTPLogItem;\n//# sourceMappingURL=HTTPLogItem.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HeatMapWidgetDefinition = void 0;\n/**\n * The heat map visualization shows metrics aggregated across many tags, such as hosts. The more hosts that have a particular value, the darker that square is.\n */\nvar HeatMapWidgetDefinition = /** @class */ (function () {\n function HeatMapWidgetDefinition() {\n }\n /**\n * @ignore\n */\n HeatMapWidgetDefinition.getAttributeTypeMap = function () {\n return HeatMapWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HeatMapWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n events: {\n baseName: \"events\",\n type: \"Array\",\n },\n legendSize: {\n baseName: \"legend_size\",\n type: \"string\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n showLegend: {\n baseName: \"show_legend\",\n type: \"boolean\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"HeatMapWidgetDefinitionType\",\n required: true,\n },\n yaxis: {\n baseName: \"yaxis\",\n type: \"WidgetAxis\",\n },\n };\n return HeatMapWidgetDefinition;\n}());\nexports.HeatMapWidgetDefinition = HeatMapWidgetDefinition;\n//# sourceMappingURL=HeatMapWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HeatMapWidgetRequest = void 0;\n/**\n * Updated heat map widget.\n */\nvar HeatMapWidgetRequest = /** @class */ (function () {\n function HeatMapWidgetRequest() {\n }\n /**\n * @ignore\n */\n HeatMapWidgetRequest.getAttributeTypeMap = function () {\n return HeatMapWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HeatMapWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"EventQueryDefinition\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n style: {\n baseName: \"style\",\n type: \"WidgetStyle\",\n },\n };\n return HeatMapWidgetRequest;\n}());\nexports.HeatMapWidgetRequest = HeatMapWidgetRequest;\n//# sourceMappingURL=HeatMapWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Host = void 0;\n/**\n * Object representing a host.\n */\nvar Host = /** @class */ (function () {\n function Host() {\n }\n /**\n * @ignore\n */\n Host.getAttributeTypeMap = function () {\n return Host.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Host.attributeTypeMap = {\n aliases: {\n baseName: \"aliases\",\n type: \"Array\",\n },\n apps: {\n baseName: \"apps\",\n type: \"Array\",\n },\n awsName: {\n baseName: \"aws_name\",\n type: \"string\",\n },\n hostName: {\n baseName: \"host_name\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n isMuted: {\n baseName: \"is_muted\",\n type: \"boolean\",\n },\n lastReportedTime: {\n baseName: \"last_reported_time\",\n type: \"number\",\n format: \"int64\",\n },\n meta: {\n baseName: \"meta\",\n type: \"HostMeta\",\n },\n metrics: {\n baseName: \"metrics\",\n type: \"HostMetrics\",\n },\n muteTimeout: {\n baseName: \"mute_timeout\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n },\n tagsBySource: {\n baseName: \"tags_by_source\",\n type: \"{ [key: string]: Array; }\",\n },\n up: {\n baseName: \"up\",\n type: \"boolean\",\n },\n };\n return Host;\n}());\nexports.Host = Host;\n//# sourceMappingURL=Host.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostListResponse = void 0;\n/**\n * Response with Host information from Datadog.\n */\nvar HostListResponse = /** @class */ (function () {\n function HostListResponse() {\n }\n /**\n * @ignore\n */\n HostListResponse.getAttributeTypeMap = function () {\n return HostListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostListResponse.attributeTypeMap = {\n hostList: {\n baseName: \"host_list\",\n type: \"Array\",\n },\n totalMatching: {\n baseName: \"total_matching\",\n type: \"number\",\n format: \"int64\",\n },\n totalReturned: {\n baseName: \"total_returned\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return HostListResponse;\n}());\nexports.HostListResponse = HostListResponse;\n//# sourceMappingURL=HostListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMapRequest = void 0;\n/**\n * Updated host map.\n */\nvar HostMapRequest = /** @class */ (function () {\n function HostMapRequest() {\n }\n /**\n * @ignore\n */\n HostMapRequest.getAttributeTypeMap = function () {\n return HostMapRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMapRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return HostMapRequest;\n}());\nexports.HostMapRequest = HostMapRequest;\n//# sourceMappingURL=HostMapRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMapWidgetDefinition = void 0;\n/**\n * The host map widget graphs any metric across your hosts using the same visualization available from the main Host Map page.\n */\nvar HostMapWidgetDefinition = /** @class */ (function () {\n function HostMapWidgetDefinition() {\n }\n /**\n * @ignore\n */\n HostMapWidgetDefinition.getAttributeTypeMap = function () {\n return HostMapWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMapWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n group: {\n baseName: \"group\",\n type: \"Array\",\n },\n noGroupHosts: {\n baseName: \"no_group_hosts\",\n type: \"boolean\",\n },\n noMetricHosts: {\n baseName: \"no_metric_hosts\",\n type: \"boolean\",\n },\n nodeType: {\n baseName: \"node_type\",\n type: \"WidgetNodeType\",\n },\n notes: {\n baseName: \"notes\",\n type: \"string\",\n },\n requests: {\n baseName: \"requests\",\n type: \"HostMapWidgetDefinitionRequests\",\n required: true,\n },\n scope: {\n baseName: \"scope\",\n type: \"Array\",\n },\n style: {\n baseName: \"style\",\n type: \"HostMapWidgetDefinitionStyle\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"HostMapWidgetDefinitionType\",\n required: true,\n },\n };\n return HostMapWidgetDefinition;\n}());\nexports.HostMapWidgetDefinition = HostMapWidgetDefinition;\n//# sourceMappingURL=HostMapWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMapWidgetDefinitionRequests = void 0;\n/**\n * List of definitions.\n */\nvar HostMapWidgetDefinitionRequests = /** @class */ (function () {\n function HostMapWidgetDefinitionRequests() {\n }\n /**\n * @ignore\n */\n HostMapWidgetDefinitionRequests.getAttributeTypeMap = function () {\n return HostMapWidgetDefinitionRequests.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMapWidgetDefinitionRequests.attributeTypeMap = {\n fill: {\n baseName: \"fill\",\n type: \"HostMapRequest\",\n },\n size: {\n baseName: \"size\",\n type: \"HostMapRequest\",\n },\n };\n return HostMapWidgetDefinitionRequests;\n}());\nexports.HostMapWidgetDefinitionRequests = HostMapWidgetDefinitionRequests;\n//# sourceMappingURL=HostMapWidgetDefinitionRequests.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMapWidgetDefinitionStyle = void 0;\n/**\n * The style to apply to the widget.\n */\nvar HostMapWidgetDefinitionStyle = /** @class */ (function () {\n function HostMapWidgetDefinitionStyle() {\n }\n /**\n * @ignore\n */\n HostMapWidgetDefinitionStyle.getAttributeTypeMap = function () {\n return HostMapWidgetDefinitionStyle.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMapWidgetDefinitionStyle.attributeTypeMap = {\n fillMax: {\n baseName: \"fill_max\",\n type: \"string\",\n },\n fillMin: {\n baseName: \"fill_min\",\n type: \"string\",\n },\n palette: {\n baseName: \"palette\",\n type: \"string\",\n },\n paletteFlip: {\n baseName: \"palette_flip\",\n type: \"boolean\",\n },\n };\n return HostMapWidgetDefinitionStyle;\n}());\nexports.HostMapWidgetDefinitionStyle = HostMapWidgetDefinitionStyle;\n//# sourceMappingURL=HostMapWidgetDefinitionStyle.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMeta = void 0;\n/**\n * Metadata associated with your host.\n */\nvar HostMeta = /** @class */ (function () {\n function HostMeta() {\n }\n /**\n * @ignore\n */\n HostMeta.getAttributeTypeMap = function () {\n return HostMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMeta.attributeTypeMap = {\n agentChecks: {\n baseName: \"agent_checks\",\n type: \"Array>\",\n },\n agentVersion: {\n baseName: \"agent_version\",\n type: \"string\",\n },\n cpuCores: {\n baseName: \"cpuCores\",\n type: \"number\",\n format: \"int64\",\n },\n fbsdV: {\n baseName: \"fbsdV\",\n type: \"Array\",\n },\n gohai: {\n baseName: \"gohai\",\n type: \"string\",\n },\n installMethod: {\n baseName: \"install_method\",\n type: \"HostMetaInstallMethod\",\n },\n macV: {\n baseName: \"macV\",\n type: \"Array\",\n },\n machine: {\n baseName: \"machine\",\n type: \"string\",\n },\n nixV: {\n baseName: \"nixV\",\n type: \"Array\",\n },\n platform: {\n baseName: \"platform\",\n type: \"string\",\n },\n processor: {\n baseName: \"processor\",\n type: \"string\",\n },\n pythonV: {\n baseName: \"pythonV\",\n type: \"string\",\n },\n socketFqdn: {\n baseName: \"socket-fqdn\",\n type: \"string\",\n },\n socketHostname: {\n baseName: \"socket-hostname\",\n type: \"string\",\n },\n winV: {\n baseName: \"winV\",\n type: \"Array\",\n },\n };\n return HostMeta;\n}());\nexports.HostMeta = HostMeta;\n//# sourceMappingURL=HostMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMetaInstallMethod = void 0;\n/**\n * Agent install method.\n */\nvar HostMetaInstallMethod = /** @class */ (function () {\n function HostMetaInstallMethod() {\n }\n /**\n * @ignore\n */\n HostMetaInstallMethod.getAttributeTypeMap = function () {\n return HostMetaInstallMethod.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMetaInstallMethod.attributeTypeMap = {\n installerVersion: {\n baseName: \"installer_version\",\n type: \"string\",\n },\n tool: {\n baseName: \"tool\",\n type: \"string\",\n },\n toolVersion: {\n baseName: \"tool_version\",\n type: \"string\",\n },\n };\n return HostMetaInstallMethod;\n}());\nexports.HostMetaInstallMethod = HostMetaInstallMethod;\n//# sourceMappingURL=HostMetaInstallMethod.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMetrics = void 0;\n/**\n * Host Metrics collected.\n */\nvar HostMetrics = /** @class */ (function () {\n function HostMetrics() {\n }\n /**\n * @ignore\n */\n HostMetrics.getAttributeTypeMap = function () {\n return HostMetrics.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMetrics.attributeTypeMap = {\n cpu: {\n baseName: \"cpu\",\n type: \"number\",\n format: \"double\",\n },\n iowait: {\n baseName: \"iowait\",\n type: \"number\",\n format: \"double\",\n },\n load: {\n baseName: \"load\",\n type: \"number\",\n format: \"double\",\n },\n };\n return HostMetrics;\n}());\nexports.HostMetrics = HostMetrics;\n//# sourceMappingURL=HostMetrics.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMuteResponse = void 0;\n/**\n * Response with the list of muted host for your organization.\n */\nvar HostMuteResponse = /** @class */ (function () {\n function HostMuteResponse() {\n }\n /**\n * @ignore\n */\n HostMuteResponse.getAttributeTypeMap = function () {\n return HostMuteResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMuteResponse.attributeTypeMap = {\n action: {\n baseName: \"action\",\n type: \"string\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n hostname: {\n baseName: \"hostname\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return HostMuteResponse;\n}());\nexports.HostMuteResponse = HostMuteResponse;\n//# sourceMappingURL=HostMuteResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostMuteSettings = void 0;\n/**\n * Combination of settings to mute a host.\n */\nvar HostMuteSettings = /** @class */ (function () {\n function HostMuteSettings() {\n }\n /**\n * @ignore\n */\n HostMuteSettings.getAttributeTypeMap = function () {\n return HostMuteSettings.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostMuteSettings.attributeTypeMap = {\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n override: {\n baseName: \"override\",\n type: \"boolean\",\n },\n };\n return HostMuteSettings;\n}());\nexports.HostMuteSettings = HostMuteSettings;\n//# sourceMappingURL=HostMuteSettings.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostTags = void 0;\n/**\n * Set of tags to associate with your host.\n */\nvar HostTags = /** @class */ (function () {\n function HostTags() {\n }\n /**\n * @ignore\n */\n HostTags.getAttributeTypeMap = function () {\n return HostTags.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostTags.attributeTypeMap = {\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return HostTags;\n}());\nexports.HostTags = HostTags;\n//# sourceMappingURL=HostTags.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HostTotals = void 0;\n/**\n * Total number of host currently monitored by Datadog.\n */\nvar HostTotals = /** @class */ (function () {\n function HostTotals() {\n }\n /**\n * @ignore\n */\n HostTotals.getAttributeTypeMap = function () {\n return HostTotals.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HostTotals.attributeTypeMap = {\n totalActive: {\n baseName: \"total_active\",\n type: \"number\",\n format: \"int64\",\n },\n totalUp: {\n baseName: \"total_up\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return HostTotals;\n}());\nexports.HostTotals = HostTotals;\n//# sourceMappingURL=HostTotals.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HourlyUsageAttributionBody = void 0;\n/**\n * The usage for one set of tags for one hour.\n */\nvar HourlyUsageAttributionBody = /** @class */ (function () {\n function HourlyUsageAttributionBody() {\n }\n /**\n * @ignore\n */\n HourlyUsageAttributionBody.getAttributeTypeMap = function () {\n return HourlyUsageAttributionBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HourlyUsageAttributionBody.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n tagConfigSource: {\n baseName: \"tag_config_source\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"{ [key: string]: Array; }\",\n },\n totalUsageSum: {\n baseName: \"total_usage_sum\",\n type: \"number\",\n format: \"double\",\n },\n updatedAt: {\n baseName: \"updated_at\",\n type: \"string\",\n },\n usageType: {\n baseName: \"usage_type\",\n type: \"HourlyUsageAttributionUsageType\",\n },\n };\n return HourlyUsageAttributionBody;\n}());\nexports.HourlyUsageAttributionBody = HourlyUsageAttributionBody;\n//# sourceMappingURL=HourlyUsageAttributionBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HourlyUsageAttributionMetadata = void 0;\n/**\n * The object containing document metadata.\n */\nvar HourlyUsageAttributionMetadata = /** @class */ (function () {\n function HourlyUsageAttributionMetadata() {\n }\n /**\n * @ignore\n */\n HourlyUsageAttributionMetadata.getAttributeTypeMap = function () {\n return HourlyUsageAttributionMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HourlyUsageAttributionMetadata.attributeTypeMap = {\n pagination: {\n baseName: \"pagination\",\n type: \"HourlyUsageAttributionPagination\",\n },\n };\n return HourlyUsageAttributionMetadata;\n}());\nexports.HourlyUsageAttributionMetadata = HourlyUsageAttributionMetadata;\n//# sourceMappingURL=HourlyUsageAttributionMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HourlyUsageAttributionPagination = void 0;\n/**\n * The metadata for the current pagination.\n */\nvar HourlyUsageAttributionPagination = /** @class */ (function () {\n function HourlyUsageAttributionPagination() {\n }\n /**\n * @ignore\n */\n HourlyUsageAttributionPagination.getAttributeTypeMap = function () {\n return HourlyUsageAttributionPagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HourlyUsageAttributionPagination.attributeTypeMap = {\n nextRecordId: {\n baseName: \"next_record_id\",\n type: \"string\",\n },\n };\n return HourlyUsageAttributionPagination;\n}());\nexports.HourlyUsageAttributionPagination = HourlyUsageAttributionPagination;\n//# sourceMappingURL=HourlyUsageAttributionPagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HourlyUsageAttributionResponse = void 0;\n/**\n * Response containing the hourly usage attribution by tag(s).\n */\nvar HourlyUsageAttributionResponse = /** @class */ (function () {\n function HourlyUsageAttributionResponse() {\n }\n /**\n * @ignore\n */\n HourlyUsageAttributionResponse.getAttributeTypeMap = function () {\n return HourlyUsageAttributionResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HourlyUsageAttributionResponse.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"HourlyUsageAttributionMetadata\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return HourlyUsageAttributionResponse;\n}());\nexports.HourlyUsageAttributionResponse = HourlyUsageAttributionResponse;\n//# sourceMappingURL=HourlyUsageAttributionResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IFrameWidgetDefinition = void 0;\n/**\n * The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards.\n */\nvar IFrameWidgetDefinition = /** @class */ (function () {\n function IFrameWidgetDefinition() {\n }\n /**\n * @ignore\n */\n IFrameWidgetDefinition.getAttributeTypeMap = function () {\n return IFrameWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IFrameWidgetDefinition.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"IFrameWidgetDefinitionType\",\n required: true,\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n required: true,\n },\n };\n return IFrameWidgetDefinition;\n}());\nexports.IFrameWidgetDefinition = IFrameWidgetDefinition;\n//# sourceMappingURL=IFrameWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesAPI = void 0;\n/**\n * Available prefix information for the API endpoints.\n */\nvar IPPrefixesAPI = /** @class */ (function () {\n function IPPrefixesAPI() {\n }\n /**\n * @ignore\n */\n IPPrefixesAPI.getAttributeTypeMap = function () {\n return IPPrefixesAPI.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesAPI.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesAPI;\n}());\nexports.IPPrefixesAPI = IPPrefixesAPI;\n//# sourceMappingURL=IPPrefixesAPI.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesAPM = void 0;\n/**\n * Available prefix information for the APM endpoints.\n */\nvar IPPrefixesAPM = /** @class */ (function () {\n function IPPrefixesAPM() {\n }\n /**\n * @ignore\n */\n IPPrefixesAPM.getAttributeTypeMap = function () {\n return IPPrefixesAPM.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesAPM.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesAPM;\n}());\nexports.IPPrefixesAPM = IPPrefixesAPM;\n//# sourceMappingURL=IPPrefixesAPM.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesAgents = void 0;\n/**\n * Available prefix information for the Agent endpoints.\n */\nvar IPPrefixesAgents = /** @class */ (function () {\n function IPPrefixesAgents() {\n }\n /**\n * @ignore\n */\n IPPrefixesAgents.getAttributeTypeMap = function () {\n return IPPrefixesAgents.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesAgents.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesAgents;\n}());\nexports.IPPrefixesAgents = IPPrefixesAgents;\n//# sourceMappingURL=IPPrefixesAgents.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesLogs = void 0;\n/**\n * Available prefix information for the Logs endpoints.\n */\nvar IPPrefixesLogs = /** @class */ (function () {\n function IPPrefixesLogs() {\n }\n /**\n * @ignore\n */\n IPPrefixesLogs.getAttributeTypeMap = function () {\n return IPPrefixesLogs.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesLogs.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesLogs;\n}());\nexports.IPPrefixesLogs = IPPrefixesLogs;\n//# sourceMappingURL=IPPrefixesLogs.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesProcess = void 0;\n/**\n * Available prefix information for the Process endpoints.\n */\nvar IPPrefixesProcess = /** @class */ (function () {\n function IPPrefixesProcess() {\n }\n /**\n * @ignore\n */\n IPPrefixesProcess.getAttributeTypeMap = function () {\n return IPPrefixesProcess.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesProcess.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesProcess;\n}());\nexports.IPPrefixesProcess = IPPrefixesProcess;\n//# sourceMappingURL=IPPrefixesProcess.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesSynthetics = void 0;\n/**\n * Available prefix information for the Synthetics endpoints.\n */\nvar IPPrefixesSynthetics = /** @class */ (function () {\n function IPPrefixesSynthetics() {\n }\n /**\n * @ignore\n */\n IPPrefixesSynthetics.getAttributeTypeMap = function () {\n return IPPrefixesSynthetics.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesSynthetics.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv4ByLocation: {\n baseName: \"prefixes_ipv4_by_location\",\n type: \"{ [key: string]: Array; }\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n prefixesIpv6ByLocation: {\n baseName: \"prefixes_ipv6_by_location\",\n type: \"{ [key: string]: Array; }\",\n },\n };\n return IPPrefixesSynthetics;\n}());\nexports.IPPrefixesSynthetics = IPPrefixesSynthetics;\n//# sourceMappingURL=IPPrefixesSynthetics.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPPrefixesWebhooks = void 0;\n/**\n * Available prefix information for the Webhook endpoints.\n */\nvar IPPrefixesWebhooks = /** @class */ (function () {\n function IPPrefixesWebhooks() {\n }\n /**\n * @ignore\n */\n IPPrefixesWebhooks.getAttributeTypeMap = function () {\n return IPPrefixesWebhooks.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPPrefixesWebhooks.attributeTypeMap = {\n prefixesIpv4: {\n baseName: \"prefixes_ipv4\",\n type: \"Array\",\n },\n prefixesIpv6: {\n baseName: \"prefixes_ipv6\",\n type: \"Array\",\n },\n };\n return IPPrefixesWebhooks;\n}());\nexports.IPPrefixesWebhooks = IPPrefixesWebhooks;\n//# sourceMappingURL=IPPrefixesWebhooks.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IPRanges = void 0;\n/**\n * IP ranges.\n */\nvar IPRanges = /** @class */ (function () {\n function IPRanges() {\n }\n /**\n * @ignore\n */\n IPRanges.getAttributeTypeMap = function () {\n return IPRanges.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IPRanges.attributeTypeMap = {\n agents: {\n baseName: \"agents\",\n type: \"IPPrefixesAgents\",\n },\n api: {\n baseName: \"api\",\n type: \"IPPrefixesAPI\",\n },\n apm: {\n baseName: \"apm\",\n type: \"IPPrefixesAPM\",\n },\n logs: {\n baseName: \"logs\",\n type: \"IPPrefixesLogs\",\n },\n modified: {\n baseName: \"modified\",\n type: \"string\",\n },\n process: {\n baseName: \"process\",\n type: \"IPPrefixesProcess\",\n },\n synthetics: {\n baseName: \"synthetics\",\n type: \"IPPrefixesSynthetics\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int64\",\n },\n webhooks: {\n baseName: \"webhooks\",\n type: \"IPPrefixesWebhooks\",\n },\n };\n return IPRanges;\n}());\nexports.IPRanges = IPRanges;\n//# sourceMappingURL=IPRanges.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IdpFormData = void 0;\n/**\n * Object describing the IdP configuration.\n */\nvar IdpFormData = /** @class */ (function () {\n function IdpFormData() {\n }\n /**\n * @ignore\n */\n IdpFormData.getAttributeTypeMap = function () {\n return IdpFormData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IdpFormData.attributeTypeMap = {\n idpFile: {\n baseName: \"idp_file\",\n type: \"HttpFile\",\n required: true,\n format: \"binary\",\n },\n };\n return IdpFormData;\n}());\nexports.IdpFormData = IdpFormData;\n//# sourceMappingURL=IdpFormData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IdpResponse = void 0;\n/**\n * The IdP response object.\n */\nvar IdpResponse = /** @class */ (function () {\n function IdpResponse() {\n }\n /**\n * @ignore\n */\n IdpResponse.getAttributeTypeMap = function () {\n return IdpResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IdpResponse.attributeTypeMap = {\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n };\n return IdpResponse;\n}());\nexports.IdpResponse = IdpResponse;\n//# sourceMappingURL=IdpResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ImageWidgetDefinition = void 0;\n/**\n * The image widget allows you to embed an image on your dashboard. An image can be a PNG, JPG, or animated GIF. Only available on FREE layout dashboards.\n */\nvar ImageWidgetDefinition = /** @class */ (function () {\n function ImageWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ImageWidgetDefinition.getAttributeTypeMap = function () {\n return ImageWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ImageWidgetDefinition.attributeTypeMap = {\n hasBackground: {\n baseName: \"has_background\",\n type: \"boolean\",\n },\n hasBorder: {\n baseName: \"has_border\",\n type: \"boolean\",\n },\n horizontalAlign: {\n baseName: \"horizontal_align\",\n type: \"WidgetHorizontalAlign\",\n },\n margin: {\n baseName: \"margin\",\n type: \"WidgetMargin\",\n },\n sizing: {\n baseName: \"sizing\",\n type: \"WidgetImageSizing\",\n },\n type: {\n baseName: \"type\",\n type: \"ImageWidgetDefinitionType\",\n required: true,\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n required: true,\n },\n urlDarkTheme: {\n baseName: \"url_dark_theme\",\n type: \"string\",\n },\n verticalAlign: {\n baseName: \"vertical_align\",\n type: \"WidgetVerticalAlign\",\n },\n };\n return ImageWidgetDefinition;\n}());\nexports.ImageWidgetDefinition = ImageWidgetDefinition;\n//# sourceMappingURL=ImageWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IntakePayloadAccepted = void 0;\n/**\n * The payload accepted for intake.\n */\nvar IntakePayloadAccepted = /** @class */ (function () {\n function IntakePayloadAccepted() {\n }\n /**\n * @ignore\n */\n IntakePayloadAccepted.getAttributeTypeMap = function () {\n return IntakePayloadAccepted.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IntakePayloadAccepted.attributeTypeMap = {\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n };\n return IntakePayloadAccepted;\n}());\nexports.IntakePayloadAccepted = IntakePayloadAccepted;\n//# sourceMappingURL=IntakePayloadAccepted.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListStreamColumn = void 0;\n/**\n * Widget column.\n */\nvar ListStreamColumn = /** @class */ (function () {\n function ListStreamColumn() {\n }\n /**\n * @ignore\n */\n ListStreamColumn.getAttributeTypeMap = function () {\n return ListStreamColumn.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ListStreamColumn.attributeTypeMap = {\n field: {\n baseName: \"field\",\n type: \"string\",\n required: true,\n },\n width: {\n baseName: \"width\",\n type: \"ListStreamColumnWidth\",\n required: true,\n },\n };\n return ListStreamColumn;\n}());\nexports.ListStreamColumn = ListStreamColumn;\n//# sourceMappingURL=ListStreamColumn.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListStreamQuery = void 0;\n/**\n * Updated list stream widget.\n */\nvar ListStreamQuery = /** @class */ (function () {\n function ListStreamQuery() {\n }\n /**\n * @ignore\n */\n ListStreamQuery.getAttributeTypeMap = function () {\n return ListStreamQuery.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ListStreamQuery.attributeTypeMap = {\n dataSource: {\n baseName: \"data_source\",\n type: \"ListStreamSource\",\n required: true,\n },\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n queryString: {\n baseName: \"query_string\",\n type: \"string\",\n required: true,\n },\n };\n return ListStreamQuery;\n}());\nexports.ListStreamQuery = ListStreamQuery;\n//# sourceMappingURL=ListStreamQuery.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListStreamWidgetDefinition = void 0;\n/**\n * The list stream visualization displays a table of recent events in your application that match a search criteria using user-defined columns.\n */\nvar ListStreamWidgetDefinition = /** @class */ (function () {\n function ListStreamWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ListStreamWidgetDefinition.getAttributeTypeMap = function () {\n return ListStreamWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ListStreamWidgetDefinition.attributeTypeMap = {\n legendSize: {\n baseName: \"legend_size\",\n type: \"string\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n showLegend: {\n baseName: \"show_legend\",\n type: \"boolean\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ListStreamWidgetDefinitionType\",\n required: true,\n },\n };\n return ListStreamWidgetDefinition;\n}());\nexports.ListStreamWidgetDefinition = ListStreamWidgetDefinition;\n//# sourceMappingURL=ListStreamWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListStreamWidgetRequest = void 0;\n/**\n * Updated list stream widget.\n */\nvar ListStreamWidgetRequest = /** @class */ (function () {\n function ListStreamWidgetRequest() {\n }\n /**\n * @ignore\n */\n ListStreamWidgetRequest.getAttributeTypeMap = function () {\n return ListStreamWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ListStreamWidgetRequest.attributeTypeMap = {\n columns: {\n baseName: \"columns\",\n type: \"Array\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"ListStreamQuery\",\n required: true,\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"ListStreamResponseFormat\",\n required: true,\n },\n };\n return ListStreamWidgetRequest;\n}());\nexports.ListStreamWidgetRequest = ListStreamWidgetRequest;\n//# sourceMappingURL=ListStreamWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Log = void 0;\n/**\n * Object describing a log after being processed and stored by Datadog.\n */\nvar Log = /** @class */ (function () {\n function Log() {\n }\n /**\n * @ignore\n */\n Log.getAttributeTypeMap = function () {\n return Log.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Log.attributeTypeMap = {\n content: {\n baseName: \"content\",\n type: \"LogContent\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n };\n return Log;\n}());\nexports.Log = Log;\n//# sourceMappingURL=Log.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogContent = void 0;\n/**\n * JSON object containing all log attributes and their associated values.\n */\nvar LogContent = /** @class */ (function () {\n function LogContent() {\n }\n /**\n * @ignore\n */\n LogContent.getAttributeTypeMap = function () {\n return LogContent.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogContent.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"{ [key: string]: any; }\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n format: \"string\",\n },\n timestamp: {\n baseName: \"timestamp\",\n type: \"Date\",\n format: \"date-time\",\n },\n };\n return LogContent;\n}());\nexports.LogContent = LogContent;\n//# sourceMappingURL=LogContent.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogQueryDefinition = void 0;\n/**\n * The log query.\n */\nvar LogQueryDefinition = /** @class */ (function () {\n function LogQueryDefinition() {\n }\n /**\n * @ignore\n */\n LogQueryDefinition.getAttributeTypeMap = function () {\n return LogQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogQueryDefinition.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"LogsQueryCompute\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n index: {\n baseName: \"index\",\n type: \"string\",\n },\n multiCompute: {\n baseName: \"multi_compute\",\n type: \"Array\",\n },\n search: {\n baseName: \"search\",\n type: \"LogQueryDefinitionSearch\",\n },\n };\n return LogQueryDefinition;\n}());\nexports.LogQueryDefinition = LogQueryDefinition;\n//# sourceMappingURL=LogQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogQueryDefinitionGroupBy = void 0;\n/**\n * Defined items in the group.\n */\nvar LogQueryDefinitionGroupBy = /** @class */ (function () {\n function LogQueryDefinitionGroupBy() {\n }\n /**\n * @ignore\n */\n LogQueryDefinitionGroupBy.getAttributeTypeMap = function () {\n return LogQueryDefinitionGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogQueryDefinitionGroupBy.attributeTypeMap = {\n facet: {\n baseName: \"facet\",\n type: \"string\",\n required: true,\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n sort: {\n baseName: \"sort\",\n type: \"LogQueryDefinitionGroupBySort\",\n },\n };\n return LogQueryDefinitionGroupBy;\n}());\nexports.LogQueryDefinitionGroupBy = LogQueryDefinitionGroupBy;\n//# sourceMappingURL=LogQueryDefinitionGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogQueryDefinitionGroupBySort = void 0;\n/**\n * Define a sorting method.\n */\nvar LogQueryDefinitionGroupBySort = /** @class */ (function () {\n function LogQueryDefinitionGroupBySort() {\n }\n /**\n * @ignore\n */\n LogQueryDefinitionGroupBySort.getAttributeTypeMap = function () {\n return LogQueryDefinitionGroupBySort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogQueryDefinitionGroupBySort.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"string\",\n required: true,\n },\n facet: {\n baseName: \"facet\",\n type: \"string\",\n },\n order: {\n baseName: \"order\",\n type: \"WidgetSort\",\n required: true,\n },\n };\n return LogQueryDefinitionGroupBySort;\n}());\nexports.LogQueryDefinitionGroupBySort = LogQueryDefinitionGroupBySort;\n//# sourceMappingURL=LogQueryDefinitionGroupBySort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogQueryDefinitionSearch = void 0;\n/**\n * The query being made on the logs.\n */\nvar LogQueryDefinitionSearch = /** @class */ (function () {\n function LogQueryDefinitionSearch() {\n }\n /**\n * @ignore\n */\n LogQueryDefinitionSearch.getAttributeTypeMap = function () {\n return LogQueryDefinitionSearch.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogQueryDefinitionSearch.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return LogQueryDefinitionSearch;\n}());\nexports.LogQueryDefinitionSearch = LogQueryDefinitionSearch;\n//# sourceMappingURL=LogQueryDefinitionSearch.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogStreamWidgetDefinition = void 0;\n/**\n * The Log Stream displays a log flow matching the defined query. Only available on FREE layout dashboards.\n */\nvar LogStreamWidgetDefinition = /** @class */ (function () {\n function LogStreamWidgetDefinition() {\n }\n /**\n * @ignore\n */\n LogStreamWidgetDefinition.getAttributeTypeMap = function () {\n return LogStreamWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogStreamWidgetDefinition.attributeTypeMap = {\n columns: {\n baseName: \"columns\",\n type: \"Array\",\n },\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n logset: {\n baseName: \"logset\",\n type: \"string\",\n },\n messageDisplay: {\n baseName: \"message_display\",\n type: \"WidgetMessageDisplay\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n showDateColumn: {\n baseName: \"show_date_column\",\n type: \"boolean\",\n },\n showMessageColumn: {\n baseName: \"show_message_column\",\n type: \"boolean\",\n },\n sort: {\n baseName: \"sort\",\n type: \"WidgetFieldSort\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogStreamWidgetDefinitionType\",\n required: true,\n },\n };\n return LogStreamWidgetDefinition;\n}());\nexports.LogStreamWidgetDefinition = LogStreamWidgetDefinition;\n//# sourceMappingURL=LogStreamWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAPIError = void 0;\n/**\n * Error returned by the Logs API\n */\nvar LogsAPIError = /** @class */ (function () {\n function LogsAPIError() {\n }\n /**\n * @ignore\n */\n LogsAPIError.getAttributeTypeMap = function () {\n return LogsAPIError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAPIError.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"string\",\n },\n details: {\n baseName: \"details\",\n type: \"Array\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return LogsAPIError;\n}());\nexports.LogsAPIError = LogsAPIError;\n//# sourceMappingURL=LogsAPIError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAPIErrorResponse = void 0;\n/**\n * Response returned by the Logs API when errors occur.\n */\nvar LogsAPIErrorResponse = /** @class */ (function () {\n function LogsAPIErrorResponse() {\n }\n /**\n * @ignore\n */\n LogsAPIErrorResponse.getAttributeTypeMap = function () {\n return LogsAPIErrorResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAPIErrorResponse.attributeTypeMap = {\n error: {\n baseName: \"error\",\n type: \"LogsAPIError\",\n },\n };\n return LogsAPIErrorResponse;\n}());\nexports.LogsAPIErrorResponse = LogsAPIErrorResponse;\n//# sourceMappingURL=LogsAPIErrorResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArithmeticProcessor = void 0;\n/**\n * Use the Arithmetic Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log with the result of the provided formula. This enables you to remap different time attributes with different units into a single attribute, or to compute operations on attributes within the same log. The formula can use parentheses and the basic arithmetic operators `-`, `+`, `*`, `/`. By default, the calculation is skipped if an attribute is missing. Select “Replace missing attribute by 0” to automatically populate missing attribute values with 0 to ensure that the calculation is done. An attribute is missing if it is not found in the log attributes, or if it cannot be converted to a number. *Notes*: - The operator `-` needs to be space split in the formula as it can also be contained in attribute names. - If the target attribute already exists, it is overwritten by the result of the formula. - Results are rounded up to the 9th decimal. For example, if the result of the formula is `0.1234567891`, the actual value stored for the attribute is `0.123456789`. - If you need to scale a unit of measure, see [Scale Filter](https://docs.datadoghq.com/logs/log_configuration/parsing/?tab=filter#matcher-and-filter).\n */\nvar LogsArithmeticProcessor = /** @class */ (function () {\n function LogsArithmeticProcessor() {\n }\n /**\n * @ignore\n */\n LogsArithmeticProcessor.getAttributeTypeMap = function () {\n return LogsArithmeticProcessor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArithmeticProcessor.attributeTypeMap = {\n expression: {\n baseName: \"expression\",\n type: \"string\",\n required: true,\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n isReplaceMissing: {\n baseName: \"is_replace_missing\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsArithmeticProcessorType\",\n required: true,\n },\n };\n return LogsArithmeticProcessor;\n}());\nexports.LogsArithmeticProcessor = LogsArithmeticProcessor;\n//# sourceMappingURL=LogsArithmeticProcessor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAttributeRemapper = void 0;\n/**\n * The remapper processor remaps any source attribute(s) or tag to another target attribute or tag. Constraints on the tag/attribute name are explained in the [Tag Best Practice documentation](https://docs.datadoghq.com/logs/guide/log-parsing-best-practice). Some additional constraints are applied as `:` or `,` are not allowed in the target tag/attribute name.\n */\nvar LogsAttributeRemapper = /** @class */ (function () {\n function LogsAttributeRemapper() {\n }\n /**\n * @ignore\n */\n LogsAttributeRemapper.getAttributeTypeMap = function () {\n return LogsAttributeRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAttributeRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n overrideOnConflict: {\n baseName: \"override_on_conflict\",\n type: \"boolean\",\n },\n preserveSource: {\n baseName: \"preserve_source\",\n type: \"boolean\",\n },\n sourceType: {\n baseName: \"source_type\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n targetFormat: {\n baseName: \"target_format\",\n type: \"TargetFormatType\",\n },\n targetType: {\n baseName: \"target_type\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsAttributeRemapperType\",\n required: true,\n },\n };\n return LogsAttributeRemapper;\n}());\nexports.LogsAttributeRemapper = LogsAttributeRemapper;\n//# sourceMappingURL=LogsAttributeRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsByRetention = void 0;\n/**\n * Object containing logs usage data broken down by retention period.\n */\nvar LogsByRetention = /** @class */ (function () {\n function LogsByRetention() {\n }\n /**\n * @ignore\n */\n LogsByRetention.getAttributeTypeMap = function () {\n return LogsByRetention.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsByRetention.attributeTypeMap = {\n orgs: {\n baseName: \"orgs\",\n type: \"LogsByRetentionOrgs\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n usageByMonth: {\n baseName: \"usage_by_month\",\n type: \"LogsByRetentionMonthlyUsage\",\n },\n };\n return LogsByRetention;\n}());\nexports.LogsByRetention = LogsByRetention;\n//# sourceMappingURL=LogsByRetention.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsByRetentionMonthlyUsage = void 0;\n/**\n * Object containing a summary of indexed logs usage by retention period for a single month.\n */\nvar LogsByRetentionMonthlyUsage = /** @class */ (function () {\n function LogsByRetentionMonthlyUsage() {\n }\n /**\n * @ignore\n */\n LogsByRetentionMonthlyUsage.getAttributeTypeMap = function () {\n return LogsByRetentionMonthlyUsage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsByRetentionMonthlyUsage.attributeTypeMap = {\n date: {\n baseName: \"date\",\n type: \"string\",\n format: \"datetime\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return LogsByRetentionMonthlyUsage;\n}());\nexports.LogsByRetentionMonthlyUsage = LogsByRetentionMonthlyUsage;\n//# sourceMappingURL=LogsByRetentionMonthlyUsage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsByRetentionOrgUsage = void 0;\n/**\n * Indexed logs usage by retention for a single organization.\n */\nvar LogsByRetentionOrgUsage = /** @class */ (function () {\n function LogsByRetentionOrgUsage() {\n }\n /**\n * @ignore\n */\n LogsByRetentionOrgUsage.getAttributeTypeMap = function () {\n return LogsByRetentionOrgUsage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsByRetentionOrgUsage.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return LogsByRetentionOrgUsage;\n}());\nexports.LogsByRetentionOrgUsage = LogsByRetentionOrgUsage;\n//# sourceMappingURL=LogsByRetentionOrgUsage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsByRetentionOrgs = void 0;\n/**\n * Indexed logs usage summary for each organization for each retention period with usage.\n */\nvar LogsByRetentionOrgs = /** @class */ (function () {\n function LogsByRetentionOrgs() {\n }\n /**\n * @ignore\n */\n LogsByRetentionOrgs.getAttributeTypeMap = function () {\n return LogsByRetentionOrgs.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsByRetentionOrgs.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return LogsByRetentionOrgs;\n}());\nexports.LogsByRetentionOrgs = LogsByRetentionOrgs;\n//# sourceMappingURL=LogsByRetentionOrgs.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsCategoryProcessor = void 0;\n/**\n * Use the Category Processor to add a new attribute (without spaces or special characters in the new attribute name) to a log matching a provided search query. Use categories to create groups for an analytical view. For example, URL groups, machine groups, environments, and response time buckets. **Notes**: - The syntax of the query is the one of Logs Explorer search bar. The query can be done on any log attribute or tag, whether it is a facet or not. Wildcards can also be used inside your query. - Once the log has matched one of the Processor queries, it stops. Make sure they are properly ordered in case a log could match several queries. - The names of the categories must be unique. - Once defined in the Category Processor, you can map categories to log status using the Log Status Remapper.\n */\nvar LogsCategoryProcessor = /** @class */ (function () {\n function LogsCategoryProcessor() {\n }\n /**\n * @ignore\n */\n LogsCategoryProcessor.getAttributeTypeMap = function () {\n return LogsCategoryProcessor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsCategoryProcessor.attributeTypeMap = {\n categories: {\n baseName: \"categories\",\n type: \"Array\",\n required: true,\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsCategoryProcessorType\",\n required: true,\n },\n };\n return LogsCategoryProcessor;\n}());\nexports.LogsCategoryProcessor = LogsCategoryProcessor;\n//# sourceMappingURL=LogsCategoryProcessor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsCategoryProcessorCategory = void 0;\n/**\n * Object describing the logs filter.\n */\nvar LogsCategoryProcessorCategory = /** @class */ (function () {\n function LogsCategoryProcessorCategory() {\n }\n /**\n * @ignore\n */\n LogsCategoryProcessorCategory.getAttributeTypeMap = function () {\n return LogsCategoryProcessorCategory.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsCategoryProcessorCategory.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsFilter\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return LogsCategoryProcessorCategory;\n}());\nexports.LogsCategoryProcessorCategory = LogsCategoryProcessorCategory;\n//# sourceMappingURL=LogsCategoryProcessorCategory.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsDateRemapper = void 0;\n/**\n * As Datadog receives logs, it timestamps them using the value(s) from any of these default attributes. - `timestamp` - `date` - `_timestamp` - `Timestamp` - `eventTime` - `published_date` If your logs put their dates in an attribute not in this list, use the log date Remapper Processor to define their date attribute as the official log timestamp. The recognized date formats are ISO8601, UNIX (the milliseconds EPOCH format), and RFC3164. **Note:** If your logs don’t contain any of the default attributes and you haven’t defined your own date attribute, Datadog timestamps the logs with the date it received them. If multiple log date remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.\n */\nvar LogsDateRemapper = /** @class */ (function () {\n function LogsDateRemapper() {\n }\n /**\n * @ignore\n */\n LogsDateRemapper.getAttributeTypeMap = function () {\n return LogsDateRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsDateRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsDateRemapperType\",\n required: true,\n },\n };\n return LogsDateRemapper;\n}());\nexports.LogsDateRemapper = LogsDateRemapper;\n//# sourceMappingURL=LogsDateRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsExclusion = void 0;\n/**\n * Represents the index exclusion filter object from configuration API.\n */\nvar LogsExclusion = /** @class */ (function () {\n function LogsExclusion() {\n }\n /**\n * @ignore\n */\n LogsExclusion.getAttributeTypeMap = function () {\n return LogsExclusion.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsExclusion.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsExclusionFilter\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return LogsExclusion;\n}());\nexports.LogsExclusion = LogsExclusion;\n//# sourceMappingURL=LogsExclusion.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsExclusionFilter = void 0;\n/**\n * Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.\n */\nvar LogsExclusionFilter = /** @class */ (function () {\n function LogsExclusionFilter() {\n }\n /**\n * @ignore\n */\n LogsExclusionFilter.getAttributeTypeMap = function () {\n return LogsExclusionFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsExclusionFilter.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n sampleRate: {\n baseName: \"sample_rate\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n };\n return LogsExclusionFilter;\n}());\nexports.LogsExclusionFilter = LogsExclusionFilter;\n//# sourceMappingURL=LogsExclusionFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsFilter = void 0;\n/**\n * Filter for logs.\n */\nvar LogsFilter = /** @class */ (function () {\n function LogsFilter() {\n }\n /**\n * @ignore\n */\n LogsFilter.getAttributeTypeMap = function () {\n return LogsFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsFilter.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return LogsFilter;\n}());\nexports.LogsFilter = LogsFilter;\n//# sourceMappingURL=LogsFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsGeoIPParser = void 0;\n/**\n * The GeoIP parser takes an IP address attribute and extracts if available the Continent, Country, Subdivision, and City information in the target attribute path.\n */\nvar LogsGeoIPParser = /** @class */ (function () {\n function LogsGeoIPParser() {\n }\n /**\n * @ignore\n */\n LogsGeoIPParser.getAttributeTypeMap = function () {\n return LogsGeoIPParser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsGeoIPParser.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsGeoIPParserType\",\n required: true,\n },\n };\n return LogsGeoIPParser;\n}());\nexports.LogsGeoIPParser = LogsGeoIPParser;\n//# sourceMappingURL=LogsGeoIPParser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsGrokParser = void 0;\n/**\n * Create custom grok rules to parse the full message or [a specific attribute of your raw event](https://docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings). For more information, see the [parsing section](https://docs.datadoghq.com/logs/log_configuration/parsing).\n */\nvar LogsGrokParser = /** @class */ (function () {\n function LogsGrokParser() {\n }\n /**\n * @ignore\n */\n LogsGrokParser.getAttributeTypeMap = function () {\n return LogsGrokParser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsGrokParser.attributeTypeMap = {\n grok: {\n baseName: \"grok\",\n type: \"LogsGrokParserRules\",\n required: true,\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n samples: {\n baseName: \"samples\",\n type: \"Array\",\n },\n source: {\n baseName: \"source\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsGrokParserType\",\n required: true,\n },\n };\n return LogsGrokParser;\n}());\nexports.LogsGrokParser = LogsGrokParser;\n//# sourceMappingURL=LogsGrokParser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsGrokParserRules = void 0;\n/**\n * Set of rules for the grok parser.\n */\nvar LogsGrokParserRules = /** @class */ (function () {\n function LogsGrokParserRules() {\n }\n /**\n * @ignore\n */\n LogsGrokParserRules.getAttributeTypeMap = function () {\n return LogsGrokParserRules.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsGrokParserRules.attributeTypeMap = {\n matchRules: {\n baseName: \"match_rules\",\n type: \"string\",\n required: true,\n },\n supportRules: {\n baseName: \"support_rules\",\n type: \"string\",\n },\n };\n return LogsGrokParserRules;\n}());\nexports.LogsGrokParserRules = LogsGrokParserRules;\n//# sourceMappingURL=LogsGrokParserRules.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsIndex = void 0;\n/**\n * Object describing a Datadog Log index.\n */\nvar LogsIndex = /** @class */ (function () {\n function LogsIndex() {\n }\n /**\n * @ignore\n */\n LogsIndex.getAttributeTypeMap = function () {\n return LogsIndex.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsIndex.attributeTypeMap = {\n dailyLimit: {\n baseName: \"daily_limit\",\n type: \"number\",\n format: \"int64\",\n },\n exclusionFilters: {\n baseName: \"exclusion_filters\",\n type: \"Array\",\n },\n filter: {\n baseName: \"filter\",\n type: \"LogsFilter\",\n required: true,\n },\n isRateLimited: {\n baseName: \"is_rate_limited\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n numRetentionDays: {\n baseName: \"num_retention_days\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return LogsIndex;\n}());\nexports.LogsIndex = LogsIndex;\n//# sourceMappingURL=LogsIndex.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsIndexListResponse = void 0;\n/**\n * Object with all Index configurations for a given organization.\n */\nvar LogsIndexListResponse = /** @class */ (function () {\n function LogsIndexListResponse() {\n }\n /**\n * @ignore\n */\n LogsIndexListResponse.getAttributeTypeMap = function () {\n return LogsIndexListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsIndexListResponse.attributeTypeMap = {\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n };\n return LogsIndexListResponse;\n}());\nexports.LogsIndexListResponse = LogsIndexListResponse;\n//# sourceMappingURL=LogsIndexListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsIndexUpdateRequest = void 0;\n/**\n * Object for updating a Datadog Log index.\n */\nvar LogsIndexUpdateRequest = /** @class */ (function () {\n function LogsIndexUpdateRequest() {\n }\n /**\n * @ignore\n */\n LogsIndexUpdateRequest.getAttributeTypeMap = function () {\n return LogsIndexUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsIndexUpdateRequest.attributeTypeMap = {\n dailyLimit: {\n baseName: \"daily_limit\",\n type: \"number\",\n format: \"int64\",\n },\n disableDailyLimit: {\n baseName: \"disable_daily_limit\",\n type: \"boolean\",\n },\n exclusionFilters: {\n baseName: \"exclusion_filters\",\n type: \"Array\",\n },\n filter: {\n baseName: \"filter\",\n type: \"LogsFilter\",\n required: true,\n },\n numRetentionDays: {\n baseName: \"num_retention_days\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return LogsIndexUpdateRequest;\n}());\nexports.LogsIndexUpdateRequest = LogsIndexUpdateRequest;\n//# sourceMappingURL=LogsIndexUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsIndexesOrder = void 0;\n/**\n * Object containing the ordered list of log index names.\n */\nvar LogsIndexesOrder = /** @class */ (function () {\n function LogsIndexesOrder() {\n }\n /**\n * @ignore\n */\n LogsIndexesOrder.getAttributeTypeMap = function () {\n return LogsIndexesOrder.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsIndexesOrder.attributeTypeMap = {\n indexNames: {\n baseName: \"index_names\",\n type: \"Array\",\n required: true,\n },\n };\n return LogsIndexesOrder;\n}());\nexports.LogsIndexesOrder = LogsIndexesOrder;\n//# sourceMappingURL=LogsIndexesOrder.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListRequest = void 0;\n/**\n * Object to send with the request to retrieve a list of logs from your Organization.\n */\nvar LogsListRequest = /** @class */ (function () {\n function LogsListRequest() {\n }\n /**\n * @ignore\n */\n LogsListRequest.getAttributeTypeMap = function () {\n return LogsListRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListRequest.attributeTypeMap = {\n index: {\n baseName: \"index\",\n type: \"string\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int32\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n sort: {\n baseName: \"sort\",\n type: \"LogsSort\",\n },\n startAt: {\n baseName: \"startAt\",\n type: \"string\",\n },\n time: {\n baseName: \"time\",\n type: \"LogsListRequestTime\",\n required: true,\n },\n };\n return LogsListRequest;\n}());\nexports.LogsListRequest = LogsListRequest;\n//# sourceMappingURL=LogsListRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListRequestTime = void 0;\n/**\n * Timeframe to retrieve the log from.\n */\nvar LogsListRequestTime = /** @class */ (function () {\n function LogsListRequestTime() {\n }\n /**\n * @ignore\n */\n LogsListRequestTime.getAttributeTypeMap = function () {\n return LogsListRequestTime.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListRequestTime.attributeTypeMap = {\n from: {\n baseName: \"from\",\n type: \"Date\",\n required: true,\n format: \"date-time\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n to: {\n baseName: \"to\",\n type: \"Date\",\n required: true,\n format: \"date-time\",\n },\n };\n return LogsListRequestTime;\n}());\nexports.LogsListRequestTime = LogsListRequestTime;\n//# sourceMappingURL=LogsListRequestTime.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListResponse = void 0;\n/**\n * Response object with all logs matching the request and pagination information.\n */\nvar LogsListResponse = /** @class */ (function () {\n function LogsListResponse() {\n }\n /**\n * @ignore\n */\n LogsListResponse.getAttributeTypeMap = function () {\n return LogsListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListResponse.attributeTypeMap = {\n logs: {\n baseName: \"logs\",\n type: \"Array\",\n },\n nextLogId: {\n baseName: \"nextLogId\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n };\n return LogsListResponse;\n}());\nexports.LogsListResponse = LogsListResponse;\n//# sourceMappingURL=LogsListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsLookupProcessor = void 0;\n/**\n * Use the Lookup Processor to define a mapping between a log attribute and a human readable value saved in the processors mapping table. For example, you can use the Lookup Processor to map an internal service ID into a human readable service name. Alternatively, you could also use it to check if the MAC address that just attempted to connect to the production environment belongs to your list of stolen machines.\n */\nvar LogsLookupProcessor = /** @class */ (function () {\n function LogsLookupProcessor() {\n }\n /**\n * @ignore\n */\n LogsLookupProcessor.getAttributeTypeMap = function () {\n return LogsLookupProcessor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsLookupProcessor.attributeTypeMap = {\n defaultLookup: {\n baseName: \"default_lookup\",\n type: \"string\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n lookupTable: {\n baseName: \"lookup_table\",\n type: \"Array\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n source: {\n baseName: \"source\",\n type: \"string\",\n required: true,\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsLookupProcessorType\",\n required: true,\n },\n };\n return LogsLookupProcessor;\n}());\nexports.LogsLookupProcessor = LogsLookupProcessor;\n//# sourceMappingURL=LogsLookupProcessor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMessageRemapper = void 0;\n/**\n * The message is a key attribute in Datadog. It is displayed in the message column of the Log Explorer and you can do full string search on it. Use this Processor to define one or more attributes as the official log message. **Note:** If multiple log message remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.\n */\nvar LogsMessageRemapper = /** @class */ (function () {\n function LogsMessageRemapper() {\n }\n /**\n * @ignore\n */\n LogsMessageRemapper.getAttributeTypeMap = function () {\n return LogsMessageRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMessageRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsMessageRemapperType\",\n required: true,\n },\n };\n return LogsMessageRemapper;\n}());\nexports.LogsMessageRemapper = LogsMessageRemapper;\n//# sourceMappingURL=LogsMessageRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsPipeline = void 0;\n/**\n * Pipelines and processors operate on incoming logs, parsing and transforming them into structured attributes for easier querying. **Note**: These endpoints are only available for admin users. Make sure to use an application key created by an admin.\n */\nvar LogsPipeline = /** @class */ (function () {\n function LogsPipeline() {\n }\n /**\n * @ignore\n */\n LogsPipeline.getAttributeTypeMap = function () {\n return LogsPipeline.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsPipeline.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsFilter\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n isReadOnly: {\n baseName: \"is_read_only\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n processors: {\n baseName: \"processors\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return LogsPipeline;\n}());\nexports.LogsPipeline = LogsPipeline;\n//# sourceMappingURL=LogsPipeline.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsPipelineProcessor = void 0;\n/**\n * Nested Pipelines are pipelines within a pipeline. Use Nested Pipelines to split the processing into two steps. For example, first use a high-level filtering such as team and then a second level of filtering based on the integration, service, or any other tag or attribute. A pipeline can contain Nested Pipelines and Processors whereas a Nested Pipeline can only contain Processors.\n */\nvar LogsPipelineProcessor = /** @class */ (function () {\n function LogsPipelineProcessor() {\n }\n /**\n * @ignore\n */\n LogsPipelineProcessor.getAttributeTypeMap = function () {\n return LogsPipelineProcessor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsPipelineProcessor.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsFilter\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n processors: {\n baseName: \"processors\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsPipelineProcessorType\",\n required: true,\n },\n };\n return LogsPipelineProcessor;\n}());\nexports.LogsPipelineProcessor = LogsPipelineProcessor;\n//# sourceMappingURL=LogsPipelineProcessor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsPipelinesOrder = void 0;\n/**\n * Object containing the ordered list of pipeline IDs.\n */\nvar LogsPipelinesOrder = /** @class */ (function () {\n function LogsPipelinesOrder() {\n }\n /**\n * @ignore\n */\n LogsPipelinesOrder.getAttributeTypeMap = function () {\n return LogsPipelinesOrder.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsPipelinesOrder.attributeTypeMap = {\n pipelineIds: {\n baseName: \"pipeline_ids\",\n type: \"Array\",\n required: true,\n },\n };\n return LogsPipelinesOrder;\n}());\nexports.LogsPipelinesOrder = LogsPipelinesOrder;\n//# sourceMappingURL=LogsPipelinesOrder.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsQueryCompute = void 0;\n/**\n * Define computation for a log query.\n */\nvar LogsQueryCompute = /** @class */ (function () {\n function LogsQueryCompute() {\n }\n /**\n * @ignore\n */\n LogsQueryCompute.getAttributeTypeMap = function () {\n return LogsQueryCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsQueryCompute.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"string\",\n required: true,\n },\n facet: {\n baseName: \"facet\",\n type: \"string\",\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return LogsQueryCompute;\n}());\nexports.LogsQueryCompute = LogsQueryCompute;\n//# sourceMappingURL=LogsQueryCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsRetentionAggSumUsage = void 0;\n/**\n * Object containing indexed logs usage aggregated across organizations and months for a retention period.\n */\nvar LogsRetentionAggSumUsage = /** @class */ (function () {\n function LogsRetentionAggSumUsage() {\n }\n /**\n * @ignore\n */\n LogsRetentionAggSumUsage.getAttributeTypeMap = function () {\n return LogsRetentionAggSumUsage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsRetentionAggSumUsage.attributeTypeMap = {\n logsIndexedLogsUsageAggSum: {\n baseName: \"logs_indexed_logs_usage_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n logsLiveIndexedLogsUsageAggSum: {\n baseName: \"logs_live_indexed_logs_usage_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n logsRehydratedIndexedLogsUsageAggSum: {\n baseName: \"logs_rehydrated_indexed_logs_usage_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n retention: {\n baseName: \"retention\",\n type: \"string\",\n },\n };\n return LogsRetentionAggSumUsage;\n}());\nexports.LogsRetentionAggSumUsage = LogsRetentionAggSumUsage;\n//# sourceMappingURL=LogsRetentionAggSumUsage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsRetentionSumUsage = void 0;\n/**\n * Object containing indexed logs usage grouped by retention period and summed.\n */\nvar LogsRetentionSumUsage = /** @class */ (function () {\n function LogsRetentionSumUsage() {\n }\n /**\n * @ignore\n */\n LogsRetentionSumUsage.getAttributeTypeMap = function () {\n return LogsRetentionSumUsage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsRetentionSumUsage.attributeTypeMap = {\n logsIndexedLogsUsageSum: {\n baseName: \"logs_indexed_logs_usage_sum\",\n type: \"number\",\n format: \"int64\",\n },\n logsLiveIndexedLogsUsageSum: {\n baseName: \"logs_live_indexed_logs_usage_sum\",\n type: \"number\",\n format: \"int64\",\n },\n logsRehydratedIndexedLogsUsageSum: {\n baseName: \"logs_rehydrated_indexed_logs_usage_sum\",\n type: \"number\",\n format: \"int64\",\n },\n retention: {\n baseName: \"retention\",\n type: \"string\",\n },\n };\n return LogsRetentionSumUsage;\n}());\nexports.LogsRetentionSumUsage = LogsRetentionSumUsage;\n//# sourceMappingURL=LogsRetentionSumUsage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsServiceRemapper = void 0;\n/**\n * Use this processor if you want to assign one or more attributes as the official service. **Note:** If multiple service remapper processors can be applied to a given log, only the first one (according to the pipeline order) is taken into account.\n */\nvar LogsServiceRemapper = /** @class */ (function () {\n function LogsServiceRemapper() {\n }\n /**\n * @ignore\n */\n LogsServiceRemapper.getAttributeTypeMap = function () {\n return LogsServiceRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsServiceRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsServiceRemapperType\",\n required: true,\n },\n };\n return LogsServiceRemapper;\n}());\nexports.LogsServiceRemapper = LogsServiceRemapper;\n//# sourceMappingURL=LogsServiceRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsStatusRemapper = void 0;\n/**\n * Use this Processor if you want to assign some attributes as the official status. Each incoming status value is mapped as follows. - Integers from 0 to 7 map to the Syslog severity standards - Strings beginning with `emerg` or f (case-insensitive) map to `emerg` (0) - Strings beginning with `a` (case-insensitive) map to `alert` (1) - Strings beginning with `c` (case-insensitive) map to `critical` (2) - Strings beginning with `err` (case-insensitive) map to `error` (3) - Strings beginning with `w` (case-insensitive) map to `warning` (4) - Strings beginning with `n` (case-insensitive) map to `notice` (5) - Strings beginning with `i` (case-insensitive) map to `info` (6) - Strings beginning with `d`, `trace` or `verbose` (case-insensitive) map to `debug` (7) - Strings beginning with `o` or matching `OK` or `Success` (case-insensitive) map to OK - All others map to `info` (6) **Note:** If multiple log status remapper processors can be applied to a given log, only the first one (according to the pipelines order) is taken into account.\n */\nvar LogsStatusRemapper = /** @class */ (function () {\n function LogsStatusRemapper() {\n }\n /**\n * @ignore\n */\n LogsStatusRemapper.getAttributeTypeMap = function () {\n return LogsStatusRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsStatusRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsStatusRemapperType\",\n required: true,\n },\n };\n return LogsStatusRemapper;\n}());\nexports.LogsStatusRemapper = LogsStatusRemapper;\n//# sourceMappingURL=LogsStatusRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsStringBuilderProcessor = void 0;\n/**\n * Use the string builder processor to add a new attribute (without spaces or special characters) to a log with the result of the provided template. This enables aggregation of different attributes or raw strings into a single attribute. The template is defined by both raw text and blocks with the syntax `%{attribute_path}`. **Notes**: - The processor only accepts attributes with values or an array of values in the blocks. - If an attribute cannot be used (object or array of object), it is replaced by an empty string or the entire operation is skipped depending on your selection. - If the target attribute already exists, it is overwritten by the result of the template. - Results of the template cannot exceed 256 characters.\n */\nvar LogsStringBuilderProcessor = /** @class */ (function () {\n function LogsStringBuilderProcessor() {\n }\n /**\n * @ignore\n */\n LogsStringBuilderProcessor.getAttributeTypeMap = function () {\n return LogsStringBuilderProcessor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsStringBuilderProcessor.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n isReplaceMissing: {\n baseName: \"is_replace_missing\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n template: {\n baseName: \"template\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsStringBuilderProcessorType\",\n required: true,\n },\n };\n return LogsStringBuilderProcessor;\n}());\nexports.LogsStringBuilderProcessor = LogsStringBuilderProcessor;\n//# sourceMappingURL=LogsStringBuilderProcessor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsTraceRemapper = void 0;\n/**\n * There are two ways to improve correlation between application traces and logs. 1. Follow the documentation on [how to inject a trace ID in the application logs](https://docs.datadoghq.com/tracing/connect_logs_and_traces) and by default log integrations take care of all the rest of the setup. 2. Use the Trace remapper processor to define a log attribute as its associated trace ID.\n */\nvar LogsTraceRemapper = /** @class */ (function () {\n function LogsTraceRemapper() {\n }\n /**\n * @ignore\n */\n LogsTraceRemapper.getAttributeTypeMap = function () {\n return LogsTraceRemapper.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsTraceRemapper.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsTraceRemapperType\",\n required: true,\n },\n };\n return LogsTraceRemapper;\n}());\nexports.LogsTraceRemapper = LogsTraceRemapper;\n//# sourceMappingURL=LogsTraceRemapper.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsURLParser = void 0;\n/**\n * This processor extracts query parameters and other important parameters from a URL.\n */\nvar LogsURLParser = /** @class */ (function () {\n function LogsURLParser() {\n }\n /**\n * @ignore\n */\n LogsURLParser.getAttributeTypeMap = function () {\n return LogsURLParser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsURLParser.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n normalizeEndingSlashes: {\n baseName: \"normalize_ending_slashes\",\n type: \"boolean\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsURLParserType\",\n required: true,\n },\n };\n return LogsURLParser;\n}());\nexports.LogsURLParser = LogsURLParser;\n//# sourceMappingURL=LogsURLParser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsUserAgentParser = void 0;\n/**\n * The User-Agent parser takes a User-Agent attribute and extracts the OS, browser, device, and other user data. It recognizes major bots like the Google Bot, Yahoo Slurp, and Bing.\n */\nvar LogsUserAgentParser = /** @class */ (function () {\n function LogsUserAgentParser() {\n }\n /**\n * @ignore\n */\n LogsUserAgentParser.getAttributeTypeMap = function () {\n return LogsUserAgentParser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsUserAgentParser.attributeTypeMap = {\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n isEncoded: {\n baseName: \"is_encoded\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n sources: {\n baseName: \"sources\",\n type: \"Array\",\n required: true,\n },\n target: {\n baseName: \"target\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsUserAgentParserType\",\n required: true,\n },\n };\n return LogsUserAgentParser;\n}());\nexports.LogsUserAgentParser = LogsUserAgentParser;\n//# sourceMappingURL=LogsUserAgentParser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricMetadata = void 0;\n/**\n * Object with all metric related metadata.\n */\nvar MetricMetadata = /** @class */ (function () {\n function MetricMetadata() {\n }\n /**\n * @ignore\n */\n MetricMetadata.getAttributeTypeMap = function () {\n return MetricMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricMetadata.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n integration: {\n baseName: \"integration\",\n type: \"string\",\n },\n perUnit: {\n baseName: \"per_unit\",\n type: \"string\",\n },\n shortName: {\n baseName: \"short_name\",\n type: \"string\",\n },\n statsdInterval: {\n baseName: \"statsd_interval\",\n type: \"number\",\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n unit: {\n baseName: \"unit\",\n type: \"string\",\n },\n };\n return MetricMetadata;\n}());\nexports.MetricMetadata = MetricMetadata;\n//# sourceMappingURL=MetricMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricSearchResponse = void 0;\n/**\n * Object containing the list of metrics matching the search query.\n */\nvar MetricSearchResponse = /** @class */ (function () {\n function MetricSearchResponse() {\n }\n /**\n * @ignore\n */\n MetricSearchResponse.getAttributeTypeMap = function () {\n return MetricSearchResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricSearchResponse.attributeTypeMap = {\n results: {\n baseName: \"results\",\n type: \"MetricSearchResponseResults\",\n },\n };\n return MetricSearchResponse;\n}());\nexports.MetricSearchResponse = MetricSearchResponse;\n//# sourceMappingURL=MetricSearchResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricSearchResponseResults = void 0;\n/**\n * Search result.\n */\nvar MetricSearchResponseResults = /** @class */ (function () {\n function MetricSearchResponseResults() {\n }\n /**\n * @ignore\n */\n MetricSearchResponseResults.getAttributeTypeMap = function () {\n return MetricSearchResponseResults.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricSearchResponseResults.attributeTypeMap = {\n metrics: {\n baseName: \"metrics\",\n type: \"Array\",\n },\n };\n return MetricSearchResponseResults;\n}());\nexports.MetricSearchResponseResults = MetricSearchResponseResults;\n//# sourceMappingURL=MetricSearchResponseResults.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsListResponse = void 0;\n/**\n * Object listing all metric names stored by Datadog since a given time.\n */\nvar MetricsListResponse = /** @class */ (function () {\n function MetricsListResponse() {\n }\n /**\n * @ignore\n */\n MetricsListResponse.getAttributeTypeMap = function () {\n return MetricsListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsListResponse.attributeTypeMap = {\n from: {\n baseName: \"from\",\n type: \"string\",\n },\n metrics: {\n baseName: \"metrics\",\n type: \"Array\",\n },\n };\n return MetricsListResponse;\n}());\nexports.MetricsListResponse = MetricsListResponse;\n//# sourceMappingURL=MetricsListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsPayload = void 0;\n/**\n * The metrics' payload.\n */\nvar MetricsPayload = /** @class */ (function () {\n function MetricsPayload() {\n }\n /**\n * @ignore\n */\n MetricsPayload.getAttributeTypeMap = function () {\n return MetricsPayload.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsPayload.attributeTypeMap = {\n series: {\n baseName: \"series\",\n type: \"Array\",\n required: true,\n },\n };\n return MetricsPayload;\n}());\nexports.MetricsPayload = MetricsPayload;\n//# sourceMappingURL=MetricsPayload.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsQueryMetadata = void 0;\n/**\n * Object containing all metric names returned and their associated metadata.\n */\nvar MetricsQueryMetadata = /** @class */ (function () {\n function MetricsQueryMetadata() {\n }\n /**\n * @ignore\n */\n MetricsQueryMetadata.getAttributeTypeMap = function () {\n return MetricsQueryMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsQueryMetadata.attributeTypeMap = {\n aggr: {\n baseName: \"aggr\",\n type: \"string\",\n },\n displayName: {\n baseName: \"display_name\",\n type: \"string\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"int64\",\n },\n length: {\n baseName: \"length\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n pointlist: {\n baseName: \"pointlist\",\n type: \"Array>\",\n format: \"double\",\n },\n queryIndex: {\n baseName: \"query_index\",\n type: \"number\",\n format: \"int64\",\n },\n scope: {\n baseName: \"scope\",\n type: \"string\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n tagSet: {\n baseName: \"tag_set\",\n type: \"Array\",\n },\n unit: {\n baseName: \"unit\",\n type: \"Array\",\n },\n };\n return MetricsQueryMetadata;\n}());\nexports.MetricsQueryMetadata = MetricsQueryMetadata;\n//# sourceMappingURL=MetricsQueryMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsQueryResponse = void 0;\n/**\n * Response Object that includes your query and the list of metrics retrieved.\n */\nvar MetricsQueryResponse = /** @class */ (function () {\n function MetricsQueryResponse() {\n }\n /**\n * @ignore\n */\n MetricsQueryResponse.getAttributeTypeMap = function () {\n return MetricsQueryResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsQueryResponse.attributeTypeMap = {\n error: {\n baseName: \"error\",\n type: \"string\",\n },\n fromDate: {\n baseName: \"from_date\",\n type: \"number\",\n format: \"int64\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n resType: {\n baseName: \"res_type\",\n type: \"string\",\n },\n series: {\n baseName: \"series\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n toDate: {\n baseName: \"to_date\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return MetricsQueryResponse;\n}());\nexports.MetricsQueryResponse = MetricsQueryResponse;\n//# sourceMappingURL=MetricsQueryResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsQueryUnit = void 0;\n/**\n * Object containing the metric unit family, scale factor, name, and short name.\n */\nvar MetricsQueryUnit = /** @class */ (function () {\n function MetricsQueryUnit() {\n }\n /**\n * @ignore\n */\n MetricsQueryUnit.getAttributeTypeMap = function () {\n return MetricsQueryUnit.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsQueryUnit.attributeTypeMap = {\n family: {\n baseName: \"family\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n plural: {\n baseName: \"plural\",\n type: \"string\",\n },\n scaleFactor: {\n baseName: \"scale_factor\",\n type: \"number\",\n format: \"double\",\n },\n shortName: {\n baseName: \"short_name\",\n type: \"string\",\n },\n };\n return MetricsQueryUnit;\n}());\nexports.MetricsQueryUnit = MetricsQueryUnit;\n//# sourceMappingURL=MetricsQueryUnit.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Monitor = void 0;\n/**\n * Object describing a monitor.\n */\nvar Monitor = /** @class */ (function () {\n function Monitor() {\n }\n /**\n * @ignore\n */\n Monitor.getAttributeTypeMap = function () {\n return Monitor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Monitor.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n deleted: {\n baseName: \"deleted\",\n type: \"Date\",\n format: \"date-time\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n multi: {\n baseName: \"multi\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n options: {\n baseName: \"options\",\n type: \"MonitorOptions\",\n },\n overallState: {\n baseName: \"overall_state\",\n type: \"MonitorOverallStates\",\n },\n priority: {\n baseName: \"priority\",\n type: \"number\",\n format: \"int64\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n restrictedRoles: {\n baseName: \"restricted_roles\",\n type: \"Array\",\n },\n state: {\n baseName: \"state\",\n type: \"MonitorState\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"MonitorType\",\n required: true,\n },\n };\n return Monitor;\n}());\nexports.Monitor = Monitor;\n//# sourceMappingURL=Monitor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorFormulaAndFunctionEventQueryDefinition = void 0;\n/**\n * A formula and functions events query.\n */\nvar MonitorFormulaAndFunctionEventQueryDefinition = /** @class */ (function () {\n function MonitorFormulaAndFunctionEventQueryDefinition() {\n }\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinition.getAttributeTypeMap = function () {\n return MonitorFormulaAndFunctionEventQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinition.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"MonitorFormulaAndFunctionEventQueryDefinitionCompute\",\n required: true,\n },\n dataSource: {\n baseName: \"data_source\",\n type: \"MonitorFormulaAndFunctionEventsDataSource\",\n required: true,\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n search: {\n baseName: \"search\",\n type: \"MonitorFormulaAndFunctionEventQueryDefinitionSearch\",\n },\n };\n return MonitorFormulaAndFunctionEventQueryDefinition;\n}());\nexports.MonitorFormulaAndFunctionEventQueryDefinition = MonitorFormulaAndFunctionEventQueryDefinition;\n//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = void 0;\n/**\n * Compute options.\n */\nvar MonitorFormulaAndFunctionEventQueryDefinitionCompute = /** @class */ (function () {\n function MonitorFormulaAndFunctionEventQueryDefinitionCompute() {\n }\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinitionCompute.getAttributeTypeMap = function () {\n return MonitorFormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinitionCompute.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"MonitorFormulaAndFunctionEventAggregation\",\n required: true,\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n };\n return MonitorFormulaAndFunctionEventQueryDefinitionCompute;\n}());\nexports.MonitorFormulaAndFunctionEventQueryDefinitionCompute = MonitorFormulaAndFunctionEventQueryDefinitionCompute;\n//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinitionCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = void 0;\n/**\n * Search options.\n */\nvar MonitorFormulaAndFunctionEventQueryDefinitionSearch = /** @class */ (function () {\n function MonitorFormulaAndFunctionEventQueryDefinitionSearch() {\n }\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinitionSearch.getAttributeTypeMap = function () {\n return MonitorFormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryDefinitionSearch.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return MonitorFormulaAndFunctionEventQueryDefinitionSearch;\n}());\nexports.MonitorFormulaAndFunctionEventQueryDefinitionSearch = MonitorFormulaAndFunctionEventQueryDefinitionSearch;\n//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryDefinitionSearch.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorFormulaAndFunctionEventQueryGroupBy = void 0;\n/**\n * List of objects used to group by.\n */\nvar MonitorFormulaAndFunctionEventQueryGroupBy = /** @class */ (function () {\n function MonitorFormulaAndFunctionEventQueryGroupBy() {\n }\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryGroupBy.getAttributeTypeMap = function () {\n return MonitorFormulaAndFunctionEventQueryGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryGroupBy.attributeTypeMap = {\n facet: {\n baseName: \"facet\",\n type: \"string\",\n required: true,\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n sort: {\n baseName: \"sort\",\n type: \"MonitorFormulaAndFunctionEventQueryGroupBySort\",\n },\n };\n return MonitorFormulaAndFunctionEventQueryGroupBy;\n}());\nexports.MonitorFormulaAndFunctionEventQueryGroupBy = MonitorFormulaAndFunctionEventQueryGroupBy;\n//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorFormulaAndFunctionEventQueryGroupBySort = void 0;\n/**\n * Options for sorting group by results.\n */\nvar MonitorFormulaAndFunctionEventQueryGroupBySort = /** @class */ (function () {\n function MonitorFormulaAndFunctionEventQueryGroupBySort() {\n }\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryGroupBySort.getAttributeTypeMap = function () {\n return MonitorFormulaAndFunctionEventQueryGroupBySort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorFormulaAndFunctionEventQueryGroupBySort.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"MonitorFormulaAndFunctionEventAggregation\",\n required: true,\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n order: {\n baseName: \"order\",\n type: \"QuerySortOrder\",\n },\n };\n return MonitorFormulaAndFunctionEventQueryGroupBySort;\n}());\nexports.MonitorFormulaAndFunctionEventQueryGroupBySort = MonitorFormulaAndFunctionEventQueryGroupBySort;\n//# sourceMappingURL=MonitorFormulaAndFunctionEventQueryGroupBySort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorGroupSearchResponse = void 0;\n/**\n * The response of a monitor group search.\n */\nvar MonitorGroupSearchResponse = /** @class */ (function () {\n function MonitorGroupSearchResponse() {\n }\n /**\n * @ignore\n */\n MonitorGroupSearchResponse.getAttributeTypeMap = function () {\n return MonitorGroupSearchResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorGroupSearchResponse.attributeTypeMap = {\n counts: {\n baseName: \"counts\",\n type: \"MonitorGroupSearchResponseCounts\",\n },\n groups: {\n baseName: \"groups\",\n type: \"Array\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"MonitorSearchResponseMetadata\",\n },\n };\n return MonitorGroupSearchResponse;\n}());\nexports.MonitorGroupSearchResponse = MonitorGroupSearchResponse;\n//# sourceMappingURL=MonitorGroupSearchResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorGroupSearchResponseCounts = void 0;\n/**\n * The counts of monitor groups per different criteria.\n */\nvar MonitorGroupSearchResponseCounts = /** @class */ (function () {\n function MonitorGroupSearchResponseCounts() {\n }\n /**\n * @ignore\n */\n MonitorGroupSearchResponseCounts.getAttributeTypeMap = function () {\n return MonitorGroupSearchResponseCounts.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorGroupSearchResponseCounts.attributeTypeMap = {\n status: {\n baseName: \"status\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"Array\",\n },\n };\n return MonitorGroupSearchResponseCounts;\n}());\nexports.MonitorGroupSearchResponseCounts = MonitorGroupSearchResponseCounts;\n//# sourceMappingURL=MonitorGroupSearchResponseCounts.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorGroupSearchResult = void 0;\n/**\n * A single monitor group search result.\n */\nvar MonitorGroupSearchResult = /** @class */ (function () {\n function MonitorGroupSearchResult() {\n }\n /**\n * @ignore\n */\n MonitorGroupSearchResult.getAttributeTypeMap = function () {\n return MonitorGroupSearchResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorGroupSearchResult.attributeTypeMap = {\n group: {\n baseName: \"group\",\n type: \"string\",\n },\n groupTags: {\n baseName: \"group_tags\",\n type: \"Array\",\n },\n lastNodataTs: {\n baseName: \"last_nodata_ts\",\n type: \"number\",\n format: \"int64\",\n },\n lastTriggeredTs: {\n baseName: \"last_triggered_ts\",\n type: \"number\",\n format: \"int64\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n monitorName: {\n baseName: \"monitor_name\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"MonitorOverallStates\",\n },\n };\n return MonitorGroupSearchResult;\n}());\nexports.MonitorGroupSearchResult = MonitorGroupSearchResult;\n//# sourceMappingURL=MonitorGroupSearchResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorOptions = void 0;\n/**\n * List of options associated with your monitor.\n */\nvar MonitorOptions = /** @class */ (function () {\n function MonitorOptions() {\n }\n /**\n * @ignore\n */\n MonitorOptions.getAttributeTypeMap = function () {\n return MonitorOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorOptions.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"MonitorOptionsAggregation\",\n },\n deviceIds: {\n baseName: \"device_ids\",\n type: \"Array\",\n },\n enableLogsSample: {\n baseName: \"enable_logs_sample\",\n type: \"boolean\",\n },\n escalationMessage: {\n baseName: \"escalation_message\",\n type: \"string\",\n },\n evaluationDelay: {\n baseName: \"evaluation_delay\",\n type: \"number\",\n format: \"int64\",\n },\n groupbySimpleMonitor: {\n baseName: \"groupby_simple_monitor\",\n type: \"boolean\",\n },\n includeTags: {\n baseName: \"include_tags\",\n type: \"boolean\",\n },\n locked: {\n baseName: \"locked\",\n type: \"boolean\",\n },\n minFailureDuration: {\n baseName: \"min_failure_duration\",\n type: \"number\",\n format: \"int64\",\n },\n minLocationFailed: {\n baseName: \"min_location_failed\",\n type: \"number\",\n format: \"int64\",\n },\n newGroupDelay: {\n baseName: \"new_group_delay\",\n type: \"number\",\n format: \"int64\",\n },\n newHostDelay: {\n baseName: \"new_host_delay\",\n type: \"number\",\n format: \"int64\",\n },\n noDataTimeframe: {\n baseName: \"no_data_timeframe\",\n type: \"number\",\n format: \"int64\",\n },\n notifyAudit: {\n baseName: \"notify_audit\",\n type: \"boolean\",\n },\n notifyNoData: {\n baseName: \"notify_no_data\",\n type: \"boolean\",\n },\n renotifyInterval: {\n baseName: \"renotify_interval\",\n type: \"number\",\n format: \"int64\",\n },\n renotifyOccurrences: {\n baseName: \"renotify_occurrences\",\n type: \"number\",\n format: \"int64\",\n },\n renotifyStatuses: {\n baseName: \"renotify_statuses\",\n type: \"Array\",\n },\n requireFullWindow: {\n baseName: \"require_full_window\",\n type: \"boolean\",\n },\n silenced: {\n baseName: \"silenced\",\n type: \"{ [key: string]: number; }\",\n format: \"int64\",\n },\n syntheticsCheckId: {\n baseName: \"synthetics_check_id\",\n type: \"string\",\n },\n thresholdWindows: {\n baseName: \"threshold_windows\",\n type: \"MonitorThresholdWindowOptions\",\n },\n thresholds: {\n baseName: \"thresholds\",\n type: \"MonitorThresholds\",\n },\n timeoutH: {\n baseName: \"timeout_h\",\n type: \"number\",\n format: \"int64\",\n },\n variables: {\n baseName: \"variables\",\n type: \"Array\",\n },\n };\n return MonitorOptions;\n}());\nexports.MonitorOptions = MonitorOptions;\n//# sourceMappingURL=MonitorOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorOptionsAggregation = void 0;\n/**\n * Type of aggregation performed in the monitor query.\n */\nvar MonitorOptionsAggregation = /** @class */ (function () {\n function MonitorOptionsAggregation() {\n }\n /**\n * @ignore\n */\n MonitorOptionsAggregation.getAttributeTypeMap = function () {\n return MonitorOptionsAggregation.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorOptionsAggregation.attributeTypeMap = {\n groupBy: {\n baseName: \"group_by\",\n type: \"string\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return MonitorOptionsAggregation;\n}());\nexports.MonitorOptionsAggregation = MonitorOptionsAggregation;\n//# sourceMappingURL=MonitorOptionsAggregation.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSearchResponse = void 0;\n/**\n * The response form a monitor search.\n */\nvar MonitorSearchResponse = /** @class */ (function () {\n function MonitorSearchResponse() {\n }\n /**\n * @ignore\n */\n MonitorSearchResponse.getAttributeTypeMap = function () {\n return MonitorSearchResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSearchResponse.attributeTypeMap = {\n counts: {\n baseName: \"counts\",\n type: \"MonitorSearchResponseCounts\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"MonitorSearchResponseMetadata\",\n },\n monitors: {\n baseName: \"monitors\",\n type: \"Array\",\n },\n };\n return MonitorSearchResponse;\n}());\nexports.MonitorSearchResponse = MonitorSearchResponse;\n//# sourceMappingURL=MonitorSearchResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSearchResponseCounts = void 0;\n/**\n * The counts of monitors per different criteria.\n */\nvar MonitorSearchResponseCounts = /** @class */ (function () {\n function MonitorSearchResponseCounts() {\n }\n /**\n * @ignore\n */\n MonitorSearchResponseCounts.getAttributeTypeMap = function () {\n return MonitorSearchResponseCounts.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSearchResponseCounts.attributeTypeMap = {\n muted: {\n baseName: \"muted\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"Array\",\n },\n tag: {\n baseName: \"tag\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"Array\",\n },\n };\n return MonitorSearchResponseCounts;\n}());\nexports.MonitorSearchResponseCounts = MonitorSearchResponseCounts;\n//# sourceMappingURL=MonitorSearchResponseCounts.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSearchResponseMetadata = void 0;\n/**\n * Metadata about the response.\n */\nvar MonitorSearchResponseMetadata = /** @class */ (function () {\n function MonitorSearchResponseMetadata() {\n }\n /**\n * @ignore\n */\n MonitorSearchResponseMetadata.getAttributeTypeMap = function () {\n return MonitorSearchResponseMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSearchResponseMetadata.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"number\",\n format: \"int64\",\n },\n pageCount: {\n baseName: \"page_count\",\n type: \"number\",\n format: \"int64\",\n },\n perPage: {\n baseName: \"per_page\",\n type: \"number\",\n format: \"int64\",\n },\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return MonitorSearchResponseMetadata;\n}());\nexports.MonitorSearchResponseMetadata = MonitorSearchResponseMetadata;\n//# sourceMappingURL=MonitorSearchResponseMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSearchResult = void 0;\n/**\n * Holds search results.\n */\nvar MonitorSearchResult = /** @class */ (function () {\n function MonitorSearchResult() {\n }\n /**\n * @ignore\n */\n MonitorSearchResult.getAttributeTypeMap = function () {\n return MonitorSearchResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSearchResult.attributeTypeMap = {\n classification: {\n baseName: \"classification\",\n type: \"string\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n lastTriggeredTs: {\n baseName: \"last_triggered_ts\",\n type: \"number\",\n format: \"int64\",\n },\n metrics: {\n baseName: \"metrics\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n notifications: {\n baseName: \"notifications\",\n type: \"Array\",\n },\n orgId: {\n baseName: \"org_id\",\n type: \"number\",\n format: \"int64\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n scopes: {\n baseName: \"scopes\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"MonitorOverallStates\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"MonitorType\",\n },\n };\n return MonitorSearchResult;\n}());\nexports.MonitorSearchResult = MonitorSearchResult;\n//# sourceMappingURL=MonitorSearchResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSearchResultNotification = void 0;\n/**\n * A notification triggered by the monitor.\n */\nvar MonitorSearchResultNotification = /** @class */ (function () {\n function MonitorSearchResultNotification() {\n }\n /**\n * @ignore\n */\n MonitorSearchResultNotification.getAttributeTypeMap = function () {\n return MonitorSearchResultNotification.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSearchResultNotification.attributeTypeMap = {\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return MonitorSearchResultNotification;\n}());\nexports.MonitorSearchResultNotification = MonitorSearchResultNotification;\n//# sourceMappingURL=MonitorSearchResultNotification.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorState = void 0;\n/**\n * Wrapper object with the different monitor states.\n */\nvar MonitorState = /** @class */ (function () {\n function MonitorState() {\n }\n /**\n * @ignore\n */\n MonitorState.getAttributeTypeMap = function () {\n return MonitorState.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorState.attributeTypeMap = {\n groups: {\n baseName: \"groups\",\n type: \"{ [key: string]: MonitorStateGroup; }\",\n },\n };\n return MonitorState;\n}());\nexports.MonitorState = MonitorState;\n//# sourceMappingURL=MonitorState.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorStateGroup = void 0;\n/**\n * Monitor state for a single group.\n */\nvar MonitorStateGroup = /** @class */ (function () {\n function MonitorStateGroup() {\n }\n /**\n * @ignore\n */\n MonitorStateGroup.getAttributeTypeMap = function () {\n return MonitorStateGroup.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorStateGroup.attributeTypeMap = {\n lastNodataTs: {\n baseName: \"last_nodata_ts\",\n type: \"number\",\n format: \"int64\",\n },\n lastNotifiedTs: {\n baseName: \"last_notified_ts\",\n type: \"number\",\n format: \"int64\",\n },\n lastResolvedTs: {\n baseName: \"last_resolved_ts\",\n type: \"number\",\n format: \"int64\",\n },\n lastTriggeredTs: {\n baseName: \"last_triggered_ts\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"MonitorOverallStates\",\n },\n };\n return MonitorStateGroup;\n}());\nexports.MonitorStateGroup = MonitorStateGroup;\n//# sourceMappingURL=MonitorStateGroup.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorSummaryWidgetDefinition = void 0;\n/**\n * The monitor summary widget displays a summary view of all your Datadog monitors, or a subset based on a query. Only available on FREE layout dashboards.\n */\nvar MonitorSummaryWidgetDefinition = /** @class */ (function () {\n function MonitorSummaryWidgetDefinition() {\n }\n /**\n * @ignore\n */\n MonitorSummaryWidgetDefinition.getAttributeTypeMap = function () {\n return MonitorSummaryWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorSummaryWidgetDefinition.attributeTypeMap = {\n colorPreference: {\n baseName: \"color_preference\",\n type: \"WidgetColorPreference\",\n },\n count: {\n baseName: \"count\",\n type: \"number\",\n format: \"int64\",\n },\n displayFormat: {\n baseName: \"display_format\",\n type: \"WidgetMonitorSummaryDisplayFormat\",\n },\n hideZeroCounts: {\n baseName: \"hide_zero_counts\",\n type: \"boolean\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n showLastTriggered: {\n baseName: \"show_last_triggered\",\n type: \"boolean\",\n },\n sort: {\n baseName: \"sort\",\n type: \"WidgetMonitorSummarySort\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n summaryType: {\n baseName: \"summary_type\",\n type: \"WidgetSummaryType\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MonitorSummaryWidgetDefinitionType\",\n required: true,\n },\n };\n return MonitorSummaryWidgetDefinition;\n}());\nexports.MonitorSummaryWidgetDefinition = MonitorSummaryWidgetDefinition;\n//# sourceMappingURL=MonitorSummaryWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorThresholdWindowOptions = void 0;\n/**\n * Alerting time window options.\n */\nvar MonitorThresholdWindowOptions = /** @class */ (function () {\n function MonitorThresholdWindowOptions() {\n }\n /**\n * @ignore\n */\n MonitorThresholdWindowOptions.getAttributeTypeMap = function () {\n return MonitorThresholdWindowOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorThresholdWindowOptions.attributeTypeMap = {\n recoveryWindow: {\n baseName: \"recovery_window\",\n type: \"string\",\n },\n triggerWindow: {\n baseName: \"trigger_window\",\n type: \"string\",\n },\n };\n return MonitorThresholdWindowOptions;\n}());\nexports.MonitorThresholdWindowOptions = MonitorThresholdWindowOptions;\n//# sourceMappingURL=MonitorThresholdWindowOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorThresholds = void 0;\n/**\n * List of the different monitor threshold available.\n */\nvar MonitorThresholds = /** @class */ (function () {\n function MonitorThresholds() {\n }\n /**\n * @ignore\n */\n MonitorThresholds.getAttributeTypeMap = function () {\n return MonitorThresholds.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorThresholds.attributeTypeMap = {\n critical: {\n baseName: \"critical\",\n type: \"number\",\n format: \"double\",\n },\n criticalRecovery: {\n baseName: \"critical_recovery\",\n type: \"number\",\n format: \"double\",\n },\n ok: {\n baseName: \"ok\",\n type: \"number\",\n format: \"double\",\n },\n unknown: {\n baseName: \"unknown\",\n type: \"number\",\n format: \"double\",\n },\n warning: {\n baseName: \"warning\",\n type: \"number\",\n format: \"double\",\n },\n warningRecovery: {\n baseName: \"warning_recovery\",\n type: \"number\",\n format: \"double\",\n },\n };\n return MonitorThresholds;\n}());\nexports.MonitorThresholds = MonitorThresholds;\n//# sourceMappingURL=MonitorThresholds.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonitorUpdateRequest = void 0;\n/**\n * Object describing a monitor update request.\n */\nvar MonitorUpdateRequest = /** @class */ (function () {\n function MonitorUpdateRequest() {\n }\n /**\n * @ignore\n */\n MonitorUpdateRequest.getAttributeTypeMap = function () {\n return MonitorUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonitorUpdateRequest.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n deleted: {\n baseName: \"deleted\",\n type: \"Date\",\n format: \"date-time\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n multi: {\n baseName: \"multi\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n options: {\n baseName: \"options\",\n type: \"MonitorOptions\",\n },\n overallState: {\n baseName: \"overall_state\",\n type: \"MonitorOverallStates\",\n },\n priority: {\n baseName: \"priority\",\n type: \"number\",\n format: \"int64\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n restrictedRoles: {\n baseName: \"restricted_roles\",\n type: \"Array\",\n },\n state: {\n baseName: \"state\",\n type: \"MonitorState\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"MonitorType\",\n },\n };\n return MonitorUpdateRequest;\n}());\nexports.MonitorUpdateRequest = MonitorUpdateRequest;\n//# sourceMappingURL=MonitorUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonthlyUsageAttributionBody = void 0;\n/**\n * Usage Summary by tag for a given organization.\n */\nvar MonthlyUsageAttributionBody = /** @class */ (function () {\n function MonthlyUsageAttributionBody() {\n }\n /**\n * @ignore\n */\n MonthlyUsageAttributionBody.getAttributeTypeMap = function () {\n return MonthlyUsageAttributionBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonthlyUsageAttributionBody.attributeTypeMap = {\n month: {\n baseName: \"month\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n tagConfigSource: {\n baseName: \"tag_config_source\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"{ [key: string]: Array; }\",\n },\n updatedAt: {\n baseName: \"updated_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n values: {\n baseName: \"values\",\n type: \"MonthlyUsageAttributionValues\",\n },\n };\n return MonthlyUsageAttributionBody;\n}());\nexports.MonthlyUsageAttributionBody = MonthlyUsageAttributionBody;\n//# sourceMappingURL=MonthlyUsageAttributionBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonthlyUsageAttributionMetadata = void 0;\n/**\n * The object containing document metadata.\n */\nvar MonthlyUsageAttributionMetadata = /** @class */ (function () {\n function MonthlyUsageAttributionMetadata() {\n }\n /**\n * @ignore\n */\n MonthlyUsageAttributionMetadata.getAttributeTypeMap = function () {\n return MonthlyUsageAttributionMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonthlyUsageAttributionMetadata.attributeTypeMap = {\n aggregates: {\n baseName: \"aggregates\",\n type: \"Array\",\n },\n pagination: {\n baseName: \"pagination\",\n type: \"MonthlyUsageAttributionPagination\",\n },\n };\n return MonthlyUsageAttributionMetadata;\n}());\nexports.MonthlyUsageAttributionMetadata = MonthlyUsageAttributionMetadata;\n//# sourceMappingURL=MonthlyUsageAttributionMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonthlyUsageAttributionPagination = void 0;\n/**\n * The metadata for the current pagination.\n */\nvar MonthlyUsageAttributionPagination = /** @class */ (function () {\n function MonthlyUsageAttributionPagination() {\n }\n /**\n * @ignore\n */\n MonthlyUsageAttributionPagination.getAttributeTypeMap = function () {\n return MonthlyUsageAttributionPagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonthlyUsageAttributionPagination.attributeTypeMap = {\n nextRecordId: {\n baseName: \"next_record_id\",\n type: \"string\",\n },\n };\n return MonthlyUsageAttributionPagination;\n}());\nexports.MonthlyUsageAttributionPagination = MonthlyUsageAttributionPagination;\n//# sourceMappingURL=MonthlyUsageAttributionPagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonthlyUsageAttributionResponse = void 0;\n/**\n * Response containing the monthly Usage Summary by tag(s).\n */\nvar MonthlyUsageAttributionResponse = /** @class */ (function () {\n function MonthlyUsageAttributionResponse() {\n }\n /**\n * @ignore\n */\n MonthlyUsageAttributionResponse.getAttributeTypeMap = function () {\n return MonthlyUsageAttributionResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonthlyUsageAttributionResponse.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"MonthlyUsageAttributionMetadata\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return MonthlyUsageAttributionResponse;\n}());\nexports.MonthlyUsageAttributionResponse = MonthlyUsageAttributionResponse;\n//# sourceMappingURL=MonthlyUsageAttributionResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MonthlyUsageAttributionValues = void 0;\n/**\n * Fields in Usage Summary by tag(s).\n */\nvar MonthlyUsageAttributionValues = /** @class */ (function () {\n function MonthlyUsageAttributionValues() {\n }\n /**\n * @ignore\n */\n MonthlyUsageAttributionValues.getAttributeTypeMap = function () {\n return MonthlyUsageAttributionValues.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MonthlyUsageAttributionValues.attributeTypeMap = {\n apiPercentage: {\n baseName: \"api_percentage\",\n type: \"number\",\n format: \"double\",\n },\n apiUsage: {\n baseName: \"api_usage\",\n type: \"number\",\n format: \"double\",\n },\n apmHostPercentage: {\n baseName: \"apm_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n apmHostUsage: {\n baseName: \"apm_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n browserPercentage: {\n baseName: \"browser_percentage\",\n type: \"number\",\n format: \"double\",\n },\n browserUsage: {\n baseName: \"browser_usage\",\n type: \"number\",\n format: \"double\",\n },\n containerPercentage: {\n baseName: \"container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n containerUsage: {\n baseName: \"container_usage\",\n type: \"number\",\n format: \"double\",\n },\n customTimeseriesPercentage: {\n baseName: \"custom_timeseries_percentage\",\n type: \"number\",\n format: \"double\",\n },\n customTimeseriesUsage: {\n baseName: \"custom_timeseries_usage\",\n type: \"number\",\n format: \"double\",\n },\n estimatedIndexedLogsPercentage: {\n baseName: \"estimated_indexed_logs_percentage\",\n type: \"number\",\n format: \"double\",\n },\n estimatedIndexedLogsUsage: {\n baseName: \"estimated_indexed_logs_usage\",\n type: \"number\",\n format: \"double\",\n },\n fargatePercentage: {\n baseName: \"fargate_percentage\",\n type: \"number\",\n format: \"double\",\n },\n fargateUsage: {\n baseName: \"fargate_usage\",\n type: \"number\",\n format: \"double\",\n },\n functionsPercentage: {\n baseName: \"functions_percentage\",\n type: \"number\",\n format: \"double\",\n },\n functionsUsage: {\n baseName: \"functions_usage\",\n type: \"number\",\n format: \"double\",\n },\n indexedLogsPercentage: {\n baseName: \"indexed_logs_percentage\",\n type: \"number\",\n format: \"double\",\n },\n indexedLogsUsage: {\n baseName: \"indexed_logs_usage\",\n type: \"number\",\n format: \"double\",\n },\n infraHostPercentage: {\n baseName: \"infra_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n infraHostUsage: {\n baseName: \"infra_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n invocationsPercentage: {\n baseName: \"invocations_percentage\",\n type: \"number\",\n format: \"double\",\n },\n invocationsUsage: {\n baseName: \"invocations_usage\",\n type: \"number\",\n format: \"double\",\n },\n npmHostPercentage: {\n baseName: \"npm_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n npmHostUsage: {\n baseName: \"npm_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n profiledContainerPercentage: {\n baseName: \"profiled_container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n profiledContainerUsage: {\n baseName: \"profiled_container_usage\",\n type: \"number\",\n format: \"double\",\n },\n profiledHostPercentage: {\n baseName: \"profiled_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n profiledHostUsage: {\n baseName: \"profiled_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n snmpPercentage: {\n baseName: \"snmp_percentage\",\n type: \"number\",\n format: \"double\",\n },\n snmpUsage: {\n baseName: \"snmp_usage\",\n type: \"number\",\n format: \"double\",\n },\n };\n return MonthlyUsageAttributionValues;\n}());\nexports.MonthlyUsageAttributionValues = MonthlyUsageAttributionValues;\n//# sourceMappingURL=MonthlyUsageAttributionValues.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NoteWidgetDefinition = void 0;\n/**\n * The notes and links widget is similar to free text widget, but allows for more formatting options.\n */\nvar NoteWidgetDefinition = /** @class */ (function () {\n function NoteWidgetDefinition() {\n }\n /**\n * @ignore\n */\n NoteWidgetDefinition.getAttributeTypeMap = function () {\n return NoteWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NoteWidgetDefinition.attributeTypeMap = {\n backgroundColor: {\n baseName: \"background_color\",\n type: \"string\",\n },\n content: {\n baseName: \"content\",\n type: \"string\",\n required: true,\n },\n fontSize: {\n baseName: \"font_size\",\n type: \"string\",\n },\n hasPadding: {\n baseName: \"has_padding\",\n type: \"boolean\",\n },\n showTick: {\n baseName: \"show_tick\",\n type: \"boolean\",\n },\n textAlign: {\n baseName: \"text_align\",\n type: \"WidgetTextAlign\",\n },\n tickEdge: {\n baseName: \"tick_edge\",\n type: \"WidgetTickEdge\",\n },\n tickPos: {\n baseName: \"tick_pos\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"NoteWidgetDefinitionType\",\n required: true,\n },\n verticalAlign: {\n baseName: \"vertical_align\",\n type: \"WidgetVerticalAlign\",\n },\n };\n return NoteWidgetDefinition;\n}());\nexports.NoteWidgetDefinition = NoteWidgetDefinition;\n//# sourceMappingURL=NoteWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookAbsoluteTime = void 0;\n/**\n * Absolute timeframe.\n */\nvar NotebookAbsoluteTime = /** @class */ (function () {\n function NotebookAbsoluteTime() {\n }\n /**\n * @ignore\n */\n NotebookAbsoluteTime.getAttributeTypeMap = function () {\n return NotebookAbsoluteTime.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookAbsoluteTime.attributeTypeMap = {\n end: {\n baseName: \"end\",\n type: \"Date\",\n required: true,\n format: \"date-time\",\n },\n live: {\n baseName: \"live\",\n type: \"boolean\",\n },\n start: {\n baseName: \"start\",\n type: \"Date\",\n required: true,\n format: \"date-time\",\n },\n };\n return NotebookAbsoluteTime;\n}());\nexports.NotebookAbsoluteTime = NotebookAbsoluteTime;\n//# sourceMappingURL=NotebookAbsoluteTime.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookAuthor = void 0;\n/**\n * Attributes of user object returned by the API.\n */\nvar NotebookAuthor = /** @class */ (function () {\n function NotebookAuthor() {\n }\n /**\n * @ignore\n */\n NotebookAuthor.getAttributeTypeMap = function () {\n return NotebookAuthor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookAuthor.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n icon: {\n baseName: \"icon\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n verified: {\n baseName: \"verified\",\n type: \"boolean\",\n },\n };\n return NotebookAuthor;\n}());\nexports.NotebookAuthor = NotebookAuthor;\n//# sourceMappingURL=NotebookAuthor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCellCreateRequest = void 0;\n/**\n * The description of a notebook cell create request.\n */\nvar NotebookCellCreateRequest = /** @class */ (function () {\n function NotebookCellCreateRequest() {\n }\n /**\n * @ignore\n */\n NotebookCellCreateRequest.getAttributeTypeMap = function () {\n return NotebookCellCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCellCreateRequest.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookCellCreateRequestAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookCellResourceType\",\n required: true,\n },\n };\n return NotebookCellCreateRequest;\n}());\nexports.NotebookCellCreateRequest = NotebookCellCreateRequest;\n//# sourceMappingURL=NotebookCellCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCellResponse = void 0;\n/**\n * The description of a notebook cell response.\n */\nvar NotebookCellResponse = /** @class */ (function () {\n function NotebookCellResponse() {\n }\n /**\n * @ignore\n */\n NotebookCellResponse.getAttributeTypeMap = function () {\n return NotebookCellResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCellResponse.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookCellResponseAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookCellResourceType\",\n required: true,\n },\n };\n return NotebookCellResponse;\n}());\nexports.NotebookCellResponse = NotebookCellResponse;\n//# sourceMappingURL=NotebookCellResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCellUpdateRequest = void 0;\n/**\n * The description of a notebook cell update request.\n */\nvar NotebookCellUpdateRequest = /** @class */ (function () {\n function NotebookCellUpdateRequest() {\n }\n /**\n * @ignore\n */\n NotebookCellUpdateRequest.getAttributeTypeMap = function () {\n return NotebookCellUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCellUpdateRequest.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookCellUpdateRequestAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookCellResourceType\",\n required: true,\n },\n };\n return NotebookCellUpdateRequest;\n}());\nexports.NotebookCellUpdateRequest = NotebookCellUpdateRequest;\n//# sourceMappingURL=NotebookCellUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCreateData = void 0;\n/**\n * The data for a notebook create request.\n */\nvar NotebookCreateData = /** @class */ (function () {\n function NotebookCreateData() {\n }\n /**\n * @ignore\n */\n NotebookCreateData.getAttributeTypeMap = function () {\n return NotebookCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookCreateDataAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookResourceType\",\n required: true,\n },\n };\n return NotebookCreateData;\n}());\nexports.NotebookCreateData = NotebookCreateData;\n//# sourceMappingURL=NotebookCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCreateDataAttributes = void 0;\n/**\n * The data attributes of a notebook.\n */\nvar NotebookCreateDataAttributes = /** @class */ (function () {\n function NotebookCreateDataAttributes() {\n }\n /**\n * @ignore\n */\n NotebookCreateDataAttributes.getAttributeTypeMap = function () {\n return NotebookCreateDataAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCreateDataAttributes.attributeTypeMap = {\n cells: {\n baseName: \"cells\",\n type: \"Array\",\n required: true,\n },\n metadata: {\n baseName: \"metadata\",\n type: \"NotebookMetadata\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n status: {\n baseName: \"status\",\n type: \"NotebookStatus\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookGlobalTime\",\n required: true,\n },\n };\n return NotebookCreateDataAttributes;\n}());\nexports.NotebookCreateDataAttributes = NotebookCreateDataAttributes;\n//# sourceMappingURL=NotebookCreateDataAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookCreateRequest = void 0;\n/**\n * The description of a notebook create request.\n */\nvar NotebookCreateRequest = /** @class */ (function () {\n function NotebookCreateRequest() {\n }\n /**\n * @ignore\n */\n NotebookCreateRequest.getAttributeTypeMap = function () {\n return NotebookCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"NotebookCreateData\",\n required: true,\n },\n };\n return NotebookCreateRequest;\n}());\nexports.NotebookCreateRequest = NotebookCreateRequest;\n//# sourceMappingURL=NotebookCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookDistributionCellAttributes = void 0;\n/**\n * The attributes of a notebook `distribution` cell.\n */\nvar NotebookDistributionCellAttributes = /** @class */ (function () {\n function NotebookDistributionCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookDistributionCellAttributes.getAttributeTypeMap = function () {\n return NotebookDistributionCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookDistributionCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"DistributionWidgetDefinition\",\n required: true,\n },\n graphSize: {\n baseName: \"graph_size\",\n type: \"NotebookGraphSize\",\n },\n splitBy: {\n baseName: \"split_by\",\n type: \"NotebookSplitBy\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookCellTime\",\n },\n };\n return NotebookDistributionCellAttributes;\n}());\nexports.NotebookDistributionCellAttributes = NotebookDistributionCellAttributes;\n//# sourceMappingURL=NotebookDistributionCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookHeatMapCellAttributes = void 0;\n/**\n * The attributes of a notebook `heatmap` cell.\n */\nvar NotebookHeatMapCellAttributes = /** @class */ (function () {\n function NotebookHeatMapCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookHeatMapCellAttributes.getAttributeTypeMap = function () {\n return NotebookHeatMapCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookHeatMapCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"HeatMapWidgetDefinition\",\n required: true,\n },\n graphSize: {\n baseName: \"graph_size\",\n type: \"NotebookGraphSize\",\n },\n splitBy: {\n baseName: \"split_by\",\n type: \"NotebookSplitBy\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookCellTime\",\n },\n };\n return NotebookHeatMapCellAttributes;\n}());\nexports.NotebookHeatMapCellAttributes = NotebookHeatMapCellAttributes;\n//# sourceMappingURL=NotebookHeatMapCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookLogStreamCellAttributes = void 0;\n/**\n * The attributes of a notebook `log_stream` cell.\n */\nvar NotebookLogStreamCellAttributes = /** @class */ (function () {\n function NotebookLogStreamCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookLogStreamCellAttributes.getAttributeTypeMap = function () {\n return NotebookLogStreamCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookLogStreamCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"LogStreamWidgetDefinition\",\n required: true,\n },\n graphSize: {\n baseName: \"graph_size\",\n type: \"NotebookGraphSize\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookCellTime\",\n },\n };\n return NotebookLogStreamCellAttributes;\n}());\nexports.NotebookLogStreamCellAttributes = NotebookLogStreamCellAttributes;\n//# sourceMappingURL=NotebookLogStreamCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookMarkdownCellAttributes = void 0;\n/**\n * The attributes of a notebook `markdown` cell.\n */\nvar NotebookMarkdownCellAttributes = /** @class */ (function () {\n function NotebookMarkdownCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookMarkdownCellAttributes.getAttributeTypeMap = function () {\n return NotebookMarkdownCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookMarkdownCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"NotebookMarkdownCellDefinition\",\n required: true,\n },\n };\n return NotebookMarkdownCellAttributes;\n}());\nexports.NotebookMarkdownCellAttributes = NotebookMarkdownCellAttributes;\n//# sourceMappingURL=NotebookMarkdownCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookMarkdownCellDefinition = void 0;\n/**\n * Text in a notebook is formatted with [Markdown](https://daringfireball.net/projects/markdown/), which enables the use of headings, subheadings, links, images, lists, and code blocks.\n */\nvar NotebookMarkdownCellDefinition = /** @class */ (function () {\n function NotebookMarkdownCellDefinition() {\n }\n /**\n * @ignore\n */\n NotebookMarkdownCellDefinition.getAttributeTypeMap = function () {\n return NotebookMarkdownCellDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookMarkdownCellDefinition.attributeTypeMap = {\n text: {\n baseName: \"text\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookMarkdownCellDefinitionType\",\n required: true,\n },\n };\n return NotebookMarkdownCellDefinition;\n}());\nexports.NotebookMarkdownCellDefinition = NotebookMarkdownCellDefinition;\n//# sourceMappingURL=NotebookMarkdownCellDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookMetadata = void 0;\n/**\n * Metadata associated with the notebook.\n */\nvar NotebookMetadata = /** @class */ (function () {\n function NotebookMetadata() {\n }\n /**\n * @ignore\n */\n NotebookMetadata.getAttributeTypeMap = function () {\n return NotebookMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookMetadata.attributeTypeMap = {\n isTemplate: {\n baseName: \"is_template\",\n type: \"boolean\",\n },\n takeSnapshots: {\n baseName: \"take_snapshots\",\n type: \"boolean\",\n },\n type: {\n baseName: \"type\",\n type: \"NotebookMetadataType\",\n },\n };\n return NotebookMetadata;\n}());\nexports.NotebookMetadata = NotebookMetadata;\n//# sourceMappingURL=NotebookMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookRelativeTime = void 0;\n/**\n * Relative timeframe.\n */\nvar NotebookRelativeTime = /** @class */ (function () {\n function NotebookRelativeTime() {\n }\n /**\n * @ignore\n */\n NotebookRelativeTime.getAttributeTypeMap = function () {\n return NotebookRelativeTime.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookRelativeTime.attributeTypeMap = {\n liveSpan: {\n baseName: \"live_span\",\n type: \"WidgetLiveSpan\",\n required: true,\n },\n };\n return NotebookRelativeTime;\n}());\nexports.NotebookRelativeTime = NotebookRelativeTime;\n//# sourceMappingURL=NotebookRelativeTime.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookResponse = void 0;\n/**\n * The description of a notebook response.\n */\nvar NotebookResponse = /** @class */ (function () {\n function NotebookResponse() {\n }\n /**\n * @ignore\n */\n NotebookResponse.getAttributeTypeMap = function () {\n return NotebookResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"NotebookResponseData\",\n },\n };\n return NotebookResponse;\n}());\nexports.NotebookResponse = NotebookResponse;\n//# sourceMappingURL=NotebookResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookResponseData = void 0;\n/**\n * The data for a notebook.\n */\nvar NotebookResponseData = /** @class */ (function () {\n function NotebookResponseData() {\n }\n /**\n * @ignore\n */\n NotebookResponseData.getAttributeTypeMap = function () {\n return NotebookResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookResponseDataAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"NotebookResourceType\",\n required: true,\n },\n };\n return NotebookResponseData;\n}());\nexports.NotebookResponseData = NotebookResponseData;\n//# sourceMappingURL=NotebookResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookResponseDataAttributes = void 0;\n/**\n * The attributes of a notebook.\n */\nvar NotebookResponseDataAttributes = /** @class */ (function () {\n function NotebookResponseDataAttributes() {\n }\n /**\n * @ignore\n */\n NotebookResponseDataAttributes.getAttributeTypeMap = function () {\n return NotebookResponseDataAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookResponseDataAttributes.attributeTypeMap = {\n author: {\n baseName: \"author\",\n type: \"NotebookAuthor\",\n },\n cells: {\n baseName: \"cells\",\n type: \"Array\",\n required: true,\n },\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"NotebookMetadata\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n status: {\n baseName: \"status\",\n type: \"NotebookStatus\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookGlobalTime\",\n required: true,\n },\n };\n return NotebookResponseDataAttributes;\n}());\nexports.NotebookResponseDataAttributes = NotebookResponseDataAttributes;\n//# sourceMappingURL=NotebookResponseDataAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookSplitBy = void 0;\n/**\n * Object describing how to split the graph to display multiple visualizations per request.\n */\nvar NotebookSplitBy = /** @class */ (function () {\n function NotebookSplitBy() {\n }\n /**\n * @ignore\n */\n NotebookSplitBy.getAttributeTypeMap = function () {\n return NotebookSplitBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookSplitBy.attributeTypeMap = {\n keys: {\n baseName: \"keys\",\n type: \"Array\",\n required: true,\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n required: true,\n },\n };\n return NotebookSplitBy;\n}());\nexports.NotebookSplitBy = NotebookSplitBy;\n//# sourceMappingURL=NotebookSplitBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookTimeseriesCellAttributes = void 0;\n/**\n * The attributes of a notebook `timeseries` cell.\n */\nvar NotebookTimeseriesCellAttributes = /** @class */ (function () {\n function NotebookTimeseriesCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookTimeseriesCellAttributes.getAttributeTypeMap = function () {\n return NotebookTimeseriesCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookTimeseriesCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"TimeseriesWidgetDefinition\",\n required: true,\n },\n graphSize: {\n baseName: \"graph_size\",\n type: \"NotebookGraphSize\",\n },\n splitBy: {\n baseName: \"split_by\",\n type: \"NotebookSplitBy\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookCellTime\",\n },\n };\n return NotebookTimeseriesCellAttributes;\n}());\nexports.NotebookTimeseriesCellAttributes = NotebookTimeseriesCellAttributes;\n//# sourceMappingURL=NotebookTimeseriesCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookToplistCellAttributes = void 0;\n/**\n * The attributes of a notebook `toplist` cell.\n */\nvar NotebookToplistCellAttributes = /** @class */ (function () {\n function NotebookToplistCellAttributes() {\n }\n /**\n * @ignore\n */\n NotebookToplistCellAttributes.getAttributeTypeMap = function () {\n return NotebookToplistCellAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookToplistCellAttributes.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"ToplistWidgetDefinition\",\n required: true,\n },\n graphSize: {\n baseName: \"graph_size\",\n type: \"NotebookGraphSize\",\n },\n splitBy: {\n baseName: \"split_by\",\n type: \"NotebookSplitBy\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookCellTime\",\n },\n };\n return NotebookToplistCellAttributes;\n}());\nexports.NotebookToplistCellAttributes = NotebookToplistCellAttributes;\n//# sourceMappingURL=NotebookToplistCellAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookUpdateData = void 0;\n/**\n * The data for a notebook update request.\n */\nvar NotebookUpdateData = /** @class */ (function () {\n function NotebookUpdateData() {\n }\n /**\n * @ignore\n */\n NotebookUpdateData.getAttributeTypeMap = function () {\n return NotebookUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebookUpdateDataAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"NotebookResourceType\",\n required: true,\n },\n };\n return NotebookUpdateData;\n}());\nexports.NotebookUpdateData = NotebookUpdateData;\n//# sourceMappingURL=NotebookUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookUpdateDataAttributes = void 0;\n/**\n * The data attributes of a notebook.\n */\nvar NotebookUpdateDataAttributes = /** @class */ (function () {\n function NotebookUpdateDataAttributes() {\n }\n /**\n * @ignore\n */\n NotebookUpdateDataAttributes.getAttributeTypeMap = function () {\n return NotebookUpdateDataAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookUpdateDataAttributes.attributeTypeMap = {\n cells: {\n baseName: \"cells\",\n type: \"Array\",\n required: true,\n },\n metadata: {\n baseName: \"metadata\",\n type: \"NotebookMetadata\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n status: {\n baseName: \"status\",\n type: \"NotebookStatus\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookGlobalTime\",\n required: true,\n },\n };\n return NotebookUpdateDataAttributes;\n}());\nexports.NotebookUpdateDataAttributes = NotebookUpdateDataAttributes;\n//# sourceMappingURL=NotebookUpdateDataAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebookUpdateRequest = void 0;\n/**\n * The description of a notebook update request.\n */\nvar NotebookUpdateRequest = /** @class */ (function () {\n function NotebookUpdateRequest() {\n }\n /**\n * @ignore\n */\n NotebookUpdateRequest.getAttributeTypeMap = function () {\n return NotebookUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebookUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"NotebookUpdateData\",\n required: true,\n },\n };\n return NotebookUpdateRequest;\n}());\nexports.NotebookUpdateRequest = NotebookUpdateRequest;\n//# sourceMappingURL=NotebookUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksResponse = void 0;\n/**\n * Notebooks get all response.\n */\nvar NotebooksResponse = /** @class */ (function () {\n function NotebooksResponse() {\n }\n /**\n * @ignore\n */\n NotebooksResponse.getAttributeTypeMap = function () {\n return NotebooksResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebooksResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"NotebooksResponseMeta\",\n },\n };\n return NotebooksResponse;\n}());\nexports.NotebooksResponse = NotebooksResponse;\n//# sourceMappingURL=NotebooksResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksResponseData = void 0;\n/**\n * The data for a notebook in get all response.\n */\nvar NotebooksResponseData = /** @class */ (function () {\n function NotebooksResponseData() {\n }\n /**\n * @ignore\n */\n NotebooksResponseData.getAttributeTypeMap = function () {\n return NotebooksResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebooksResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"NotebooksResponseDataAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"NotebookResourceType\",\n required: true,\n },\n };\n return NotebooksResponseData;\n}());\nexports.NotebooksResponseData = NotebooksResponseData;\n//# sourceMappingURL=NotebooksResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksResponseDataAttributes = void 0;\n/**\n * The attributes of a notebook in get all response.\n */\nvar NotebooksResponseDataAttributes = /** @class */ (function () {\n function NotebooksResponseDataAttributes() {\n }\n /**\n * @ignore\n */\n NotebooksResponseDataAttributes.getAttributeTypeMap = function () {\n return NotebooksResponseDataAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebooksResponseDataAttributes.attributeTypeMap = {\n author: {\n baseName: \"author\",\n type: \"NotebookAuthor\",\n },\n cells: {\n baseName: \"cells\",\n type: \"Array\",\n },\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"NotebookMetadata\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n status: {\n baseName: \"status\",\n type: \"NotebookStatus\",\n },\n time: {\n baseName: \"time\",\n type: \"NotebookGlobalTime\",\n },\n };\n return NotebooksResponseDataAttributes;\n}());\nexports.NotebooksResponseDataAttributes = NotebooksResponseDataAttributes;\n//# sourceMappingURL=NotebooksResponseDataAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksResponseMeta = void 0;\n/**\n * Searches metadata returned by the API.\n */\nvar NotebooksResponseMeta = /** @class */ (function () {\n function NotebooksResponseMeta() {\n }\n /**\n * @ignore\n */\n NotebooksResponseMeta.getAttributeTypeMap = function () {\n return NotebooksResponseMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebooksResponseMeta.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"NotebooksResponsePage\",\n },\n };\n return NotebooksResponseMeta;\n}());\nexports.NotebooksResponseMeta = NotebooksResponseMeta;\n//# sourceMappingURL=NotebooksResponseMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NotebooksResponsePage = void 0;\n/**\n * Pagination metadata returned by the API.\n */\nvar NotebooksResponsePage = /** @class */ (function () {\n function NotebooksResponsePage() {\n }\n /**\n * @ignore\n */\n NotebooksResponsePage.getAttributeTypeMap = function () {\n return NotebooksResponsePage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NotebooksResponsePage.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n totalFilteredCount: {\n baseName: \"total_filtered_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return NotebooksResponsePage;\n}());\nexports.NotebooksResponsePage = NotebooksResponsePage;\n//# sourceMappingURL=NotebooksResponsePage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnparsedObject = exports.ObjectSerializer = void 0;\nvar APIErrorResponse_1 = require(\"./APIErrorResponse\");\nvar AWSAccount_1 = require(\"./AWSAccount\");\nvar AWSAccountAndLambdaRequest_1 = require(\"./AWSAccountAndLambdaRequest\");\nvar AWSAccountCreateResponse_1 = require(\"./AWSAccountCreateResponse\");\nvar AWSAccountDeleteRequest_1 = require(\"./AWSAccountDeleteRequest\");\nvar AWSAccountListResponse_1 = require(\"./AWSAccountListResponse\");\nvar AWSLogsAsyncError_1 = require(\"./AWSLogsAsyncError\");\nvar AWSLogsAsyncResponse_1 = require(\"./AWSLogsAsyncResponse\");\nvar AWSLogsLambda_1 = require(\"./AWSLogsLambda\");\nvar AWSLogsListResponse_1 = require(\"./AWSLogsListResponse\");\nvar AWSLogsListServicesResponse_1 = require(\"./AWSLogsListServicesResponse\");\nvar AWSLogsServicesRequest_1 = require(\"./AWSLogsServicesRequest\");\nvar AWSTagFilter_1 = require(\"./AWSTagFilter\");\nvar AWSTagFilterCreateRequest_1 = require(\"./AWSTagFilterCreateRequest\");\nvar AWSTagFilterDeleteRequest_1 = require(\"./AWSTagFilterDeleteRequest\");\nvar AWSTagFilterListResponse_1 = require(\"./AWSTagFilterListResponse\");\nvar AlertGraphWidgetDefinition_1 = require(\"./AlertGraphWidgetDefinition\");\nvar AlertValueWidgetDefinition_1 = require(\"./AlertValueWidgetDefinition\");\nvar ApiKey_1 = require(\"./ApiKey\");\nvar ApiKeyListResponse_1 = require(\"./ApiKeyListResponse\");\nvar ApiKeyResponse_1 = require(\"./ApiKeyResponse\");\nvar ApmStatsQueryColumnType_1 = require(\"./ApmStatsQueryColumnType\");\nvar ApmStatsQueryDefinition_1 = require(\"./ApmStatsQueryDefinition\");\nvar ApplicationKey_1 = require(\"./ApplicationKey\");\nvar ApplicationKeyListResponse_1 = require(\"./ApplicationKeyListResponse\");\nvar ApplicationKeyResponse_1 = require(\"./ApplicationKeyResponse\");\nvar AuthenticationValidationResponse_1 = require(\"./AuthenticationValidationResponse\");\nvar AzureAccount_1 = require(\"./AzureAccount\");\nvar CancelDowntimesByScopeRequest_1 = require(\"./CancelDowntimesByScopeRequest\");\nvar CanceledDowntimesIds_1 = require(\"./CanceledDowntimesIds\");\nvar ChangeWidgetDefinition_1 = require(\"./ChangeWidgetDefinition\");\nvar ChangeWidgetRequest_1 = require(\"./ChangeWidgetRequest\");\nvar CheckCanDeleteMonitorResponse_1 = require(\"./CheckCanDeleteMonitorResponse\");\nvar CheckCanDeleteMonitorResponseData_1 = require(\"./CheckCanDeleteMonitorResponseData\");\nvar CheckCanDeleteSLOResponse_1 = require(\"./CheckCanDeleteSLOResponse\");\nvar CheckCanDeleteSLOResponseData_1 = require(\"./CheckCanDeleteSLOResponseData\");\nvar CheckStatusWidgetDefinition_1 = require(\"./CheckStatusWidgetDefinition\");\nvar Creator_1 = require(\"./Creator\");\nvar Dashboard_1 = require(\"./Dashboard\");\nvar DashboardBulkActionData_1 = require(\"./DashboardBulkActionData\");\nvar DashboardBulkDeleteRequest_1 = require(\"./DashboardBulkDeleteRequest\");\nvar DashboardDeleteResponse_1 = require(\"./DashboardDeleteResponse\");\nvar DashboardList_1 = require(\"./DashboardList\");\nvar DashboardListDeleteResponse_1 = require(\"./DashboardListDeleteResponse\");\nvar DashboardListListResponse_1 = require(\"./DashboardListListResponse\");\nvar DashboardRestoreRequest_1 = require(\"./DashboardRestoreRequest\");\nvar DashboardSummary_1 = require(\"./DashboardSummary\");\nvar DashboardSummaryDefinition_1 = require(\"./DashboardSummaryDefinition\");\nvar DashboardTemplateVariable_1 = require(\"./DashboardTemplateVariable\");\nvar DashboardTemplateVariablePreset_1 = require(\"./DashboardTemplateVariablePreset\");\nvar DashboardTemplateVariablePresetValue_1 = require(\"./DashboardTemplateVariablePresetValue\");\nvar DeletedMonitor_1 = require(\"./DeletedMonitor\");\nvar DistributionWidgetDefinition_1 = require(\"./DistributionWidgetDefinition\");\nvar DistributionWidgetRequest_1 = require(\"./DistributionWidgetRequest\");\nvar DistributionWidgetXAxis_1 = require(\"./DistributionWidgetXAxis\");\nvar DistributionWidgetYAxis_1 = require(\"./DistributionWidgetYAxis\");\nvar Downtime_1 = require(\"./Downtime\");\nvar DowntimeChild_1 = require(\"./DowntimeChild\");\nvar DowntimeRecurrence_1 = require(\"./DowntimeRecurrence\");\nvar Event_1 = require(\"./Event\");\nvar EventCreateRequest_1 = require(\"./EventCreateRequest\");\nvar EventCreateResponse_1 = require(\"./EventCreateResponse\");\nvar EventListResponse_1 = require(\"./EventListResponse\");\nvar EventQueryDefinition_1 = require(\"./EventQueryDefinition\");\nvar EventResponse_1 = require(\"./EventResponse\");\nvar EventStreamWidgetDefinition_1 = require(\"./EventStreamWidgetDefinition\");\nvar EventTimelineWidgetDefinition_1 = require(\"./EventTimelineWidgetDefinition\");\nvar FormulaAndFunctionApmDependencyStatsQueryDefinition_1 = require(\"./FormulaAndFunctionApmDependencyStatsQueryDefinition\");\nvar FormulaAndFunctionApmResourceStatsQueryDefinition_1 = require(\"./FormulaAndFunctionApmResourceStatsQueryDefinition\");\nvar FormulaAndFunctionEventQueryDefinition_1 = require(\"./FormulaAndFunctionEventQueryDefinition\");\nvar FormulaAndFunctionEventQueryDefinitionCompute_1 = require(\"./FormulaAndFunctionEventQueryDefinitionCompute\");\nvar FormulaAndFunctionEventQueryDefinitionSearch_1 = require(\"./FormulaAndFunctionEventQueryDefinitionSearch\");\nvar FormulaAndFunctionEventQueryGroupBy_1 = require(\"./FormulaAndFunctionEventQueryGroupBy\");\nvar FormulaAndFunctionEventQueryGroupBySort_1 = require(\"./FormulaAndFunctionEventQueryGroupBySort\");\nvar FormulaAndFunctionMetricQueryDefinition_1 = require(\"./FormulaAndFunctionMetricQueryDefinition\");\nvar FormulaAndFunctionProcessQueryDefinition_1 = require(\"./FormulaAndFunctionProcessQueryDefinition\");\nvar FreeTextWidgetDefinition_1 = require(\"./FreeTextWidgetDefinition\");\nvar FunnelQuery_1 = require(\"./FunnelQuery\");\nvar FunnelStep_1 = require(\"./FunnelStep\");\nvar FunnelWidgetDefinition_1 = require(\"./FunnelWidgetDefinition\");\nvar FunnelWidgetRequest_1 = require(\"./FunnelWidgetRequest\");\nvar GCPAccount_1 = require(\"./GCPAccount\");\nvar GeomapWidgetDefinition_1 = require(\"./GeomapWidgetDefinition\");\nvar GeomapWidgetDefinitionStyle_1 = require(\"./GeomapWidgetDefinitionStyle\");\nvar GeomapWidgetDefinitionView_1 = require(\"./GeomapWidgetDefinitionView\");\nvar GeomapWidgetRequest_1 = require(\"./GeomapWidgetRequest\");\nvar GraphSnapshot_1 = require(\"./GraphSnapshot\");\nvar GroupWidgetDefinition_1 = require(\"./GroupWidgetDefinition\");\nvar HTTPLogError_1 = require(\"./HTTPLogError\");\nvar HTTPLogItem_1 = require(\"./HTTPLogItem\");\nvar HeatMapWidgetDefinition_1 = require(\"./HeatMapWidgetDefinition\");\nvar HeatMapWidgetRequest_1 = require(\"./HeatMapWidgetRequest\");\nvar Host_1 = require(\"./Host\");\nvar HostListResponse_1 = require(\"./HostListResponse\");\nvar HostMapRequest_1 = require(\"./HostMapRequest\");\nvar HostMapWidgetDefinition_1 = require(\"./HostMapWidgetDefinition\");\nvar HostMapWidgetDefinitionRequests_1 = require(\"./HostMapWidgetDefinitionRequests\");\nvar HostMapWidgetDefinitionStyle_1 = require(\"./HostMapWidgetDefinitionStyle\");\nvar HostMeta_1 = require(\"./HostMeta\");\nvar HostMetaInstallMethod_1 = require(\"./HostMetaInstallMethod\");\nvar HostMetrics_1 = require(\"./HostMetrics\");\nvar HostMuteResponse_1 = require(\"./HostMuteResponse\");\nvar HostMuteSettings_1 = require(\"./HostMuteSettings\");\nvar HostTags_1 = require(\"./HostTags\");\nvar HostTotals_1 = require(\"./HostTotals\");\nvar HourlyUsageAttributionBody_1 = require(\"./HourlyUsageAttributionBody\");\nvar HourlyUsageAttributionMetadata_1 = require(\"./HourlyUsageAttributionMetadata\");\nvar HourlyUsageAttributionPagination_1 = require(\"./HourlyUsageAttributionPagination\");\nvar HourlyUsageAttributionResponse_1 = require(\"./HourlyUsageAttributionResponse\");\nvar IFrameWidgetDefinition_1 = require(\"./IFrameWidgetDefinition\");\nvar IPPrefixesAPI_1 = require(\"./IPPrefixesAPI\");\nvar IPPrefixesAPM_1 = require(\"./IPPrefixesAPM\");\nvar IPPrefixesAgents_1 = require(\"./IPPrefixesAgents\");\nvar IPPrefixesLogs_1 = require(\"./IPPrefixesLogs\");\nvar IPPrefixesProcess_1 = require(\"./IPPrefixesProcess\");\nvar IPPrefixesSynthetics_1 = require(\"./IPPrefixesSynthetics\");\nvar IPPrefixesWebhooks_1 = require(\"./IPPrefixesWebhooks\");\nvar IPRanges_1 = require(\"./IPRanges\");\nvar IdpFormData_1 = require(\"./IdpFormData\");\nvar IdpResponse_1 = require(\"./IdpResponse\");\nvar ImageWidgetDefinition_1 = require(\"./ImageWidgetDefinition\");\nvar IntakePayloadAccepted_1 = require(\"./IntakePayloadAccepted\");\nvar ListStreamColumn_1 = require(\"./ListStreamColumn\");\nvar ListStreamQuery_1 = require(\"./ListStreamQuery\");\nvar ListStreamWidgetDefinition_1 = require(\"./ListStreamWidgetDefinition\");\nvar ListStreamWidgetRequest_1 = require(\"./ListStreamWidgetRequest\");\nvar Log_1 = require(\"./Log\");\nvar LogContent_1 = require(\"./LogContent\");\nvar LogQueryDefinition_1 = require(\"./LogQueryDefinition\");\nvar LogQueryDefinitionGroupBy_1 = require(\"./LogQueryDefinitionGroupBy\");\nvar LogQueryDefinitionGroupBySort_1 = require(\"./LogQueryDefinitionGroupBySort\");\nvar LogQueryDefinitionSearch_1 = require(\"./LogQueryDefinitionSearch\");\nvar LogStreamWidgetDefinition_1 = require(\"./LogStreamWidgetDefinition\");\nvar LogsAPIError_1 = require(\"./LogsAPIError\");\nvar LogsAPIErrorResponse_1 = require(\"./LogsAPIErrorResponse\");\nvar LogsArithmeticProcessor_1 = require(\"./LogsArithmeticProcessor\");\nvar LogsAttributeRemapper_1 = require(\"./LogsAttributeRemapper\");\nvar LogsByRetention_1 = require(\"./LogsByRetention\");\nvar LogsByRetentionMonthlyUsage_1 = require(\"./LogsByRetentionMonthlyUsage\");\nvar LogsByRetentionOrgUsage_1 = require(\"./LogsByRetentionOrgUsage\");\nvar LogsByRetentionOrgs_1 = require(\"./LogsByRetentionOrgs\");\nvar LogsCategoryProcessor_1 = require(\"./LogsCategoryProcessor\");\nvar LogsCategoryProcessorCategory_1 = require(\"./LogsCategoryProcessorCategory\");\nvar LogsDateRemapper_1 = require(\"./LogsDateRemapper\");\nvar LogsExclusion_1 = require(\"./LogsExclusion\");\nvar LogsExclusionFilter_1 = require(\"./LogsExclusionFilter\");\nvar LogsFilter_1 = require(\"./LogsFilter\");\nvar LogsGeoIPParser_1 = require(\"./LogsGeoIPParser\");\nvar LogsGrokParser_1 = require(\"./LogsGrokParser\");\nvar LogsGrokParserRules_1 = require(\"./LogsGrokParserRules\");\nvar LogsIndex_1 = require(\"./LogsIndex\");\nvar LogsIndexListResponse_1 = require(\"./LogsIndexListResponse\");\nvar LogsIndexUpdateRequest_1 = require(\"./LogsIndexUpdateRequest\");\nvar LogsIndexesOrder_1 = require(\"./LogsIndexesOrder\");\nvar LogsListRequest_1 = require(\"./LogsListRequest\");\nvar LogsListRequestTime_1 = require(\"./LogsListRequestTime\");\nvar LogsListResponse_1 = require(\"./LogsListResponse\");\nvar LogsLookupProcessor_1 = require(\"./LogsLookupProcessor\");\nvar LogsMessageRemapper_1 = require(\"./LogsMessageRemapper\");\nvar LogsPipeline_1 = require(\"./LogsPipeline\");\nvar LogsPipelineProcessor_1 = require(\"./LogsPipelineProcessor\");\nvar LogsPipelinesOrder_1 = require(\"./LogsPipelinesOrder\");\nvar LogsQueryCompute_1 = require(\"./LogsQueryCompute\");\nvar LogsRetentionAggSumUsage_1 = require(\"./LogsRetentionAggSumUsage\");\nvar LogsRetentionSumUsage_1 = require(\"./LogsRetentionSumUsage\");\nvar LogsServiceRemapper_1 = require(\"./LogsServiceRemapper\");\nvar LogsStatusRemapper_1 = require(\"./LogsStatusRemapper\");\nvar LogsStringBuilderProcessor_1 = require(\"./LogsStringBuilderProcessor\");\nvar LogsTraceRemapper_1 = require(\"./LogsTraceRemapper\");\nvar LogsURLParser_1 = require(\"./LogsURLParser\");\nvar LogsUserAgentParser_1 = require(\"./LogsUserAgentParser\");\nvar MetricMetadata_1 = require(\"./MetricMetadata\");\nvar MetricSearchResponse_1 = require(\"./MetricSearchResponse\");\nvar MetricSearchResponseResults_1 = require(\"./MetricSearchResponseResults\");\nvar MetricsListResponse_1 = require(\"./MetricsListResponse\");\nvar MetricsPayload_1 = require(\"./MetricsPayload\");\nvar MetricsQueryMetadata_1 = require(\"./MetricsQueryMetadata\");\nvar MetricsQueryResponse_1 = require(\"./MetricsQueryResponse\");\nvar MetricsQueryUnit_1 = require(\"./MetricsQueryUnit\");\nvar Monitor_1 = require(\"./Monitor\");\nvar MonitorFormulaAndFunctionEventQueryDefinition_1 = require(\"./MonitorFormulaAndFunctionEventQueryDefinition\");\nvar MonitorFormulaAndFunctionEventQueryDefinitionCompute_1 = require(\"./MonitorFormulaAndFunctionEventQueryDefinitionCompute\");\nvar MonitorFormulaAndFunctionEventQueryDefinitionSearch_1 = require(\"./MonitorFormulaAndFunctionEventQueryDefinitionSearch\");\nvar MonitorFormulaAndFunctionEventQueryGroupBy_1 = require(\"./MonitorFormulaAndFunctionEventQueryGroupBy\");\nvar MonitorFormulaAndFunctionEventQueryGroupBySort_1 = require(\"./MonitorFormulaAndFunctionEventQueryGroupBySort\");\nvar MonitorGroupSearchResponse_1 = require(\"./MonitorGroupSearchResponse\");\nvar MonitorGroupSearchResponseCounts_1 = require(\"./MonitorGroupSearchResponseCounts\");\nvar MonitorGroupSearchResult_1 = require(\"./MonitorGroupSearchResult\");\nvar MonitorOptions_1 = require(\"./MonitorOptions\");\nvar MonitorOptionsAggregation_1 = require(\"./MonitorOptionsAggregation\");\nvar MonitorSearchResponse_1 = require(\"./MonitorSearchResponse\");\nvar MonitorSearchResponseCounts_1 = require(\"./MonitorSearchResponseCounts\");\nvar MonitorSearchResponseMetadata_1 = require(\"./MonitorSearchResponseMetadata\");\nvar MonitorSearchResult_1 = require(\"./MonitorSearchResult\");\nvar MonitorSearchResultNotification_1 = require(\"./MonitorSearchResultNotification\");\nvar MonitorState_1 = require(\"./MonitorState\");\nvar MonitorStateGroup_1 = require(\"./MonitorStateGroup\");\nvar MonitorSummaryWidgetDefinition_1 = require(\"./MonitorSummaryWidgetDefinition\");\nvar MonitorThresholdWindowOptions_1 = require(\"./MonitorThresholdWindowOptions\");\nvar MonitorThresholds_1 = require(\"./MonitorThresholds\");\nvar MonitorUpdateRequest_1 = require(\"./MonitorUpdateRequest\");\nvar MonthlyUsageAttributionBody_1 = require(\"./MonthlyUsageAttributionBody\");\nvar MonthlyUsageAttributionMetadata_1 = require(\"./MonthlyUsageAttributionMetadata\");\nvar MonthlyUsageAttributionPagination_1 = require(\"./MonthlyUsageAttributionPagination\");\nvar MonthlyUsageAttributionResponse_1 = require(\"./MonthlyUsageAttributionResponse\");\nvar MonthlyUsageAttributionValues_1 = require(\"./MonthlyUsageAttributionValues\");\nvar NoteWidgetDefinition_1 = require(\"./NoteWidgetDefinition\");\nvar NotebookAbsoluteTime_1 = require(\"./NotebookAbsoluteTime\");\nvar NotebookAuthor_1 = require(\"./NotebookAuthor\");\nvar NotebookCellCreateRequest_1 = require(\"./NotebookCellCreateRequest\");\nvar NotebookCellResponse_1 = require(\"./NotebookCellResponse\");\nvar NotebookCellUpdateRequest_1 = require(\"./NotebookCellUpdateRequest\");\nvar NotebookCreateData_1 = require(\"./NotebookCreateData\");\nvar NotebookCreateDataAttributes_1 = require(\"./NotebookCreateDataAttributes\");\nvar NotebookCreateRequest_1 = require(\"./NotebookCreateRequest\");\nvar NotebookDistributionCellAttributes_1 = require(\"./NotebookDistributionCellAttributes\");\nvar NotebookHeatMapCellAttributes_1 = require(\"./NotebookHeatMapCellAttributes\");\nvar NotebookLogStreamCellAttributes_1 = require(\"./NotebookLogStreamCellAttributes\");\nvar NotebookMarkdownCellAttributes_1 = require(\"./NotebookMarkdownCellAttributes\");\nvar NotebookMarkdownCellDefinition_1 = require(\"./NotebookMarkdownCellDefinition\");\nvar NotebookMetadata_1 = require(\"./NotebookMetadata\");\nvar NotebookRelativeTime_1 = require(\"./NotebookRelativeTime\");\nvar NotebookResponse_1 = require(\"./NotebookResponse\");\nvar NotebookResponseData_1 = require(\"./NotebookResponseData\");\nvar NotebookResponseDataAttributes_1 = require(\"./NotebookResponseDataAttributes\");\nvar NotebookSplitBy_1 = require(\"./NotebookSplitBy\");\nvar NotebookTimeseriesCellAttributes_1 = require(\"./NotebookTimeseriesCellAttributes\");\nvar NotebookToplistCellAttributes_1 = require(\"./NotebookToplistCellAttributes\");\nvar NotebookUpdateData_1 = require(\"./NotebookUpdateData\");\nvar NotebookUpdateDataAttributes_1 = require(\"./NotebookUpdateDataAttributes\");\nvar NotebookUpdateRequest_1 = require(\"./NotebookUpdateRequest\");\nvar NotebooksResponse_1 = require(\"./NotebooksResponse\");\nvar NotebooksResponseData_1 = require(\"./NotebooksResponseData\");\nvar NotebooksResponseDataAttributes_1 = require(\"./NotebooksResponseDataAttributes\");\nvar NotebooksResponseMeta_1 = require(\"./NotebooksResponseMeta\");\nvar NotebooksResponsePage_1 = require(\"./NotebooksResponsePage\");\nvar Organization_1 = require(\"./Organization\");\nvar OrganizationBilling_1 = require(\"./OrganizationBilling\");\nvar OrganizationCreateBody_1 = require(\"./OrganizationCreateBody\");\nvar OrganizationCreateResponse_1 = require(\"./OrganizationCreateResponse\");\nvar OrganizationListResponse_1 = require(\"./OrganizationListResponse\");\nvar OrganizationResponse_1 = require(\"./OrganizationResponse\");\nvar OrganizationSettings_1 = require(\"./OrganizationSettings\");\nvar OrganizationSettingsSaml_1 = require(\"./OrganizationSettingsSaml\");\nvar OrganizationSettingsSamlAutocreateUsersDomains_1 = require(\"./OrganizationSettingsSamlAutocreateUsersDomains\");\nvar OrganizationSettingsSamlIdpInitiatedLogin_1 = require(\"./OrganizationSettingsSamlIdpInitiatedLogin\");\nvar OrganizationSettingsSamlStrictMode_1 = require(\"./OrganizationSettingsSamlStrictMode\");\nvar OrganizationSubscription_1 = require(\"./OrganizationSubscription\");\nvar PagerDutyService_1 = require(\"./PagerDutyService\");\nvar PagerDutyServiceKey_1 = require(\"./PagerDutyServiceKey\");\nvar PagerDutyServiceName_1 = require(\"./PagerDutyServiceName\");\nvar Pagination_1 = require(\"./Pagination\");\nvar ProcessQueryDefinition_1 = require(\"./ProcessQueryDefinition\");\nvar QueryValueWidgetDefinition_1 = require(\"./QueryValueWidgetDefinition\");\nvar QueryValueWidgetRequest_1 = require(\"./QueryValueWidgetRequest\");\nvar ResponseMetaAttributes_1 = require(\"./ResponseMetaAttributes\");\nvar SLOBulkDeleteError_1 = require(\"./SLOBulkDeleteError\");\nvar SLOBulkDeleteResponse_1 = require(\"./SLOBulkDeleteResponse\");\nvar SLOBulkDeleteResponseData_1 = require(\"./SLOBulkDeleteResponseData\");\nvar SLOCorrection_1 = require(\"./SLOCorrection\");\nvar SLOCorrectionCreateData_1 = require(\"./SLOCorrectionCreateData\");\nvar SLOCorrectionCreateRequest_1 = require(\"./SLOCorrectionCreateRequest\");\nvar SLOCorrectionCreateRequestAttributes_1 = require(\"./SLOCorrectionCreateRequestAttributes\");\nvar SLOCorrectionListResponse_1 = require(\"./SLOCorrectionListResponse\");\nvar SLOCorrectionResponse_1 = require(\"./SLOCorrectionResponse\");\nvar SLOCorrectionResponseAttributes_1 = require(\"./SLOCorrectionResponseAttributes\");\nvar SLOCorrectionResponseAttributesModifier_1 = require(\"./SLOCorrectionResponseAttributesModifier\");\nvar SLOCorrectionUpdateData_1 = require(\"./SLOCorrectionUpdateData\");\nvar SLOCorrectionUpdateRequest_1 = require(\"./SLOCorrectionUpdateRequest\");\nvar SLOCorrectionUpdateRequestAttributes_1 = require(\"./SLOCorrectionUpdateRequestAttributes\");\nvar SLODeleteResponse_1 = require(\"./SLODeleteResponse\");\nvar SLOHistoryMetrics_1 = require(\"./SLOHistoryMetrics\");\nvar SLOHistoryMetricsSeries_1 = require(\"./SLOHistoryMetricsSeries\");\nvar SLOHistoryMetricsSeriesMetadata_1 = require(\"./SLOHistoryMetricsSeriesMetadata\");\nvar SLOHistoryMetricsSeriesMetadataUnit_1 = require(\"./SLOHistoryMetricsSeriesMetadataUnit\");\nvar SLOHistoryMonitor_1 = require(\"./SLOHistoryMonitor\");\nvar SLOHistoryResponse_1 = require(\"./SLOHistoryResponse\");\nvar SLOHistoryResponseData_1 = require(\"./SLOHistoryResponseData\");\nvar SLOHistoryResponseError_1 = require(\"./SLOHistoryResponseError\");\nvar SLOHistoryResponseErrorWithType_1 = require(\"./SLOHistoryResponseErrorWithType\");\nvar SLOHistorySLIData_1 = require(\"./SLOHistorySLIData\");\nvar SLOListResponse_1 = require(\"./SLOListResponse\");\nvar SLOListResponseMetadata_1 = require(\"./SLOListResponseMetadata\");\nvar SLOListResponseMetadataPage_1 = require(\"./SLOListResponseMetadataPage\");\nvar SLOResponse_1 = require(\"./SLOResponse\");\nvar SLOResponseData_1 = require(\"./SLOResponseData\");\nvar SLOThreshold_1 = require(\"./SLOThreshold\");\nvar SLOWidgetDefinition_1 = require(\"./SLOWidgetDefinition\");\nvar ScatterPlotRequest_1 = require(\"./ScatterPlotRequest\");\nvar ScatterPlotWidgetDefinition_1 = require(\"./ScatterPlotWidgetDefinition\");\nvar ScatterPlotWidgetDefinitionRequests_1 = require(\"./ScatterPlotWidgetDefinitionRequests\");\nvar ScatterplotTableRequest_1 = require(\"./ScatterplotTableRequest\");\nvar ScatterplotWidgetFormula_1 = require(\"./ScatterplotWidgetFormula\");\nvar Series_1 = require(\"./Series\");\nvar ServiceCheck_1 = require(\"./ServiceCheck\");\nvar ServiceLevelObjective_1 = require(\"./ServiceLevelObjective\");\nvar ServiceLevelObjectiveQuery_1 = require(\"./ServiceLevelObjectiveQuery\");\nvar ServiceLevelObjectiveRequest_1 = require(\"./ServiceLevelObjectiveRequest\");\nvar ServiceMapWidgetDefinition_1 = require(\"./ServiceMapWidgetDefinition\");\nvar ServiceSummaryWidgetDefinition_1 = require(\"./ServiceSummaryWidgetDefinition\");\nvar SlackIntegrationChannel_1 = require(\"./SlackIntegrationChannel\");\nvar SlackIntegrationChannelDisplay_1 = require(\"./SlackIntegrationChannelDisplay\");\nvar SunburstWidgetDefinition_1 = require(\"./SunburstWidgetDefinition\");\nvar SunburstWidgetLegendInlineAutomatic_1 = require(\"./SunburstWidgetLegendInlineAutomatic\");\nvar SunburstWidgetLegendTable_1 = require(\"./SunburstWidgetLegendTable\");\nvar SunburstWidgetRequest_1 = require(\"./SunburstWidgetRequest\");\nvar SyntheticsAPIStep_1 = require(\"./SyntheticsAPIStep\");\nvar SyntheticsAPITest_1 = require(\"./SyntheticsAPITest\");\nvar SyntheticsAPITestConfig_1 = require(\"./SyntheticsAPITestConfig\");\nvar SyntheticsAPITestResultData_1 = require(\"./SyntheticsAPITestResultData\");\nvar SyntheticsAPITestResultFull_1 = require(\"./SyntheticsAPITestResultFull\");\nvar SyntheticsAPITestResultFullCheck_1 = require(\"./SyntheticsAPITestResultFullCheck\");\nvar SyntheticsAPITestResultShort_1 = require(\"./SyntheticsAPITestResultShort\");\nvar SyntheticsAPITestResultShortResult_1 = require(\"./SyntheticsAPITestResultShortResult\");\nvar SyntheticsApiTestResultFailure_1 = require(\"./SyntheticsApiTestResultFailure\");\nvar SyntheticsAssertionJSONPathTarget_1 = require(\"./SyntheticsAssertionJSONPathTarget\");\nvar SyntheticsAssertionJSONPathTargetTarget_1 = require(\"./SyntheticsAssertionJSONPathTargetTarget\");\nvar SyntheticsAssertionTarget_1 = require(\"./SyntheticsAssertionTarget\");\nvar SyntheticsBasicAuthNTLM_1 = require(\"./SyntheticsBasicAuthNTLM\");\nvar SyntheticsBasicAuthSigv4_1 = require(\"./SyntheticsBasicAuthSigv4\");\nvar SyntheticsBasicAuthWeb_1 = require(\"./SyntheticsBasicAuthWeb\");\nvar SyntheticsBatchDetails_1 = require(\"./SyntheticsBatchDetails\");\nvar SyntheticsBatchDetailsData_1 = require(\"./SyntheticsBatchDetailsData\");\nvar SyntheticsBatchResult_1 = require(\"./SyntheticsBatchResult\");\nvar SyntheticsBrowserError_1 = require(\"./SyntheticsBrowserError\");\nvar SyntheticsBrowserTest_1 = require(\"./SyntheticsBrowserTest\");\nvar SyntheticsBrowserTestConfig_1 = require(\"./SyntheticsBrowserTestConfig\");\nvar SyntheticsBrowserTestResultData_1 = require(\"./SyntheticsBrowserTestResultData\");\nvar SyntheticsBrowserTestResultFailure_1 = require(\"./SyntheticsBrowserTestResultFailure\");\nvar SyntheticsBrowserTestResultFull_1 = require(\"./SyntheticsBrowserTestResultFull\");\nvar SyntheticsBrowserTestResultFullCheck_1 = require(\"./SyntheticsBrowserTestResultFullCheck\");\nvar SyntheticsBrowserTestResultShort_1 = require(\"./SyntheticsBrowserTestResultShort\");\nvar SyntheticsBrowserTestResultShortResult_1 = require(\"./SyntheticsBrowserTestResultShortResult\");\nvar SyntheticsBrowserVariable_1 = require(\"./SyntheticsBrowserVariable\");\nvar SyntheticsCIBatchMetadata_1 = require(\"./SyntheticsCIBatchMetadata\");\nvar SyntheticsCIBatchMetadataCI_1 = require(\"./SyntheticsCIBatchMetadataCI\");\nvar SyntheticsCIBatchMetadataGit_1 = require(\"./SyntheticsCIBatchMetadataGit\");\nvar SyntheticsCIBatchMetadataPipeline_1 = require(\"./SyntheticsCIBatchMetadataPipeline\");\nvar SyntheticsCIBatchMetadataProvider_1 = require(\"./SyntheticsCIBatchMetadataProvider\");\nvar SyntheticsCITest_1 = require(\"./SyntheticsCITest\");\nvar SyntheticsCITestBody_1 = require(\"./SyntheticsCITestBody\");\nvar SyntheticsConfigVariable_1 = require(\"./SyntheticsConfigVariable\");\nvar SyntheticsCoreWebVitals_1 = require(\"./SyntheticsCoreWebVitals\");\nvar SyntheticsDeleteTestsPayload_1 = require(\"./SyntheticsDeleteTestsPayload\");\nvar SyntheticsDeleteTestsResponse_1 = require(\"./SyntheticsDeleteTestsResponse\");\nvar SyntheticsDeletedTest_1 = require(\"./SyntheticsDeletedTest\");\nvar SyntheticsDevice_1 = require(\"./SyntheticsDevice\");\nvar SyntheticsGetAPITestLatestResultsResponse_1 = require(\"./SyntheticsGetAPITestLatestResultsResponse\");\nvar SyntheticsGetBrowserTestLatestResultsResponse_1 = require(\"./SyntheticsGetBrowserTestLatestResultsResponse\");\nvar SyntheticsGlobalVariable_1 = require(\"./SyntheticsGlobalVariable\");\nvar SyntheticsGlobalVariableAttributes_1 = require(\"./SyntheticsGlobalVariableAttributes\");\nvar SyntheticsGlobalVariableParseTestOptions_1 = require(\"./SyntheticsGlobalVariableParseTestOptions\");\nvar SyntheticsGlobalVariableValue_1 = require(\"./SyntheticsGlobalVariableValue\");\nvar SyntheticsListGlobalVariablesResponse_1 = require(\"./SyntheticsListGlobalVariablesResponse\");\nvar SyntheticsListTestsResponse_1 = require(\"./SyntheticsListTestsResponse\");\nvar SyntheticsLocation_1 = require(\"./SyntheticsLocation\");\nvar SyntheticsLocations_1 = require(\"./SyntheticsLocations\");\nvar SyntheticsParsingOptions_1 = require(\"./SyntheticsParsingOptions\");\nvar SyntheticsPrivateLocation_1 = require(\"./SyntheticsPrivateLocation\");\nvar SyntheticsPrivateLocationCreationResponse_1 = require(\"./SyntheticsPrivateLocationCreationResponse\");\nvar SyntheticsPrivateLocationCreationResponseResultEncryption_1 = require(\"./SyntheticsPrivateLocationCreationResponseResultEncryption\");\nvar SyntheticsPrivateLocationSecrets_1 = require(\"./SyntheticsPrivateLocationSecrets\");\nvar SyntheticsPrivateLocationSecretsAuthentication_1 = require(\"./SyntheticsPrivateLocationSecretsAuthentication\");\nvar SyntheticsPrivateLocationSecretsConfigDecryption_1 = require(\"./SyntheticsPrivateLocationSecretsConfigDecryption\");\nvar SyntheticsSSLCertificate_1 = require(\"./SyntheticsSSLCertificate\");\nvar SyntheticsSSLCertificateIssuer_1 = require(\"./SyntheticsSSLCertificateIssuer\");\nvar SyntheticsSSLCertificateSubject_1 = require(\"./SyntheticsSSLCertificateSubject\");\nvar SyntheticsStep_1 = require(\"./SyntheticsStep\");\nvar SyntheticsStepDetail_1 = require(\"./SyntheticsStepDetail\");\nvar SyntheticsStepDetailWarning_1 = require(\"./SyntheticsStepDetailWarning\");\nvar SyntheticsTestConfig_1 = require(\"./SyntheticsTestConfig\");\nvar SyntheticsTestDetails_1 = require(\"./SyntheticsTestDetails\");\nvar SyntheticsTestOptions_1 = require(\"./SyntheticsTestOptions\");\nvar SyntheticsTestOptionsMonitorOptions_1 = require(\"./SyntheticsTestOptionsMonitorOptions\");\nvar SyntheticsTestOptionsRetry_1 = require(\"./SyntheticsTestOptionsRetry\");\nvar SyntheticsTestRequest_1 = require(\"./SyntheticsTestRequest\");\nvar SyntheticsTestRequestCertificate_1 = require(\"./SyntheticsTestRequestCertificate\");\nvar SyntheticsTestRequestCertificateItem_1 = require(\"./SyntheticsTestRequestCertificateItem\");\nvar SyntheticsTestRequestProxy_1 = require(\"./SyntheticsTestRequestProxy\");\nvar SyntheticsTiming_1 = require(\"./SyntheticsTiming\");\nvar SyntheticsTriggerBody_1 = require(\"./SyntheticsTriggerBody\");\nvar SyntheticsTriggerCITestLocation_1 = require(\"./SyntheticsTriggerCITestLocation\");\nvar SyntheticsTriggerCITestRunResult_1 = require(\"./SyntheticsTriggerCITestRunResult\");\nvar SyntheticsTriggerCITestsResponse_1 = require(\"./SyntheticsTriggerCITestsResponse\");\nvar SyntheticsTriggerTest_1 = require(\"./SyntheticsTriggerTest\");\nvar SyntheticsUpdateTestPauseStatusPayload_1 = require(\"./SyntheticsUpdateTestPauseStatusPayload\");\nvar SyntheticsVariableParser_1 = require(\"./SyntheticsVariableParser\");\nvar TableWidgetDefinition_1 = require(\"./TableWidgetDefinition\");\nvar TableWidgetRequest_1 = require(\"./TableWidgetRequest\");\nvar TagToHosts_1 = require(\"./TagToHosts\");\nvar TimeseriesWidgetDefinition_1 = require(\"./TimeseriesWidgetDefinition\");\nvar TimeseriesWidgetExpressionAlias_1 = require(\"./TimeseriesWidgetExpressionAlias\");\nvar TimeseriesWidgetRequest_1 = require(\"./TimeseriesWidgetRequest\");\nvar ToplistWidgetDefinition_1 = require(\"./ToplistWidgetDefinition\");\nvar ToplistWidgetRequest_1 = require(\"./ToplistWidgetRequest\");\nvar TreeMapWidgetDefinition_1 = require(\"./TreeMapWidgetDefinition\");\nvar TreeMapWidgetRequest_1 = require(\"./TreeMapWidgetRequest\");\nvar UsageAnalyzedLogsHour_1 = require(\"./UsageAnalyzedLogsHour\");\nvar UsageAnalyzedLogsResponse_1 = require(\"./UsageAnalyzedLogsResponse\");\nvar UsageAttributionAggregatesBody_1 = require(\"./UsageAttributionAggregatesBody\");\nvar UsageAttributionBody_1 = require(\"./UsageAttributionBody\");\nvar UsageAttributionMetadata_1 = require(\"./UsageAttributionMetadata\");\nvar UsageAttributionPagination_1 = require(\"./UsageAttributionPagination\");\nvar UsageAttributionResponse_1 = require(\"./UsageAttributionResponse\");\nvar UsageAttributionValues_1 = require(\"./UsageAttributionValues\");\nvar UsageAuditLogsHour_1 = require(\"./UsageAuditLogsHour\");\nvar UsageAuditLogsResponse_1 = require(\"./UsageAuditLogsResponse\");\nvar UsageBillableSummaryBody_1 = require(\"./UsageBillableSummaryBody\");\nvar UsageBillableSummaryHour_1 = require(\"./UsageBillableSummaryHour\");\nvar UsageBillableSummaryKeys_1 = require(\"./UsageBillableSummaryKeys\");\nvar UsageBillableSummaryResponse_1 = require(\"./UsageBillableSummaryResponse\");\nvar UsageCWSHour_1 = require(\"./UsageCWSHour\");\nvar UsageCWSResponse_1 = require(\"./UsageCWSResponse\");\nvar UsageCloudSecurityPostureManagementHour_1 = require(\"./UsageCloudSecurityPostureManagementHour\");\nvar UsageCloudSecurityPostureManagementResponse_1 = require(\"./UsageCloudSecurityPostureManagementResponse\");\nvar UsageCustomReportsAttributes_1 = require(\"./UsageCustomReportsAttributes\");\nvar UsageCustomReportsData_1 = require(\"./UsageCustomReportsData\");\nvar UsageCustomReportsMeta_1 = require(\"./UsageCustomReportsMeta\");\nvar UsageCustomReportsPage_1 = require(\"./UsageCustomReportsPage\");\nvar UsageCustomReportsResponse_1 = require(\"./UsageCustomReportsResponse\");\nvar UsageDBMHour_1 = require(\"./UsageDBMHour\");\nvar UsageDBMResponse_1 = require(\"./UsageDBMResponse\");\nvar UsageFargateHour_1 = require(\"./UsageFargateHour\");\nvar UsageFargateResponse_1 = require(\"./UsageFargateResponse\");\nvar UsageHostHour_1 = require(\"./UsageHostHour\");\nvar UsageHostsResponse_1 = require(\"./UsageHostsResponse\");\nvar UsageIncidentManagementHour_1 = require(\"./UsageIncidentManagementHour\");\nvar UsageIncidentManagementResponse_1 = require(\"./UsageIncidentManagementResponse\");\nvar UsageIndexedSpansHour_1 = require(\"./UsageIndexedSpansHour\");\nvar UsageIndexedSpansResponse_1 = require(\"./UsageIndexedSpansResponse\");\nvar UsageIngestedSpansHour_1 = require(\"./UsageIngestedSpansHour\");\nvar UsageIngestedSpansResponse_1 = require(\"./UsageIngestedSpansResponse\");\nvar UsageIoTHour_1 = require(\"./UsageIoTHour\");\nvar UsageIoTResponse_1 = require(\"./UsageIoTResponse\");\nvar UsageLambdaHour_1 = require(\"./UsageLambdaHour\");\nvar UsageLambdaResponse_1 = require(\"./UsageLambdaResponse\");\nvar UsageLogsByIndexHour_1 = require(\"./UsageLogsByIndexHour\");\nvar UsageLogsByIndexResponse_1 = require(\"./UsageLogsByIndexResponse\");\nvar UsageLogsByRetentionHour_1 = require(\"./UsageLogsByRetentionHour\");\nvar UsageLogsByRetentionResponse_1 = require(\"./UsageLogsByRetentionResponse\");\nvar UsageLogsHour_1 = require(\"./UsageLogsHour\");\nvar UsageLogsResponse_1 = require(\"./UsageLogsResponse\");\nvar UsageNetworkFlowsHour_1 = require(\"./UsageNetworkFlowsHour\");\nvar UsageNetworkFlowsResponse_1 = require(\"./UsageNetworkFlowsResponse\");\nvar UsageNetworkHostsHour_1 = require(\"./UsageNetworkHostsHour\");\nvar UsageNetworkHostsResponse_1 = require(\"./UsageNetworkHostsResponse\");\nvar UsageProfilingHour_1 = require(\"./UsageProfilingHour\");\nvar UsageProfilingResponse_1 = require(\"./UsageProfilingResponse\");\nvar UsageRumSessionsHour_1 = require(\"./UsageRumSessionsHour\");\nvar UsageRumSessionsResponse_1 = require(\"./UsageRumSessionsResponse\");\nvar UsageRumUnitsHour_1 = require(\"./UsageRumUnitsHour\");\nvar UsageRumUnitsResponse_1 = require(\"./UsageRumUnitsResponse\");\nvar UsageSDSHour_1 = require(\"./UsageSDSHour\");\nvar UsageSDSResponse_1 = require(\"./UsageSDSResponse\");\nvar UsageSNMPHour_1 = require(\"./UsageSNMPHour\");\nvar UsageSNMPResponse_1 = require(\"./UsageSNMPResponse\");\nvar UsageSpecifiedCustomReportsAttributes_1 = require(\"./UsageSpecifiedCustomReportsAttributes\");\nvar UsageSpecifiedCustomReportsData_1 = require(\"./UsageSpecifiedCustomReportsData\");\nvar UsageSpecifiedCustomReportsMeta_1 = require(\"./UsageSpecifiedCustomReportsMeta\");\nvar UsageSpecifiedCustomReportsPage_1 = require(\"./UsageSpecifiedCustomReportsPage\");\nvar UsageSpecifiedCustomReportsResponse_1 = require(\"./UsageSpecifiedCustomReportsResponse\");\nvar UsageSummaryDate_1 = require(\"./UsageSummaryDate\");\nvar UsageSummaryDateOrg_1 = require(\"./UsageSummaryDateOrg\");\nvar UsageSummaryResponse_1 = require(\"./UsageSummaryResponse\");\nvar UsageSyntheticsAPIHour_1 = require(\"./UsageSyntheticsAPIHour\");\nvar UsageSyntheticsAPIResponse_1 = require(\"./UsageSyntheticsAPIResponse\");\nvar UsageSyntheticsBrowserHour_1 = require(\"./UsageSyntheticsBrowserHour\");\nvar UsageSyntheticsBrowserResponse_1 = require(\"./UsageSyntheticsBrowserResponse\");\nvar UsageSyntheticsHour_1 = require(\"./UsageSyntheticsHour\");\nvar UsageSyntheticsResponse_1 = require(\"./UsageSyntheticsResponse\");\nvar UsageTimeseriesHour_1 = require(\"./UsageTimeseriesHour\");\nvar UsageTimeseriesResponse_1 = require(\"./UsageTimeseriesResponse\");\nvar UsageTopAvgMetricsHour_1 = require(\"./UsageTopAvgMetricsHour\");\nvar UsageTopAvgMetricsMetadata_1 = require(\"./UsageTopAvgMetricsMetadata\");\nvar UsageTopAvgMetricsResponse_1 = require(\"./UsageTopAvgMetricsResponse\");\nvar User_1 = require(\"./User\");\nvar UserDisableResponse_1 = require(\"./UserDisableResponse\");\nvar UserListResponse_1 = require(\"./UserListResponse\");\nvar UserResponse_1 = require(\"./UserResponse\");\nvar WebhooksIntegration_1 = require(\"./WebhooksIntegration\");\nvar WebhooksIntegrationCustomVariable_1 = require(\"./WebhooksIntegrationCustomVariable\");\nvar WebhooksIntegrationCustomVariableResponse_1 = require(\"./WebhooksIntegrationCustomVariableResponse\");\nvar WebhooksIntegrationCustomVariableUpdateRequest_1 = require(\"./WebhooksIntegrationCustomVariableUpdateRequest\");\nvar WebhooksIntegrationUpdateRequest_1 = require(\"./WebhooksIntegrationUpdateRequest\");\nvar Widget_1 = require(\"./Widget\");\nvar WidgetAxis_1 = require(\"./WidgetAxis\");\nvar WidgetConditionalFormat_1 = require(\"./WidgetConditionalFormat\");\nvar WidgetCustomLink_1 = require(\"./WidgetCustomLink\");\nvar WidgetEvent_1 = require(\"./WidgetEvent\");\nvar WidgetFieldSort_1 = require(\"./WidgetFieldSort\");\nvar WidgetFormula_1 = require(\"./WidgetFormula\");\nvar WidgetFormulaLimit_1 = require(\"./WidgetFormulaLimit\");\nvar WidgetLayout_1 = require(\"./WidgetLayout\");\nvar WidgetMarker_1 = require(\"./WidgetMarker\");\nvar WidgetRequestStyle_1 = require(\"./WidgetRequestStyle\");\nvar WidgetStyle_1 = require(\"./WidgetStyle\");\nvar WidgetTime_1 = require(\"./WidgetTime\");\nvar index_1 = require(\"../../../index\");\nvar primitives = [\n \"string\",\n \"boolean\",\n \"double\",\n \"integer\",\n \"long\",\n \"float\",\n \"number\",\n \"any\",\n];\nvar ARRAY_PREFIX = \"Array<\";\nvar MAP_PREFIX = \"{ [key: string]: \";\nvar supportedMediaTypes = {\n \"application/json\": Infinity,\n \"text/json\": 100,\n \"application/octet-stream\": 0,\n};\nvar enumsMap = {\n AWSNamespace: [\n \"elb\",\n \"application_elb\",\n \"sqs\",\n \"rds\",\n \"custom\",\n \"network_elb\",\n \"lambda\",\n ],\n AccessRole: [\"st\", \"adm\", \"ro\", \"ERROR\"],\n AlertGraphWidgetDefinitionType: [\"alert_graph\"],\n AlertValueWidgetDefinitionType: [\"alert_value\"],\n ApmStatsQueryRowType: [\"service\", \"resource\", \"span\"],\n ChangeWidgetDefinitionType: [\"change\"],\n CheckStatusWidgetDefinitionType: [\"check_status\"],\n ContentEncoding: [\"gzip\", \"deflate\"],\n DashboardLayoutType: [\"ordered\", \"free\"],\n DashboardReflowType: [\"auto\", \"fixed\"],\n DashboardResourceType: [\"dashboard\"],\n DistributionWidgetDefinitionType: [\"distribution\"],\n EventAlertType: [\n \"error\",\n \"warning\",\n \"info\",\n \"success\",\n \"user_update\",\n \"recommendation\",\n \"snapshot\",\n ],\n EventPriority: [\"normal\", \"low\"],\n EventStreamWidgetDefinitionType: [\"event_stream\"],\n EventTimelineWidgetDefinitionType: [\"event_timeline\"],\n FormulaAndFunctionApmDependencyStatName: [\n \"avg_duration\",\n \"avg_root_duration\",\n \"avg_spans_per_trace\",\n \"error_rate\",\n \"pct_exec_time\",\n \"pct_of_traces\",\n \"total_traces_count\",\n ],\n FormulaAndFunctionApmDependencyStatsDataSource: [\"apm_dependency_stats\"],\n FormulaAndFunctionApmResourceStatName: [\n \"errors\",\n \"error_rate\",\n \"hits\",\n \"latency_avg\",\n \"latency_max\",\n \"latency_p50\",\n \"latency_p75\",\n \"latency_p90\",\n \"latency_p95\",\n \"latency_p99\",\n ],\n FormulaAndFunctionApmResourceStatsDataSource: [\"apm_resource_stats\"],\n FormulaAndFunctionEventAggregation: [\n \"count\",\n \"cardinality\",\n \"median\",\n \"pc75\",\n \"pc90\",\n \"pc95\",\n \"pc98\",\n \"pc99\",\n \"sum\",\n \"min\",\n \"max\",\n \"avg\",\n ],\n FormulaAndFunctionEventsDataSource: [\n \"logs\",\n \"spans\",\n \"network\",\n \"rum\",\n \"security_signals\",\n \"profiles\",\n \"audit\",\n \"events\",\n ],\n FormulaAndFunctionMetricAggregation: [\n \"avg\",\n \"min\",\n \"max\",\n \"sum\",\n \"last\",\n \"area\",\n \"l2norm\",\n \"percentile\",\n ],\n FormulaAndFunctionMetricDataSource: [\"metrics\"],\n FormulaAndFunctionProcessQueryDataSource: [\"process\", \"container\"],\n FormulaAndFunctionResponseFormat: [\"timeseries\", \"scalar\"],\n FreeTextWidgetDefinitionType: [\"free_text\"],\n FunnelRequestType: [\"funnel\"],\n FunnelSource: [\"rum\"],\n FunnelWidgetDefinitionType: [\"funnel\"],\n GeomapWidgetDefinitionType: [\"geomap\"],\n GroupWidgetDefinitionType: [\"group\"],\n HTTPMethod: [\"GET\", \"POST\", \"PATCH\", \"PUT\", \"DELETE\", \"HEAD\", \"OPTIONS\"],\n HeatMapWidgetDefinitionType: [\"heatmap\"],\n HostMapWidgetDefinitionType: [\"hostmap\"],\n HourlyUsageAttributionUsageType: [\n \"api_usage\",\n \"apm_host_usage\",\n \"browser_usage\",\n \"container_usage\",\n \"custom_timeseries_usage\",\n \"estimated_indexed_logs_usage\",\n \"fargate_usage\",\n \"functions_usage\",\n \"indexed_logs_usage\",\n \"infra_host_usage\",\n \"invocations_usage\",\n \"npm_host_usage\",\n \"profiled_container_usage\",\n \"profiled_host_usage\",\n \"snmp_usage\",\n ],\n IFrameWidgetDefinitionType: [\"iframe\"],\n ImageWidgetDefinitionType: [\"image\"],\n ListStreamColumnWidth: [\"auto\", \"compact\", \"full\"],\n ListStreamResponseFormat: [\"event_list\"],\n ListStreamSource: [\"issue_stream\", \"logs_stream\", \"audit_stream\"],\n ListStreamWidgetDefinitionType: [\"list_stream\"],\n LogStreamWidgetDefinitionType: [\"log_stream\"],\n LogsArithmeticProcessorType: [\"arithmetic-processor\"],\n LogsAttributeRemapperType: [\"attribute-remapper\"],\n LogsCategoryProcessorType: [\"category-processor\"],\n LogsDateRemapperType: [\"date-remapper\"],\n LogsGeoIPParserType: [\"geo-ip-parser\"],\n LogsGrokParserType: [\"grok-parser\"],\n LogsLookupProcessorType: [\"lookup-processor\"],\n LogsMessageRemapperType: [\"message-remapper\"],\n LogsPipelineProcessorType: [\"pipeline\"],\n LogsServiceRemapperType: [\"service-remapper\"],\n LogsSort: [\"asc\", \"desc\"],\n LogsStatusRemapperType: [\"status-remapper\"],\n LogsStringBuilderProcessorType: [\"string-builder-processor\"],\n LogsTraceRemapperType: [\"trace-id-remapper\"],\n LogsURLParserType: [\"url-parser\"],\n LogsUserAgentParserType: [\"user-agent-parser\"],\n MetricContentEncoding: [\"deflate\"],\n MonitorDeviceID: [\n \"laptop_large\",\n \"tablet\",\n \"mobile_small\",\n \"chrome.laptop_large\",\n \"chrome.tablet\",\n \"chrome.mobile_small\",\n \"firefox.laptop_large\",\n \"firefox.tablet\",\n \"firefox.mobile_small\",\n ],\n MonitorFormulaAndFunctionEventAggregation: [\n \"count\",\n \"cardinality\",\n \"median\",\n \"pc75\",\n \"pc90\",\n \"pc95\",\n \"pc98\",\n \"pc99\",\n \"sum\",\n \"min\",\n \"max\",\n \"avg\",\n ],\n MonitorFormulaAndFunctionEventsDataSource: [\"rum\"],\n MonitorOverallStates: [\n \"Alert\",\n \"Ignored\",\n \"No Data\",\n \"OK\",\n \"Skipped\",\n \"Unknown\",\n \"Warn\",\n ],\n MonitorRenotifyStatusType: [\"alert\", \"warn\", \"no data\"],\n MonitorSummaryWidgetDefinitionType: [\"manage_status\"],\n MonitorType: [\n \"composite\",\n \"event alert\",\n \"log alert\",\n \"metric alert\",\n \"process alert\",\n \"query alert\",\n \"rum alert\",\n \"service check\",\n \"synthetics alert\",\n \"trace-analytics alert\",\n \"slo alert\",\n \"event-v2 alert\",\n \"audit alert\",\n \"ci-pipelines alert\",\n ],\n MonthlyUsageAttributionSupportedMetrics: [\n \"api_usage\",\n \"api_percentage\",\n \"apm_host_usage\",\n \"apm_host_percentage\",\n \"browser_usage\",\n \"browser_percentage\",\n \"container_usage\",\n \"container_percentage\",\n \"custom_timeseries_usage\",\n \"custom_timeseries_percentage\",\n \"estimated_indexed_logs_usage\",\n \"estimated_indexed_logs_percentage\",\n \"fargate_usage\",\n \"fargate_percentage\",\n \"functions_usage\",\n \"functions_percentage\",\n \"indexed_logs_usage\",\n \"indexed_logs_percentage\",\n \"infra_host_usage\",\n \"infra_host_percentage\",\n \"invocations_usage\",\n \"invocations_percentage\",\n \"npm_host_usage\",\n \"npm_host_percentage\",\n \"profiled_container_usage\",\n \"profiled_container_percentage\",\n \"profiled_host_usage\",\n \"profiled_host_percentage\",\n \"snmp_usage\",\n \"snmp_percentage\",\n \"*\",\n ],\n NoteWidgetDefinitionType: [\"note\"],\n NotebookCellResourceType: [\"notebook_cells\"],\n NotebookGraphSize: [\"xs\", \"s\", \"m\", \"l\", \"xl\"],\n NotebookMarkdownCellDefinitionType: [\"markdown\"],\n NotebookMetadataType: [\n \"postmortem\",\n \"runbook\",\n \"investigation\",\n \"documentation\",\n \"report\",\n ],\n NotebookResourceType: [\"notebooks\"],\n NotebookStatus: [\"published\"],\n QuerySortOrder: [\"asc\", \"desc\"],\n QueryValueWidgetDefinitionType: [\"query_value\"],\n SLOCorrectionCategory: [\n \"Scheduled Maintenance\",\n \"Outside Business Hours\",\n \"Deployment\",\n \"Other\",\n ],\n SLOCorrectionType: [\"correction\"],\n SLOErrorTimeframe: [\"7d\", \"30d\", \"90d\", \"all\"],\n SLOTimeframe: [\"7d\", \"30d\", \"90d\", \"custom\"],\n SLOType: [\"metric\", \"monitor\"],\n SLOTypeNumeric: [0, 1],\n SLOWidgetDefinitionType: [\"slo\"],\n ScatterPlotWidgetDefinitionType: [\"scatterplot\"],\n ScatterplotDimension: [\"x\", \"y\", \"radius\", \"color\"],\n ScatterplotWidgetAggregator: [\"avg\", \"last\", \"max\", \"min\", \"sum\"],\n ServiceCheckStatus: [0, 1, 2, 3],\n ServiceMapWidgetDefinitionType: [\"servicemap\"],\n ServiceSummaryWidgetDefinitionType: [\"trace_service\"],\n SunburstWidgetDefinitionType: [\"sunburst\"],\n SunburstWidgetLegendInlineAutomaticType: [\"inline\", \"automatic\"],\n SunburstWidgetLegendTableType: [\"table\", \"none\"],\n SyntheticsAPIStepSubtype: [\"http\"],\n SyntheticsAPITestType: [\"api\"],\n SyntheticsApiTestFailureCode: [\n \"BODY_TOO_LARGE\",\n \"DENIED\",\n \"TOO_MANY_REDIRECTS\",\n \"AUTHENTICATION_ERROR\",\n \"DECRYPTION\",\n \"INVALID_CHAR_IN_HEADER\",\n \"HEADER_TOO_LARGE\",\n \"HEADERS_INCOMPATIBLE_CONTENT_LENGTH\",\n \"INVALID_REQUEST\",\n \"REQUIRES_UPDATE\",\n \"UNESCAPED_CHARACTERS_IN_REQUEST_PATH\",\n \"MALFORMED_RESPONSE\",\n \"INCORRECT_ASSERTION\",\n \"CONNREFUSED\",\n \"CONNRESET\",\n \"DNS\",\n \"HOSTUNREACH\",\n \"NETUNREACH\",\n \"TIMEOUT\",\n \"SSL\",\n \"OCSP\",\n \"INVALID_TEST\",\n \"TUNNEL\",\n \"WEBSOCKET\",\n \"UNKNOWN\",\n \"INTERNAL_ERROR\",\n ],\n SyntheticsAssertionJSONPathOperator: [\"validatesJSONPath\"],\n SyntheticsAssertionOperator: [\n \"contains\",\n \"doesNotContain\",\n \"is\",\n \"isNot\",\n \"lessThan\",\n \"lessThanOrEqual\",\n \"moreThan\",\n \"moreThanOrEqual\",\n \"matches\",\n \"doesNotMatch\",\n \"validates\",\n \"isInMoreThan\",\n \"isInLessThan\",\n ],\n SyntheticsAssertionType: [\n \"body\",\n \"header\",\n \"statusCode\",\n \"certificate\",\n \"responseTime\",\n \"property\",\n \"recordEvery\",\n \"recordSome\",\n \"tlsVersion\",\n \"minTlsVersion\",\n \"latency\",\n \"packetLossPercentage\",\n \"packetsReceived\",\n \"networkHop\",\n \"receivedMessage\",\n ],\n SyntheticsBasicAuthNTLMType: [\"ntlm\"],\n SyntheticsBasicAuthSigv4Type: [\"sigv4\"],\n SyntheticsBasicAuthWebType: [\"web\"],\n SyntheticsBrowserErrorType: [\"network\", \"js\"],\n SyntheticsBrowserTestFailureCode: [\n \"API_REQUEST_FAILURE\",\n \"ASSERTION_FAILURE\",\n \"DOWNLOAD_FILE_TOO_LARGE\",\n \"ELEMENT_NOT_INTERACTABLE\",\n \"EMAIL_VARIABLE_NOT_DEFINED\",\n \"EVALUATE_JAVASCRIPT\",\n \"EVALUATE_JAVASCRIPT_CONTEXT\",\n \"EXTRACT_VARIABLE\",\n \"FORBIDDEN_URL\",\n \"FRAME_DETACHED\",\n \"INCONSISTENCIES\",\n \"INTERNAL_ERROR\",\n \"INVALID_TYPE_TEXT_DELAY\",\n \"INVALID_URL\",\n \"INVALID_VARIABLE_PATTERN\",\n \"INVISIBLE_ELEMENT\",\n \"LOCATE_ELEMENT\",\n \"NAVIGATE_TO_LINK\",\n \"OPEN_URL\",\n \"PRESS_KEY\",\n \"SERVER_CERTIFICATE\",\n \"SELECT_OPTION\",\n \"STEP_TIMEOUT\",\n \"SUB_TEST_NOT_PASSED\",\n \"TEST_TIMEOUT\",\n \"TOO_MANY_HTTP_REQUESTS\",\n \"UNAVAILABLE_BROWSER\",\n \"UNKNOWN\",\n \"UNSUPPORTED_AUTH_SCHEMA\",\n \"UPLOAD_FILES_ELEMENT_TYPE\",\n \"UPLOAD_FILES_DIALOG\",\n \"UPLOAD_FILES_DYNAMIC_ELEMENT\",\n \"UPLOAD_FILES_NAME\",\n ],\n SyntheticsBrowserTestType: [\"browser\"],\n SyntheticsBrowserVariableType: [\n \"element\",\n \"email\",\n \"global\",\n \"javascript\",\n \"text\",\n ],\n SyntheticsCheckType: [\n \"equals\",\n \"notEquals\",\n \"contains\",\n \"notContains\",\n \"startsWith\",\n \"notStartsWith\",\n \"greater\",\n \"lower\",\n \"greaterEquals\",\n \"lowerEquals\",\n \"matchRegex\",\n \"between\",\n \"isEmpty\",\n \"notIsEmpty\",\n ],\n SyntheticsConfigVariableType: [\"global\", \"text\"],\n SyntheticsDeviceID: [\n \"laptop_large\",\n \"tablet\",\n \"mobile_small\",\n \"chrome.laptop_large\",\n \"chrome.tablet\",\n \"chrome.mobile_small\",\n \"firefox.laptop_large\",\n \"firefox.tablet\",\n \"firefox.mobile_small\",\n \"edge.laptop_large\",\n \"edge.tablet\",\n \"edge.mobile_small\",\n ],\n SyntheticsGlobalVariableParseTestOptionsType: [\"http_body\", \"http_header\"],\n SyntheticsGlobalVariableParserType: [\"raw\", \"json_path\", \"regex\", \"x_path\"],\n SyntheticsPlayingTab: [-1, 0, 1, 2, 3],\n SyntheticsStatus: [\"passed\", \"skipped\", \"failed\"],\n SyntheticsStepType: [\n \"assertCurrentUrl\",\n \"assertElementAttribute\",\n \"assertElementContent\",\n \"assertElementPresent\",\n \"assertEmail\",\n \"assertFileDownload\",\n \"assertFromJavascript\",\n \"assertPageContains\",\n \"assertPageLacks\",\n \"click\",\n \"extractFromJavascript\",\n \"extractVariable\",\n \"goToEmailLink\",\n \"goToUrl\",\n \"goToUrlAndMeasureTti\",\n \"hover\",\n \"playSubTest\",\n \"pressKey\",\n \"refresh\",\n \"runApiTest\",\n \"scroll\",\n \"selectOption\",\n \"typeText\",\n \"uploadFiles\",\n \"wait\",\n ],\n SyntheticsTestDetailsSubType: [\n \"http\",\n \"ssl\",\n \"tcp\",\n \"dns\",\n \"multi\",\n \"icmp\",\n \"udp\",\n \"websocket\",\n ],\n SyntheticsTestDetailsType: [\"api\", \"browser\"],\n SyntheticsTestExecutionRule: [\"blocking\", \"non_blocking\", \"skipped\"],\n SyntheticsTestMonitorStatus: [0, 1, 2],\n SyntheticsTestPauseStatus: [\"live\", \"paused\"],\n SyntheticsTestProcessStatus: [\n \"not_scheduled\",\n \"scheduled\",\n \"started\",\n \"finished\",\n \"finished_with_error\",\n ],\n SyntheticsWarningType: [\"user_locator\"],\n TableWidgetCellDisplayMode: [\"number\", \"bar\"],\n TableWidgetDefinitionType: [\"query_table\"],\n TableWidgetHasSearchBar: [\"always\", \"never\", \"auto\"],\n TargetFormatType: [\"auto\", \"string\", \"integer\", \"double\"],\n TimeseriesWidgetDefinitionType: [\"timeseries\"],\n TimeseriesWidgetLegendColumn: [\"value\", \"avg\", \"sum\", \"min\", \"max\"],\n TimeseriesWidgetLegendLayout: [\"auto\", \"horizontal\", \"vertical\"],\n ToplistWidgetDefinitionType: [\"toplist\"],\n TreeMapColorBy: [\"user\"],\n TreeMapGroupBy: [\"user\", \"family\", \"process\"],\n TreeMapSizeBy: [\"pct_cpu\", \"pct_mem\"],\n TreeMapWidgetDefinitionType: [\"treemap\"],\n UsageAttributionSort: [\n \"api_percentage\",\n \"snmp_usage\",\n \"apm_host_usage\",\n \"api_usage\",\n \"container_usage\",\n \"custom_timeseries_percentage\",\n \"container_percentage\",\n \"apm_host_percentage\",\n \"npm_host_percentage\",\n \"browser_percentage\",\n \"browser_usage\",\n \"infra_host_percentage\",\n \"snmp_percentage\",\n \"npm_host_usage\",\n \"infra_host_usage\",\n \"custom_timeseries_usage\",\n \"lambda_functions_usage\",\n \"lambda_functions_percentage\",\n \"lambda_invocations_usage\",\n \"lambda_invocations_percentage\",\n \"lambda_usage\",\n \"lambda_percentage\",\n \"estimated_indexed_logs_usage\",\n \"estimated_indexed_logs_percentage\",\n ],\n UsageAttributionSupportedMetrics: [\n \"custom_timeseries_usage\",\n \"container_usage\",\n \"snmp_percentage\",\n \"apm_host_usage\",\n \"browser_usage\",\n \"npm_host_percentage\",\n \"infra_host_usage\",\n \"custom_timeseries_percentage\",\n \"container_percentage\",\n \"lambda_usage\",\n \"api_usage\",\n \"apm_host_percentage\",\n \"infra_host_percentage\",\n \"snmp_usage\",\n \"browser_percentage\",\n \"api_percentage\",\n \"lambda_percentage\",\n \"npm_host_usage\",\n \"lambda_functions_usage\",\n \"lambda_functions_percentage\",\n \"lambda_invocations_usage\",\n \"lambda_invocations_percentage\",\n \"fargate_usage\",\n \"fargate_percentage\",\n \"profiled_host_usage\",\n \"profiled_host_percentage\",\n \"profiled_container_usage\",\n \"profiled_container_percentage\",\n \"dbm_hosts_usage\",\n \"dbm_hosts_percentage\",\n \"dbm_queries_usage\",\n \"dbm_queries_percentage\",\n \"estimated_indexed_logs_usage\",\n \"estimated_indexed_logs_percentage\",\n \"*\",\n ],\n UsageMetricCategory: [\"standard\", \"custom\"],\n UsageReportsType: [\"reports\"],\n UsageSort: [\"computed_on\", \"size\", \"start_date\", \"end_date\"],\n UsageSortDirection: [\"desc\", \"asc\"],\n WebhooksIntegrationEncoding: [\"json\", \"form\"],\n WidgetAggregator: [\"avg\", \"last\", \"max\", \"min\", \"sum\", \"percentile\"],\n WidgetChangeType: [\"absolute\", \"relative\"],\n WidgetColorPreference: [\"background\", \"text\"],\n WidgetComparator: [\">\", \">=\", \"<\", \"<=\"],\n WidgetCompareTo: [\"hour_before\", \"day_before\", \"week_before\", \"month_before\"],\n WidgetDisplayType: [\"area\", \"bars\", \"line\"],\n WidgetEventSize: [\"s\", \"l\"],\n WidgetGrouping: [\"check\", \"cluster\"],\n WidgetHorizontalAlign: [\"center\", \"left\", \"right\"],\n WidgetImageSizing: [\n \"fill\",\n \"contain\",\n \"cover\",\n \"none\",\n \"scale-down\",\n \"zoom\",\n \"fit\",\n \"center\",\n ],\n WidgetLayoutType: [\"ordered\"],\n WidgetLineType: [\"dashed\", \"dotted\", \"solid\"],\n WidgetLineWidth: [\"normal\", \"thick\", \"thin\"],\n WidgetLiveSpan: [\n \"1m\",\n \"5m\",\n \"10m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \"4h\",\n \"1d\",\n \"2d\",\n \"1w\",\n \"1mo\",\n \"3mo\",\n \"6mo\",\n \"1y\",\n \"alert\",\n ],\n WidgetMargin: [\"sm\", \"md\", \"lg\", \"small\", \"large\"],\n WidgetMessageDisplay: [\"inline\", \"expanded-md\", \"expanded-lg\"],\n WidgetMonitorSummaryDisplayFormat: [\"counts\", \"countsAndList\", \"list\"],\n WidgetMonitorSummarySort: [\n \"name\",\n \"group\",\n \"status\",\n \"tags\",\n \"triggered\",\n \"group,asc\",\n \"group,desc\",\n \"name,asc\",\n \"name,desc\",\n \"status,asc\",\n \"status,desc\",\n \"tags,asc\",\n \"tags,desc\",\n \"triggered,asc\",\n \"triggered,desc\",\n ],\n WidgetNodeType: [\"host\", \"container\"],\n WidgetOrderBy: [\"change\", \"name\", \"present\", \"past\"],\n WidgetPalette: [\n \"blue\",\n \"custom_bg\",\n \"custom_image\",\n \"custom_text\",\n \"gray_on_white\",\n \"grey\",\n \"green\",\n \"orange\",\n \"red\",\n \"red_on_white\",\n \"white_on_gray\",\n \"white_on_green\",\n \"green_on_white\",\n \"white_on_red\",\n \"white_on_yellow\",\n \"yellow_on_white\",\n \"black_on_light_yellow\",\n \"black_on_light_green\",\n \"black_on_light_red\",\n ],\n WidgetServiceSummaryDisplayFormat: [\n \"one_column\",\n \"two_column\",\n \"three_column\",\n ],\n WidgetSizeFormat: [\"small\", \"medium\", \"large\"],\n WidgetSort: [\"asc\", \"desc\"],\n WidgetSummaryType: [\"monitors\", \"groups\", \"combined\"],\n WidgetTextAlign: [\"center\", \"left\", \"right\"],\n WidgetTickEdge: [\"bottom\", \"left\", \"right\", \"top\"],\n WidgetTimeWindows: [\n \"7d\",\n \"30d\",\n \"90d\",\n \"week_to_date\",\n \"previous_week\",\n \"month_to_date\",\n \"previous_month\",\n \"global_time\",\n ],\n WidgetVerticalAlign: [\"center\", \"top\", \"bottom\"],\n WidgetViewMode: [\"overall\", \"component\", \"both\"],\n WidgetVizType: [\"timeseries\", \"toplist\"],\n};\nvar typeMap = {\n APIErrorResponse: APIErrorResponse_1.APIErrorResponse,\n AWSAccount: AWSAccount_1.AWSAccount,\n AWSAccountAndLambdaRequest: AWSAccountAndLambdaRequest_1.AWSAccountAndLambdaRequest,\n AWSAccountCreateResponse: AWSAccountCreateResponse_1.AWSAccountCreateResponse,\n AWSAccountDeleteRequest: AWSAccountDeleteRequest_1.AWSAccountDeleteRequest,\n AWSAccountListResponse: AWSAccountListResponse_1.AWSAccountListResponse,\n AWSLogsAsyncError: AWSLogsAsyncError_1.AWSLogsAsyncError,\n AWSLogsAsyncResponse: AWSLogsAsyncResponse_1.AWSLogsAsyncResponse,\n AWSLogsLambda: AWSLogsLambda_1.AWSLogsLambda,\n AWSLogsListResponse: AWSLogsListResponse_1.AWSLogsListResponse,\n AWSLogsListServicesResponse: AWSLogsListServicesResponse_1.AWSLogsListServicesResponse,\n AWSLogsServicesRequest: AWSLogsServicesRequest_1.AWSLogsServicesRequest,\n AWSTagFilter: AWSTagFilter_1.AWSTagFilter,\n AWSTagFilterCreateRequest: AWSTagFilterCreateRequest_1.AWSTagFilterCreateRequest,\n AWSTagFilterDeleteRequest: AWSTagFilterDeleteRequest_1.AWSTagFilterDeleteRequest,\n AWSTagFilterListResponse: AWSTagFilterListResponse_1.AWSTagFilterListResponse,\n AlertGraphWidgetDefinition: AlertGraphWidgetDefinition_1.AlertGraphWidgetDefinition,\n AlertValueWidgetDefinition: AlertValueWidgetDefinition_1.AlertValueWidgetDefinition,\n ApiKey: ApiKey_1.ApiKey,\n ApiKeyListResponse: ApiKeyListResponse_1.ApiKeyListResponse,\n ApiKeyResponse: ApiKeyResponse_1.ApiKeyResponse,\n ApmStatsQueryColumnType: ApmStatsQueryColumnType_1.ApmStatsQueryColumnType,\n ApmStatsQueryDefinition: ApmStatsQueryDefinition_1.ApmStatsQueryDefinition,\n ApplicationKey: ApplicationKey_1.ApplicationKey,\n ApplicationKeyListResponse: ApplicationKeyListResponse_1.ApplicationKeyListResponse,\n ApplicationKeyResponse: ApplicationKeyResponse_1.ApplicationKeyResponse,\n AuthenticationValidationResponse: AuthenticationValidationResponse_1.AuthenticationValidationResponse,\n AzureAccount: AzureAccount_1.AzureAccount,\n CancelDowntimesByScopeRequest: CancelDowntimesByScopeRequest_1.CancelDowntimesByScopeRequest,\n CanceledDowntimesIds: CanceledDowntimesIds_1.CanceledDowntimesIds,\n ChangeWidgetDefinition: ChangeWidgetDefinition_1.ChangeWidgetDefinition,\n ChangeWidgetRequest: ChangeWidgetRequest_1.ChangeWidgetRequest,\n CheckCanDeleteMonitorResponse: CheckCanDeleteMonitorResponse_1.CheckCanDeleteMonitorResponse,\n CheckCanDeleteMonitorResponseData: CheckCanDeleteMonitorResponseData_1.CheckCanDeleteMonitorResponseData,\n CheckCanDeleteSLOResponse: CheckCanDeleteSLOResponse_1.CheckCanDeleteSLOResponse,\n CheckCanDeleteSLOResponseData: CheckCanDeleteSLOResponseData_1.CheckCanDeleteSLOResponseData,\n CheckStatusWidgetDefinition: CheckStatusWidgetDefinition_1.CheckStatusWidgetDefinition,\n Creator: Creator_1.Creator,\n Dashboard: Dashboard_1.Dashboard,\n DashboardBulkActionData: DashboardBulkActionData_1.DashboardBulkActionData,\n DashboardBulkDeleteRequest: DashboardBulkDeleteRequest_1.DashboardBulkDeleteRequest,\n DashboardDeleteResponse: DashboardDeleteResponse_1.DashboardDeleteResponse,\n DashboardList: DashboardList_1.DashboardList,\n DashboardListDeleteResponse: DashboardListDeleteResponse_1.DashboardListDeleteResponse,\n DashboardListListResponse: DashboardListListResponse_1.DashboardListListResponse,\n DashboardRestoreRequest: DashboardRestoreRequest_1.DashboardRestoreRequest,\n DashboardSummary: DashboardSummary_1.DashboardSummary,\n DashboardSummaryDefinition: DashboardSummaryDefinition_1.DashboardSummaryDefinition,\n DashboardTemplateVariable: DashboardTemplateVariable_1.DashboardTemplateVariable,\n DashboardTemplateVariablePreset: DashboardTemplateVariablePreset_1.DashboardTemplateVariablePreset,\n DashboardTemplateVariablePresetValue: DashboardTemplateVariablePresetValue_1.DashboardTemplateVariablePresetValue,\n DeletedMonitor: DeletedMonitor_1.DeletedMonitor,\n DistributionWidgetDefinition: DistributionWidgetDefinition_1.DistributionWidgetDefinition,\n DistributionWidgetRequest: DistributionWidgetRequest_1.DistributionWidgetRequest,\n DistributionWidgetXAxis: DistributionWidgetXAxis_1.DistributionWidgetXAxis,\n DistributionWidgetYAxis: DistributionWidgetYAxis_1.DistributionWidgetYAxis,\n Downtime: Downtime_1.Downtime,\n DowntimeChild: DowntimeChild_1.DowntimeChild,\n DowntimeRecurrence: DowntimeRecurrence_1.DowntimeRecurrence,\n Event: Event_1.Event,\n EventCreateRequest: EventCreateRequest_1.EventCreateRequest,\n EventCreateResponse: EventCreateResponse_1.EventCreateResponse,\n EventListResponse: EventListResponse_1.EventListResponse,\n EventQueryDefinition: EventQueryDefinition_1.EventQueryDefinition,\n EventResponse: EventResponse_1.EventResponse,\n EventStreamWidgetDefinition: EventStreamWidgetDefinition_1.EventStreamWidgetDefinition,\n EventTimelineWidgetDefinition: EventTimelineWidgetDefinition_1.EventTimelineWidgetDefinition,\n FormulaAndFunctionApmDependencyStatsQueryDefinition: FormulaAndFunctionApmDependencyStatsQueryDefinition_1.FormulaAndFunctionApmDependencyStatsQueryDefinition,\n FormulaAndFunctionApmResourceStatsQueryDefinition: FormulaAndFunctionApmResourceStatsQueryDefinition_1.FormulaAndFunctionApmResourceStatsQueryDefinition,\n FormulaAndFunctionEventQueryDefinition: FormulaAndFunctionEventQueryDefinition_1.FormulaAndFunctionEventQueryDefinition,\n FormulaAndFunctionEventQueryDefinitionCompute: FormulaAndFunctionEventQueryDefinitionCompute_1.FormulaAndFunctionEventQueryDefinitionCompute,\n FormulaAndFunctionEventQueryDefinitionSearch: FormulaAndFunctionEventQueryDefinitionSearch_1.FormulaAndFunctionEventQueryDefinitionSearch,\n FormulaAndFunctionEventQueryGroupBy: FormulaAndFunctionEventQueryGroupBy_1.FormulaAndFunctionEventQueryGroupBy,\n FormulaAndFunctionEventQueryGroupBySort: FormulaAndFunctionEventQueryGroupBySort_1.FormulaAndFunctionEventQueryGroupBySort,\n FormulaAndFunctionMetricQueryDefinition: FormulaAndFunctionMetricQueryDefinition_1.FormulaAndFunctionMetricQueryDefinition,\n FormulaAndFunctionProcessQueryDefinition: FormulaAndFunctionProcessQueryDefinition_1.FormulaAndFunctionProcessQueryDefinition,\n FreeTextWidgetDefinition: FreeTextWidgetDefinition_1.FreeTextWidgetDefinition,\n FunnelQuery: FunnelQuery_1.FunnelQuery,\n FunnelStep: FunnelStep_1.FunnelStep,\n FunnelWidgetDefinition: FunnelWidgetDefinition_1.FunnelWidgetDefinition,\n FunnelWidgetRequest: FunnelWidgetRequest_1.FunnelWidgetRequest,\n GCPAccount: GCPAccount_1.GCPAccount,\n GeomapWidgetDefinition: GeomapWidgetDefinition_1.GeomapWidgetDefinition,\n GeomapWidgetDefinitionStyle: GeomapWidgetDefinitionStyle_1.GeomapWidgetDefinitionStyle,\n GeomapWidgetDefinitionView: GeomapWidgetDefinitionView_1.GeomapWidgetDefinitionView,\n GeomapWidgetRequest: GeomapWidgetRequest_1.GeomapWidgetRequest,\n GraphSnapshot: GraphSnapshot_1.GraphSnapshot,\n GroupWidgetDefinition: GroupWidgetDefinition_1.GroupWidgetDefinition,\n HTTPLogError: HTTPLogError_1.HTTPLogError,\n HTTPLogItem: HTTPLogItem_1.HTTPLogItem,\n HeatMapWidgetDefinition: HeatMapWidgetDefinition_1.HeatMapWidgetDefinition,\n HeatMapWidgetRequest: HeatMapWidgetRequest_1.HeatMapWidgetRequest,\n Host: Host_1.Host,\n HostListResponse: HostListResponse_1.HostListResponse,\n HostMapRequest: HostMapRequest_1.HostMapRequest,\n HostMapWidgetDefinition: HostMapWidgetDefinition_1.HostMapWidgetDefinition,\n HostMapWidgetDefinitionRequests: HostMapWidgetDefinitionRequests_1.HostMapWidgetDefinitionRequests,\n HostMapWidgetDefinitionStyle: HostMapWidgetDefinitionStyle_1.HostMapWidgetDefinitionStyle,\n HostMeta: HostMeta_1.HostMeta,\n HostMetaInstallMethod: HostMetaInstallMethod_1.HostMetaInstallMethod,\n HostMetrics: HostMetrics_1.HostMetrics,\n HostMuteResponse: HostMuteResponse_1.HostMuteResponse,\n HostMuteSettings: HostMuteSettings_1.HostMuteSettings,\n HostTags: HostTags_1.HostTags,\n HostTotals: HostTotals_1.HostTotals,\n HourlyUsageAttributionBody: HourlyUsageAttributionBody_1.HourlyUsageAttributionBody,\n HourlyUsageAttributionMetadata: HourlyUsageAttributionMetadata_1.HourlyUsageAttributionMetadata,\n HourlyUsageAttributionPagination: HourlyUsageAttributionPagination_1.HourlyUsageAttributionPagination,\n HourlyUsageAttributionResponse: HourlyUsageAttributionResponse_1.HourlyUsageAttributionResponse,\n IFrameWidgetDefinition: IFrameWidgetDefinition_1.IFrameWidgetDefinition,\n IPPrefixesAPI: IPPrefixesAPI_1.IPPrefixesAPI,\n IPPrefixesAPM: IPPrefixesAPM_1.IPPrefixesAPM,\n IPPrefixesAgents: IPPrefixesAgents_1.IPPrefixesAgents,\n IPPrefixesLogs: IPPrefixesLogs_1.IPPrefixesLogs,\n IPPrefixesProcess: IPPrefixesProcess_1.IPPrefixesProcess,\n IPPrefixesSynthetics: IPPrefixesSynthetics_1.IPPrefixesSynthetics,\n IPPrefixesWebhooks: IPPrefixesWebhooks_1.IPPrefixesWebhooks,\n IPRanges: IPRanges_1.IPRanges,\n IdpFormData: IdpFormData_1.IdpFormData,\n IdpResponse: IdpResponse_1.IdpResponse,\n ImageWidgetDefinition: ImageWidgetDefinition_1.ImageWidgetDefinition,\n IntakePayloadAccepted: IntakePayloadAccepted_1.IntakePayloadAccepted,\n ListStreamColumn: ListStreamColumn_1.ListStreamColumn,\n ListStreamQuery: ListStreamQuery_1.ListStreamQuery,\n ListStreamWidgetDefinition: ListStreamWidgetDefinition_1.ListStreamWidgetDefinition,\n ListStreamWidgetRequest: ListStreamWidgetRequest_1.ListStreamWidgetRequest,\n Log: Log_1.Log,\n LogContent: LogContent_1.LogContent,\n LogQueryDefinition: LogQueryDefinition_1.LogQueryDefinition,\n LogQueryDefinitionGroupBy: LogQueryDefinitionGroupBy_1.LogQueryDefinitionGroupBy,\n LogQueryDefinitionGroupBySort: LogQueryDefinitionGroupBySort_1.LogQueryDefinitionGroupBySort,\n LogQueryDefinitionSearch: LogQueryDefinitionSearch_1.LogQueryDefinitionSearch,\n LogStreamWidgetDefinition: LogStreamWidgetDefinition_1.LogStreamWidgetDefinition,\n LogsAPIError: LogsAPIError_1.LogsAPIError,\n LogsAPIErrorResponse: LogsAPIErrorResponse_1.LogsAPIErrorResponse,\n LogsArithmeticProcessor: LogsArithmeticProcessor_1.LogsArithmeticProcessor,\n LogsAttributeRemapper: LogsAttributeRemapper_1.LogsAttributeRemapper,\n LogsByRetention: LogsByRetention_1.LogsByRetention,\n LogsByRetentionMonthlyUsage: LogsByRetentionMonthlyUsage_1.LogsByRetentionMonthlyUsage,\n LogsByRetentionOrgUsage: LogsByRetentionOrgUsage_1.LogsByRetentionOrgUsage,\n LogsByRetentionOrgs: LogsByRetentionOrgs_1.LogsByRetentionOrgs,\n LogsCategoryProcessor: LogsCategoryProcessor_1.LogsCategoryProcessor,\n LogsCategoryProcessorCategory: LogsCategoryProcessorCategory_1.LogsCategoryProcessorCategory,\n LogsDateRemapper: LogsDateRemapper_1.LogsDateRemapper,\n LogsExclusion: LogsExclusion_1.LogsExclusion,\n LogsExclusionFilter: LogsExclusionFilter_1.LogsExclusionFilter,\n LogsFilter: LogsFilter_1.LogsFilter,\n LogsGeoIPParser: LogsGeoIPParser_1.LogsGeoIPParser,\n LogsGrokParser: LogsGrokParser_1.LogsGrokParser,\n LogsGrokParserRules: LogsGrokParserRules_1.LogsGrokParserRules,\n LogsIndex: LogsIndex_1.LogsIndex,\n LogsIndexListResponse: LogsIndexListResponse_1.LogsIndexListResponse,\n LogsIndexUpdateRequest: LogsIndexUpdateRequest_1.LogsIndexUpdateRequest,\n LogsIndexesOrder: LogsIndexesOrder_1.LogsIndexesOrder,\n LogsListRequest: LogsListRequest_1.LogsListRequest,\n LogsListRequestTime: LogsListRequestTime_1.LogsListRequestTime,\n LogsListResponse: LogsListResponse_1.LogsListResponse,\n LogsLookupProcessor: LogsLookupProcessor_1.LogsLookupProcessor,\n LogsMessageRemapper: LogsMessageRemapper_1.LogsMessageRemapper,\n LogsPipeline: LogsPipeline_1.LogsPipeline,\n LogsPipelineProcessor: LogsPipelineProcessor_1.LogsPipelineProcessor,\n LogsPipelinesOrder: LogsPipelinesOrder_1.LogsPipelinesOrder,\n LogsQueryCompute: LogsQueryCompute_1.LogsQueryCompute,\n LogsRetentionAggSumUsage: LogsRetentionAggSumUsage_1.LogsRetentionAggSumUsage,\n LogsRetentionSumUsage: LogsRetentionSumUsage_1.LogsRetentionSumUsage,\n LogsServiceRemapper: LogsServiceRemapper_1.LogsServiceRemapper,\n LogsStatusRemapper: LogsStatusRemapper_1.LogsStatusRemapper,\n LogsStringBuilderProcessor: LogsStringBuilderProcessor_1.LogsStringBuilderProcessor,\n LogsTraceRemapper: LogsTraceRemapper_1.LogsTraceRemapper,\n LogsURLParser: LogsURLParser_1.LogsURLParser,\n LogsUserAgentParser: LogsUserAgentParser_1.LogsUserAgentParser,\n MetricMetadata: MetricMetadata_1.MetricMetadata,\n MetricSearchResponse: MetricSearchResponse_1.MetricSearchResponse,\n MetricSearchResponseResults: MetricSearchResponseResults_1.MetricSearchResponseResults,\n MetricsListResponse: MetricsListResponse_1.MetricsListResponse,\n MetricsPayload: MetricsPayload_1.MetricsPayload,\n MetricsQueryMetadata: MetricsQueryMetadata_1.MetricsQueryMetadata,\n MetricsQueryResponse: MetricsQueryResponse_1.MetricsQueryResponse,\n MetricsQueryUnit: MetricsQueryUnit_1.MetricsQueryUnit,\n Monitor: Monitor_1.Monitor,\n MonitorFormulaAndFunctionEventQueryDefinition: MonitorFormulaAndFunctionEventQueryDefinition_1.MonitorFormulaAndFunctionEventQueryDefinition,\n MonitorFormulaAndFunctionEventQueryDefinitionCompute: MonitorFormulaAndFunctionEventQueryDefinitionCompute_1.MonitorFormulaAndFunctionEventQueryDefinitionCompute,\n MonitorFormulaAndFunctionEventQueryDefinitionSearch: MonitorFormulaAndFunctionEventQueryDefinitionSearch_1.MonitorFormulaAndFunctionEventQueryDefinitionSearch,\n MonitorFormulaAndFunctionEventQueryGroupBy: MonitorFormulaAndFunctionEventQueryGroupBy_1.MonitorFormulaAndFunctionEventQueryGroupBy,\n MonitorFormulaAndFunctionEventQueryGroupBySort: MonitorFormulaAndFunctionEventQueryGroupBySort_1.MonitorFormulaAndFunctionEventQueryGroupBySort,\n MonitorGroupSearchResponse: MonitorGroupSearchResponse_1.MonitorGroupSearchResponse,\n MonitorGroupSearchResponseCounts: MonitorGroupSearchResponseCounts_1.MonitorGroupSearchResponseCounts,\n MonitorGroupSearchResult: MonitorGroupSearchResult_1.MonitorGroupSearchResult,\n MonitorOptions: MonitorOptions_1.MonitorOptions,\n MonitorOptionsAggregation: MonitorOptionsAggregation_1.MonitorOptionsAggregation,\n MonitorSearchResponse: MonitorSearchResponse_1.MonitorSearchResponse,\n MonitorSearchResponseCounts: MonitorSearchResponseCounts_1.MonitorSearchResponseCounts,\n MonitorSearchResponseMetadata: MonitorSearchResponseMetadata_1.MonitorSearchResponseMetadata,\n MonitorSearchResult: MonitorSearchResult_1.MonitorSearchResult,\n MonitorSearchResultNotification: MonitorSearchResultNotification_1.MonitorSearchResultNotification,\n MonitorState: MonitorState_1.MonitorState,\n MonitorStateGroup: MonitorStateGroup_1.MonitorStateGroup,\n MonitorSummaryWidgetDefinition: MonitorSummaryWidgetDefinition_1.MonitorSummaryWidgetDefinition,\n MonitorThresholdWindowOptions: MonitorThresholdWindowOptions_1.MonitorThresholdWindowOptions,\n MonitorThresholds: MonitorThresholds_1.MonitorThresholds,\n MonitorUpdateRequest: MonitorUpdateRequest_1.MonitorUpdateRequest,\n MonthlyUsageAttributionBody: MonthlyUsageAttributionBody_1.MonthlyUsageAttributionBody,\n MonthlyUsageAttributionMetadata: MonthlyUsageAttributionMetadata_1.MonthlyUsageAttributionMetadata,\n MonthlyUsageAttributionPagination: MonthlyUsageAttributionPagination_1.MonthlyUsageAttributionPagination,\n MonthlyUsageAttributionResponse: MonthlyUsageAttributionResponse_1.MonthlyUsageAttributionResponse,\n MonthlyUsageAttributionValues: MonthlyUsageAttributionValues_1.MonthlyUsageAttributionValues,\n NoteWidgetDefinition: NoteWidgetDefinition_1.NoteWidgetDefinition,\n NotebookAbsoluteTime: NotebookAbsoluteTime_1.NotebookAbsoluteTime,\n NotebookAuthor: NotebookAuthor_1.NotebookAuthor,\n NotebookCellCreateRequest: NotebookCellCreateRequest_1.NotebookCellCreateRequest,\n NotebookCellResponse: NotebookCellResponse_1.NotebookCellResponse,\n NotebookCellUpdateRequest: NotebookCellUpdateRequest_1.NotebookCellUpdateRequest,\n NotebookCreateData: NotebookCreateData_1.NotebookCreateData,\n NotebookCreateDataAttributes: NotebookCreateDataAttributes_1.NotebookCreateDataAttributes,\n NotebookCreateRequest: NotebookCreateRequest_1.NotebookCreateRequest,\n NotebookDistributionCellAttributes: NotebookDistributionCellAttributes_1.NotebookDistributionCellAttributes,\n NotebookHeatMapCellAttributes: NotebookHeatMapCellAttributes_1.NotebookHeatMapCellAttributes,\n NotebookLogStreamCellAttributes: NotebookLogStreamCellAttributes_1.NotebookLogStreamCellAttributes,\n NotebookMarkdownCellAttributes: NotebookMarkdownCellAttributes_1.NotebookMarkdownCellAttributes,\n NotebookMarkdownCellDefinition: NotebookMarkdownCellDefinition_1.NotebookMarkdownCellDefinition,\n NotebookMetadata: NotebookMetadata_1.NotebookMetadata,\n NotebookRelativeTime: NotebookRelativeTime_1.NotebookRelativeTime,\n NotebookResponse: NotebookResponse_1.NotebookResponse,\n NotebookResponseData: NotebookResponseData_1.NotebookResponseData,\n NotebookResponseDataAttributes: NotebookResponseDataAttributes_1.NotebookResponseDataAttributes,\n NotebookSplitBy: NotebookSplitBy_1.NotebookSplitBy,\n NotebookTimeseriesCellAttributes: NotebookTimeseriesCellAttributes_1.NotebookTimeseriesCellAttributes,\n NotebookToplistCellAttributes: NotebookToplistCellAttributes_1.NotebookToplistCellAttributes,\n NotebookUpdateData: NotebookUpdateData_1.NotebookUpdateData,\n NotebookUpdateDataAttributes: NotebookUpdateDataAttributes_1.NotebookUpdateDataAttributes,\n NotebookUpdateRequest: NotebookUpdateRequest_1.NotebookUpdateRequest,\n NotebooksResponse: NotebooksResponse_1.NotebooksResponse,\n NotebooksResponseData: NotebooksResponseData_1.NotebooksResponseData,\n NotebooksResponseDataAttributes: NotebooksResponseDataAttributes_1.NotebooksResponseDataAttributes,\n NotebooksResponseMeta: NotebooksResponseMeta_1.NotebooksResponseMeta,\n NotebooksResponsePage: NotebooksResponsePage_1.NotebooksResponsePage,\n Organization: Organization_1.Organization,\n OrganizationBilling: OrganizationBilling_1.OrganizationBilling,\n OrganizationCreateBody: OrganizationCreateBody_1.OrganizationCreateBody,\n OrganizationCreateResponse: OrganizationCreateResponse_1.OrganizationCreateResponse,\n OrganizationListResponse: OrganizationListResponse_1.OrganizationListResponse,\n OrganizationResponse: OrganizationResponse_1.OrganizationResponse,\n OrganizationSettings: OrganizationSettings_1.OrganizationSettings,\n OrganizationSettingsSaml: OrganizationSettingsSaml_1.OrganizationSettingsSaml,\n OrganizationSettingsSamlAutocreateUsersDomains: OrganizationSettingsSamlAutocreateUsersDomains_1.OrganizationSettingsSamlAutocreateUsersDomains,\n OrganizationSettingsSamlIdpInitiatedLogin: OrganizationSettingsSamlIdpInitiatedLogin_1.OrganizationSettingsSamlIdpInitiatedLogin,\n OrganizationSettingsSamlStrictMode: OrganizationSettingsSamlStrictMode_1.OrganizationSettingsSamlStrictMode,\n OrganizationSubscription: OrganizationSubscription_1.OrganizationSubscription,\n PagerDutyService: PagerDutyService_1.PagerDutyService,\n PagerDutyServiceKey: PagerDutyServiceKey_1.PagerDutyServiceKey,\n PagerDutyServiceName: PagerDutyServiceName_1.PagerDutyServiceName,\n Pagination: Pagination_1.Pagination,\n ProcessQueryDefinition: ProcessQueryDefinition_1.ProcessQueryDefinition,\n QueryValueWidgetDefinition: QueryValueWidgetDefinition_1.QueryValueWidgetDefinition,\n QueryValueWidgetRequest: QueryValueWidgetRequest_1.QueryValueWidgetRequest,\n ResponseMetaAttributes: ResponseMetaAttributes_1.ResponseMetaAttributes,\n SLOBulkDeleteError: SLOBulkDeleteError_1.SLOBulkDeleteError,\n SLOBulkDeleteResponse: SLOBulkDeleteResponse_1.SLOBulkDeleteResponse,\n SLOBulkDeleteResponseData: SLOBulkDeleteResponseData_1.SLOBulkDeleteResponseData,\n SLOCorrection: SLOCorrection_1.SLOCorrection,\n SLOCorrectionCreateData: SLOCorrectionCreateData_1.SLOCorrectionCreateData,\n SLOCorrectionCreateRequest: SLOCorrectionCreateRequest_1.SLOCorrectionCreateRequest,\n SLOCorrectionCreateRequestAttributes: SLOCorrectionCreateRequestAttributes_1.SLOCorrectionCreateRequestAttributes,\n SLOCorrectionListResponse: SLOCorrectionListResponse_1.SLOCorrectionListResponse,\n SLOCorrectionResponse: SLOCorrectionResponse_1.SLOCorrectionResponse,\n SLOCorrectionResponseAttributes: SLOCorrectionResponseAttributes_1.SLOCorrectionResponseAttributes,\n SLOCorrectionResponseAttributesModifier: SLOCorrectionResponseAttributesModifier_1.SLOCorrectionResponseAttributesModifier,\n SLOCorrectionUpdateData: SLOCorrectionUpdateData_1.SLOCorrectionUpdateData,\n SLOCorrectionUpdateRequest: SLOCorrectionUpdateRequest_1.SLOCorrectionUpdateRequest,\n SLOCorrectionUpdateRequestAttributes: SLOCorrectionUpdateRequestAttributes_1.SLOCorrectionUpdateRequestAttributes,\n SLODeleteResponse: SLODeleteResponse_1.SLODeleteResponse,\n SLOHistoryMetrics: SLOHistoryMetrics_1.SLOHistoryMetrics,\n SLOHistoryMetricsSeries: SLOHistoryMetricsSeries_1.SLOHistoryMetricsSeries,\n SLOHistoryMetricsSeriesMetadata: SLOHistoryMetricsSeriesMetadata_1.SLOHistoryMetricsSeriesMetadata,\n SLOHistoryMetricsSeriesMetadataUnit: SLOHistoryMetricsSeriesMetadataUnit_1.SLOHistoryMetricsSeriesMetadataUnit,\n SLOHistoryMonitor: SLOHistoryMonitor_1.SLOHistoryMonitor,\n SLOHistoryResponse: SLOHistoryResponse_1.SLOHistoryResponse,\n SLOHistoryResponseData: SLOHistoryResponseData_1.SLOHistoryResponseData,\n SLOHistoryResponseError: SLOHistoryResponseError_1.SLOHistoryResponseError,\n SLOHistoryResponseErrorWithType: SLOHistoryResponseErrorWithType_1.SLOHistoryResponseErrorWithType,\n SLOHistorySLIData: SLOHistorySLIData_1.SLOHistorySLIData,\n SLOListResponse: SLOListResponse_1.SLOListResponse,\n SLOListResponseMetadata: SLOListResponseMetadata_1.SLOListResponseMetadata,\n SLOListResponseMetadataPage: SLOListResponseMetadataPage_1.SLOListResponseMetadataPage,\n SLOResponse: SLOResponse_1.SLOResponse,\n SLOResponseData: SLOResponseData_1.SLOResponseData,\n SLOThreshold: SLOThreshold_1.SLOThreshold,\n SLOWidgetDefinition: SLOWidgetDefinition_1.SLOWidgetDefinition,\n ScatterPlotRequest: ScatterPlotRequest_1.ScatterPlotRequest,\n ScatterPlotWidgetDefinition: ScatterPlotWidgetDefinition_1.ScatterPlotWidgetDefinition,\n ScatterPlotWidgetDefinitionRequests: ScatterPlotWidgetDefinitionRequests_1.ScatterPlotWidgetDefinitionRequests,\n ScatterplotTableRequest: ScatterplotTableRequest_1.ScatterplotTableRequest,\n ScatterplotWidgetFormula: ScatterplotWidgetFormula_1.ScatterplotWidgetFormula,\n Series: Series_1.Series,\n ServiceCheck: ServiceCheck_1.ServiceCheck,\n ServiceLevelObjective: ServiceLevelObjective_1.ServiceLevelObjective,\n ServiceLevelObjectiveQuery: ServiceLevelObjectiveQuery_1.ServiceLevelObjectiveQuery,\n ServiceLevelObjectiveRequest: ServiceLevelObjectiveRequest_1.ServiceLevelObjectiveRequest,\n ServiceMapWidgetDefinition: ServiceMapWidgetDefinition_1.ServiceMapWidgetDefinition,\n ServiceSummaryWidgetDefinition: ServiceSummaryWidgetDefinition_1.ServiceSummaryWidgetDefinition,\n SlackIntegrationChannel: SlackIntegrationChannel_1.SlackIntegrationChannel,\n SlackIntegrationChannelDisplay: SlackIntegrationChannelDisplay_1.SlackIntegrationChannelDisplay,\n SunburstWidgetDefinition: SunburstWidgetDefinition_1.SunburstWidgetDefinition,\n SunburstWidgetLegendInlineAutomatic: SunburstWidgetLegendInlineAutomatic_1.SunburstWidgetLegendInlineAutomatic,\n SunburstWidgetLegendTable: SunburstWidgetLegendTable_1.SunburstWidgetLegendTable,\n SunburstWidgetRequest: SunburstWidgetRequest_1.SunburstWidgetRequest,\n SyntheticsAPIStep: SyntheticsAPIStep_1.SyntheticsAPIStep,\n SyntheticsAPITest: SyntheticsAPITest_1.SyntheticsAPITest,\n SyntheticsAPITestConfig: SyntheticsAPITestConfig_1.SyntheticsAPITestConfig,\n SyntheticsAPITestResultData: SyntheticsAPITestResultData_1.SyntheticsAPITestResultData,\n SyntheticsAPITestResultFull: SyntheticsAPITestResultFull_1.SyntheticsAPITestResultFull,\n SyntheticsAPITestResultFullCheck: SyntheticsAPITestResultFullCheck_1.SyntheticsAPITestResultFullCheck,\n SyntheticsAPITestResultShort: SyntheticsAPITestResultShort_1.SyntheticsAPITestResultShort,\n SyntheticsAPITestResultShortResult: SyntheticsAPITestResultShortResult_1.SyntheticsAPITestResultShortResult,\n SyntheticsApiTestResultFailure: SyntheticsApiTestResultFailure_1.SyntheticsApiTestResultFailure,\n SyntheticsAssertionJSONPathTarget: SyntheticsAssertionJSONPathTarget_1.SyntheticsAssertionJSONPathTarget,\n SyntheticsAssertionJSONPathTargetTarget: SyntheticsAssertionJSONPathTargetTarget_1.SyntheticsAssertionJSONPathTargetTarget,\n SyntheticsAssertionTarget: SyntheticsAssertionTarget_1.SyntheticsAssertionTarget,\n SyntheticsBasicAuthNTLM: SyntheticsBasicAuthNTLM_1.SyntheticsBasicAuthNTLM,\n SyntheticsBasicAuthSigv4: SyntheticsBasicAuthSigv4_1.SyntheticsBasicAuthSigv4,\n SyntheticsBasicAuthWeb: SyntheticsBasicAuthWeb_1.SyntheticsBasicAuthWeb,\n SyntheticsBatchDetails: SyntheticsBatchDetails_1.SyntheticsBatchDetails,\n SyntheticsBatchDetailsData: SyntheticsBatchDetailsData_1.SyntheticsBatchDetailsData,\n SyntheticsBatchResult: SyntheticsBatchResult_1.SyntheticsBatchResult,\n SyntheticsBrowserError: SyntheticsBrowserError_1.SyntheticsBrowserError,\n SyntheticsBrowserTest: SyntheticsBrowserTest_1.SyntheticsBrowserTest,\n SyntheticsBrowserTestConfig: SyntheticsBrowserTestConfig_1.SyntheticsBrowserTestConfig,\n SyntheticsBrowserTestResultData: SyntheticsBrowserTestResultData_1.SyntheticsBrowserTestResultData,\n SyntheticsBrowserTestResultFailure: SyntheticsBrowserTestResultFailure_1.SyntheticsBrowserTestResultFailure,\n SyntheticsBrowserTestResultFull: SyntheticsBrowserTestResultFull_1.SyntheticsBrowserTestResultFull,\n SyntheticsBrowserTestResultFullCheck: SyntheticsBrowserTestResultFullCheck_1.SyntheticsBrowserTestResultFullCheck,\n SyntheticsBrowserTestResultShort: SyntheticsBrowserTestResultShort_1.SyntheticsBrowserTestResultShort,\n SyntheticsBrowserTestResultShortResult: SyntheticsBrowserTestResultShortResult_1.SyntheticsBrowserTestResultShortResult,\n SyntheticsBrowserVariable: SyntheticsBrowserVariable_1.SyntheticsBrowserVariable,\n SyntheticsCIBatchMetadata: SyntheticsCIBatchMetadata_1.SyntheticsCIBatchMetadata,\n SyntheticsCIBatchMetadataCI: SyntheticsCIBatchMetadataCI_1.SyntheticsCIBatchMetadataCI,\n SyntheticsCIBatchMetadataGit: SyntheticsCIBatchMetadataGit_1.SyntheticsCIBatchMetadataGit,\n SyntheticsCIBatchMetadataPipeline: SyntheticsCIBatchMetadataPipeline_1.SyntheticsCIBatchMetadataPipeline,\n SyntheticsCIBatchMetadataProvider: SyntheticsCIBatchMetadataProvider_1.SyntheticsCIBatchMetadataProvider,\n SyntheticsCITest: SyntheticsCITest_1.SyntheticsCITest,\n SyntheticsCITestBody: SyntheticsCITestBody_1.SyntheticsCITestBody,\n SyntheticsConfigVariable: SyntheticsConfigVariable_1.SyntheticsConfigVariable,\n SyntheticsCoreWebVitals: SyntheticsCoreWebVitals_1.SyntheticsCoreWebVitals,\n SyntheticsDeleteTestsPayload: SyntheticsDeleteTestsPayload_1.SyntheticsDeleteTestsPayload,\n SyntheticsDeleteTestsResponse: SyntheticsDeleteTestsResponse_1.SyntheticsDeleteTestsResponse,\n SyntheticsDeletedTest: SyntheticsDeletedTest_1.SyntheticsDeletedTest,\n SyntheticsDevice: SyntheticsDevice_1.SyntheticsDevice,\n SyntheticsGetAPITestLatestResultsResponse: SyntheticsGetAPITestLatestResultsResponse_1.SyntheticsGetAPITestLatestResultsResponse,\n SyntheticsGetBrowserTestLatestResultsResponse: SyntheticsGetBrowserTestLatestResultsResponse_1.SyntheticsGetBrowserTestLatestResultsResponse,\n SyntheticsGlobalVariable: SyntheticsGlobalVariable_1.SyntheticsGlobalVariable,\n SyntheticsGlobalVariableAttributes: SyntheticsGlobalVariableAttributes_1.SyntheticsGlobalVariableAttributes,\n SyntheticsGlobalVariableParseTestOptions: SyntheticsGlobalVariableParseTestOptions_1.SyntheticsGlobalVariableParseTestOptions,\n SyntheticsGlobalVariableValue: SyntheticsGlobalVariableValue_1.SyntheticsGlobalVariableValue,\n SyntheticsListGlobalVariablesResponse: SyntheticsListGlobalVariablesResponse_1.SyntheticsListGlobalVariablesResponse,\n SyntheticsListTestsResponse: SyntheticsListTestsResponse_1.SyntheticsListTestsResponse,\n SyntheticsLocation: SyntheticsLocation_1.SyntheticsLocation,\n SyntheticsLocations: SyntheticsLocations_1.SyntheticsLocations,\n SyntheticsParsingOptions: SyntheticsParsingOptions_1.SyntheticsParsingOptions,\n SyntheticsPrivateLocation: SyntheticsPrivateLocation_1.SyntheticsPrivateLocation,\n SyntheticsPrivateLocationCreationResponse: SyntheticsPrivateLocationCreationResponse_1.SyntheticsPrivateLocationCreationResponse,\n SyntheticsPrivateLocationCreationResponseResultEncryption: SyntheticsPrivateLocationCreationResponseResultEncryption_1.SyntheticsPrivateLocationCreationResponseResultEncryption,\n SyntheticsPrivateLocationSecrets: SyntheticsPrivateLocationSecrets_1.SyntheticsPrivateLocationSecrets,\n SyntheticsPrivateLocationSecretsAuthentication: SyntheticsPrivateLocationSecretsAuthentication_1.SyntheticsPrivateLocationSecretsAuthentication,\n SyntheticsPrivateLocationSecretsConfigDecryption: SyntheticsPrivateLocationSecretsConfigDecryption_1.SyntheticsPrivateLocationSecretsConfigDecryption,\n SyntheticsSSLCertificate: SyntheticsSSLCertificate_1.SyntheticsSSLCertificate,\n SyntheticsSSLCertificateIssuer: SyntheticsSSLCertificateIssuer_1.SyntheticsSSLCertificateIssuer,\n SyntheticsSSLCertificateSubject: SyntheticsSSLCertificateSubject_1.SyntheticsSSLCertificateSubject,\n SyntheticsStep: SyntheticsStep_1.SyntheticsStep,\n SyntheticsStepDetail: SyntheticsStepDetail_1.SyntheticsStepDetail,\n SyntheticsStepDetailWarning: SyntheticsStepDetailWarning_1.SyntheticsStepDetailWarning,\n SyntheticsTestConfig: SyntheticsTestConfig_1.SyntheticsTestConfig,\n SyntheticsTestDetails: SyntheticsTestDetails_1.SyntheticsTestDetails,\n SyntheticsTestOptions: SyntheticsTestOptions_1.SyntheticsTestOptions,\n SyntheticsTestOptionsMonitorOptions: SyntheticsTestOptionsMonitorOptions_1.SyntheticsTestOptionsMonitorOptions,\n SyntheticsTestOptionsRetry: SyntheticsTestOptionsRetry_1.SyntheticsTestOptionsRetry,\n SyntheticsTestRequest: SyntheticsTestRequest_1.SyntheticsTestRequest,\n SyntheticsTestRequestCertificate: SyntheticsTestRequestCertificate_1.SyntheticsTestRequestCertificate,\n SyntheticsTestRequestCertificateItem: SyntheticsTestRequestCertificateItem_1.SyntheticsTestRequestCertificateItem,\n SyntheticsTestRequestProxy: SyntheticsTestRequestProxy_1.SyntheticsTestRequestProxy,\n SyntheticsTiming: SyntheticsTiming_1.SyntheticsTiming,\n SyntheticsTriggerBody: SyntheticsTriggerBody_1.SyntheticsTriggerBody,\n SyntheticsTriggerCITestLocation: SyntheticsTriggerCITestLocation_1.SyntheticsTriggerCITestLocation,\n SyntheticsTriggerCITestRunResult: SyntheticsTriggerCITestRunResult_1.SyntheticsTriggerCITestRunResult,\n SyntheticsTriggerCITestsResponse: SyntheticsTriggerCITestsResponse_1.SyntheticsTriggerCITestsResponse,\n SyntheticsTriggerTest: SyntheticsTriggerTest_1.SyntheticsTriggerTest,\n SyntheticsUpdateTestPauseStatusPayload: SyntheticsUpdateTestPauseStatusPayload_1.SyntheticsUpdateTestPauseStatusPayload,\n SyntheticsVariableParser: SyntheticsVariableParser_1.SyntheticsVariableParser,\n TableWidgetDefinition: TableWidgetDefinition_1.TableWidgetDefinition,\n TableWidgetRequest: TableWidgetRequest_1.TableWidgetRequest,\n TagToHosts: TagToHosts_1.TagToHosts,\n TimeseriesWidgetDefinition: TimeseriesWidgetDefinition_1.TimeseriesWidgetDefinition,\n TimeseriesWidgetExpressionAlias: TimeseriesWidgetExpressionAlias_1.TimeseriesWidgetExpressionAlias,\n TimeseriesWidgetRequest: TimeseriesWidgetRequest_1.TimeseriesWidgetRequest,\n ToplistWidgetDefinition: ToplistWidgetDefinition_1.ToplistWidgetDefinition,\n ToplistWidgetRequest: ToplistWidgetRequest_1.ToplistWidgetRequest,\n TreeMapWidgetDefinition: TreeMapWidgetDefinition_1.TreeMapWidgetDefinition,\n TreeMapWidgetRequest: TreeMapWidgetRequest_1.TreeMapWidgetRequest,\n UsageAnalyzedLogsHour: UsageAnalyzedLogsHour_1.UsageAnalyzedLogsHour,\n UsageAnalyzedLogsResponse: UsageAnalyzedLogsResponse_1.UsageAnalyzedLogsResponse,\n UsageAttributionAggregatesBody: UsageAttributionAggregatesBody_1.UsageAttributionAggregatesBody,\n UsageAttributionBody: UsageAttributionBody_1.UsageAttributionBody,\n UsageAttributionMetadata: UsageAttributionMetadata_1.UsageAttributionMetadata,\n UsageAttributionPagination: UsageAttributionPagination_1.UsageAttributionPagination,\n UsageAttributionResponse: UsageAttributionResponse_1.UsageAttributionResponse,\n UsageAttributionValues: UsageAttributionValues_1.UsageAttributionValues,\n UsageAuditLogsHour: UsageAuditLogsHour_1.UsageAuditLogsHour,\n UsageAuditLogsResponse: UsageAuditLogsResponse_1.UsageAuditLogsResponse,\n UsageBillableSummaryBody: UsageBillableSummaryBody_1.UsageBillableSummaryBody,\n UsageBillableSummaryHour: UsageBillableSummaryHour_1.UsageBillableSummaryHour,\n UsageBillableSummaryKeys: UsageBillableSummaryKeys_1.UsageBillableSummaryKeys,\n UsageBillableSummaryResponse: UsageBillableSummaryResponse_1.UsageBillableSummaryResponse,\n UsageCWSHour: UsageCWSHour_1.UsageCWSHour,\n UsageCWSResponse: UsageCWSResponse_1.UsageCWSResponse,\n UsageCloudSecurityPostureManagementHour: UsageCloudSecurityPostureManagementHour_1.UsageCloudSecurityPostureManagementHour,\n UsageCloudSecurityPostureManagementResponse: UsageCloudSecurityPostureManagementResponse_1.UsageCloudSecurityPostureManagementResponse,\n UsageCustomReportsAttributes: UsageCustomReportsAttributes_1.UsageCustomReportsAttributes,\n UsageCustomReportsData: UsageCustomReportsData_1.UsageCustomReportsData,\n UsageCustomReportsMeta: UsageCustomReportsMeta_1.UsageCustomReportsMeta,\n UsageCustomReportsPage: UsageCustomReportsPage_1.UsageCustomReportsPage,\n UsageCustomReportsResponse: UsageCustomReportsResponse_1.UsageCustomReportsResponse,\n UsageDBMHour: UsageDBMHour_1.UsageDBMHour,\n UsageDBMResponse: UsageDBMResponse_1.UsageDBMResponse,\n UsageFargateHour: UsageFargateHour_1.UsageFargateHour,\n UsageFargateResponse: UsageFargateResponse_1.UsageFargateResponse,\n UsageHostHour: UsageHostHour_1.UsageHostHour,\n UsageHostsResponse: UsageHostsResponse_1.UsageHostsResponse,\n UsageIncidentManagementHour: UsageIncidentManagementHour_1.UsageIncidentManagementHour,\n UsageIncidentManagementResponse: UsageIncidentManagementResponse_1.UsageIncidentManagementResponse,\n UsageIndexedSpansHour: UsageIndexedSpansHour_1.UsageIndexedSpansHour,\n UsageIndexedSpansResponse: UsageIndexedSpansResponse_1.UsageIndexedSpansResponse,\n UsageIngestedSpansHour: UsageIngestedSpansHour_1.UsageIngestedSpansHour,\n UsageIngestedSpansResponse: UsageIngestedSpansResponse_1.UsageIngestedSpansResponse,\n UsageIoTHour: UsageIoTHour_1.UsageIoTHour,\n UsageIoTResponse: UsageIoTResponse_1.UsageIoTResponse,\n UsageLambdaHour: UsageLambdaHour_1.UsageLambdaHour,\n UsageLambdaResponse: UsageLambdaResponse_1.UsageLambdaResponse,\n UsageLogsByIndexHour: UsageLogsByIndexHour_1.UsageLogsByIndexHour,\n UsageLogsByIndexResponse: UsageLogsByIndexResponse_1.UsageLogsByIndexResponse,\n UsageLogsByRetentionHour: UsageLogsByRetentionHour_1.UsageLogsByRetentionHour,\n UsageLogsByRetentionResponse: UsageLogsByRetentionResponse_1.UsageLogsByRetentionResponse,\n UsageLogsHour: UsageLogsHour_1.UsageLogsHour,\n UsageLogsResponse: UsageLogsResponse_1.UsageLogsResponse,\n UsageNetworkFlowsHour: UsageNetworkFlowsHour_1.UsageNetworkFlowsHour,\n UsageNetworkFlowsResponse: UsageNetworkFlowsResponse_1.UsageNetworkFlowsResponse,\n UsageNetworkHostsHour: UsageNetworkHostsHour_1.UsageNetworkHostsHour,\n UsageNetworkHostsResponse: UsageNetworkHostsResponse_1.UsageNetworkHostsResponse,\n UsageProfilingHour: UsageProfilingHour_1.UsageProfilingHour,\n UsageProfilingResponse: UsageProfilingResponse_1.UsageProfilingResponse,\n UsageRumSessionsHour: UsageRumSessionsHour_1.UsageRumSessionsHour,\n UsageRumSessionsResponse: UsageRumSessionsResponse_1.UsageRumSessionsResponse,\n UsageRumUnitsHour: UsageRumUnitsHour_1.UsageRumUnitsHour,\n UsageRumUnitsResponse: UsageRumUnitsResponse_1.UsageRumUnitsResponse,\n UsageSDSHour: UsageSDSHour_1.UsageSDSHour,\n UsageSDSResponse: UsageSDSResponse_1.UsageSDSResponse,\n UsageSNMPHour: UsageSNMPHour_1.UsageSNMPHour,\n UsageSNMPResponse: UsageSNMPResponse_1.UsageSNMPResponse,\n UsageSpecifiedCustomReportsAttributes: UsageSpecifiedCustomReportsAttributes_1.UsageSpecifiedCustomReportsAttributes,\n UsageSpecifiedCustomReportsData: UsageSpecifiedCustomReportsData_1.UsageSpecifiedCustomReportsData,\n UsageSpecifiedCustomReportsMeta: UsageSpecifiedCustomReportsMeta_1.UsageSpecifiedCustomReportsMeta,\n UsageSpecifiedCustomReportsPage: UsageSpecifiedCustomReportsPage_1.UsageSpecifiedCustomReportsPage,\n UsageSpecifiedCustomReportsResponse: UsageSpecifiedCustomReportsResponse_1.UsageSpecifiedCustomReportsResponse,\n UsageSummaryDate: UsageSummaryDate_1.UsageSummaryDate,\n UsageSummaryDateOrg: UsageSummaryDateOrg_1.UsageSummaryDateOrg,\n UsageSummaryResponse: UsageSummaryResponse_1.UsageSummaryResponse,\n UsageSyntheticsAPIHour: UsageSyntheticsAPIHour_1.UsageSyntheticsAPIHour,\n UsageSyntheticsAPIResponse: UsageSyntheticsAPIResponse_1.UsageSyntheticsAPIResponse,\n UsageSyntheticsBrowserHour: UsageSyntheticsBrowserHour_1.UsageSyntheticsBrowserHour,\n UsageSyntheticsBrowserResponse: UsageSyntheticsBrowserResponse_1.UsageSyntheticsBrowserResponse,\n UsageSyntheticsHour: UsageSyntheticsHour_1.UsageSyntheticsHour,\n UsageSyntheticsResponse: UsageSyntheticsResponse_1.UsageSyntheticsResponse,\n UsageTimeseriesHour: UsageTimeseriesHour_1.UsageTimeseriesHour,\n UsageTimeseriesResponse: UsageTimeseriesResponse_1.UsageTimeseriesResponse,\n UsageTopAvgMetricsHour: UsageTopAvgMetricsHour_1.UsageTopAvgMetricsHour,\n UsageTopAvgMetricsMetadata: UsageTopAvgMetricsMetadata_1.UsageTopAvgMetricsMetadata,\n UsageTopAvgMetricsResponse: UsageTopAvgMetricsResponse_1.UsageTopAvgMetricsResponse,\n User: User_1.User,\n UserDisableResponse: UserDisableResponse_1.UserDisableResponse,\n UserListResponse: UserListResponse_1.UserListResponse,\n UserResponse: UserResponse_1.UserResponse,\n WebhooksIntegration: WebhooksIntegration_1.WebhooksIntegration,\n WebhooksIntegrationCustomVariable: WebhooksIntegrationCustomVariable_1.WebhooksIntegrationCustomVariable,\n WebhooksIntegrationCustomVariableResponse: WebhooksIntegrationCustomVariableResponse_1.WebhooksIntegrationCustomVariableResponse,\n WebhooksIntegrationCustomVariableUpdateRequest: WebhooksIntegrationCustomVariableUpdateRequest_1.WebhooksIntegrationCustomVariableUpdateRequest,\n WebhooksIntegrationUpdateRequest: WebhooksIntegrationUpdateRequest_1.WebhooksIntegrationUpdateRequest,\n Widget: Widget_1.Widget,\n WidgetAxis: WidgetAxis_1.WidgetAxis,\n WidgetConditionalFormat: WidgetConditionalFormat_1.WidgetConditionalFormat,\n WidgetCustomLink: WidgetCustomLink_1.WidgetCustomLink,\n WidgetEvent: WidgetEvent_1.WidgetEvent,\n WidgetFieldSort: WidgetFieldSort_1.WidgetFieldSort,\n WidgetFormula: WidgetFormula_1.WidgetFormula,\n WidgetFormulaLimit: WidgetFormulaLimit_1.WidgetFormulaLimit,\n WidgetLayout: WidgetLayout_1.WidgetLayout,\n WidgetMarker: WidgetMarker_1.WidgetMarker,\n WidgetRequestStyle: WidgetRequestStyle_1.WidgetRequestStyle,\n WidgetStyle: WidgetStyle_1.WidgetStyle,\n WidgetTime: WidgetTime_1.WidgetTime,\n};\nvar oneOfMap = {\n FormulaAndFunctionQueryDefinition: [\n \"FormulaAndFunctionApmDependencyStatsQueryDefinition\",\n \"FormulaAndFunctionApmResourceStatsQueryDefinition\",\n \"FormulaAndFunctionEventQueryDefinition\",\n \"FormulaAndFunctionMetricQueryDefinition\",\n \"FormulaAndFunctionProcessQueryDefinition\",\n ],\n LogsProcessor: [\n \"LogsArithmeticProcessor\",\n \"LogsAttributeRemapper\",\n \"LogsCategoryProcessor\",\n \"LogsDateRemapper\",\n \"LogsGeoIPParser\",\n \"LogsGrokParser\",\n \"LogsLookupProcessor\",\n \"LogsMessageRemapper\",\n \"LogsPipelineProcessor\",\n \"LogsServiceRemapper\",\n \"LogsStatusRemapper\",\n \"LogsStringBuilderProcessor\",\n \"LogsTraceRemapper\",\n \"LogsURLParser\",\n \"LogsUserAgentParser\",\n ],\n MonitorFormulaAndFunctionQueryDefinition: [\n \"MonitorFormulaAndFunctionEventQueryDefinition\",\n ],\n NotebookCellCreateRequestAttributes: [\n \"NotebookDistributionCellAttributes\",\n \"NotebookHeatMapCellAttributes\",\n \"NotebookLogStreamCellAttributes\",\n \"NotebookMarkdownCellAttributes\",\n \"NotebookTimeseriesCellAttributes\",\n \"NotebookToplistCellAttributes\",\n ],\n NotebookCellResponseAttributes: [\n \"NotebookDistributionCellAttributes\",\n \"NotebookHeatMapCellAttributes\",\n \"NotebookLogStreamCellAttributes\",\n \"NotebookMarkdownCellAttributes\",\n \"NotebookTimeseriesCellAttributes\",\n \"NotebookToplistCellAttributes\",\n ],\n NotebookCellTime: [\"NotebookAbsoluteTime\", \"NotebookRelativeTime\"],\n NotebookCellUpdateRequestAttributes: [\n \"NotebookDistributionCellAttributes\",\n \"NotebookHeatMapCellAttributes\",\n \"NotebookLogStreamCellAttributes\",\n \"NotebookMarkdownCellAttributes\",\n \"NotebookTimeseriesCellAttributes\",\n \"NotebookToplistCellAttributes\",\n ],\n NotebookGlobalTime: [\"NotebookAbsoluteTime\", \"NotebookRelativeTime\"],\n NotebookUpdateCell: [\n \"NotebookCellCreateRequest\",\n \"NotebookCellUpdateRequest\",\n ],\n SunburstWidgetLegend: [\n \"SunburstWidgetLegendInlineAutomatic\",\n \"SunburstWidgetLegendTable\",\n ],\n SyntheticsAssertion: [\n \"SyntheticsAssertionJSONPathTarget\",\n \"SyntheticsAssertionTarget\",\n ],\n SyntheticsBasicAuth: [\n \"SyntheticsBasicAuthNTLM\",\n \"SyntheticsBasicAuthSigv4\",\n \"SyntheticsBasicAuthWeb\",\n ],\n WidgetDefinition: [\n \"AlertGraphWidgetDefinition\",\n \"AlertValueWidgetDefinition\",\n \"ChangeWidgetDefinition\",\n \"CheckStatusWidgetDefinition\",\n \"DistributionWidgetDefinition\",\n \"EventStreamWidgetDefinition\",\n \"EventTimelineWidgetDefinition\",\n \"FreeTextWidgetDefinition\",\n \"FunnelWidgetDefinition\",\n \"GeomapWidgetDefinition\",\n \"GroupWidgetDefinition\",\n \"HeatMapWidgetDefinition\",\n \"HostMapWidgetDefinition\",\n \"IFrameWidgetDefinition\",\n \"ImageWidgetDefinition\",\n \"ListStreamWidgetDefinition\",\n \"LogStreamWidgetDefinition\",\n \"MonitorSummaryWidgetDefinition\",\n \"NoteWidgetDefinition\",\n \"QueryValueWidgetDefinition\",\n \"SLOWidgetDefinition\",\n \"ScatterPlotWidgetDefinition\",\n \"ServiceMapWidgetDefinition\",\n \"ServiceSummaryWidgetDefinition\",\n \"SunburstWidgetDefinition\",\n \"TableWidgetDefinition\",\n \"TimeseriesWidgetDefinition\",\n \"ToplistWidgetDefinition\",\n \"TreeMapWidgetDefinition\",\n ],\n};\nvar ObjectSerializer = /** @class */ (function () {\n function ObjectSerializer() {\n }\n ObjectSerializer.serialize = function (data, type, format) {\n if (data == undefined) {\n return data;\n }\n else if (primitives.includes(type.toLowerCase())) {\n return data;\n }\n else if (type.startsWith(ARRAY_PREFIX)) {\n // Array => Type\n var subType = type.substring(ARRAY_PREFIX.length, type.length - 1);\n var transformedData = [];\n for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {\n var element = data_1[_i];\n transformedData.push(ObjectSerializer.serialize(element, subType, format));\n }\n return transformedData;\n }\n else if (type.startsWith(MAP_PREFIX)) {\n // { [key: string]: Type; } => Type\n var subType = type.substring(MAP_PREFIX.length, type.length - 3);\n var transformedData = {};\n for (var key in data) {\n transformedData[key] = ObjectSerializer.serialize(data[key], subType, format);\n }\n return transformedData;\n }\n else if (type === \"Date\") {\n if (\"string\" == typeof data) {\n return data;\n }\n if (format == \"date\") {\n var month = data.getMonth() + 1;\n month = month < 10 ? \"0\" + month.toString() : month.toString();\n var day = data.getDate();\n day = day < 10 ? \"0\" + day.toString() : day.toString();\n return data.getFullYear() + \"-\" + month + \"-\" + day;\n }\n else {\n return data.toISOString();\n }\n }\n else {\n if (enumsMap[type]) {\n if (enumsMap[type].includes(data)) {\n return data;\n }\n throw new TypeError(\"unknown enum value '\".concat(data, \"'\"));\n }\n if (oneOfMap[type]) {\n var oneOfs = [];\n for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) {\n var oneOf = _b[_a];\n try {\n oneOfs.push(ObjectSerializer.serialize(data, oneOf, format));\n }\n catch (e) {\n index_1.logger.debug(\"could not serialize \".concat(oneOf, \" (\").concat(e, \")\"));\n }\n }\n if (oneOfs.length > 1) {\n throw new TypeError(\"\".concat(data, \" matches multiple types from \").concat(oneOfMap[type], \" \").concat(oneOfs));\n }\n if (oneOfs.length == 0) {\n throw new TypeError(\"\".concat(data, \" doesn't match any type from \").concat(oneOfMap[type], \" \").concat(oneOfs));\n }\n return oneOfs[0];\n }\n if (!typeMap[type]) {\n // dont know the type\n throw new TypeError(\"unknown type '\".concat(type, \"'\"));\n }\n // get the map for the correct type.\n var attributesMap = typeMap[type].getAttributeTypeMap();\n var instance = {};\n for (var attributeName in attributesMap) {\n var attributeObj = attributesMap[attributeName];\n instance[attributeObj.baseName] = ObjectSerializer.serialize(data[attributeName], attributeObj.type, attributeObj.format);\n // check for required properties\n if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) &&\n instance[attributeObj.baseName] === undefined) {\n throw new Error(\"missing required property '\".concat(attributeObj.baseName, \"'\"));\n }\n if (enumsMap[attributeObj.type] &&\n !enumsMap[attributeObj.type].includes(instance[attributeObj.baseName])) {\n instance.unparsedObject = instance[attributeObj.baseName];\n }\n }\n return instance;\n }\n };\n ObjectSerializer.deserialize = function (data, type, format) {\n if (format === void 0) { format = \"\"; }\n if (data == undefined) {\n return data;\n }\n else if (primitives.includes(type.toLowerCase())) {\n return data;\n }\n else if (type.startsWith(ARRAY_PREFIX)) {\n // Array => Type\n var subType = type.substring(ARRAY_PREFIX.length, type.length - 1);\n var transformedData = [];\n for (var _i = 0, data_2 = data; _i < data_2.length; _i++) {\n var element = data_2[_i];\n transformedData.push(ObjectSerializer.deserialize(element, subType, format));\n }\n return transformedData;\n }\n else if (type.startsWith(MAP_PREFIX)) {\n // { [key: string]: Type; } => Type\n var subType = type.substring(MAP_PREFIX.length, type.length - 3);\n var transformedData = {};\n for (var key in data) {\n transformedData[key] = ObjectSerializer.deserialize(data[key], subType, format);\n }\n return transformedData;\n }\n else if (type === \"Date\") {\n return new Date(data);\n }\n else {\n if (enumsMap[type]) {\n return data;\n }\n if (oneOfMap[type]) {\n var oneOfs = [];\n for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) {\n var oneOf = _b[_a];\n try {\n var d = ObjectSerializer.deserialize(data, oneOf, format);\n if ((d === null || d === void 0 ? void 0 : d.unparsedObject) === undefined) {\n oneOfs.push(d);\n }\n }\n catch (e) {\n index_1.logger.debug(\"could not deserialize \".concat(oneOf, \" (\").concat(e, \")\"));\n }\n }\n if (oneOfs.length != 1) {\n return new UnparsedObject(data);\n }\n return oneOfs[0];\n }\n if (!typeMap[type]) {\n // dont know the type\n throw new TypeError(\"unknown type '\".concat(type, \"'\"));\n }\n var instance = new typeMap[type]();\n var attributesMap = typeMap[type].getAttributeTypeMap();\n for (var attributeName in attributesMap) {\n var attributeObj = attributesMap[attributeName];\n instance[attributeName] = ObjectSerializer.deserialize(data[attributeObj.baseName], attributeObj.type, attributeObj.format);\n // check for required properties\n if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && instance[attributeName] === undefined) {\n throw new Error(\"missing required property '\".concat(attributeName, \"'\"));\n }\n // check for enum values\n if (enumsMap[attributeObj.type] &&\n !enumsMap[attributeObj.type].includes(instance[attributeName])) {\n instance.unparsedObject = instance[attributeName];\n }\n }\n return instance;\n }\n };\n /**\n * Normalize media type\n *\n * We currently do not handle any media types attributes, i.e. anything\n * after a semicolon. All content is assumed to be UTF-8 compatible.\n */\n ObjectSerializer.normalizeMediaType = function (mediaType) {\n if (mediaType === undefined) {\n return undefined;\n }\n return mediaType.split(\";\")[0].trim().toLowerCase();\n };\n /**\n * From a list of possible media types, choose the one we can handle best.\n *\n * The order of the given media types does not have any impact on the choice\n * made.\n */\n ObjectSerializer.getPreferredMediaType = function (mediaTypes) {\n /** According to OAS 3 we should default to json */\n if (!mediaTypes) {\n return \"application/json\";\n }\n var normalMediaTypes = mediaTypes.map(this.normalizeMediaType);\n var selectedMediaType = undefined;\n var selectedRank = -Infinity;\n for (var _i = 0, normalMediaTypes_1 = normalMediaTypes; _i < normalMediaTypes_1.length; _i++) {\n var mediaType = normalMediaTypes_1[_i];\n if (mediaType === undefined) {\n continue;\n }\n var supported = supportedMediaTypes[mediaType];\n if (supported !== undefined && supported > selectedRank) {\n selectedMediaType = mediaType;\n selectedRank = supported;\n }\n }\n if (selectedMediaType === undefined) {\n throw new Error(\"None of the given media types are supported: \" + mediaTypes.join(\", \"));\n }\n return selectedMediaType;\n };\n /**\n * Convert data to a string according the given media type\n */\n ObjectSerializer.stringify = function (data, mediaType) {\n if (mediaType === \"application/json\" || mediaType === \"text/json\") {\n return JSON.stringify(data);\n }\n throw new Error(\"The mediaType \" +\n mediaType +\n \" is not supported by ObjectSerializer.stringify.\");\n };\n /**\n * Parse data from a string according to the given media type\n */\n ObjectSerializer.parse = function (rawData, mediaType) {\n try {\n return JSON.parse(rawData);\n }\n catch (error) {\n index_1.logger.debug(\"could not parse \".concat(mediaType, \": \").concat(error));\n return rawData;\n }\n };\n return ObjectSerializer;\n}());\nexports.ObjectSerializer = ObjectSerializer;\nvar UnparsedObject = /** @class */ (function () {\n function UnparsedObject(data) {\n this.unparsedObject = data;\n }\n return UnparsedObject;\n}());\nexports.UnparsedObject = UnparsedObject;\n//# sourceMappingURL=ObjectSerializer.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Organization = void 0;\n/**\n * Create, edit, and manage organizations.\n */\nvar Organization = /** @class */ (function () {\n function Organization() {\n }\n /**\n * @ignore\n */\n Organization.getAttributeTypeMap = function () {\n return Organization.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Organization.attributeTypeMap = {\n billing: {\n baseName: \"billing\",\n type: \"OrganizationBilling\",\n },\n created: {\n baseName: \"created\",\n type: \"string\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n settings: {\n baseName: \"settings\",\n type: \"OrganizationSettings\",\n },\n subscription: {\n baseName: \"subscription\",\n type: \"OrganizationSubscription\",\n },\n };\n return Organization;\n}());\nexports.Organization = Organization;\n//# sourceMappingURL=Organization.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationBilling = void 0;\n/**\n * A JSON array of billing type.\n */\nvar OrganizationBilling = /** @class */ (function () {\n function OrganizationBilling() {\n }\n /**\n * @ignore\n */\n OrganizationBilling.getAttributeTypeMap = function () {\n return OrganizationBilling.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationBilling.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return OrganizationBilling;\n}());\nexports.OrganizationBilling = OrganizationBilling;\n//# sourceMappingURL=OrganizationBilling.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationCreateBody = void 0;\n/**\n * Object describing an organization to create.\n */\nvar OrganizationCreateBody = /** @class */ (function () {\n function OrganizationCreateBody() {\n }\n /**\n * @ignore\n */\n OrganizationCreateBody.getAttributeTypeMap = function () {\n return OrganizationCreateBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationCreateBody.attributeTypeMap = {\n billing: {\n baseName: \"billing\",\n type: \"OrganizationBilling\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n subscription: {\n baseName: \"subscription\",\n type: \"OrganizationSubscription\",\n },\n };\n return OrganizationCreateBody;\n}());\nexports.OrganizationCreateBody = OrganizationCreateBody;\n//# sourceMappingURL=OrganizationCreateBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationCreateResponse = void 0;\n/**\n * Response object for an organization creation.\n */\nvar OrganizationCreateResponse = /** @class */ (function () {\n function OrganizationCreateResponse() {\n }\n /**\n * @ignore\n */\n OrganizationCreateResponse.getAttributeTypeMap = function () {\n return OrganizationCreateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationCreateResponse.attributeTypeMap = {\n apiKey: {\n baseName: \"api_key\",\n type: \"ApiKey\",\n },\n applicationKey: {\n baseName: \"application_key\",\n type: \"ApplicationKey\",\n },\n org: {\n baseName: \"org\",\n type: \"Organization\",\n },\n user: {\n baseName: \"user\",\n type: \"User\",\n },\n };\n return OrganizationCreateResponse;\n}());\nexports.OrganizationCreateResponse = OrganizationCreateResponse;\n//# sourceMappingURL=OrganizationCreateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationListResponse = void 0;\n/**\n * Response with the list of organizations.\n */\nvar OrganizationListResponse = /** @class */ (function () {\n function OrganizationListResponse() {\n }\n /**\n * @ignore\n */\n OrganizationListResponse.getAttributeTypeMap = function () {\n return OrganizationListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationListResponse.attributeTypeMap = {\n orgs: {\n baseName: \"orgs\",\n type: \"Array\",\n },\n };\n return OrganizationListResponse;\n}());\nexports.OrganizationListResponse = OrganizationListResponse;\n//# sourceMappingURL=OrganizationListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationResponse = void 0;\n/**\n * Response with an organization.\n */\nvar OrganizationResponse = /** @class */ (function () {\n function OrganizationResponse() {\n }\n /**\n * @ignore\n */\n OrganizationResponse.getAttributeTypeMap = function () {\n return OrganizationResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationResponse.attributeTypeMap = {\n org: {\n baseName: \"org\",\n type: \"Organization\",\n },\n };\n return OrganizationResponse;\n}());\nexports.OrganizationResponse = OrganizationResponse;\n//# sourceMappingURL=OrganizationResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSettings = void 0;\n/**\n * A JSON array of settings.\n */\nvar OrganizationSettings = /** @class */ (function () {\n function OrganizationSettings() {\n }\n /**\n * @ignore\n */\n OrganizationSettings.getAttributeTypeMap = function () {\n return OrganizationSettings.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSettings.attributeTypeMap = {\n privateWidgetShare: {\n baseName: \"private_widget_share\",\n type: \"boolean\",\n },\n saml: {\n baseName: \"saml\",\n type: \"OrganizationSettingsSaml\",\n },\n samlAutocreateAccessRole: {\n baseName: \"saml_autocreate_access_role\",\n type: \"AccessRole\",\n },\n samlAutocreateUsersDomains: {\n baseName: \"saml_autocreate_users_domains\",\n type: \"OrganizationSettingsSamlAutocreateUsersDomains\",\n },\n samlCanBeEnabled: {\n baseName: \"saml_can_be_enabled\",\n type: \"boolean\",\n },\n samlIdpEndpoint: {\n baseName: \"saml_idp_endpoint\",\n type: \"string\",\n },\n samlIdpInitiatedLogin: {\n baseName: \"saml_idp_initiated_login\",\n type: \"OrganizationSettingsSamlIdpInitiatedLogin\",\n },\n samlIdpMetadataUploaded: {\n baseName: \"saml_idp_metadata_uploaded\",\n type: \"boolean\",\n },\n samlLoginUrl: {\n baseName: \"saml_login_url\",\n type: \"string\",\n },\n samlStrictMode: {\n baseName: \"saml_strict_mode\",\n type: \"OrganizationSettingsSamlStrictMode\",\n },\n };\n return OrganizationSettings;\n}());\nexports.OrganizationSettings = OrganizationSettings;\n//# sourceMappingURL=OrganizationSettings.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSettingsSaml = void 0;\n/**\n * Set the boolean property enabled to enable or disable single sign on with SAML. See the SAML documentation for more information about all SAML settings.\n */\nvar OrganizationSettingsSaml = /** @class */ (function () {\n function OrganizationSettingsSaml() {\n }\n /**\n * @ignore\n */\n OrganizationSettingsSaml.getAttributeTypeMap = function () {\n return OrganizationSettingsSaml.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSettingsSaml.attributeTypeMap = {\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n };\n return OrganizationSettingsSaml;\n}());\nexports.OrganizationSettingsSaml = OrganizationSettingsSaml;\n//# sourceMappingURL=OrganizationSettingsSaml.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSettingsSamlAutocreateUsersDomains = void 0;\n/**\n * Has two properties, `enabled` (boolean) and `domains`, which is a list of domains without the @ symbol.\n */\nvar OrganizationSettingsSamlAutocreateUsersDomains = /** @class */ (function () {\n function OrganizationSettingsSamlAutocreateUsersDomains() {\n }\n /**\n * @ignore\n */\n OrganizationSettingsSamlAutocreateUsersDomains.getAttributeTypeMap = function () {\n return OrganizationSettingsSamlAutocreateUsersDomains.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSettingsSamlAutocreateUsersDomains.attributeTypeMap = {\n domains: {\n baseName: \"domains\",\n type: \"Array\",\n },\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n };\n return OrganizationSettingsSamlAutocreateUsersDomains;\n}());\nexports.OrganizationSettingsSamlAutocreateUsersDomains = OrganizationSettingsSamlAutocreateUsersDomains;\n//# sourceMappingURL=OrganizationSettingsSamlAutocreateUsersDomains.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSettingsSamlIdpInitiatedLogin = void 0;\n/**\n * Has one property enabled (boolean).\n */\nvar OrganizationSettingsSamlIdpInitiatedLogin = /** @class */ (function () {\n function OrganizationSettingsSamlIdpInitiatedLogin() {\n }\n /**\n * @ignore\n */\n OrganizationSettingsSamlIdpInitiatedLogin.getAttributeTypeMap = function () {\n return OrganizationSettingsSamlIdpInitiatedLogin.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSettingsSamlIdpInitiatedLogin.attributeTypeMap = {\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n };\n return OrganizationSettingsSamlIdpInitiatedLogin;\n}());\nexports.OrganizationSettingsSamlIdpInitiatedLogin = OrganizationSettingsSamlIdpInitiatedLogin;\n//# sourceMappingURL=OrganizationSettingsSamlIdpInitiatedLogin.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSettingsSamlStrictMode = void 0;\n/**\n * Has one property enabled (boolean).\n */\nvar OrganizationSettingsSamlStrictMode = /** @class */ (function () {\n function OrganizationSettingsSamlStrictMode() {\n }\n /**\n * @ignore\n */\n OrganizationSettingsSamlStrictMode.getAttributeTypeMap = function () {\n return OrganizationSettingsSamlStrictMode.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSettingsSamlStrictMode.attributeTypeMap = {\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n };\n return OrganizationSettingsSamlStrictMode;\n}());\nexports.OrganizationSettingsSamlStrictMode = OrganizationSettingsSamlStrictMode;\n//# sourceMappingURL=OrganizationSettingsSamlStrictMode.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationSubscription = void 0;\n/**\n * Subscription definition.\n */\nvar OrganizationSubscription = /** @class */ (function () {\n function OrganizationSubscription() {\n }\n /**\n * @ignore\n */\n OrganizationSubscription.getAttributeTypeMap = function () {\n return OrganizationSubscription.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationSubscription.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return OrganizationSubscription;\n}());\nexports.OrganizationSubscription = OrganizationSubscription;\n//# sourceMappingURL=OrganizationSubscription.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PagerDutyService = void 0;\n/**\n * The PagerDuty service that is available for integration with Datadog.\n */\nvar PagerDutyService = /** @class */ (function () {\n function PagerDutyService() {\n }\n /**\n * @ignore\n */\n PagerDutyService.getAttributeTypeMap = function () {\n return PagerDutyService.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PagerDutyService.attributeTypeMap = {\n serviceKey: {\n baseName: \"service_key\",\n type: \"string\",\n required: true,\n },\n serviceName: {\n baseName: \"service_name\",\n type: \"string\",\n required: true,\n },\n };\n return PagerDutyService;\n}());\nexports.PagerDutyService = PagerDutyService;\n//# sourceMappingURL=PagerDutyService.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PagerDutyServiceKey = void 0;\n/**\n * PagerDuty service object key.\n */\nvar PagerDutyServiceKey = /** @class */ (function () {\n function PagerDutyServiceKey() {\n }\n /**\n * @ignore\n */\n PagerDutyServiceKey.getAttributeTypeMap = function () {\n return PagerDutyServiceKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PagerDutyServiceKey.attributeTypeMap = {\n serviceKey: {\n baseName: \"service_key\",\n type: \"string\",\n required: true,\n },\n };\n return PagerDutyServiceKey;\n}());\nexports.PagerDutyServiceKey = PagerDutyServiceKey;\n//# sourceMappingURL=PagerDutyServiceKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PagerDutyServiceName = void 0;\n/**\n * PagerDuty service object name.\n */\nvar PagerDutyServiceName = /** @class */ (function () {\n function PagerDutyServiceName() {\n }\n /**\n * @ignore\n */\n PagerDutyServiceName.getAttributeTypeMap = function () {\n return PagerDutyServiceName.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PagerDutyServiceName.attributeTypeMap = {\n serviceName: {\n baseName: \"service_name\",\n type: \"string\",\n required: true,\n },\n };\n return PagerDutyServiceName;\n}());\nexports.PagerDutyServiceName = PagerDutyServiceName;\n//# sourceMappingURL=PagerDutyServiceName.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Pagination = void 0;\n/**\n * Pagination object.\n */\nvar Pagination = /** @class */ (function () {\n function Pagination() {\n }\n /**\n * @ignore\n */\n Pagination.getAttributeTypeMap = function () {\n return Pagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Pagination.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n totalFilteredCount: {\n baseName: \"total_filtered_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return Pagination;\n}());\nexports.Pagination = Pagination;\n//# sourceMappingURL=Pagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessQueryDefinition = void 0;\n/**\n * The process query to use in the widget.\n */\nvar ProcessQueryDefinition = /** @class */ (function () {\n function ProcessQueryDefinition() {\n }\n /**\n * @ignore\n */\n ProcessQueryDefinition.getAttributeTypeMap = function () {\n return ProcessQueryDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessQueryDefinition.attributeTypeMap = {\n filterBy: {\n baseName: \"filter_by\",\n type: \"Array\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n required: true,\n },\n searchBy: {\n baseName: \"search_by\",\n type: \"string\",\n },\n };\n return ProcessQueryDefinition;\n}());\nexports.ProcessQueryDefinition = ProcessQueryDefinition;\n//# sourceMappingURL=ProcessQueryDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.QueryValueWidgetDefinition = void 0;\n/**\n * Query values display the current value of a given metric, APM, or log query.\n */\nvar QueryValueWidgetDefinition = /** @class */ (function () {\n function QueryValueWidgetDefinition() {\n }\n /**\n * @ignore\n */\n QueryValueWidgetDefinition.getAttributeTypeMap = function () {\n return QueryValueWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n QueryValueWidgetDefinition.attributeTypeMap = {\n autoscale: {\n baseName: \"autoscale\",\n type: \"boolean\",\n },\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n customUnit: {\n baseName: \"custom_unit\",\n type: \"string\",\n },\n precision: {\n baseName: \"precision\",\n type: \"number\",\n format: \"int64\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n textAlign: {\n baseName: \"text_align\",\n type: \"WidgetTextAlign\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"QueryValueWidgetDefinitionType\",\n required: true,\n },\n };\n return QueryValueWidgetDefinition;\n}());\nexports.QueryValueWidgetDefinition = QueryValueWidgetDefinition;\n//# sourceMappingURL=QueryValueWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.QueryValueWidgetRequest = void 0;\n/**\n * Updated query value widget.\n */\nvar QueryValueWidgetRequest = /** @class */ (function () {\n function QueryValueWidgetRequest() {\n }\n /**\n * @ignore\n */\n QueryValueWidgetRequest.getAttributeTypeMap = function () {\n return QueryValueWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n QueryValueWidgetRequest.attributeTypeMap = {\n aggregator: {\n baseName: \"aggregator\",\n type: \"WidgetAggregator\",\n },\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n auditQuery: {\n baseName: \"audit_query\",\n type: \"LogQueryDefinition\",\n },\n conditionalFormats: {\n baseName: \"conditional_formats\",\n type: \"Array\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return QueryValueWidgetRequest;\n}());\nexports.QueryValueWidgetRequest = QueryValueWidgetRequest;\n//# sourceMappingURL=QueryValueWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ResponseMetaAttributes = void 0;\n/**\n * Object describing meta attributes of response.\n */\nvar ResponseMetaAttributes = /** @class */ (function () {\n function ResponseMetaAttributes() {\n }\n /**\n * @ignore\n */\n ResponseMetaAttributes.getAttributeTypeMap = function () {\n return ResponseMetaAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ResponseMetaAttributes.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"Pagination\",\n },\n };\n return ResponseMetaAttributes;\n}());\nexports.ResponseMetaAttributes = ResponseMetaAttributes;\n//# sourceMappingURL=ResponseMetaAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOBulkDeleteError = void 0;\n/**\n * Object describing the error.\n */\nvar SLOBulkDeleteError = /** @class */ (function () {\n function SLOBulkDeleteError() {\n }\n /**\n * @ignore\n */\n SLOBulkDeleteError.getAttributeTypeMap = function () {\n return SLOBulkDeleteError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOBulkDeleteError.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n timeframe: {\n baseName: \"timeframe\",\n type: \"SLOErrorTimeframe\",\n required: true,\n },\n };\n return SLOBulkDeleteError;\n}());\nexports.SLOBulkDeleteError = SLOBulkDeleteError;\n//# sourceMappingURL=SLOBulkDeleteError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOBulkDeleteResponse = void 0;\n/**\n * The bulk partial delete service level objective object endpoint response. This endpoint operates on multiple service level objective objects, so it may be partially successful. In such cases, the \\\"data\\\" and \\\"error\\\" fields in this response indicate which deletions succeeded and failed.\n */\nvar SLOBulkDeleteResponse = /** @class */ (function () {\n function SLOBulkDeleteResponse() {\n }\n /**\n * @ignore\n */\n SLOBulkDeleteResponse.getAttributeTypeMap = function () {\n return SLOBulkDeleteResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOBulkDeleteResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOBulkDeleteResponseData\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n };\n return SLOBulkDeleteResponse;\n}());\nexports.SLOBulkDeleteResponse = SLOBulkDeleteResponse;\n//# sourceMappingURL=SLOBulkDeleteResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOBulkDeleteResponseData = void 0;\n/**\n * An array of service level objective objects.\n */\nvar SLOBulkDeleteResponseData = /** @class */ (function () {\n function SLOBulkDeleteResponseData() {\n }\n /**\n * @ignore\n */\n SLOBulkDeleteResponseData.getAttributeTypeMap = function () {\n return SLOBulkDeleteResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOBulkDeleteResponseData.attributeTypeMap = {\n deleted: {\n baseName: \"deleted\",\n type: \"Array\",\n },\n updated: {\n baseName: \"updated\",\n type: \"Array\",\n },\n };\n return SLOBulkDeleteResponseData;\n}());\nexports.SLOBulkDeleteResponseData = SLOBulkDeleteResponseData;\n//# sourceMappingURL=SLOBulkDeleteResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrection = void 0;\n/**\n * The response object of a list of SLO corrections.\n */\nvar SLOCorrection = /** @class */ (function () {\n function SLOCorrection() {\n }\n /**\n * @ignore\n */\n SLOCorrection.getAttributeTypeMap = function () {\n return SLOCorrection.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrection.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SLOCorrectionResponseAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOCorrectionType\",\n },\n };\n return SLOCorrection;\n}());\nexports.SLOCorrection = SLOCorrection;\n//# sourceMappingURL=SLOCorrection.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionCreateData = void 0;\n/**\n * The data object associated with the SLO correction to be created.\n */\nvar SLOCorrectionCreateData = /** @class */ (function () {\n function SLOCorrectionCreateData() {\n }\n /**\n * @ignore\n */\n SLOCorrectionCreateData.getAttributeTypeMap = function () {\n return SLOCorrectionCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SLOCorrectionCreateRequestAttributes\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOCorrectionType\",\n required: true,\n },\n };\n return SLOCorrectionCreateData;\n}());\nexports.SLOCorrectionCreateData = SLOCorrectionCreateData;\n//# sourceMappingURL=SLOCorrectionCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionCreateRequest = void 0;\n/**\n * An object that defines a correction to be applied to an SLO.\n */\nvar SLOCorrectionCreateRequest = /** @class */ (function () {\n function SLOCorrectionCreateRequest() {\n }\n /**\n * @ignore\n */\n SLOCorrectionCreateRequest.getAttributeTypeMap = function () {\n return SLOCorrectionCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOCorrectionCreateData\",\n },\n };\n return SLOCorrectionCreateRequest;\n}());\nexports.SLOCorrectionCreateRequest = SLOCorrectionCreateRequest;\n//# sourceMappingURL=SLOCorrectionCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionCreateRequestAttributes = void 0;\n/**\n * The attribute object associated with the SLO correction to be created.\n */\nvar SLOCorrectionCreateRequestAttributes = /** @class */ (function () {\n function SLOCorrectionCreateRequestAttributes() {\n }\n /**\n * @ignore\n */\n SLOCorrectionCreateRequestAttributes.getAttributeTypeMap = function () {\n return SLOCorrectionCreateRequestAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionCreateRequestAttributes.attributeTypeMap = {\n category: {\n baseName: \"category\",\n type: \"SLOCorrectionCategory\",\n required: true,\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"int64\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n rrule: {\n baseName: \"rrule\",\n type: \"string\",\n },\n sloId: {\n baseName: \"slo_id\",\n type: \"string\",\n required: true,\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n };\n return SLOCorrectionCreateRequestAttributes;\n}());\nexports.SLOCorrectionCreateRequestAttributes = SLOCorrectionCreateRequestAttributes;\n//# sourceMappingURL=SLOCorrectionCreateRequestAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionListResponse = void 0;\n/**\n * A list of SLO correction objects.\n */\nvar SLOCorrectionListResponse = /** @class */ (function () {\n function SLOCorrectionListResponse() {\n }\n /**\n * @ignore\n */\n SLOCorrectionListResponse.getAttributeTypeMap = function () {\n return SLOCorrectionListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionListResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ResponseMetaAttributes\",\n },\n };\n return SLOCorrectionListResponse;\n}());\nexports.SLOCorrectionListResponse = SLOCorrectionListResponse;\n//# sourceMappingURL=SLOCorrectionListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionResponse = void 0;\n/**\n * The response object of an SLO correction.\n */\nvar SLOCorrectionResponse = /** @class */ (function () {\n function SLOCorrectionResponse() {\n }\n /**\n * @ignore\n */\n SLOCorrectionResponse.getAttributeTypeMap = function () {\n return SLOCorrectionResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOCorrection\",\n },\n };\n return SLOCorrectionResponse;\n}());\nexports.SLOCorrectionResponse = SLOCorrectionResponse;\n//# sourceMappingURL=SLOCorrectionResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionResponseAttributes = void 0;\n/**\n * The attribute object associated with the SLO correction.\n */\nvar SLOCorrectionResponseAttributes = /** @class */ (function () {\n function SLOCorrectionResponseAttributes() {\n }\n /**\n * @ignore\n */\n SLOCorrectionResponseAttributes.getAttributeTypeMap = function () {\n return SLOCorrectionResponseAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionResponseAttributes.attributeTypeMap = {\n category: {\n baseName: \"category\",\n type: \"SLOCorrectionCategory\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"number\",\n format: \"int64\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"int64\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"number\",\n format: \"int64\",\n },\n modifier: {\n baseName: \"modifier\",\n type: \"SLOCorrectionResponseAttributesModifier\",\n },\n rrule: {\n baseName: \"rrule\",\n type: \"string\",\n },\n sloId: {\n baseName: \"slo_id\",\n type: \"string\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n };\n return SLOCorrectionResponseAttributes;\n}());\nexports.SLOCorrectionResponseAttributes = SLOCorrectionResponseAttributes;\n//# sourceMappingURL=SLOCorrectionResponseAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionResponseAttributesModifier = void 0;\n/**\n * Modifier of the object.\n */\nvar SLOCorrectionResponseAttributesModifier = /** @class */ (function () {\n function SLOCorrectionResponseAttributesModifier() {\n }\n /**\n * @ignore\n */\n SLOCorrectionResponseAttributesModifier.getAttributeTypeMap = function () {\n return SLOCorrectionResponseAttributesModifier.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionResponseAttributesModifier.attributeTypeMap = {\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return SLOCorrectionResponseAttributesModifier;\n}());\nexports.SLOCorrectionResponseAttributesModifier = SLOCorrectionResponseAttributesModifier;\n//# sourceMappingURL=SLOCorrectionResponseAttributesModifier.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionUpdateData = void 0;\n/**\n * The data object associated with the SLO correction to be updated.\n */\nvar SLOCorrectionUpdateData = /** @class */ (function () {\n function SLOCorrectionUpdateData() {\n }\n /**\n * @ignore\n */\n SLOCorrectionUpdateData.getAttributeTypeMap = function () {\n return SLOCorrectionUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SLOCorrectionUpdateRequestAttributes\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOCorrectionType\",\n },\n };\n return SLOCorrectionUpdateData;\n}());\nexports.SLOCorrectionUpdateData = SLOCorrectionUpdateData;\n//# sourceMappingURL=SLOCorrectionUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionUpdateRequest = void 0;\n/**\n * An object that defines a correction to be applied to an SLO.\n */\nvar SLOCorrectionUpdateRequest = /** @class */ (function () {\n function SLOCorrectionUpdateRequest() {\n }\n /**\n * @ignore\n */\n SLOCorrectionUpdateRequest.getAttributeTypeMap = function () {\n return SLOCorrectionUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOCorrectionUpdateData\",\n },\n };\n return SLOCorrectionUpdateRequest;\n}());\nexports.SLOCorrectionUpdateRequest = SLOCorrectionUpdateRequest;\n//# sourceMappingURL=SLOCorrectionUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOCorrectionUpdateRequestAttributes = void 0;\n/**\n * The attribute object associated with the SLO correction to be updated.\n */\nvar SLOCorrectionUpdateRequestAttributes = /** @class */ (function () {\n function SLOCorrectionUpdateRequestAttributes() {\n }\n /**\n * @ignore\n */\n SLOCorrectionUpdateRequestAttributes.getAttributeTypeMap = function () {\n return SLOCorrectionUpdateRequestAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOCorrectionUpdateRequestAttributes.attributeTypeMap = {\n category: {\n baseName: \"category\",\n type: \"SLOCorrectionCategory\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"int64\",\n },\n end: {\n baseName: \"end\",\n type: \"number\",\n format: \"int64\",\n },\n rrule: {\n baseName: \"rrule\",\n type: \"string\",\n },\n start: {\n baseName: \"start\",\n type: \"number\",\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n };\n return SLOCorrectionUpdateRequestAttributes;\n}());\nexports.SLOCorrectionUpdateRequestAttributes = SLOCorrectionUpdateRequestAttributes;\n//# sourceMappingURL=SLOCorrectionUpdateRequestAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLODeleteResponse = void 0;\n/**\n * A response list of all service level objective deleted.\n */\nvar SLODeleteResponse = /** @class */ (function () {\n function SLODeleteResponse() {\n }\n /**\n * @ignore\n */\n SLODeleteResponse.getAttributeTypeMap = function () {\n return SLODeleteResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLODeleteResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n errors: {\n baseName: \"errors\",\n type: \"{ [key: string]: string; }\",\n },\n };\n return SLODeleteResponse;\n}());\nexports.SLODeleteResponse = SLODeleteResponse;\n//# sourceMappingURL=SLODeleteResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryMetrics = void 0;\n/**\n * A `metric` based SLO history response. This is not included in responses for `monitor` based SLOs.\n */\nvar SLOHistoryMetrics = /** @class */ (function () {\n function SLOHistoryMetrics() {\n }\n /**\n * @ignore\n */\n SLOHistoryMetrics.getAttributeTypeMap = function () {\n return SLOHistoryMetrics.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryMetrics.attributeTypeMap = {\n denominator: {\n baseName: \"denominator\",\n type: \"SLOHistoryMetricsSeries\",\n required: true,\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n numerator: {\n baseName: \"numerator\",\n type: \"SLOHistoryMetricsSeries\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n resType: {\n baseName: \"res_type\",\n type: \"string\",\n required: true,\n },\n respVersion: {\n baseName: \"resp_version\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n times: {\n baseName: \"times\",\n type: \"Array\",\n required: true,\n format: \"double\",\n },\n };\n return SLOHistoryMetrics;\n}());\nexports.SLOHistoryMetrics = SLOHistoryMetrics;\n//# sourceMappingURL=SLOHistoryMetrics.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryMetricsSeries = void 0;\n/**\n * A representation of `metric` based SLO time series for the provided queries. This is the same response type from `batch_query` endpoint.\n */\nvar SLOHistoryMetricsSeries = /** @class */ (function () {\n function SLOHistoryMetricsSeries() {\n }\n /**\n * @ignore\n */\n SLOHistoryMetricsSeries.getAttributeTypeMap = function () {\n return SLOHistoryMetricsSeries.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryMetricsSeries.attributeTypeMap = {\n count: {\n baseName: \"count\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"SLOHistoryMetricsSeriesMetadata\",\n },\n sum: {\n baseName: \"sum\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n values: {\n baseName: \"values\",\n type: \"Array\",\n required: true,\n format: \"double\",\n },\n };\n return SLOHistoryMetricsSeries;\n}());\nexports.SLOHistoryMetricsSeries = SLOHistoryMetricsSeries;\n//# sourceMappingURL=SLOHistoryMetricsSeries.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryMetricsSeriesMetadata = void 0;\n/**\n * Query metadata.\n */\nvar SLOHistoryMetricsSeriesMetadata = /** @class */ (function () {\n function SLOHistoryMetricsSeriesMetadata() {\n }\n /**\n * @ignore\n */\n SLOHistoryMetricsSeriesMetadata.getAttributeTypeMap = function () {\n return SLOHistoryMetricsSeriesMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryMetricsSeriesMetadata.attributeTypeMap = {\n aggr: {\n baseName: \"aggr\",\n type: \"string\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n queryIndex: {\n baseName: \"query_index\",\n type: \"number\",\n format: \"int64\",\n },\n scope: {\n baseName: \"scope\",\n type: \"string\",\n },\n unit: {\n baseName: \"unit\",\n type: \"Array\",\n },\n };\n return SLOHistoryMetricsSeriesMetadata;\n}());\nexports.SLOHistoryMetricsSeriesMetadata = SLOHistoryMetricsSeriesMetadata;\n//# sourceMappingURL=SLOHistoryMetricsSeriesMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryMetricsSeriesMetadataUnit = void 0;\n/**\n * An Object of metric units.\n */\nvar SLOHistoryMetricsSeriesMetadataUnit = /** @class */ (function () {\n function SLOHistoryMetricsSeriesMetadataUnit() {\n }\n /**\n * @ignore\n */\n SLOHistoryMetricsSeriesMetadataUnit.getAttributeTypeMap = function () {\n return SLOHistoryMetricsSeriesMetadataUnit.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryMetricsSeriesMetadataUnit.attributeTypeMap = {\n family: {\n baseName: \"family\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n plural: {\n baseName: \"plural\",\n type: \"string\",\n },\n scaleFactor: {\n baseName: \"scale_factor\",\n type: \"number\",\n format: \"double\",\n },\n shortName: {\n baseName: \"short_name\",\n type: \"string\",\n },\n };\n return SLOHistoryMetricsSeriesMetadataUnit;\n}());\nexports.SLOHistoryMetricsSeriesMetadataUnit = SLOHistoryMetricsSeriesMetadataUnit;\n//# sourceMappingURL=SLOHistoryMetricsSeriesMetadataUnit.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryMonitor = void 0;\n/**\n * An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.\n */\nvar SLOHistoryMonitor = /** @class */ (function () {\n function SLOHistoryMonitor() {\n }\n /**\n * @ignore\n */\n SLOHistoryMonitor.getAttributeTypeMap = function () {\n return SLOHistoryMonitor.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryMonitor.attributeTypeMap = {\n errorBudgetRemaining: {\n baseName: \"error_budget_remaining\",\n type: \"{ [key: string]: number; }\",\n format: \"double\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n group: {\n baseName: \"group\",\n type: \"string\",\n },\n history: {\n baseName: \"history\",\n type: \"Array>\",\n format: \"double\",\n },\n monitorModified: {\n baseName: \"monitor_modified\",\n type: \"number\",\n format: \"int64\",\n },\n monitorType: {\n baseName: \"monitor_type\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n precision: {\n baseName: \"precision\",\n type: \"number\",\n format: \"double\",\n },\n preview: {\n baseName: \"preview\",\n type: \"boolean\",\n },\n sliValue: {\n baseName: \"sli_value\",\n type: \"number\",\n format: \"double\",\n },\n spanPrecision: {\n baseName: \"span_precision\",\n type: \"number\",\n format: \"double\",\n },\n uptime: {\n baseName: \"uptime\",\n type: \"number\",\n format: \"double\",\n },\n };\n return SLOHistoryMonitor;\n}());\nexports.SLOHistoryMonitor = SLOHistoryMonitor;\n//# sourceMappingURL=SLOHistoryMonitor.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryResponse = void 0;\n/**\n * A service level objective history response.\n */\nvar SLOHistoryResponse = /** @class */ (function () {\n function SLOHistoryResponse() {\n }\n /**\n * @ignore\n */\n SLOHistoryResponse.getAttributeTypeMap = function () {\n return SLOHistoryResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOHistoryResponseData\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n };\n return SLOHistoryResponse;\n}());\nexports.SLOHistoryResponse = SLOHistoryResponse;\n//# sourceMappingURL=SLOHistoryResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryResponseData = void 0;\n/**\n * An array of service level objective objects.\n */\nvar SLOHistoryResponseData = /** @class */ (function () {\n function SLOHistoryResponseData() {\n }\n /**\n * @ignore\n */\n SLOHistoryResponseData.getAttributeTypeMap = function () {\n return SLOHistoryResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryResponseData.attributeTypeMap = {\n fromTs: {\n baseName: \"from_ts\",\n type: \"number\",\n format: \"int64\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n groups: {\n baseName: \"groups\",\n type: \"Array\",\n },\n monitors: {\n baseName: \"monitors\",\n type: \"Array\",\n },\n overall: {\n baseName: \"overall\",\n type: \"SLOHistorySLIData\",\n },\n series: {\n baseName: \"series\",\n type: \"SLOHistoryMetrics\",\n },\n thresholds: {\n baseName: \"thresholds\",\n type: \"{ [key: string]: SLOThreshold; }\",\n },\n toTs: {\n baseName: \"to_ts\",\n type: \"number\",\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOType\",\n },\n typeId: {\n baseName: \"type_id\",\n type: \"SLOTypeNumeric\",\n },\n };\n return SLOHistoryResponseData;\n}());\nexports.SLOHistoryResponseData = SLOHistoryResponseData;\n//# sourceMappingURL=SLOHistoryResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryResponseError = void 0;\n/**\n * A list of errors while querying the history data for the service level objective.\n */\nvar SLOHistoryResponseError = /** @class */ (function () {\n function SLOHistoryResponseError() {\n }\n /**\n * @ignore\n */\n SLOHistoryResponseError.getAttributeTypeMap = function () {\n return SLOHistoryResponseError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryResponseError.attributeTypeMap = {\n error: {\n baseName: \"error\",\n type: \"string\",\n },\n };\n return SLOHistoryResponseError;\n}());\nexports.SLOHistoryResponseError = SLOHistoryResponseError;\n//# sourceMappingURL=SLOHistoryResponseError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistoryResponseErrorWithType = void 0;\n/**\n * An object describing the error with error type and error message.\n */\nvar SLOHistoryResponseErrorWithType = /** @class */ (function () {\n function SLOHistoryResponseErrorWithType() {\n }\n /**\n * @ignore\n */\n SLOHistoryResponseErrorWithType.getAttributeTypeMap = function () {\n return SLOHistoryResponseErrorWithType.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistoryResponseErrorWithType.attributeTypeMap = {\n errorMessage: {\n baseName: \"error_message\",\n type: \"string\",\n required: true,\n },\n errorType: {\n baseName: \"error_type\",\n type: \"string\",\n required: true,\n },\n };\n return SLOHistoryResponseErrorWithType;\n}());\nexports.SLOHistoryResponseErrorWithType = SLOHistoryResponseErrorWithType;\n//# sourceMappingURL=SLOHistoryResponseErrorWithType.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOHistorySLIData = void 0;\n/**\n * An object that holds an SLI value and its associated data. It can represent an SLO's overall SLI value. This can also represent the SLI value for a specific monitor in multi-monitor SLOs, or a group in grouped SLOs.\n */\nvar SLOHistorySLIData = /** @class */ (function () {\n function SLOHistorySLIData() {\n }\n /**\n * @ignore\n */\n SLOHistorySLIData.getAttributeTypeMap = function () {\n return SLOHistorySLIData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOHistorySLIData.attributeTypeMap = {\n errorBudgetRemaining: {\n baseName: \"error_budget_remaining\",\n type: \"{ [key: string]: number; }\",\n format: \"double\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n group: {\n baseName: \"group\",\n type: \"string\",\n },\n history: {\n baseName: \"history\",\n type: \"Array>\",\n format: \"double\",\n },\n monitorModified: {\n baseName: \"monitor_modified\",\n type: \"number\",\n format: \"int64\",\n },\n monitorType: {\n baseName: \"monitor_type\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n precision: {\n baseName: \"precision\",\n type: \"{ [key: string]: number; }\",\n format: \"double\",\n },\n preview: {\n baseName: \"preview\",\n type: \"boolean\",\n },\n sliValue: {\n baseName: \"sli_value\",\n type: \"number\",\n format: \"double\",\n },\n spanPrecision: {\n baseName: \"span_precision\",\n type: \"number\",\n format: \"double\",\n },\n uptime: {\n baseName: \"uptime\",\n type: \"number\",\n format: \"double\",\n },\n };\n return SLOHistorySLIData;\n}());\nexports.SLOHistorySLIData = SLOHistorySLIData;\n//# sourceMappingURL=SLOHistorySLIData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOListResponse = void 0;\n/**\n * A response with one or more service level objective.\n */\nvar SLOListResponse = /** @class */ (function () {\n function SLOListResponse() {\n }\n /**\n * @ignore\n */\n SLOListResponse.getAttributeTypeMap = function () {\n return SLOListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOListResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"SLOListResponseMetadata\",\n },\n };\n return SLOListResponse;\n}());\nexports.SLOListResponse = SLOListResponse;\n//# sourceMappingURL=SLOListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOListResponseMetadata = void 0;\n/**\n * The metadata object containing additional information about the list of SLOs.\n */\nvar SLOListResponseMetadata = /** @class */ (function () {\n function SLOListResponseMetadata() {\n }\n /**\n * @ignore\n */\n SLOListResponseMetadata.getAttributeTypeMap = function () {\n return SLOListResponseMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOListResponseMetadata.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"SLOListResponseMetadataPage\",\n },\n };\n return SLOListResponseMetadata;\n}());\nexports.SLOListResponseMetadata = SLOListResponseMetadata;\n//# sourceMappingURL=SLOListResponseMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOListResponseMetadataPage = void 0;\n/**\n * The object containing information about the pages of the list of SLOs.\n */\nvar SLOListResponseMetadataPage = /** @class */ (function () {\n function SLOListResponseMetadataPage() {\n }\n /**\n * @ignore\n */\n SLOListResponseMetadataPage.getAttributeTypeMap = function () {\n return SLOListResponseMetadataPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOListResponseMetadataPage.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n totalFilteredCount: {\n baseName: \"total_filtered_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return SLOListResponseMetadataPage;\n}());\nexports.SLOListResponseMetadataPage = SLOListResponseMetadataPage;\n//# sourceMappingURL=SLOListResponseMetadataPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOResponse = void 0;\n/**\n * A service level objective response containing a single service level objective.\n */\nvar SLOResponse = /** @class */ (function () {\n function SLOResponse() {\n }\n /**\n * @ignore\n */\n SLOResponse.getAttributeTypeMap = function () {\n return SLOResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SLOResponseData\",\n },\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n };\n return SLOResponse;\n}());\nexports.SLOResponse = SLOResponse;\n//# sourceMappingURL=SLOResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOResponseData = void 0;\n/**\n * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).\n */\nvar SLOResponseData = /** @class */ (function () {\n function SLOResponseData() {\n }\n /**\n * @ignore\n */\n SLOResponseData.getAttributeTypeMap = function () {\n return SLOResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOResponseData.attributeTypeMap = {\n configuredAlertIds: {\n baseName: \"configured_alert_ids\",\n type: \"Array\",\n format: \"int64\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"number\",\n format: \"int64\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n groups: {\n baseName: \"groups\",\n type: \"Array\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"number\",\n format: \"int64\",\n },\n monitorIds: {\n baseName: \"monitor_ids\",\n type: \"Array\",\n format: \"int64\",\n },\n monitorTags: {\n baseName: \"monitor_tags\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"ServiceLevelObjectiveQuery\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n thresholds: {\n baseName: \"thresholds\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOType\",\n },\n };\n return SLOResponseData;\n}());\nexports.SLOResponseData = SLOResponseData;\n//# sourceMappingURL=SLOResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOThreshold = void 0;\n/**\n * SLO thresholds (target and optionally warning) for a single time window.\n */\nvar SLOThreshold = /** @class */ (function () {\n function SLOThreshold() {\n }\n /**\n * @ignore\n */\n SLOThreshold.getAttributeTypeMap = function () {\n return SLOThreshold.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOThreshold.attributeTypeMap = {\n target: {\n baseName: \"target\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n targetDisplay: {\n baseName: \"target_display\",\n type: \"string\",\n },\n timeframe: {\n baseName: \"timeframe\",\n type: \"SLOTimeframe\",\n required: true,\n },\n warning: {\n baseName: \"warning\",\n type: \"number\",\n format: \"double\",\n },\n warningDisplay: {\n baseName: \"warning_display\",\n type: \"string\",\n },\n };\n return SLOThreshold;\n}());\nexports.SLOThreshold = SLOThreshold;\n//# sourceMappingURL=SLOThreshold.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SLOWidgetDefinition = void 0;\n/**\n * Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards.\n */\nvar SLOWidgetDefinition = /** @class */ (function () {\n function SLOWidgetDefinition() {\n }\n /**\n * @ignore\n */\n SLOWidgetDefinition.getAttributeTypeMap = function () {\n return SLOWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SLOWidgetDefinition.attributeTypeMap = {\n globalTimeTarget: {\n baseName: \"global_time_target\",\n type: \"string\",\n },\n showErrorBudget: {\n baseName: \"show_error_budget\",\n type: \"boolean\",\n },\n sloId: {\n baseName: \"slo_id\",\n type: \"string\",\n },\n timeWindows: {\n baseName: \"time_windows\",\n type: \"Array\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SLOWidgetDefinitionType\",\n required: true,\n },\n viewMode: {\n baseName: \"view_mode\",\n type: \"WidgetViewMode\",\n },\n viewType: {\n baseName: \"view_type\",\n type: \"string\",\n required: true,\n },\n };\n return SLOWidgetDefinition;\n}());\nexports.SLOWidgetDefinition = SLOWidgetDefinition;\n//# sourceMappingURL=SLOWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScatterPlotRequest = void 0;\n/**\n * Updated scatter plot.\n */\nvar ScatterPlotRequest = /** @class */ (function () {\n function ScatterPlotRequest() {\n }\n /**\n * @ignore\n */\n ScatterPlotRequest.getAttributeTypeMap = function () {\n return ScatterPlotRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ScatterPlotRequest.attributeTypeMap = {\n aggregator: {\n baseName: \"aggregator\",\n type: \"ScatterplotWidgetAggregator\",\n },\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return ScatterPlotRequest;\n}());\nexports.ScatterPlotRequest = ScatterPlotRequest;\n//# sourceMappingURL=ScatterPlotRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScatterPlotWidgetDefinition = void 0;\n/**\n * The scatter plot visualization allows you to graph a chosen scope over two different metrics with their respective aggregation.\n */\nvar ScatterPlotWidgetDefinition = /** @class */ (function () {\n function ScatterPlotWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ScatterPlotWidgetDefinition.getAttributeTypeMap = function () {\n return ScatterPlotWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ScatterPlotWidgetDefinition.attributeTypeMap = {\n colorByGroups: {\n baseName: \"color_by_groups\",\n type: \"Array\",\n },\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"ScatterPlotWidgetDefinitionRequests\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ScatterPlotWidgetDefinitionType\",\n required: true,\n },\n xaxis: {\n baseName: \"xaxis\",\n type: \"WidgetAxis\",\n },\n yaxis: {\n baseName: \"yaxis\",\n type: \"WidgetAxis\",\n },\n };\n return ScatterPlotWidgetDefinition;\n}());\nexports.ScatterPlotWidgetDefinition = ScatterPlotWidgetDefinition;\n//# sourceMappingURL=ScatterPlotWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScatterPlotWidgetDefinitionRequests = void 0;\n/**\n * Widget definition.\n */\nvar ScatterPlotWidgetDefinitionRequests = /** @class */ (function () {\n function ScatterPlotWidgetDefinitionRequests() {\n }\n /**\n * @ignore\n */\n ScatterPlotWidgetDefinitionRequests.getAttributeTypeMap = function () {\n return ScatterPlotWidgetDefinitionRequests.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ScatterPlotWidgetDefinitionRequests.attributeTypeMap = {\n table: {\n baseName: \"table\",\n type: \"ScatterplotTableRequest\",\n },\n x: {\n baseName: \"x\",\n type: \"ScatterPlotRequest\",\n },\n y: {\n baseName: \"y\",\n type: \"ScatterPlotRequest\",\n },\n };\n return ScatterPlotWidgetDefinitionRequests;\n}());\nexports.ScatterPlotWidgetDefinitionRequests = ScatterPlotWidgetDefinitionRequests;\n//# sourceMappingURL=ScatterPlotWidgetDefinitionRequests.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScatterplotTableRequest = void 0;\n/**\n * Scatterplot request containing formulas and functions.\n */\nvar ScatterplotTableRequest = /** @class */ (function () {\n function ScatterplotTableRequest() {\n }\n /**\n * @ignore\n */\n ScatterplotTableRequest.getAttributeTypeMap = function () {\n return ScatterplotTableRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ScatterplotTableRequest.attributeTypeMap = {\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n };\n return ScatterplotTableRequest;\n}());\nexports.ScatterplotTableRequest = ScatterplotTableRequest;\n//# sourceMappingURL=ScatterplotTableRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ScatterplotWidgetFormula = void 0;\n/**\n * Formula to be used in a Scatterplot widget query.\n */\nvar ScatterplotWidgetFormula = /** @class */ (function () {\n function ScatterplotWidgetFormula() {\n }\n /**\n * @ignore\n */\n ScatterplotWidgetFormula.getAttributeTypeMap = function () {\n return ScatterplotWidgetFormula.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ScatterplotWidgetFormula.attributeTypeMap = {\n alias: {\n baseName: \"alias\",\n type: \"string\",\n },\n dimension: {\n baseName: \"dimension\",\n type: \"ScatterplotDimension\",\n required: true,\n },\n formula: {\n baseName: \"formula\",\n type: \"string\",\n required: true,\n },\n };\n return ScatterplotWidgetFormula;\n}());\nexports.ScatterplotWidgetFormula = ScatterplotWidgetFormula;\n//# sourceMappingURL=ScatterplotWidgetFormula.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Series = void 0;\n/**\n * A metric to submit to Datadog. See [Datadog metrics](https://docs.datadoghq.com/developers/metrics/#custom-metrics-properties).\n */\nvar Series = /** @class */ (function () {\n function Series() {\n }\n /**\n * @ignore\n */\n Series.getAttributeTypeMap = function () {\n return Series.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Series.attributeTypeMap = {\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"int64\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n required: true,\n },\n points: {\n baseName: \"points\",\n type: \"Array>\",\n required: true,\n format: \"double\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n },\n };\n return Series;\n}());\nexports.Series = Series;\n//# sourceMappingURL=Series.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceCheck = void 0;\n/**\n * An object containing service check and status.\n */\nvar ServiceCheck = /** @class */ (function () {\n function ServiceCheck() {\n }\n /**\n * @ignore\n */\n ServiceCheck.getAttributeTypeMap = function () {\n return ServiceCheck.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceCheck.attributeTypeMap = {\n check: {\n baseName: \"check\",\n type: \"string\",\n required: true,\n },\n hostName: {\n baseName: \"host_name\",\n type: \"string\",\n required: true,\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"ServiceCheckStatus\",\n required: true,\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n required: true,\n },\n timestamp: {\n baseName: \"timestamp\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return ServiceCheck;\n}());\nexports.ServiceCheck = ServiceCheck;\n//# sourceMappingURL=ServiceCheck.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceLevelObjective = void 0;\n/**\n * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).\n */\nvar ServiceLevelObjective = /** @class */ (function () {\n function ServiceLevelObjective() {\n }\n /**\n * @ignore\n */\n ServiceLevelObjective.getAttributeTypeMap = function () {\n return ServiceLevelObjective.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceLevelObjective.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"number\",\n format: \"int64\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n groups: {\n baseName: \"groups\",\n type: \"Array\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"number\",\n format: \"int64\",\n },\n monitorIds: {\n baseName: \"monitor_ids\",\n type: \"Array\",\n format: \"int64\",\n },\n monitorTags: {\n baseName: \"monitor_tags\",\n type: \"Array\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"ServiceLevelObjectiveQuery\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n thresholds: {\n baseName: \"thresholds\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SLOType\",\n required: true,\n },\n };\n return ServiceLevelObjective;\n}());\nexports.ServiceLevelObjective = ServiceLevelObjective;\n//# sourceMappingURL=ServiceLevelObjective.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceLevelObjectiveQuery = void 0;\n/**\n * A metric SLI query. **Required if type is `metric`**. Note that Datadog only allows the sum by aggregator to be used because this will sum up all request counts instead of averaging them, or taking the max or min of all of those requests.\n */\nvar ServiceLevelObjectiveQuery = /** @class */ (function () {\n function ServiceLevelObjectiveQuery() {\n }\n /**\n * @ignore\n */\n ServiceLevelObjectiveQuery.getAttributeTypeMap = function () {\n return ServiceLevelObjectiveQuery.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceLevelObjectiveQuery.attributeTypeMap = {\n denominator: {\n baseName: \"denominator\",\n type: \"string\",\n required: true,\n },\n numerator: {\n baseName: \"numerator\",\n type: \"string\",\n required: true,\n },\n };\n return ServiceLevelObjectiveQuery;\n}());\nexports.ServiceLevelObjectiveQuery = ServiceLevelObjectiveQuery;\n//# sourceMappingURL=ServiceLevelObjectiveQuery.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceLevelObjectiveRequest = void 0;\n/**\n * A service level objective object includes a service level indicator, thresholds for one or more timeframes, and metadata (`name`, `description`, `tags`, etc.).\n */\nvar ServiceLevelObjectiveRequest = /** @class */ (function () {\n function ServiceLevelObjectiveRequest() {\n }\n /**\n * @ignore\n */\n ServiceLevelObjectiveRequest.getAttributeTypeMap = function () {\n return ServiceLevelObjectiveRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceLevelObjectiveRequest.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n groups: {\n baseName: \"groups\",\n type: \"Array\",\n },\n monitorIds: {\n baseName: \"monitor_ids\",\n type: \"Array\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"ServiceLevelObjectiveQuery\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n thresholds: {\n baseName: \"thresholds\",\n type: \"Array\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SLOType\",\n required: true,\n },\n };\n return ServiceLevelObjectiveRequest;\n}());\nexports.ServiceLevelObjectiveRequest = ServiceLevelObjectiveRequest;\n//# sourceMappingURL=ServiceLevelObjectiveRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceMapWidgetDefinition = void 0;\n/**\n * This widget displays a map of a service to all of the services that call it, and all of the services that it calls.\n */\nvar ServiceMapWidgetDefinition = /** @class */ (function () {\n function ServiceMapWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ServiceMapWidgetDefinition.getAttributeTypeMap = function () {\n return ServiceMapWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceMapWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n filters: {\n baseName: \"filters\",\n type: \"Array\",\n required: true,\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n required: true,\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ServiceMapWidgetDefinitionType\",\n required: true,\n },\n };\n return ServiceMapWidgetDefinition;\n}());\nexports.ServiceMapWidgetDefinition = ServiceMapWidgetDefinition;\n//# sourceMappingURL=ServiceMapWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceSummaryWidgetDefinition = void 0;\n/**\n * The service summary displays the graphs of a chosen service in your screenboard. Only available on FREE layout dashboards.\n */\nvar ServiceSummaryWidgetDefinition = /** @class */ (function () {\n function ServiceSummaryWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ServiceSummaryWidgetDefinition.getAttributeTypeMap = function () {\n return ServiceSummaryWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceSummaryWidgetDefinition.attributeTypeMap = {\n displayFormat: {\n baseName: \"display_format\",\n type: \"WidgetServiceSummaryDisplayFormat\",\n },\n env: {\n baseName: \"env\",\n type: \"string\",\n required: true,\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n required: true,\n },\n showBreakdown: {\n baseName: \"show_breakdown\",\n type: \"boolean\",\n },\n showDistribution: {\n baseName: \"show_distribution\",\n type: \"boolean\",\n },\n showErrors: {\n baseName: \"show_errors\",\n type: \"boolean\",\n },\n showHits: {\n baseName: \"show_hits\",\n type: \"boolean\",\n },\n showLatency: {\n baseName: \"show_latency\",\n type: \"boolean\",\n },\n showResourceList: {\n baseName: \"show_resource_list\",\n type: \"boolean\",\n },\n sizeFormat: {\n baseName: \"size_format\",\n type: \"WidgetSizeFormat\",\n },\n spanName: {\n baseName: \"span_name\",\n type: \"string\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ServiceSummaryWidgetDefinitionType\",\n required: true,\n },\n };\n return ServiceSummaryWidgetDefinition;\n}());\nexports.ServiceSummaryWidgetDefinition = ServiceSummaryWidgetDefinition;\n//# sourceMappingURL=ServiceSummaryWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SlackIntegrationChannel = void 0;\n/**\n * The Slack channel configuration.\n */\nvar SlackIntegrationChannel = /** @class */ (function () {\n function SlackIntegrationChannel() {\n }\n /**\n * @ignore\n */\n SlackIntegrationChannel.getAttributeTypeMap = function () {\n return SlackIntegrationChannel.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SlackIntegrationChannel.attributeTypeMap = {\n display: {\n baseName: \"display\",\n type: \"SlackIntegrationChannelDisplay\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return SlackIntegrationChannel;\n}());\nexports.SlackIntegrationChannel = SlackIntegrationChannel;\n//# sourceMappingURL=SlackIntegrationChannel.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SlackIntegrationChannelDisplay = void 0;\n/**\n * Configuration options for what is shown in an alert event message.\n */\nvar SlackIntegrationChannelDisplay = /** @class */ (function () {\n function SlackIntegrationChannelDisplay() {\n }\n /**\n * @ignore\n */\n SlackIntegrationChannelDisplay.getAttributeTypeMap = function () {\n return SlackIntegrationChannelDisplay.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SlackIntegrationChannelDisplay.attributeTypeMap = {\n message: {\n baseName: \"message\",\n type: \"boolean\",\n },\n notified: {\n baseName: \"notified\",\n type: \"boolean\",\n },\n snapshot: {\n baseName: \"snapshot\",\n type: \"boolean\",\n },\n tags: {\n baseName: \"tags\",\n type: \"boolean\",\n },\n };\n return SlackIntegrationChannelDisplay;\n}());\nexports.SlackIntegrationChannelDisplay = SlackIntegrationChannelDisplay;\n//# sourceMappingURL=SlackIntegrationChannelDisplay.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SunburstWidgetDefinition = void 0;\n/**\n * Sunbursts are spot on to highlight how groups contribute to the total of a query.\n */\nvar SunburstWidgetDefinition = /** @class */ (function () {\n function SunburstWidgetDefinition() {\n }\n /**\n * @ignore\n */\n SunburstWidgetDefinition.getAttributeTypeMap = function () {\n return SunburstWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SunburstWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n hideTotal: {\n baseName: \"hide_total\",\n type: \"boolean\",\n },\n legend: {\n baseName: \"legend\",\n type: \"SunburstWidgetLegend\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SunburstWidgetDefinitionType\",\n required: true,\n },\n };\n return SunburstWidgetDefinition;\n}());\nexports.SunburstWidgetDefinition = SunburstWidgetDefinition;\n//# sourceMappingURL=SunburstWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SunburstWidgetLegendInlineAutomatic = void 0;\n/**\n * Configuration of inline or automatic legends.\n */\nvar SunburstWidgetLegendInlineAutomatic = /** @class */ (function () {\n function SunburstWidgetLegendInlineAutomatic() {\n }\n /**\n * @ignore\n */\n SunburstWidgetLegendInlineAutomatic.getAttributeTypeMap = function () {\n return SunburstWidgetLegendInlineAutomatic.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SunburstWidgetLegendInlineAutomatic.attributeTypeMap = {\n hidePercent: {\n baseName: \"hide_percent\",\n type: \"boolean\",\n },\n hideValue: {\n baseName: \"hide_value\",\n type: \"boolean\",\n },\n type: {\n baseName: \"type\",\n type: \"SunburstWidgetLegendInlineAutomaticType\",\n required: true,\n },\n };\n return SunburstWidgetLegendInlineAutomatic;\n}());\nexports.SunburstWidgetLegendInlineAutomatic = SunburstWidgetLegendInlineAutomatic;\n//# sourceMappingURL=SunburstWidgetLegendInlineAutomatic.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SunburstWidgetLegendTable = void 0;\n/**\n * Configuration of table-based legend.\n */\nvar SunburstWidgetLegendTable = /** @class */ (function () {\n function SunburstWidgetLegendTable() {\n }\n /**\n * @ignore\n */\n SunburstWidgetLegendTable.getAttributeTypeMap = function () {\n return SunburstWidgetLegendTable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SunburstWidgetLegendTable.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"SunburstWidgetLegendTableType\",\n required: true,\n },\n };\n return SunburstWidgetLegendTable;\n}());\nexports.SunburstWidgetLegendTable = SunburstWidgetLegendTable;\n//# sourceMappingURL=SunburstWidgetLegendTable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SunburstWidgetRequest = void 0;\n/**\n * Request definition of sunburst widget.\n */\nvar SunburstWidgetRequest = /** @class */ (function () {\n function SunburstWidgetRequest() {\n }\n /**\n * @ignore\n */\n SunburstWidgetRequest.getAttributeTypeMap = function () {\n return SunburstWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SunburstWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n auditQuery: {\n baseName: \"audit_query\",\n type: \"LogQueryDefinition\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return SunburstWidgetRequest;\n}());\nexports.SunburstWidgetRequest = SunburstWidgetRequest;\n//# sourceMappingURL=SunburstWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPIStep = void 0;\n/**\n * The steps used in a Synthetics multistep API test.\n */\nvar SyntheticsAPIStep = /** @class */ (function () {\n function SyntheticsAPIStep() {\n }\n /**\n * @ignore\n */\n SyntheticsAPIStep.getAttributeTypeMap = function () {\n return SyntheticsAPIStep.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPIStep.attributeTypeMap = {\n allowFailure: {\n baseName: \"allowFailure\",\n type: \"boolean\",\n },\n assertions: {\n baseName: \"assertions\",\n type: \"Array\",\n required: true,\n },\n extractedValues: {\n baseName: \"extractedValues\",\n type: \"Array\",\n },\n isCritical: {\n baseName: \"isCritical\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n request: {\n baseName: \"request\",\n type: \"SyntheticsTestRequest\",\n required: true,\n },\n retry: {\n baseName: \"retry\",\n type: \"SyntheticsTestOptionsRetry\",\n },\n subtype: {\n baseName: \"subtype\",\n type: \"SyntheticsAPIStepSubtype\",\n required: true,\n },\n };\n return SyntheticsAPIStep;\n}());\nexports.SyntheticsAPIStep = SyntheticsAPIStep;\n//# sourceMappingURL=SyntheticsAPIStep.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITest = void 0;\n/**\n * Object containing details about a Synthetic API test.\n */\nvar SyntheticsAPITest = /** @class */ (function () {\n function SyntheticsAPITest() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITest.getAttributeTypeMap = function () {\n return SyntheticsAPITest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITest.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"SyntheticsAPITestConfig\",\n required: true,\n },\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n required: true,\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n options: {\n baseName: \"options\",\n type: \"SyntheticsTestOptions\",\n required: true,\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestPauseStatus\",\n },\n subtype: {\n baseName: \"subtype\",\n type: \"SyntheticsTestDetailsSubType\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsAPITestType\",\n required: true,\n },\n };\n return SyntheticsAPITest;\n}());\nexports.SyntheticsAPITest = SyntheticsAPITest;\n//# sourceMappingURL=SyntheticsAPITest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestConfig = void 0;\n/**\n * Configuration object for a Synthetic API test.\n */\nvar SyntheticsAPITestConfig = /** @class */ (function () {\n function SyntheticsAPITestConfig() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestConfig.getAttributeTypeMap = function () {\n return SyntheticsAPITestConfig.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestConfig.attributeTypeMap = {\n assertions: {\n baseName: \"assertions\",\n type: \"Array\",\n },\n configVariables: {\n baseName: \"configVariables\",\n type: \"Array\",\n },\n request: {\n baseName: \"request\",\n type: \"SyntheticsTestRequest\",\n },\n steps: {\n baseName: \"steps\",\n type: \"Array\",\n },\n };\n return SyntheticsAPITestConfig;\n}());\nexports.SyntheticsAPITestConfig = SyntheticsAPITestConfig;\n//# sourceMappingURL=SyntheticsAPITestConfig.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestResultData = void 0;\n/**\n * Object containing results for your Synthetic API test.\n */\nvar SyntheticsAPITestResultData = /** @class */ (function () {\n function SyntheticsAPITestResultData() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestResultData.getAttributeTypeMap = function () {\n return SyntheticsAPITestResultData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestResultData.attributeTypeMap = {\n cert: {\n baseName: \"cert\",\n type: \"SyntheticsSSLCertificate\",\n },\n eventType: {\n baseName: \"eventType\",\n type: \"SyntheticsTestProcessStatus\",\n },\n failure: {\n baseName: \"failure\",\n type: \"SyntheticsApiTestResultFailure\",\n },\n httpStatusCode: {\n baseName: \"httpStatusCode\",\n type: \"number\",\n format: \"int64\",\n },\n requestHeaders: {\n baseName: \"requestHeaders\",\n type: \"{ [key: string]: any; }\",\n },\n responseBody: {\n baseName: \"responseBody\",\n type: \"string\",\n },\n responseHeaders: {\n baseName: \"responseHeaders\",\n type: \"{ [key: string]: any; }\",\n },\n responseSize: {\n baseName: \"responseSize\",\n type: \"number\",\n format: \"int64\",\n },\n timings: {\n baseName: \"timings\",\n type: \"SyntheticsTiming\",\n },\n };\n return SyntheticsAPITestResultData;\n}());\nexports.SyntheticsAPITestResultData = SyntheticsAPITestResultData;\n//# sourceMappingURL=SyntheticsAPITestResultData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestResultFull = void 0;\n/**\n * Object returned describing a API test result.\n */\nvar SyntheticsAPITestResultFull = /** @class */ (function () {\n function SyntheticsAPITestResultFull() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestResultFull.getAttributeTypeMap = function () {\n return SyntheticsAPITestResultFull.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestResultFull.attributeTypeMap = {\n check: {\n baseName: \"check\",\n type: \"SyntheticsAPITestResultFullCheck\",\n },\n checkTime: {\n baseName: \"check_time\",\n type: \"number\",\n format: \"double\",\n },\n checkVersion: {\n baseName: \"check_version\",\n type: \"number\",\n format: \"int64\",\n },\n probeDc: {\n baseName: \"probe_dc\",\n type: \"string\",\n },\n result: {\n baseName: \"result\",\n type: \"SyntheticsAPITestResultData\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestMonitorStatus\",\n },\n };\n return SyntheticsAPITestResultFull;\n}());\nexports.SyntheticsAPITestResultFull = SyntheticsAPITestResultFull;\n//# sourceMappingURL=SyntheticsAPITestResultFull.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestResultFullCheck = void 0;\n/**\n * Object describing the API test configuration.\n */\nvar SyntheticsAPITestResultFullCheck = /** @class */ (function () {\n function SyntheticsAPITestResultFullCheck() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestResultFullCheck.getAttributeTypeMap = function () {\n return SyntheticsAPITestResultFullCheck.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestResultFullCheck.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"SyntheticsTestConfig\",\n required: true,\n },\n };\n return SyntheticsAPITestResultFullCheck;\n}());\nexports.SyntheticsAPITestResultFullCheck = SyntheticsAPITestResultFullCheck;\n//# sourceMappingURL=SyntheticsAPITestResultFullCheck.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestResultShort = void 0;\n/**\n * Object with the results of a single Synthetic API test.\n */\nvar SyntheticsAPITestResultShort = /** @class */ (function () {\n function SyntheticsAPITestResultShort() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestResultShort.getAttributeTypeMap = function () {\n return SyntheticsAPITestResultShort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestResultShort.attributeTypeMap = {\n checkTime: {\n baseName: \"check_time\",\n type: \"number\",\n format: \"double\",\n },\n probeDc: {\n baseName: \"probe_dc\",\n type: \"string\",\n },\n result: {\n baseName: \"result\",\n type: \"SyntheticsAPITestResultShortResult\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestMonitorStatus\",\n },\n };\n return SyntheticsAPITestResultShort;\n}());\nexports.SyntheticsAPITestResultShort = SyntheticsAPITestResultShort;\n//# sourceMappingURL=SyntheticsAPITestResultShort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAPITestResultShortResult = void 0;\n/**\n * Result of the last API test run.\n */\nvar SyntheticsAPITestResultShortResult = /** @class */ (function () {\n function SyntheticsAPITestResultShortResult() {\n }\n /**\n * @ignore\n */\n SyntheticsAPITestResultShortResult.getAttributeTypeMap = function () {\n return SyntheticsAPITestResultShortResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAPITestResultShortResult.attributeTypeMap = {\n passed: {\n baseName: \"passed\",\n type: \"boolean\",\n },\n timings: {\n baseName: \"timings\",\n type: \"SyntheticsTiming\",\n },\n };\n return SyntheticsAPITestResultShortResult;\n}());\nexports.SyntheticsAPITestResultShortResult = SyntheticsAPITestResultShortResult;\n//# sourceMappingURL=SyntheticsAPITestResultShortResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsApiTestResultFailure = void 0;\n/**\n * The API test failure details.\n */\nvar SyntheticsApiTestResultFailure = /** @class */ (function () {\n function SyntheticsApiTestResultFailure() {\n }\n /**\n * @ignore\n */\n SyntheticsApiTestResultFailure.getAttributeTypeMap = function () {\n return SyntheticsApiTestResultFailure.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsApiTestResultFailure.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"SyntheticsApiTestFailureCode\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return SyntheticsApiTestResultFailure;\n}());\nexports.SyntheticsApiTestResultFailure = SyntheticsApiTestResultFailure;\n//# sourceMappingURL=SyntheticsApiTestResultFailure.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAssertionJSONPathTarget = void 0;\n/**\n * An assertion for the `validatesJSONPath` operator.\n */\nvar SyntheticsAssertionJSONPathTarget = /** @class */ (function () {\n function SyntheticsAssertionJSONPathTarget() {\n }\n /**\n * @ignore\n */\n SyntheticsAssertionJSONPathTarget.getAttributeTypeMap = function () {\n return SyntheticsAssertionJSONPathTarget.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAssertionJSONPathTarget.attributeTypeMap = {\n operator: {\n baseName: \"operator\",\n type: \"SyntheticsAssertionJSONPathOperator\",\n required: true,\n },\n property: {\n baseName: \"property\",\n type: \"string\",\n },\n target: {\n baseName: \"target\",\n type: \"SyntheticsAssertionJSONPathTargetTarget\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsAssertionType\",\n required: true,\n },\n };\n return SyntheticsAssertionJSONPathTarget;\n}());\nexports.SyntheticsAssertionJSONPathTarget = SyntheticsAssertionJSONPathTarget;\n//# sourceMappingURL=SyntheticsAssertionJSONPathTarget.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAssertionJSONPathTargetTarget = void 0;\n/**\n * Composed target for `validatesJSONPath` operator.\n */\nvar SyntheticsAssertionJSONPathTargetTarget = /** @class */ (function () {\n function SyntheticsAssertionJSONPathTargetTarget() {\n }\n /**\n * @ignore\n */\n SyntheticsAssertionJSONPathTargetTarget.getAttributeTypeMap = function () {\n return SyntheticsAssertionJSONPathTargetTarget.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAssertionJSONPathTargetTarget.attributeTypeMap = {\n jsonPath: {\n baseName: \"jsonPath\",\n type: \"string\",\n },\n operator: {\n baseName: \"operator\",\n type: \"string\",\n },\n targetValue: {\n baseName: \"targetValue\",\n type: \"any\",\n },\n };\n return SyntheticsAssertionJSONPathTargetTarget;\n}());\nexports.SyntheticsAssertionJSONPathTargetTarget = SyntheticsAssertionJSONPathTargetTarget;\n//# sourceMappingURL=SyntheticsAssertionJSONPathTargetTarget.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsAssertionTarget = void 0;\n/**\n * An assertion which uses a simple target.\n */\nvar SyntheticsAssertionTarget = /** @class */ (function () {\n function SyntheticsAssertionTarget() {\n }\n /**\n * @ignore\n */\n SyntheticsAssertionTarget.getAttributeTypeMap = function () {\n return SyntheticsAssertionTarget.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsAssertionTarget.attributeTypeMap = {\n operator: {\n baseName: \"operator\",\n type: \"SyntheticsAssertionOperator\",\n required: true,\n },\n property: {\n baseName: \"property\",\n type: \"string\",\n },\n target: {\n baseName: \"target\",\n type: \"any\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsAssertionType\",\n required: true,\n },\n };\n return SyntheticsAssertionTarget;\n}());\nexports.SyntheticsAssertionTarget = SyntheticsAssertionTarget;\n//# sourceMappingURL=SyntheticsAssertionTarget.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBasicAuthNTLM = void 0;\n/**\n * Object to handle `NTLM` authentication when performing the test.\n */\nvar SyntheticsBasicAuthNTLM = /** @class */ (function () {\n function SyntheticsBasicAuthNTLM() {\n }\n /**\n * @ignore\n */\n SyntheticsBasicAuthNTLM.getAttributeTypeMap = function () {\n return SyntheticsBasicAuthNTLM.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBasicAuthNTLM.attributeTypeMap = {\n domain: {\n baseName: \"domain\",\n type: \"string\",\n },\n password: {\n baseName: \"password\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBasicAuthNTLMType\",\n required: true,\n },\n username: {\n baseName: \"username\",\n type: \"string\",\n },\n workstation: {\n baseName: \"workstation\",\n type: \"string\",\n },\n };\n return SyntheticsBasicAuthNTLM;\n}());\nexports.SyntheticsBasicAuthNTLM = SyntheticsBasicAuthNTLM;\n//# sourceMappingURL=SyntheticsBasicAuthNTLM.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBasicAuthSigv4 = void 0;\n/**\n * Object to handle `SIGV4` authentication when performing the test.\n */\nvar SyntheticsBasicAuthSigv4 = /** @class */ (function () {\n function SyntheticsBasicAuthSigv4() {\n }\n /**\n * @ignore\n */\n SyntheticsBasicAuthSigv4.getAttributeTypeMap = function () {\n return SyntheticsBasicAuthSigv4.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBasicAuthSigv4.attributeTypeMap = {\n accessKey: {\n baseName: \"accessKey\",\n type: \"string\",\n required: true,\n },\n region: {\n baseName: \"region\",\n type: \"string\",\n },\n secretKey: {\n baseName: \"secretKey\",\n type: \"string\",\n required: true,\n },\n serviceName: {\n baseName: \"serviceName\",\n type: \"string\",\n },\n sessionToken: {\n baseName: \"sessionToken\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBasicAuthSigv4Type\",\n required: true,\n },\n };\n return SyntheticsBasicAuthSigv4;\n}());\nexports.SyntheticsBasicAuthSigv4 = SyntheticsBasicAuthSigv4;\n//# sourceMappingURL=SyntheticsBasicAuthSigv4.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBasicAuthWeb = void 0;\n/**\n * Object to handle basic authentication when performing the test.\n */\nvar SyntheticsBasicAuthWeb = /** @class */ (function () {\n function SyntheticsBasicAuthWeb() {\n }\n /**\n * @ignore\n */\n SyntheticsBasicAuthWeb.getAttributeTypeMap = function () {\n return SyntheticsBasicAuthWeb.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBasicAuthWeb.attributeTypeMap = {\n password: {\n baseName: \"password\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBasicAuthWebType\",\n required: true,\n },\n username: {\n baseName: \"username\",\n type: \"string\",\n required: true,\n },\n };\n return SyntheticsBasicAuthWeb;\n}());\nexports.SyntheticsBasicAuthWeb = SyntheticsBasicAuthWeb;\n//# sourceMappingURL=SyntheticsBasicAuthWeb.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBatchDetails = void 0;\n/**\n * Details about a batch response.\n */\nvar SyntheticsBatchDetails = /** @class */ (function () {\n function SyntheticsBatchDetails() {\n }\n /**\n * @ignore\n */\n SyntheticsBatchDetails.getAttributeTypeMap = function () {\n return SyntheticsBatchDetails.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBatchDetails.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SyntheticsBatchDetailsData\",\n },\n };\n return SyntheticsBatchDetails;\n}());\nexports.SyntheticsBatchDetails = SyntheticsBatchDetails;\n//# sourceMappingURL=SyntheticsBatchDetails.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBatchDetailsData = void 0;\n/**\n * Wrapper object that contains the details of a batch.\n */\nvar SyntheticsBatchDetailsData = /** @class */ (function () {\n function SyntheticsBatchDetailsData() {\n }\n /**\n * @ignore\n */\n SyntheticsBatchDetailsData.getAttributeTypeMap = function () {\n return SyntheticsBatchDetailsData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBatchDetailsData.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"SyntheticsCIBatchMetadata\",\n },\n results: {\n baseName: \"results\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsStatus\",\n },\n };\n return SyntheticsBatchDetailsData;\n}());\nexports.SyntheticsBatchDetailsData = SyntheticsBatchDetailsData;\n//# sourceMappingURL=SyntheticsBatchDetailsData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBatchResult = void 0;\n/**\n * Object with the results of a Synthetics batch.\n */\nvar SyntheticsBatchResult = /** @class */ (function () {\n function SyntheticsBatchResult() {\n }\n /**\n * @ignore\n */\n SyntheticsBatchResult.getAttributeTypeMap = function () {\n return SyntheticsBatchResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBatchResult.attributeTypeMap = {\n device: {\n baseName: \"device\",\n type: \"SyntheticsDeviceID\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"double\",\n },\n executionRule: {\n baseName: \"execution_rule\",\n type: \"SyntheticsTestExecutionRule\",\n },\n location: {\n baseName: \"location\",\n type: \"string\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n retries: {\n baseName: \"retries\",\n type: \"number\",\n format: \"double\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsStatus\",\n },\n testName: {\n baseName: \"test_name\",\n type: \"string\",\n },\n testPublicId: {\n baseName: \"test_public_id\",\n type: \"string\",\n },\n testType: {\n baseName: \"test_type\",\n type: \"SyntheticsTestDetailsType\",\n },\n };\n return SyntheticsBatchResult;\n}());\nexports.SyntheticsBatchResult = SyntheticsBatchResult;\n//# sourceMappingURL=SyntheticsBatchResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserError = void 0;\n/**\n * Error response object for a browser test.\n */\nvar SyntheticsBrowserError = /** @class */ (function () {\n function SyntheticsBrowserError() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserError.getAttributeTypeMap = function () {\n return SyntheticsBrowserError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserError.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n status: {\n baseName: \"status\",\n type: \"number\",\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBrowserErrorType\",\n required: true,\n },\n };\n return SyntheticsBrowserError;\n}());\nexports.SyntheticsBrowserError = SyntheticsBrowserError;\n//# sourceMappingURL=SyntheticsBrowserError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTest = void 0;\n/**\n * Object containing details about a Synthetic browser test.\n */\nvar SyntheticsBrowserTest = /** @class */ (function () {\n function SyntheticsBrowserTest() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTest.getAttributeTypeMap = function () {\n return SyntheticsBrowserTest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTest.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"SyntheticsBrowserTestConfig\",\n required: true,\n },\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n required: true,\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n options: {\n baseName: \"options\",\n type: \"SyntheticsTestOptions\",\n required: true,\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestPauseStatus\",\n },\n steps: {\n baseName: \"steps\",\n type: \"Array\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBrowserTestType\",\n required: true,\n },\n };\n return SyntheticsBrowserTest;\n}());\nexports.SyntheticsBrowserTest = SyntheticsBrowserTest;\n//# sourceMappingURL=SyntheticsBrowserTest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestConfig = void 0;\n/**\n * Configuration object for a Synthetic browser test.\n */\nvar SyntheticsBrowserTestConfig = /** @class */ (function () {\n function SyntheticsBrowserTestConfig() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestConfig.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestConfig.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestConfig.attributeTypeMap = {\n assertions: {\n baseName: \"assertions\",\n type: \"Array\",\n required: true,\n },\n configVariables: {\n baseName: \"configVariables\",\n type: \"Array\",\n },\n request: {\n baseName: \"request\",\n type: \"SyntheticsTestRequest\",\n required: true,\n },\n setCookie: {\n baseName: \"setCookie\",\n type: \"string\",\n },\n variables: {\n baseName: \"variables\",\n type: \"Array\",\n },\n };\n return SyntheticsBrowserTestConfig;\n}());\nexports.SyntheticsBrowserTestConfig = SyntheticsBrowserTestConfig;\n//# sourceMappingURL=SyntheticsBrowserTestConfig.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultData = void 0;\n/**\n * Object containing results for your Synthetic browser test.\n */\nvar SyntheticsBrowserTestResultData = /** @class */ (function () {\n function SyntheticsBrowserTestResultData() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultData.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultData.attributeTypeMap = {\n browserType: {\n baseName: \"browserType\",\n type: \"string\",\n },\n browserVersion: {\n baseName: \"browserVersion\",\n type: \"string\",\n },\n device: {\n baseName: \"device\",\n type: \"SyntheticsDevice\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"double\",\n },\n error: {\n baseName: \"error\",\n type: \"string\",\n },\n failure: {\n baseName: \"failure\",\n type: \"SyntheticsBrowserTestResultFailure\",\n },\n passed: {\n baseName: \"passed\",\n type: \"boolean\",\n },\n receivedEmailCount: {\n baseName: \"receivedEmailCount\",\n type: \"number\",\n format: \"int64\",\n },\n startUrl: {\n baseName: \"startUrl\",\n type: \"string\",\n },\n stepDetails: {\n baseName: \"stepDetails\",\n type: \"Array\",\n },\n thumbnailsBucketKey: {\n baseName: \"thumbnailsBucketKey\",\n type: \"boolean\",\n },\n timeToInteractive: {\n baseName: \"timeToInteractive\",\n type: \"number\",\n format: \"double\",\n },\n };\n return SyntheticsBrowserTestResultData;\n}());\nexports.SyntheticsBrowserTestResultData = SyntheticsBrowserTestResultData;\n//# sourceMappingURL=SyntheticsBrowserTestResultData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultFailure = void 0;\n/**\n * The browser test failure details.\n */\nvar SyntheticsBrowserTestResultFailure = /** @class */ (function () {\n function SyntheticsBrowserTestResultFailure() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFailure.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultFailure.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFailure.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"SyntheticsBrowserTestFailureCode\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return SyntheticsBrowserTestResultFailure;\n}());\nexports.SyntheticsBrowserTestResultFailure = SyntheticsBrowserTestResultFailure;\n//# sourceMappingURL=SyntheticsBrowserTestResultFailure.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultFull = void 0;\n/**\n * Object returned describing a browser test result.\n */\nvar SyntheticsBrowserTestResultFull = /** @class */ (function () {\n function SyntheticsBrowserTestResultFull() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFull.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultFull.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFull.attributeTypeMap = {\n check: {\n baseName: \"check\",\n type: \"SyntheticsBrowserTestResultFullCheck\",\n },\n checkTime: {\n baseName: \"check_time\",\n type: \"number\",\n format: \"double\",\n },\n checkVersion: {\n baseName: \"check_version\",\n type: \"number\",\n format: \"int64\",\n },\n probeDc: {\n baseName: \"probe_dc\",\n type: \"string\",\n },\n result: {\n baseName: \"result\",\n type: \"SyntheticsBrowserTestResultData\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestMonitorStatus\",\n },\n };\n return SyntheticsBrowserTestResultFull;\n}());\nexports.SyntheticsBrowserTestResultFull = SyntheticsBrowserTestResultFull;\n//# sourceMappingURL=SyntheticsBrowserTestResultFull.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultFullCheck = void 0;\n/**\n * Object describing the browser test configuration.\n */\nvar SyntheticsBrowserTestResultFullCheck = /** @class */ (function () {\n function SyntheticsBrowserTestResultFullCheck() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFullCheck.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultFullCheck.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultFullCheck.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"SyntheticsTestConfig\",\n required: true,\n },\n };\n return SyntheticsBrowserTestResultFullCheck;\n}());\nexports.SyntheticsBrowserTestResultFullCheck = SyntheticsBrowserTestResultFullCheck;\n//# sourceMappingURL=SyntheticsBrowserTestResultFullCheck.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultShort = void 0;\n/**\n * Object with the results of a single Synthetic browser test.\n */\nvar SyntheticsBrowserTestResultShort = /** @class */ (function () {\n function SyntheticsBrowserTestResultShort() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultShort.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultShort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultShort.attributeTypeMap = {\n checkTime: {\n baseName: \"check_time\",\n type: \"number\",\n format: \"double\",\n },\n probeDc: {\n baseName: \"probe_dc\",\n type: \"string\",\n },\n result: {\n baseName: \"result\",\n type: \"SyntheticsBrowserTestResultShortResult\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestMonitorStatus\",\n },\n };\n return SyntheticsBrowserTestResultShort;\n}());\nexports.SyntheticsBrowserTestResultShort = SyntheticsBrowserTestResultShort;\n//# sourceMappingURL=SyntheticsBrowserTestResultShort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserTestResultShortResult = void 0;\n/**\n * Object with the result of the last browser test run.\n */\nvar SyntheticsBrowserTestResultShortResult = /** @class */ (function () {\n function SyntheticsBrowserTestResultShortResult() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultShortResult.getAttributeTypeMap = function () {\n return SyntheticsBrowserTestResultShortResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserTestResultShortResult.attributeTypeMap = {\n device: {\n baseName: \"device\",\n type: \"SyntheticsDevice\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"double\",\n },\n errorCount: {\n baseName: \"errorCount\",\n type: \"number\",\n format: \"int64\",\n },\n stepCountCompleted: {\n baseName: \"stepCountCompleted\",\n type: \"number\",\n format: \"int64\",\n },\n stepCountTotal: {\n baseName: \"stepCountTotal\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return SyntheticsBrowserTestResultShortResult;\n}());\nexports.SyntheticsBrowserTestResultShortResult = SyntheticsBrowserTestResultShortResult;\n//# sourceMappingURL=SyntheticsBrowserTestResultShortResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsBrowserVariable = void 0;\n/**\n * Object defining a variable that can be used in your browser test. Learn more in the [Browser test Actions documentation](https://docs.datadoghq.com/synthetics/browser_tests/actions#variable).\n */\nvar SyntheticsBrowserVariable = /** @class */ (function () {\n function SyntheticsBrowserVariable() {\n }\n /**\n * @ignore\n */\n SyntheticsBrowserVariable.getAttributeTypeMap = function () {\n return SyntheticsBrowserVariable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsBrowserVariable.attributeTypeMap = {\n example: {\n baseName: \"example\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n pattern: {\n baseName: \"pattern\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsBrowserVariableType\",\n required: true,\n },\n };\n return SyntheticsBrowserVariable;\n}());\nexports.SyntheticsBrowserVariable = SyntheticsBrowserVariable;\n//# sourceMappingURL=SyntheticsBrowserVariable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCIBatchMetadata = void 0;\n/**\n * Metadata for the Synthetics tests run.\n */\nvar SyntheticsCIBatchMetadata = /** @class */ (function () {\n function SyntheticsCIBatchMetadata() {\n }\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadata.getAttributeTypeMap = function () {\n return SyntheticsCIBatchMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadata.attributeTypeMap = {\n ci: {\n baseName: \"ci\",\n type: \"SyntheticsCIBatchMetadataCI\",\n },\n git: {\n baseName: \"git\",\n type: \"SyntheticsCIBatchMetadataGit\",\n },\n };\n return SyntheticsCIBatchMetadata;\n}());\nexports.SyntheticsCIBatchMetadata = SyntheticsCIBatchMetadata;\n//# sourceMappingURL=SyntheticsCIBatchMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCIBatchMetadataCI = void 0;\n/**\n * Description of the CI provider.\n */\nvar SyntheticsCIBatchMetadataCI = /** @class */ (function () {\n function SyntheticsCIBatchMetadataCI() {\n }\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataCI.getAttributeTypeMap = function () {\n return SyntheticsCIBatchMetadataCI.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataCI.attributeTypeMap = {\n pipeline: {\n baseName: \"pipeline\",\n type: \"SyntheticsCIBatchMetadataPipeline\",\n },\n provider: {\n baseName: \"provider\",\n type: \"SyntheticsCIBatchMetadataProvider\",\n },\n };\n return SyntheticsCIBatchMetadataCI;\n}());\nexports.SyntheticsCIBatchMetadataCI = SyntheticsCIBatchMetadataCI;\n//# sourceMappingURL=SyntheticsCIBatchMetadataCI.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCIBatchMetadataGit = void 0;\n/**\n * Git information.\n */\nvar SyntheticsCIBatchMetadataGit = /** @class */ (function () {\n function SyntheticsCIBatchMetadataGit() {\n }\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataGit.getAttributeTypeMap = function () {\n return SyntheticsCIBatchMetadataGit.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataGit.attributeTypeMap = {\n branch: {\n baseName: \"branch\",\n type: \"string\",\n },\n commitSha: {\n baseName: \"commitSha\",\n type: \"string\",\n },\n };\n return SyntheticsCIBatchMetadataGit;\n}());\nexports.SyntheticsCIBatchMetadataGit = SyntheticsCIBatchMetadataGit;\n//# sourceMappingURL=SyntheticsCIBatchMetadataGit.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCIBatchMetadataPipeline = void 0;\n/**\n * Description of the CI pipeline.\n */\nvar SyntheticsCIBatchMetadataPipeline = /** @class */ (function () {\n function SyntheticsCIBatchMetadataPipeline() {\n }\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataPipeline.getAttributeTypeMap = function () {\n return SyntheticsCIBatchMetadataPipeline.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataPipeline.attributeTypeMap = {\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return SyntheticsCIBatchMetadataPipeline;\n}());\nexports.SyntheticsCIBatchMetadataPipeline = SyntheticsCIBatchMetadataPipeline;\n//# sourceMappingURL=SyntheticsCIBatchMetadataPipeline.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCIBatchMetadataProvider = void 0;\n/**\n * Description of the CI provider.\n */\nvar SyntheticsCIBatchMetadataProvider = /** @class */ (function () {\n function SyntheticsCIBatchMetadataProvider() {\n }\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataProvider.getAttributeTypeMap = function () {\n return SyntheticsCIBatchMetadataProvider.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCIBatchMetadataProvider.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return SyntheticsCIBatchMetadataProvider;\n}());\nexports.SyntheticsCIBatchMetadataProvider = SyntheticsCIBatchMetadataProvider;\n//# sourceMappingURL=SyntheticsCIBatchMetadataProvider.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCITest = void 0;\n/**\n * Test configuration for Synthetics CI\n */\nvar SyntheticsCITest = /** @class */ (function () {\n function SyntheticsCITest() {\n }\n /**\n * @ignore\n */\n SyntheticsCITest.getAttributeTypeMap = function () {\n return SyntheticsCITest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCITest.attributeTypeMap = {\n allowInsecureCertificates: {\n baseName: \"allowInsecureCertificates\",\n type: \"boolean\",\n },\n basicAuth: {\n baseName: \"basicAuth\",\n type: \"SyntheticsBasicAuth\",\n },\n body: {\n baseName: \"body\",\n type: \"string\",\n },\n bodyType: {\n baseName: \"bodyType\",\n type: \"string\",\n },\n cookies: {\n baseName: \"cookies\",\n type: \"string\",\n },\n deviceIds: {\n baseName: \"deviceIds\",\n type: \"Array\",\n },\n followRedirects: {\n baseName: \"followRedirects\",\n type: \"boolean\",\n },\n headers: {\n baseName: \"headers\",\n type: \"{ [key: string]: string; }\",\n },\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"SyntheticsCIBatchMetadata\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n required: true,\n },\n retry: {\n baseName: \"retry\",\n type: \"SyntheticsTestOptionsRetry\",\n },\n startUrl: {\n baseName: \"startUrl\",\n type: \"string\",\n },\n variables: {\n baseName: \"variables\",\n type: \"{ [key: string]: string; }\",\n },\n };\n return SyntheticsCITest;\n}());\nexports.SyntheticsCITest = SyntheticsCITest;\n//# sourceMappingURL=SyntheticsCITest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCITestBody = void 0;\n/**\n * Object describing the synthetics tests to trigger.\n */\nvar SyntheticsCITestBody = /** @class */ (function () {\n function SyntheticsCITestBody() {\n }\n /**\n * @ignore\n */\n SyntheticsCITestBody.getAttributeTypeMap = function () {\n return SyntheticsCITestBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCITestBody.attributeTypeMap = {\n tests: {\n baseName: \"tests\",\n type: \"Array\",\n },\n };\n return SyntheticsCITestBody;\n}());\nexports.SyntheticsCITestBody = SyntheticsCITestBody;\n//# sourceMappingURL=SyntheticsCITestBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsConfigVariable = void 0;\n/**\n * Object defining a variable that can be used in your test configuration.\n */\nvar SyntheticsConfigVariable = /** @class */ (function () {\n function SyntheticsConfigVariable() {\n }\n /**\n * @ignore\n */\n SyntheticsConfigVariable.getAttributeTypeMap = function () {\n return SyntheticsConfigVariable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsConfigVariable.attributeTypeMap = {\n example: {\n baseName: \"example\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n pattern: {\n baseName: \"pattern\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsConfigVariableType\",\n required: true,\n },\n };\n return SyntheticsConfigVariable;\n}());\nexports.SyntheticsConfigVariable = SyntheticsConfigVariable;\n//# sourceMappingURL=SyntheticsConfigVariable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsCoreWebVitals = void 0;\n/**\n * Core Web Vitals attached to a browser test step.\n */\nvar SyntheticsCoreWebVitals = /** @class */ (function () {\n function SyntheticsCoreWebVitals() {\n }\n /**\n * @ignore\n */\n SyntheticsCoreWebVitals.getAttributeTypeMap = function () {\n return SyntheticsCoreWebVitals.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsCoreWebVitals.attributeTypeMap = {\n cls: {\n baseName: \"cls\",\n type: \"number\",\n format: \"int64\",\n },\n lcp: {\n baseName: \"lcp\",\n type: \"number\",\n format: \"int64\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return SyntheticsCoreWebVitals;\n}());\nexports.SyntheticsCoreWebVitals = SyntheticsCoreWebVitals;\n//# sourceMappingURL=SyntheticsCoreWebVitals.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsDeleteTestsPayload = void 0;\n/**\n * A JSON list of the ID or IDs of the Synthetic tests that you want to delete.\n */\nvar SyntheticsDeleteTestsPayload = /** @class */ (function () {\n function SyntheticsDeleteTestsPayload() {\n }\n /**\n * @ignore\n */\n SyntheticsDeleteTestsPayload.getAttributeTypeMap = function () {\n return SyntheticsDeleteTestsPayload.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsDeleteTestsPayload.attributeTypeMap = {\n publicIds: {\n baseName: \"public_ids\",\n type: \"Array\",\n },\n };\n return SyntheticsDeleteTestsPayload;\n}());\nexports.SyntheticsDeleteTestsPayload = SyntheticsDeleteTestsPayload;\n//# sourceMappingURL=SyntheticsDeleteTestsPayload.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsDeleteTestsResponse = void 0;\n/**\n * Response object for deleting Synthetic tests.\n */\nvar SyntheticsDeleteTestsResponse = /** @class */ (function () {\n function SyntheticsDeleteTestsResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsDeleteTestsResponse.getAttributeTypeMap = function () {\n return SyntheticsDeleteTestsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsDeleteTestsResponse.attributeTypeMap = {\n deletedTests: {\n baseName: \"deleted_tests\",\n type: \"Array\",\n },\n };\n return SyntheticsDeleteTestsResponse;\n}());\nexports.SyntheticsDeleteTestsResponse = SyntheticsDeleteTestsResponse;\n//# sourceMappingURL=SyntheticsDeleteTestsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsDeletedTest = void 0;\n/**\n * Object containing a deleted Synthetic test ID with the associated deletion timestamp.\n */\nvar SyntheticsDeletedTest = /** @class */ (function () {\n function SyntheticsDeletedTest() {\n }\n /**\n * @ignore\n */\n SyntheticsDeletedTest.getAttributeTypeMap = function () {\n return SyntheticsDeletedTest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsDeletedTest.attributeTypeMap = {\n deletedAt: {\n baseName: \"deleted_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return SyntheticsDeletedTest;\n}());\nexports.SyntheticsDeletedTest = SyntheticsDeletedTest;\n//# sourceMappingURL=SyntheticsDeletedTest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsDevice = void 0;\n/**\n * Object describing the device used to perform the Synthetic test.\n */\nvar SyntheticsDevice = /** @class */ (function () {\n function SyntheticsDevice() {\n }\n /**\n * @ignore\n */\n SyntheticsDevice.getAttributeTypeMap = function () {\n return SyntheticsDevice.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsDevice.attributeTypeMap = {\n height: {\n baseName: \"height\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n id: {\n baseName: \"id\",\n type: \"SyntheticsDeviceID\",\n required: true,\n },\n isMobile: {\n baseName: \"isMobile\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n width: {\n baseName: \"width\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n };\n return SyntheticsDevice;\n}());\nexports.SyntheticsDevice = SyntheticsDevice;\n//# sourceMappingURL=SyntheticsDevice.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGetAPITestLatestResultsResponse = void 0;\n/**\n * Object with the latest Synthetic API test run.\n */\nvar SyntheticsGetAPITestLatestResultsResponse = /** @class */ (function () {\n function SyntheticsGetAPITestLatestResultsResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsGetAPITestLatestResultsResponse.getAttributeTypeMap = function () {\n return SyntheticsGetAPITestLatestResultsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGetAPITestLatestResultsResponse.attributeTypeMap = {\n lastTimestampFetched: {\n baseName: \"last_timestamp_fetched\",\n type: \"number\",\n format: \"int64\",\n },\n results: {\n baseName: \"results\",\n type: \"Array\",\n },\n };\n return SyntheticsGetAPITestLatestResultsResponse;\n}());\nexports.SyntheticsGetAPITestLatestResultsResponse = SyntheticsGetAPITestLatestResultsResponse;\n//# sourceMappingURL=SyntheticsGetAPITestLatestResultsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGetBrowserTestLatestResultsResponse = void 0;\n/**\n * Object with the latest Synthetic browser test run.\n */\nvar SyntheticsGetBrowserTestLatestResultsResponse = /** @class */ (function () {\n function SyntheticsGetBrowserTestLatestResultsResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsGetBrowserTestLatestResultsResponse.getAttributeTypeMap = function () {\n return SyntheticsGetBrowserTestLatestResultsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGetBrowserTestLatestResultsResponse.attributeTypeMap = {\n lastTimestampFetched: {\n baseName: \"last_timestamp_fetched\",\n type: \"number\",\n format: \"int64\",\n },\n results: {\n baseName: \"results\",\n type: \"Array\",\n },\n };\n return SyntheticsGetBrowserTestLatestResultsResponse;\n}());\nexports.SyntheticsGetBrowserTestLatestResultsResponse = SyntheticsGetBrowserTestLatestResultsResponse;\n//# sourceMappingURL=SyntheticsGetBrowserTestLatestResultsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGlobalVariable = void 0;\n/**\n * Synthetics global variable.\n */\nvar SyntheticsGlobalVariable = /** @class */ (function () {\n function SyntheticsGlobalVariable() {\n }\n /**\n * @ignore\n */\n SyntheticsGlobalVariable.getAttributeTypeMap = function () {\n return SyntheticsGlobalVariable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGlobalVariable.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SyntheticsGlobalVariableAttributes\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n parseTestOptions: {\n baseName: \"parse_test_options\",\n type: \"SyntheticsGlobalVariableParseTestOptions\",\n },\n parseTestPublicId: {\n baseName: \"parse_test_public_id\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n required: true,\n },\n value: {\n baseName: \"value\",\n type: \"SyntheticsGlobalVariableValue\",\n required: true,\n },\n };\n return SyntheticsGlobalVariable;\n}());\nexports.SyntheticsGlobalVariable = SyntheticsGlobalVariable;\n//# sourceMappingURL=SyntheticsGlobalVariable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGlobalVariableAttributes = void 0;\n/**\n * Attributes of the global variable.\n */\nvar SyntheticsGlobalVariableAttributes = /** @class */ (function () {\n function SyntheticsGlobalVariableAttributes() {\n }\n /**\n * @ignore\n */\n SyntheticsGlobalVariableAttributes.getAttributeTypeMap = function () {\n return SyntheticsGlobalVariableAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGlobalVariableAttributes.attributeTypeMap = {\n restrictedRoles: {\n baseName: \"restricted_roles\",\n type: \"Array\",\n },\n };\n return SyntheticsGlobalVariableAttributes;\n}());\nexports.SyntheticsGlobalVariableAttributes = SyntheticsGlobalVariableAttributes;\n//# sourceMappingURL=SyntheticsGlobalVariableAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGlobalVariableParseTestOptions = void 0;\n/**\n * Parser options to use for retrieving a Synthetics global variable from a Synthetics Test. Used in conjunction with `parse_test_public_id`.\n */\nvar SyntheticsGlobalVariableParseTestOptions = /** @class */ (function () {\n function SyntheticsGlobalVariableParseTestOptions() {\n }\n /**\n * @ignore\n */\n SyntheticsGlobalVariableParseTestOptions.getAttributeTypeMap = function () {\n return SyntheticsGlobalVariableParseTestOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGlobalVariableParseTestOptions.attributeTypeMap = {\n field: {\n baseName: \"field\",\n type: \"string\",\n },\n parser: {\n baseName: \"parser\",\n type: \"SyntheticsVariableParser\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsGlobalVariableParseTestOptionsType\",\n required: true,\n },\n };\n return SyntheticsGlobalVariableParseTestOptions;\n}());\nexports.SyntheticsGlobalVariableParseTestOptions = SyntheticsGlobalVariableParseTestOptions;\n//# sourceMappingURL=SyntheticsGlobalVariableParseTestOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsGlobalVariableValue = void 0;\n/**\n * Value of the global variable.\n */\nvar SyntheticsGlobalVariableValue = /** @class */ (function () {\n function SyntheticsGlobalVariableValue() {\n }\n /**\n * @ignore\n */\n SyntheticsGlobalVariableValue.getAttributeTypeMap = function () {\n return SyntheticsGlobalVariableValue.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsGlobalVariableValue.attributeTypeMap = {\n secure: {\n baseName: \"secure\",\n type: \"boolean\",\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return SyntheticsGlobalVariableValue;\n}());\nexports.SyntheticsGlobalVariableValue = SyntheticsGlobalVariableValue;\n//# sourceMappingURL=SyntheticsGlobalVariableValue.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsListGlobalVariablesResponse = void 0;\n/**\n * Object containing an array of Synthetic global variables.\n */\nvar SyntheticsListGlobalVariablesResponse = /** @class */ (function () {\n function SyntheticsListGlobalVariablesResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsListGlobalVariablesResponse.getAttributeTypeMap = function () {\n return SyntheticsListGlobalVariablesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsListGlobalVariablesResponse.attributeTypeMap = {\n variables: {\n baseName: \"variables\",\n type: \"Array\",\n },\n };\n return SyntheticsListGlobalVariablesResponse;\n}());\nexports.SyntheticsListGlobalVariablesResponse = SyntheticsListGlobalVariablesResponse;\n//# sourceMappingURL=SyntheticsListGlobalVariablesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsListTestsResponse = void 0;\n/**\n * Object containing an array of Synthetic tests configuration.\n */\nvar SyntheticsListTestsResponse = /** @class */ (function () {\n function SyntheticsListTestsResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsListTestsResponse.getAttributeTypeMap = function () {\n return SyntheticsListTestsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsListTestsResponse.attributeTypeMap = {\n tests: {\n baseName: \"tests\",\n type: \"Array\",\n },\n };\n return SyntheticsListTestsResponse;\n}());\nexports.SyntheticsListTestsResponse = SyntheticsListTestsResponse;\n//# sourceMappingURL=SyntheticsListTestsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsLocation = void 0;\n/**\n * Synthetic location that can be used when creating or editing a test.\n */\nvar SyntheticsLocation = /** @class */ (function () {\n function SyntheticsLocation() {\n }\n /**\n * @ignore\n */\n SyntheticsLocation.getAttributeTypeMap = function () {\n return SyntheticsLocation.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsLocation.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return SyntheticsLocation;\n}());\nexports.SyntheticsLocation = SyntheticsLocation;\n//# sourceMappingURL=SyntheticsLocation.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsLocations = void 0;\n/**\n * List of Synthetics locations.\n */\nvar SyntheticsLocations = /** @class */ (function () {\n function SyntheticsLocations() {\n }\n /**\n * @ignore\n */\n SyntheticsLocations.getAttributeTypeMap = function () {\n return SyntheticsLocations.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsLocations.attributeTypeMap = {\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n },\n };\n return SyntheticsLocations;\n}());\nexports.SyntheticsLocations = SyntheticsLocations;\n//# sourceMappingURL=SyntheticsLocations.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsParsingOptions = void 0;\n/**\n * Parsing options for variables to extract.\n */\nvar SyntheticsParsingOptions = /** @class */ (function () {\n function SyntheticsParsingOptions() {\n }\n /**\n * @ignore\n */\n SyntheticsParsingOptions.getAttributeTypeMap = function () {\n return SyntheticsParsingOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsParsingOptions.attributeTypeMap = {\n field: {\n baseName: \"field\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n parser: {\n baseName: \"parser\",\n type: \"SyntheticsVariableParser\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsGlobalVariableParseTestOptionsType\",\n },\n };\n return SyntheticsParsingOptions;\n}());\nexports.SyntheticsParsingOptions = SyntheticsParsingOptions;\n//# sourceMappingURL=SyntheticsParsingOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocation = void 0;\n/**\n * Object containing information about the private location to create.\n */\nvar SyntheticsPrivateLocation = /** @class */ (function () {\n function SyntheticsPrivateLocation() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocation.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocation.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocation.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n secrets: {\n baseName: \"secrets\",\n type: \"SyntheticsPrivateLocationSecrets\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n required: true,\n },\n };\n return SyntheticsPrivateLocation;\n}());\nexports.SyntheticsPrivateLocation = SyntheticsPrivateLocation;\n//# sourceMappingURL=SyntheticsPrivateLocation.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocationCreationResponse = void 0;\n/**\n * Object that contains the new private location, the public key for result encryption, and the configuration skeleton.\n */\nvar SyntheticsPrivateLocationCreationResponse = /** @class */ (function () {\n function SyntheticsPrivateLocationCreationResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocationCreationResponse.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocationCreationResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocationCreationResponse.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"any\",\n },\n privateLocation: {\n baseName: \"private_location\",\n type: \"SyntheticsPrivateLocation\",\n },\n resultEncryption: {\n baseName: \"result_encryption\",\n type: \"SyntheticsPrivateLocationCreationResponseResultEncryption\",\n },\n };\n return SyntheticsPrivateLocationCreationResponse;\n}());\nexports.SyntheticsPrivateLocationCreationResponse = SyntheticsPrivateLocationCreationResponse;\n//# sourceMappingURL=SyntheticsPrivateLocationCreationResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocationCreationResponseResultEncryption = void 0;\n/**\n * Public key for the result encryption.\n */\nvar SyntheticsPrivateLocationCreationResponseResultEncryption = /** @class */ (function () {\n function SyntheticsPrivateLocationCreationResponseResultEncryption() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocationCreationResponseResultEncryption.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocationCreationResponseResultEncryption.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocationCreationResponseResultEncryption.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n };\n return SyntheticsPrivateLocationCreationResponseResultEncryption;\n}());\nexports.SyntheticsPrivateLocationCreationResponseResultEncryption = SyntheticsPrivateLocationCreationResponseResultEncryption;\n//# sourceMappingURL=SyntheticsPrivateLocationCreationResponseResultEncryption.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocationSecrets = void 0;\n/**\n * Secrets for the private location. Only present in the response when creating the private location.\n */\nvar SyntheticsPrivateLocationSecrets = /** @class */ (function () {\n function SyntheticsPrivateLocationSecrets() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecrets.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocationSecrets.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecrets.attributeTypeMap = {\n authentication: {\n baseName: \"authentication\",\n type: \"SyntheticsPrivateLocationSecretsAuthentication\",\n },\n configDecryption: {\n baseName: \"config_decryption\",\n type: \"SyntheticsPrivateLocationSecretsConfigDecryption\",\n },\n };\n return SyntheticsPrivateLocationSecrets;\n}());\nexports.SyntheticsPrivateLocationSecrets = SyntheticsPrivateLocationSecrets;\n//# sourceMappingURL=SyntheticsPrivateLocationSecrets.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocationSecretsAuthentication = void 0;\n/**\n * Authentication part of the secrets.\n */\nvar SyntheticsPrivateLocationSecretsAuthentication = /** @class */ (function () {\n function SyntheticsPrivateLocationSecretsAuthentication() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecretsAuthentication.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocationSecretsAuthentication.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecretsAuthentication.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n };\n return SyntheticsPrivateLocationSecretsAuthentication;\n}());\nexports.SyntheticsPrivateLocationSecretsAuthentication = SyntheticsPrivateLocationSecretsAuthentication;\n//# sourceMappingURL=SyntheticsPrivateLocationSecretsAuthentication.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsPrivateLocationSecretsConfigDecryption = void 0;\n/**\n * Private key for the private location.\n */\nvar SyntheticsPrivateLocationSecretsConfigDecryption = /** @class */ (function () {\n function SyntheticsPrivateLocationSecretsConfigDecryption() {\n }\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecretsConfigDecryption.getAttributeTypeMap = function () {\n return SyntheticsPrivateLocationSecretsConfigDecryption.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsPrivateLocationSecretsConfigDecryption.attributeTypeMap = {\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n };\n return SyntheticsPrivateLocationSecretsConfigDecryption;\n}());\nexports.SyntheticsPrivateLocationSecretsConfigDecryption = SyntheticsPrivateLocationSecretsConfigDecryption;\n//# sourceMappingURL=SyntheticsPrivateLocationSecretsConfigDecryption.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsSSLCertificate = void 0;\n/**\n * Object describing the SSL certificate used for a Synthetic test.\n */\nvar SyntheticsSSLCertificate = /** @class */ (function () {\n function SyntheticsSSLCertificate() {\n }\n /**\n * @ignore\n */\n SyntheticsSSLCertificate.getAttributeTypeMap = function () {\n return SyntheticsSSLCertificate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsSSLCertificate.attributeTypeMap = {\n cipher: {\n baseName: \"cipher\",\n type: \"string\",\n },\n exponent: {\n baseName: \"exponent\",\n type: \"number\",\n format: \"double\",\n },\n extKeyUsage: {\n baseName: \"extKeyUsage\",\n type: \"Array\",\n },\n fingerprint: {\n baseName: \"fingerprint\",\n type: \"string\",\n },\n fingerprint256: {\n baseName: \"fingerprint256\",\n type: \"string\",\n },\n issuer: {\n baseName: \"issuer\",\n type: \"SyntheticsSSLCertificateIssuer\",\n },\n modulus: {\n baseName: \"modulus\",\n type: \"string\",\n },\n protocol: {\n baseName: \"protocol\",\n type: \"string\",\n },\n serialNumber: {\n baseName: \"serialNumber\",\n type: \"string\",\n },\n subject: {\n baseName: \"subject\",\n type: \"SyntheticsSSLCertificateSubject\",\n },\n validFrom: {\n baseName: \"validFrom\",\n type: \"Date\",\n format: \"date-time\",\n },\n validTo: {\n baseName: \"validTo\",\n type: \"Date\",\n format: \"date-time\",\n },\n };\n return SyntheticsSSLCertificate;\n}());\nexports.SyntheticsSSLCertificate = SyntheticsSSLCertificate;\n//# sourceMappingURL=SyntheticsSSLCertificate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsSSLCertificateIssuer = void 0;\n/**\n * Object describing the issuer of a SSL certificate.\n */\nvar SyntheticsSSLCertificateIssuer = /** @class */ (function () {\n function SyntheticsSSLCertificateIssuer() {\n }\n /**\n * @ignore\n */\n SyntheticsSSLCertificateIssuer.getAttributeTypeMap = function () {\n return SyntheticsSSLCertificateIssuer.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsSSLCertificateIssuer.attributeTypeMap = {\n C: {\n baseName: \"C\",\n type: \"string\",\n },\n CN: {\n baseName: \"CN\",\n type: \"string\",\n },\n L: {\n baseName: \"L\",\n type: \"string\",\n },\n O: {\n baseName: \"O\",\n type: \"string\",\n },\n OU: {\n baseName: \"OU\",\n type: \"string\",\n },\n ST: {\n baseName: \"ST\",\n type: \"string\",\n },\n };\n return SyntheticsSSLCertificateIssuer;\n}());\nexports.SyntheticsSSLCertificateIssuer = SyntheticsSSLCertificateIssuer;\n//# sourceMappingURL=SyntheticsSSLCertificateIssuer.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsSSLCertificateSubject = void 0;\n/**\n * Object describing the SSL certificate used for the test.\n */\nvar SyntheticsSSLCertificateSubject = /** @class */ (function () {\n function SyntheticsSSLCertificateSubject() {\n }\n /**\n * @ignore\n */\n SyntheticsSSLCertificateSubject.getAttributeTypeMap = function () {\n return SyntheticsSSLCertificateSubject.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsSSLCertificateSubject.attributeTypeMap = {\n C: {\n baseName: \"C\",\n type: \"string\",\n },\n CN: {\n baseName: \"CN\",\n type: \"string\",\n },\n L: {\n baseName: \"L\",\n type: \"string\",\n },\n O: {\n baseName: \"O\",\n type: \"string\",\n },\n OU: {\n baseName: \"OU\",\n type: \"string\",\n },\n ST: {\n baseName: \"ST\",\n type: \"string\",\n },\n altName: {\n baseName: \"altName\",\n type: \"string\",\n },\n };\n return SyntheticsSSLCertificateSubject;\n}());\nexports.SyntheticsSSLCertificateSubject = SyntheticsSSLCertificateSubject;\n//# sourceMappingURL=SyntheticsSSLCertificateSubject.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsStep = void 0;\n/**\n * The steps used in a Synthetics browser test.\n */\nvar SyntheticsStep = /** @class */ (function () {\n function SyntheticsStep() {\n }\n /**\n * @ignore\n */\n SyntheticsStep.getAttributeTypeMap = function () {\n return SyntheticsStep.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsStep.attributeTypeMap = {\n allowFailure: {\n baseName: \"allowFailure\",\n type: \"boolean\",\n },\n isCritical: {\n baseName: \"isCritical\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n params: {\n baseName: \"params\",\n type: \"any\",\n },\n timeout: {\n baseName: \"timeout\",\n type: \"number\",\n format: \"int64\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsStepType\",\n },\n };\n return SyntheticsStep;\n}());\nexports.SyntheticsStep = SyntheticsStep;\n//# sourceMappingURL=SyntheticsStep.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsStepDetail = void 0;\n/**\n * Object describing a step for a Synthetic test.\n */\nvar SyntheticsStepDetail = /** @class */ (function () {\n function SyntheticsStepDetail() {\n }\n /**\n * @ignore\n */\n SyntheticsStepDetail.getAttributeTypeMap = function () {\n return SyntheticsStepDetail.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsStepDetail.attributeTypeMap = {\n browserErrors: {\n baseName: \"browserErrors\",\n type: \"Array\",\n },\n checkType: {\n baseName: \"checkType\",\n type: \"SyntheticsCheckType\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n duration: {\n baseName: \"duration\",\n type: \"number\",\n format: \"double\",\n },\n error: {\n baseName: \"error\",\n type: \"string\",\n },\n playingTab: {\n baseName: \"playingTab\",\n type: \"SyntheticsPlayingTab\",\n },\n screenshotBucketKey: {\n baseName: \"screenshotBucketKey\",\n type: \"boolean\",\n },\n skipped: {\n baseName: \"skipped\",\n type: \"boolean\",\n },\n snapshotBucketKey: {\n baseName: \"snapshotBucketKey\",\n type: \"boolean\",\n },\n stepId: {\n baseName: \"stepId\",\n type: \"number\",\n format: \"int64\",\n },\n subTestStepDetails: {\n baseName: \"subTestStepDetails\",\n type: \"Array\",\n },\n timeToInteractive: {\n baseName: \"timeToInteractive\",\n type: \"number\",\n format: \"double\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsStepType\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"any\",\n },\n vitalsMetrics: {\n baseName: \"vitalsMetrics\",\n type: \"Array\",\n },\n warnings: {\n baseName: \"warnings\",\n type: \"Array\",\n },\n };\n return SyntheticsStepDetail;\n}());\nexports.SyntheticsStepDetail = SyntheticsStepDetail;\n//# sourceMappingURL=SyntheticsStepDetail.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsStepDetailWarning = void 0;\n/**\n * Object collecting warnings for a given step.\n */\nvar SyntheticsStepDetailWarning = /** @class */ (function () {\n function SyntheticsStepDetailWarning() {\n }\n /**\n * @ignore\n */\n SyntheticsStepDetailWarning.getAttributeTypeMap = function () {\n return SyntheticsStepDetailWarning.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsStepDetailWarning.attributeTypeMap = {\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsWarningType\",\n required: true,\n },\n };\n return SyntheticsStepDetailWarning;\n}());\nexports.SyntheticsStepDetailWarning = SyntheticsStepDetailWarning;\n//# sourceMappingURL=SyntheticsStepDetailWarning.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestConfig = void 0;\n/**\n * Configuration object for a Synthetic test.\n */\nvar SyntheticsTestConfig = /** @class */ (function () {\n function SyntheticsTestConfig() {\n }\n /**\n * @ignore\n */\n SyntheticsTestConfig.getAttributeTypeMap = function () {\n return SyntheticsTestConfig.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestConfig.attributeTypeMap = {\n assertions: {\n baseName: \"assertions\",\n type: \"Array\",\n },\n configVariables: {\n baseName: \"configVariables\",\n type: \"Array\",\n },\n request: {\n baseName: \"request\",\n type: \"SyntheticsTestRequest\",\n },\n variables: {\n baseName: \"variables\",\n type: \"Array\",\n },\n };\n return SyntheticsTestConfig;\n}());\nexports.SyntheticsTestConfig = SyntheticsTestConfig;\n//# sourceMappingURL=SyntheticsTestConfig.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestDetails = void 0;\n/**\n * Object containing details about your Synthetic test.\n */\nvar SyntheticsTestDetails = /** @class */ (function () {\n function SyntheticsTestDetails() {\n }\n /**\n * @ignore\n */\n SyntheticsTestDetails.getAttributeTypeMap = function () {\n return SyntheticsTestDetails.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestDetails.attributeTypeMap = {\n config: {\n baseName: \"config\",\n type: \"SyntheticsTestConfig\",\n },\n creator: {\n baseName: \"creator\",\n type: \"Creator\",\n },\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n monitorId: {\n baseName: \"monitor_id\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n options: {\n baseName: \"options\",\n type: \"SyntheticsTestOptions\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"SyntheticsTestPauseStatus\",\n },\n steps: {\n baseName: \"steps\",\n type: \"Array\",\n },\n subtype: {\n baseName: \"subtype\",\n type: \"SyntheticsTestDetailsSubType\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SyntheticsTestDetailsType\",\n },\n };\n return SyntheticsTestDetails;\n}());\nexports.SyntheticsTestDetails = SyntheticsTestDetails;\n//# sourceMappingURL=SyntheticsTestDetails.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestOptions = void 0;\n/**\n * Object describing the extra options for a Synthetic test.\n */\nvar SyntheticsTestOptions = /** @class */ (function () {\n function SyntheticsTestOptions() {\n }\n /**\n * @ignore\n */\n SyntheticsTestOptions.getAttributeTypeMap = function () {\n return SyntheticsTestOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestOptions.attributeTypeMap = {\n acceptSelfSigned: {\n baseName: \"accept_self_signed\",\n type: \"boolean\",\n },\n allowInsecure: {\n baseName: \"allow_insecure\",\n type: \"boolean\",\n },\n deviceIds: {\n baseName: \"device_ids\",\n type: \"Array\",\n },\n disableCors: {\n baseName: \"disableCors\",\n type: \"boolean\",\n },\n followRedirects: {\n baseName: \"follow_redirects\",\n type: \"boolean\",\n },\n minFailureDuration: {\n baseName: \"min_failure_duration\",\n type: \"number\",\n format: \"int64\",\n },\n minLocationFailed: {\n baseName: \"min_location_failed\",\n type: \"number\",\n format: \"int64\",\n },\n monitorName: {\n baseName: \"monitor_name\",\n type: \"string\",\n },\n monitorOptions: {\n baseName: \"monitor_options\",\n type: \"SyntheticsTestOptionsMonitorOptions\",\n },\n monitorPriority: {\n baseName: \"monitor_priority\",\n type: \"number\",\n format: \"int32\",\n },\n noScreenshot: {\n baseName: \"noScreenshot\",\n type: \"boolean\",\n },\n retry: {\n baseName: \"retry\",\n type: \"SyntheticsTestOptionsRetry\",\n },\n tickEvery: {\n baseName: \"tick_every\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return SyntheticsTestOptions;\n}());\nexports.SyntheticsTestOptions = SyntheticsTestOptions;\n//# sourceMappingURL=SyntheticsTestOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestOptionsMonitorOptions = void 0;\n/**\n * Object containing the options for a Synthetic test as a monitor (for example, renotification).\n */\nvar SyntheticsTestOptionsMonitorOptions = /** @class */ (function () {\n function SyntheticsTestOptionsMonitorOptions() {\n }\n /**\n * @ignore\n */\n SyntheticsTestOptionsMonitorOptions.getAttributeTypeMap = function () {\n return SyntheticsTestOptionsMonitorOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestOptionsMonitorOptions.attributeTypeMap = {\n renotifyInterval: {\n baseName: \"renotify_interval\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return SyntheticsTestOptionsMonitorOptions;\n}());\nexports.SyntheticsTestOptionsMonitorOptions = SyntheticsTestOptionsMonitorOptions;\n//# sourceMappingURL=SyntheticsTestOptionsMonitorOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestOptionsRetry = void 0;\n/**\n * Object describing the retry strategy to apply to a Synthetic test.\n */\nvar SyntheticsTestOptionsRetry = /** @class */ (function () {\n function SyntheticsTestOptionsRetry() {\n }\n /**\n * @ignore\n */\n SyntheticsTestOptionsRetry.getAttributeTypeMap = function () {\n return SyntheticsTestOptionsRetry.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestOptionsRetry.attributeTypeMap = {\n count: {\n baseName: \"count\",\n type: \"number\",\n format: \"int64\",\n },\n interval: {\n baseName: \"interval\",\n type: \"number\",\n format: \"double\",\n },\n };\n return SyntheticsTestOptionsRetry;\n}());\nexports.SyntheticsTestOptionsRetry = SyntheticsTestOptionsRetry;\n//# sourceMappingURL=SyntheticsTestOptionsRetry.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestRequest = void 0;\n/**\n * Object describing the Synthetic test request.\n */\nvar SyntheticsTestRequest = /** @class */ (function () {\n function SyntheticsTestRequest() {\n }\n /**\n * @ignore\n */\n SyntheticsTestRequest.getAttributeTypeMap = function () {\n return SyntheticsTestRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestRequest.attributeTypeMap = {\n allowInsecure: {\n baseName: \"allow_insecure\",\n type: \"boolean\",\n },\n basicAuth: {\n baseName: \"basicAuth\",\n type: \"SyntheticsBasicAuth\",\n },\n body: {\n baseName: \"body\",\n type: \"string\",\n },\n certificate: {\n baseName: \"certificate\",\n type: \"SyntheticsTestRequestCertificate\",\n },\n dnsServer: {\n baseName: \"dnsServer\",\n type: \"string\",\n },\n dnsServerPort: {\n baseName: \"dnsServerPort\",\n type: \"number\",\n format: \"int32\",\n },\n followRedirects: {\n baseName: \"follow_redirects\",\n type: \"boolean\",\n },\n headers: {\n baseName: \"headers\",\n type: \"{ [key: string]: string; }\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n method: {\n baseName: \"method\",\n type: \"HTTPMethod\",\n },\n noSavingResponseBody: {\n baseName: \"noSavingResponseBody\",\n type: \"boolean\",\n },\n numberOfPackets: {\n baseName: \"numberOfPackets\",\n type: \"number\",\n format: \"int32\",\n },\n port: {\n baseName: \"port\",\n type: \"number\",\n format: \"int64\",\n },\n proxy: {\n baseName: \"proxy\",\n type: \"SyntheticsTestRequestProxy\",\n },\n query: {\n baseName: \"query\",\n type: \"any\",\n },\n servername: {\n baseName: \"servername\",\n type: \"string\",\n },\n shouldTrackHops: {\n baseName: \"shouldTrackHops\",\n type: \"boolean\",\n },\n timeout: {\n baseName: \"timeout\",\n type: \"number\",\n format: \"double\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return SyntheticsTestRequest;\n}());\nexports.SyntheticsTestRequest = SyntheticsTestRequest;\n//# sourceMappingURL=SyntheticsTestRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestRequestCertificate = void 0;\n/**\n * Client certificate to use when performing the test request.\n */\nvar SyntheticsTestRequestCertificate = /** @class */ (function () {\n function SyntheticsTestRequestCertificate() {\n }\n /**\n * @ignore\n */\n SyntheticsTestRequestCertificate.getAttributeTypeMap = function () {\n return SyntheticsTestRequestCertificate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestRequestCertificate.attributeTypeMap = {\n cert: {\n baseName: \"cert\",\n type: \"SyntheticsTestRequestCertificateItem\",\n },\n key: {\n baseName: \"key\",\n type: \"SyntheticsTestRequestCertificateItem\",\n },\n };\n return SyntheticsTestRequestCertificate;\n}());\nexports.SyntheticsTestRequestCertificate = SyntheticsTestRequestCertificate;\n//# sourceMappingURL=SyntheticsTestRequestCertificate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestRequestCertificateItem = void 0;\n/**\n * Define a request certificate.\n */\nvar SyntheticsTestRequestCertificateItem = /** @class */ (function () {\n function SyntheticsTestRequestCertificateItem() {\n }\n /**\n * @ignore\n */\n SyntheticsTestRequestCertificateItem.getAttributeTypeMap = function () {\n return SyntheticsTestRequestCertificateItem.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestRequestCertificateItem.attributeTypeMap = {\n content: {\n baseName: \"content\",\n type: \"string\",\n },\n filename: {\n baseName: \"filename\",\n type: \"string\",\n },\n updatedAt: {\n baseName: \"updatedAt\",\n type: \"string\",\n },\n };\n return SyntheticsTestRequestCertificateItem;\n}());\nexports.SyntheticsTestRequestCertificateItem = SyntheticsTestRequestCertificateItem;\n//# sourceMappingURL=SyntheticsTestRequestCertificateItem.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTestRequestProxy = void 0;\n/**\n * The proxy to perform the test.\n */\nvar SyntheticsTestRequestProxy = /** @class */ (function () {\n function SyntheticsTestRequestProxy() {\n }\n /**\n * @ignore\n */\n SyntheticsTestRequestProxy.getAttributeTypeMap = function () {\n return SyntheticsTestRequestProxy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTestRequestProxy.attributeTypeMap = {\n headers: {\n baseName: \"headers\",\n type: \"{ [key: string]: string; }\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n required: true,\n },\n };\n return SyntheticsTestRequestProxy;\n}());\nexports.SyntheticsTestRequestProxy = SyntheticsTestRequestProxy;\n//# sourceMappingURL=SyntheticsTestRequestProxy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTiming = void 0;\n/**\n * Object containing all metrics and their values collected for a Synthetic API test. Learn more about those metrics in [Synthetics documentation](https://docs.datadoghq.com/synthetics/#metrics).\n */\nvar SyntheticsTiming = /** @class */ (function () {\n function SyntheticsTiming() {\n }\n /**\n * @ignore\n */\n SyntheticsTiming.getAttributeTypeMap = function () {\n return SyntheticsTiming.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTiming.attributeTypeMap = {\n dns: {\n baseName: \"dns\",\n type: \"number\",\n format: \"double\",\n },\n download: {\n baseName: \"download\",\n type: \"number\",\n format: \"double\",\n },\n firstByte: {\n baseName: \"firstByte\",\n type: \"number\",\n format: \"double\",\n },\n handshake: {\n baseName: \"handshake\",\n type: \"number\",\n format: \"double\",\n },\n redirect: {\n baseName: \"redirect\",\n type: \"number\",\n format: \"double\",\n },\n ssl: {\n baseName: \"ssl\",\n type: \"number\",\n format: \"double\",\n },\n tcp: {\n baseName: \"tcp\",\n type: \"number\",\n format: \"double\",\n },\n total: {\n baseName: \"total\",\n type: \"number\",\n format: \"double\",\n },\n wait: {\n baseName: \"wait\",\n type: \"number\",\n format: \"double\",\n },\n };\n return SyntheticsTiming;\n}());\nexports.SyntheticsTiming = SyntheticsTiming;\n//# sourceMappingURL=SyntheticsTiming.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTriggerBody = void 0;\n/**\n * Object describing the synthetics tests to trigger.\n */\nvar SyntheticsTriggerBody = /** @class */ (function () {\n function SyntheticsTriggerBody() {\n }\n /**\n * @ignore\n */\n SyntheticsTriggerBody.getAttributeTypeMap = function () {\n return SyntheticsTriggerBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTriggerBody.attributeTypeMap = {\n tests: {\n baseName: \"tests\",\n type: \"Array\",\n required: true,\n },\n };\n return SyntheticsTriggerBody;\n}());\nexports.SyntheticsTriggerBody = SyntheticsTriggerBody;\n//# sourceMappingURL=SyntheticsTriggerBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTriggerCITestLocation = void 0;\n/**\n * Synthetics location.\n */\nvar SyntheticsTriggerCITestLocation = /** @class */ (function () {\n function SyntheticsTriggerCITestLocation() {\n }\n /**\n * @ignore\n */\n SyntheticsTriggerCITestLocation.getAttributeTypeMap = function () {\n return SyntheticsTriggerCITestLocation.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTriggerCITestLocation.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return SyntheticsTriggerCITestLocation;\n}());\nexports.SyntheticsTriggerCITestLocation = SyntheticsTriggerCITestLocation;\n//# sourceMappingURL=SyntheticsTriggerCITestLocation.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTriggerCITestRunResult = void 0;\n/**\n * Information about a single test run.\n */\nvar SyntheticsTriggerCITestRunResult = /** @class */ (function () {\n function SyntheticsTriggerCITestRunResult() {\n }\n /**\n * @ignore\n */\n SyntheticsTriggerCITestRunResult.getAttributeTypeMap = function () {\n return SyntheticsTriggerCITestRunResult.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTriggerCITestRunResult.attributeTypeMap = {\n device: {\n baseName: \"device\",\n type: \"SyntheticsDeviceID\",\n },\n location: {\n baseName: \"location\",\n type: \"number\",\n format: \"int64\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n resultId: {\n baseName: \"result_id\",\n type: \"string\",\n },\n };\n return SyntheticsTriggerCITestRunResult;\n}());\nexports.SyntheticsTriggerCITestRunResult = SyntheticsTriggerCITestRunResult;\n//# sourceMappingURL=SyntheticsTriggerCITestRunResult.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTriggerCITestsResponse = void 0;\n/**\n * Object containing information about the tests triggered.\n */\nvar SyntheticsTriggerCITestsResponse = /** @class */ (function () {\n function SyntheticsTriggerCITestsResponse() {\n }\n /**\n * @ignore\n */\n SyntheticsTriggerCITestsResponse.getAttributeTypeMap = function () {\n return SyntheticsTriggerCITestsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTriggerCITestsResponse.attributeTypeMap = {\n batchId: {\n baseName: \"batch_id\",\n type: \"string\",\n },\n locations: {\n baseName: \"locations\",\n type: \"Array\",\n },\n results: {\n baseName: \"results\",\n type: \"Array\",\n },\n triggeredCheckIds: {\n baseName: \"triggered_check_ids\",\n type: \"Array\",\n },\n };\n return SyntheticsTriggerCITestsResponse;\n}());\nexports.SyntheticsTriggerCITestsResponse = SyntheticsTriggerCITestsResponse;\n//# sourceMappingURL=SyntheticsTriggerCITestsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsTriggerTest = void 0;\n/**\n * Test configuration for Synthetics\n */\nvar SyntheticsTriggerTest = /** @class */ (function () {\n function SyntheticsTriggerTest() {\n }\n /**\n * @ignore\n */\n SyntheticsTriggerTest.getAttributeTypeMap = function () {\n return SyntheticsTriggerTest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsTriggerTest.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"SyntheticsCIBatchMetadata\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n required: true,\n },\n };\n return SyntheticsTriggerTest;\n}());\nexports.SyntheticsTriggerTest = SyntheticsTriggerTest;\n//# sourceMappingURL=SyntheticsTriggerTest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsUpdateTestPauseStatusPayload = void 0;\n/**\n * Object to start or pause an existing Synthetic test.\n */\nvar SyntheticsUpdateTestPauseStatusPayload = /** @class */ (function () {\n function SyntheticsUpdateTestPauseStatusPayload() {\n }\n /**\n * @ignore\n */\n SyntheticsUpdateTestPauseStatusPayload.getAttributeTypeMap = function () {\n return SyntheticsUpdateTestPauseStatusPayload.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsUpdateTestPauseStatusPayload.attributeTypeMap = {\n newStatus: {\n baseName: \"new_status\",\n type: \"SyntheticsTestPauseStatus\",\n },\n };\n return SyntheticsUpdateTestPauseStatusPayload;\n}());\nexports.SyntheticsUpdateTestPauseStatusPayload = SyntheticsUpdateTestPauseStatusPayload;\n//# sourceMappingURL=SyntheticsUpdateTestPauseStatusPayload.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SyntheticsVariableParser = void 0;\n/**\n * Details of the parser to use for the global variable.\n */\nvar SyntheticsVariableParser = /** @class */ (function () {\n function SyntheticsVariableParser() {\n }\n /**\n * @ignore\n */\n SyntheticsVariableParser.getAttributeTypeMap = function () {\n return SyntheticsVariableParser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SyntheticsVariableParser.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"SyntheticsGlobalVariableParserType\",\n required: true,\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return SyntheticsVariableParser;\n}());\nexports.SyntheticsVariableParser = SyntheticsVariableParser;\n//# sourceMappingURL=SyntheticsVariableParser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TableWidgetDefinition = void 0;\n/**\n * The table visualization is available on timeboards and screenboards. It displays columns of metrics grouped by tag key.\n */\nvar TableWidgetDefinition = /** @class */ (function () {\n function TableWidgetDefinition() {\n }\n /**\n * @ignore\n */\n TableWidgetDefinition.getAttributeTypeMap = function () {\n return TableWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TableWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n hasSearchBar: {\n baseName: \"has_search_bar\",\n type: \"TableWidgetHasSearchBar\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"TableWidgetDefinitionType\",\n required: true,\n },\n };\n return TableWidgetDefinition;\n}());\nexports.TableWidgetDefinition = TableWidgetDefinition;\n//# sourceMappingURL=TableWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TableWidgetRequest = void 0;\n/**\n * Updated table widget.\n */\nvar TableWidgetRequest = /** @class */ (function () {\n function TableWidgetRequest() {\n }\n /**\n * @ignore\n */\n TableWidgetRequest.getAttributeTypeMap = function () {\n return TableWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TableWidgetRequest.attributeTypeMap = {\n aggregator: {\n baseName: \"aggregator\",\n type: \"WidgetAggregator\",\n },\n alias: {\n baseName: \"alias\",\n type: \"string\",\n },\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n apmStatsQuery: {\n baseName: \"apm_stats_query\",\n type: \"ApmStatsQueryDefinition\",\n },\n cellDisplayMode: {\n baseName: \"cell_display_mode\",\n type: \"Array\",\n },\n conditionalFormats: {\n baseName: \"conditional_formats\",\n type: \"Array\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n order: {\n baseName: \"order\",\n type: \"WidgetSort\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n };\n return TableWidgetRequest;\n}());\nexports.TableWidgetRequest = TableWidgetRequest;\n//# sourceMappingURL=TableWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TagToHosts = void 0;\n/**\n * In this object, the key is the tag, the value is a list of host names that are reporting that tag.\n */\nvar TagToHosts = /** @class */ (function () {\n function TagToHosts() {\n }\n /**\n * @ignore\n */\n TagToHosts.getAttributeTypeMap = function () {\n return TagToHosts.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TagToHosts.attributeTypeMap = {\n tags: {\n baseName: \"tags\",\n type: \"{ [key: string]: Array; }\",\n },\n };\n return TagToHosts;\n}());\nexports.TagToHosts = TagToHosts;\n//# sourceMappingURL=TagToHosts.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TimeseriesWidgetDefinition = void 0;\n/**\n * The timeseries visualization allows you to display the evolution of one or more metrics, log events, or Indexed Spans over time.\n */\nvar TimeseriesWidgetDefinition = /** @class */ (function () {\n function TimeseriesWidgetDefinition() {\n }\n /**\n * @ignore\n */\n TimeseriesWidgetDefinition.getAttributeTypeMap = function () {\n return TimeseriesWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TimeseriesWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n events: {\n baseName: \"events\",\n type: \"Array\",\n },\n legendColumns: {\n baseName: \"legend_columns\",\n type: \"Array\",\n },\n legendLayout: {\n baseName: \"legend_layout\",\n type: \"TimeseriesWidgetLegendLayout\",\n },\n legendSize: {\n baseName: \"legend_size\",\n type: \"string\",\n },\n markers: {\n baseName: \"markers\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n rightYaxis: {\n baseName: \"right_yaxis\",\n type: \"WidgetAxis\",\n },\n showLegend: {\n baseName: \"show_legend\",\n type: \"boolean\",\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"TimeseriesWidgetDefinitionType\",\n required: true,\n },\n yaxis: {\n baseName: \"yaxis\",\n type: \"WidgetAxis\",\n },\n };\n return TimeseriesWidgetDefinition;\n}());\nexports.TimeseriesWidgetDefinition = TimeseriesWidgetDefinition;\n//# sourceMappingURL=TimeseriesWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TimeseriesWidgetExpressionAlias = void 0;\n/**\n * Define an expression alias.\n */\nvar TimeseriesWidgetExpressionAlias = /** @class */ (function () {\n function TimeseriesWidgetExpressionAlias() {\n }\n /**\n * @ignore\n */\n TimeseriesWidgetExpressionAlias.getAttributeTypeMap = function () {\n return TimeseriesWidgetExpressionAlias.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TimeseriesWidgetExpressionAlias.attributeTypeMap = {\n aliasName: {\n baseName: \"alias_name\",\n type: \"string\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n required: true,\n },\n };\n return TimeseriesWidgetExpressionAlias;\n}());\nexports.TimeseriesWidgetExpressionAlias = TimeseriesWidgetExpressionAlias;\n//# sourceMappingURL=TimeseriesWidgetExpressionAlias.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TimeseriesWidgetRequest = void 0;\n/**\n * Updated timeseries widget.\n */\nvar TimeseriesWidgetRequest = /** @class */ (function () {\n function TimeseriesWidgetRequest() {\n }\n /**\n * @ignore\n */\n TimeseriesWidgetRequest.getAttributeTypeMap = function () {\n return TimeseriesWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TimeseriesWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n auditQuery: {\n baseName: \"audit_query\",\n type: \"LogQueryDefinition\",\n },\n displayType: {\n baseName: \"display_type\",\n type: \"WidgetDisplayType\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n metadata: {\n baseName: \"metadata\",\n type: \"Array\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n onRightYaxis: {\n baseName: \"on_right_yaxis\",\n type: \"boolean\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n style: {\n baseName: \"style\",\n type: \"WidgetRequestStyle\",\n },\n };\n return TimeseriesWidgetRequest;\n}());\nexports.TimeseriesWidgetRequest = TimeseriesWidgetRequest;\n//# sourceMappingURL=TimeseriesWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ToplistWidgetDefinition = void 0;\n/**\n * The top list visualization enables you to display a list of Tag value like hostname or service with the most or least of any metric value, such as highest consumers of CPU, hosts with the least disk space, etc.\n */\nvar ToplistWidgetDefinition = /** @class */ (function () {\n function ToplistWidgetDefinition() {\n }\n /**\n * @ignore\n */\n ToplistWidgetDefinition.getAttributeTypeMap = function () {\n return ToplistWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ToplistWidgetDefinition.attributeTypeMap = {\n customLinks: {\n baseName: \"custom_links\",\n type: \"Array\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"WidgetTime\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n titleAlign: {\n baseName: \"title_align\",\n type: \"WidgetTextAlign\",\n },\n titleSize: {\n baseName: \"title_size\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ToplistWidgetDefinitionType\",\n required: true,\n },\n };\n return ToplistWidgetDefinition;\n}());\nexports.ToplistWidgetDefinition = ToplistWidgetDefinition;\n//# sourceMappingURL=ToplistWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ToplistWidgetRequest = void 0;\n/**\n * Updated top list widget.\n */\nvar ToplistWidgetRequest = /** @class */ (function () {\n function ToplistWidgetRequest() {\n }\n /**\n * @ignore\n */\n ToplistWidgetRequest.getAttributeTypeMap = function () {\n return ToplistWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ToplistWidgetRequest.attributeTypeMap = {\n apmQuery: {\n baseName: \"apm_query\",\n type: \"LogQueryDefinition\",\n },\n auditQuery: {\n baseName: \"audit_query\",\n type: \"LogQueryDefinition\",\n },\n conditionalFormats: {\n baseName: \"conditional_formats\",\n type: \"Array\",\n },\n eventQuery: {\n baseName: \"event_query\",\n type: \"LogQueryDefinition\",\n },\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n logQuery: {\n baseName: \"log_query\",\n type: \"LogQueryDefinition\",\n },\n networkQuery: {\n baseName: \"network_query\",\n type: \"LogQueryDefinition\",\n },\n processQuery: {\n baseName: \"process_query\",\n type: \"ProcessQueryDefinition\",\n },\n profileMetricsQuery: {\n baseName: \"profile_metrics_query\",\n type: \"LogQueryDefinition\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n rumQuery: {\n baseName: \"rum_query\",\n type: \"LogQueryDefinition\",\n },\n securityQuery: {\n baseName: \"security_query\",\n type: \"LogQueryDefinition\",\n },\n style: {\n baseName: \"style\",\n type: \"WidgetRequestStyle\",\n },\n };\n return ToplistWidgetRequest;\n}());\nexports.ToplistWidgetRequest = ToplistWidgetRequest;\n//# sourceMappingURL=ToplistWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TreeMapWidgetDefinition = void 0;\n/**\n * The treemap visualization found on the Host Dashboards comes from the output of `ps auxww`. This is not continuously run on your hosts. Instead, it’s run once on Agent start/restart. The treemap is only supported for process data on a single host dashboard — this may not be reused in other dashboards or for other metrics.\n */\nvar TreeMapWidgetDefinition = /** @class */ (function () {\n function TreeMapWidgetDefinition() {\n }\n /**\n * @ignore\n */\n TreeMapWidgetDefinition.getAttributeTypeMap = function () {\n return TreeMapWidgetDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TreeMapWidgetDefinition.attributeTypeMap = {\n colorBy: {\n baseName: \"color_by\",\n type: \"TreeMapColorBy\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"TreeMapGroupBy\",\n },\n requests: {\n baseName: \"requests\",\n type: \"Array\",\n required: true,\n },\n sizeBy: {\n baseName: \"size_by\",\n type: \"TreeMapSizeBy\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"TreeMapWidgetDefinitionType\",\n required: true,\n },\n };\n return TreeMapWidgetDefinition;\n}());\nexports.TreeMapWidgetDefinition = TreeMapWidgetDefinition;\n//# sourceMappingURL=TreeMapWidgetDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TreeMapWidgetRequest = void 0;\n/**\n * An updated treemap widget.\n */\nvar TreeMapWidgetRequest = /** @class */ (function () {\n function TreeMapWidgetRequest() {\n }\n /**\n * @ignore\n */\n TreeMapWidgetRequest.getAttributeTypeMap = function () {\n return TreeMapWidgetRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n TreeMapWidgetRequest.attributeTypeMap = {\n formulas: {\n baseName: \"formulas\",\n type: \"Array\",\n },\n q: {\n baseName: \"q\",\n type: \"string\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n responseFormat: {\n baseName: \"response_format\",\n type: \"FormulaAndFunctionResponseFormat\",\n },\n };\n return TreeMapWidgetRequest;\n}());\nexports.TreeMapWidgetRequest = TreeMapWidgetRequest;\n//# sourceMappingURL=TreeMapWidgetRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAnalyzedLogsHour = void 0;\n/**\n * The number of analyzed logs for each hour for a given organization.\n */\nvar UsageAnalyzedLogsHour = /** @class */ (function () {\n function UsageAnalyzedLogsHour() {\n }\n /**\n * @ignore\n */\n UsageAnalyzedLogsHour.getAttributeTypeMap = function () {\n return UsageAnalyzedLogsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAnalyzedLogsHour.attributeTypeMap = {\n analyzedLogs: {\n baseName: \"analyzed_logs\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageAnalyzedLogsHour;\n}());\nexports.UsageAnalyzedLogsHour = UsageAnalyzedLogsHour;\n//# sourceMappingURL=UsageAnalyzedLogsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAnalyzedLogsResponse = void 0;\n/**\n * A response containing the number of analyzed logs for each hour for a given organization.\n */\nvar UsageAnalyzedLogsResponse = /** @class */ (function () {\n function UsageAnalyzedLogsResponse() {\n }\n /**\n * @ignore\n */\n UsageAnalyzedLogsResponse.getAttributeTypeMap = function () {\n return UsageAnalyzedLogsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAnalyzedLogsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageAnalyzedLogsResponse;\n}());\nexports.UsageAnalyzedLogsResponse = UsageAnalyzedLogsResponse;\n//# sourceMappingURL=UsageAnalyzedLogsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionAggregatesBody = void 0;\n/**\n * The object containing the aggregates.\n */\nvar UsageAttributionAggregatesBody = /** @class */ (function () {\n function UsageAttributionAggregatesBody() {\n }\n /**\n * @ignore\n */\n UsageAttributionAggregatesBody.getAttributeTypeMap = function () {\n return UsageAttributionAggregatesBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionAggregatesBody.attributeTypeMap = {\n aggType: {\n baseName: \"agg_type\",\n type: \"string\",\n },\n field: {\n baseName: \"field\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"number\",\n format: \"double\",\n },\n };\n return UsageAttributionAggregatesBody;\n}());\nexports.UsageAttributionAggregatesBody = UsageAttributionAggregatesBody;\n//# sourceMappingURL=UsageAttributionAggregatesBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionBody = void 0;\n/**\n * Usage Summary by tag for a given organization.\n */\nvar UsageAttributionBody = /** @class */ (function () {\n function UsageAttributionBody() {\n }\n /**\n * @ignore\n */\n UsageAttributionBody.getAttributeTypeMap = function () {\n return UsageAttributionBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionBody.attributeTypeMap = {\n month: {\n baseName: \"month\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n tagConfigSource: {\n baseName: \"tag_config_source\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"{ [key: string]: Array; }\",\n },\n updatedAt: {\n baseName: \"updated_at\",\n type: \"string\",\n },\n values: {\n baseName: \"values\",\n type: \"UsageAttributionValues\",\n },\n };\n return UsageAttributionBody;\n}());\nexports.UsageAttributionBody = UsageAttributionBody;\n//# sourceMappingURL=UsageAttributionBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionMetadata = void 0;\n/**\n * The object containing document metadata.\n */\nvar UsageAttributionMetadata = /** @class */ (function () {\n function UsageAttributionMetadata() {\n }\n /**\n * @ignore\n */\n UsageAttributionMetadata.getAttributeTypeMap = function () {\n return UsageAttributionMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionMetadata.attributeTypeMap = {\n aggregates: {\n baseName: \"aggregates\",\n type: \"Array\",\n },\n pagination: {\n baseName: \"pagination\",\n type: \"UsageAttributionPagination\",\n },\n };\n return UsageAttributionMetadata;\n}());\nexports.UsageAttributionMetadata = UsageAttributionMetadata;\n//# sourceMappingURL=UsageAttributionMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionPagination = void 0;\n/**\n * The metadata for the current pagination.\n */\nvar UsageAttributionPagination = /** @class */ (function () {\n function UsageAttributionPagination() {\n }\n /**\n * @ignore\n */\n UsageAttributionPagination.getAttributeTypeMap = function () {\n return UsageAttributionPagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionPagination.attributeTypeMap = {\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n offset: {\n baseName: \"offset\",\n type: \"number\",\n format: \"int64\",\n },\n sortDirection: {\n baseName: \"sort_direction\",\n type: \"string\",\n },\n sortName: {\n baseName: \"sort_name\",\n type: \"string\",\n },\n totalNumberOfRecords: {\n baseName: \"total_number_of_records\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageAttributionPagination;\n}());\nexports.UsageAttributionPagination = UsageAttributionPagination;\n//# sourceMappingURL=UsageAttributionPagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionResponse = void 0;\n/**\n * Response containing the Usage Summary by tag(s).\n */\nvar UsageAttributionResponse = /** @class */ (function () {\n function UsageAttributionResponse() {\n }\n /**\n * @ignore\n */\n UsageAttributionResponse.getAttributeTypeMap = function () {\n return UsageAttributionResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionResponse.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"UsageAttributionMetadata\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageAttributionResponse;\n}());\nexports.UsageAttributionResponse = UsageAttributionResponse;\n//# sourceMappingURL=UsageAttributionResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAttributionValues = void 0;\n/**\n * Fields in Usage Summary by tag(s).\n */\nvar UsageAttributionValues = /** @class */ (function () {\n function UsageAttributionValues() {\n }\n /**\n * @ignore\n */\n UsageAttributionValues.getAttributeTypeMap = function () {\n return UsageAttributionValues.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAttributionValues.attributeTypeMap = {\n apiPercentage: {\n baseName: \"api_percentage\",\n type: \"number\",\n format: \"double\",\n },\n apiUsage: {\n baseName: \"api_usage\",\n type: \"number\",\n format: \"double\",\n },\n apmHostPercentage: {\n baseName: \"apm_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n apmHostUsage: {\n baseName: \"apm_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n browserPercentage: {\n baseName: \"browser_percentage\",\n type: \"number\",\n format: \"double\",\n },\n browserUsage: {\n baseName: \"browser_usage\",\n type: \"number\",\n format: \"double\",\n },\n containerPercentage: {\n baseName: \"container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n containerUsage: {\n baseName: \"container_usage\",\n type: \"number\",\n format: \"double\",\n },\n cspmContainerPercentage: {\n baseName: \"cspm_container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n cspmContainerUsage: {\n baseName: \"cspm_container_usage\",\n type: \"number\",\n format: \"double\",\n },\n cspmHostPercentage: {\n baseName: \"cspm_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n cspmHostUsage: {\n baseName: \"cspm_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n customTimeseriesPercentage: {\n baseName: \"custom_timeseries_percentage\",\n type: \"number\",\n format: \"double\",\n },\n customTimeseriesUsage: {\n baseName: \"custom_timeseries_usage\",\n type: \"number\",\n format: \"double\",\n },\n cwsContainerPercentage: {\n baseName: \"cws_container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n cwsContainerUsage: {\n baseName: \"cws_container_usage\",\n type: \"number\",\n format: \"double\",\n },\n cwsHostPercentage: {\n baseName: \"cws_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n cwsHostUsage: {\n baseName: \"cws_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n dbmHostsPercentage: {\n baseName: \"dbm_hosts_percentage\",\n type: \"number\",\n format: \"double\",\n },\n dbmHostsUsage: {\n baseName: \"dbm_hosts_usage\",\n type: \"number\",\n format: \"double\",\n },\n dbmQueriesPercentage: {\n baseName: \"dbm_queries_percentage\",\n type: \"number\",\n format: \"double\",\n },\n dbmQueriesUsage: {\n baseName: \"dbm_queries_usage\",\n type: \"number\",\n format: \"double\",\n },\n estimatedIndexedLogsPercentage: {\n baseName: \"estimated_indexed_logs_percentage\",\n type: \"number\",\n format: \"double\",\n },\n estimatedIndexedLogsUsage: {\n baseName: \"estimated_indexed_logs_usage\",\n type: \"number\",\n format: \"double\",\n },\n infraHostPercentage: {\n baseName: \"infra_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n infraHostUsage: {\n baseName: \"infra_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaFunctionsPercentage: {\n baseName: \"lambda_functions_percentage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaFunctionsUsage: {\n baseName: \"lambda_functions_usage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaInvocationsPercentage: {\n baseName: \"lambda_invocations_percentage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaInvocationsUsage: {\n baseName: \"lambda_invocations_usage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaPercentage: {\n baseName: \"lambda_percentage\",\n type: \"number\",\n format: \"double\",\n },\n lambdaUsage: {\n baseName: \"lambda_usage\",\n type: \"number\",\n format: \"double\",\n },\n npmHostPercentage: {\n baseName: \"npm_host_percentage\",\n type: \"number\",\n format: \"double\",\n },\n npmHostUsage: {\n baseName: \"npm_host_usage\",\n type: \"number\",\n format: \"double\",\n },\n profiledContainerPercentage: {\n baseName: \"profiled_container_percentage\",\n type: \"number\",\n format: \"double\",\n },\n profiledContainerUsage: {\n baseName: \"profiled_container_usage\",\n type: \"number\",\n format: \"double\",\n },\n profiledHostsPercentage: {\n baseName: \"profiled_hosts_percentage\",\n type: \"number\",\n format: \"double\",\n },\n profiledHostsUsage: {\n baseName: \"profiled_hosts_usage\",\n type: \"number\",\n format: \"double\",\n },\n snmpPercentage: {\n baseName: \"snmp_percentage\",\n type: \"number\",\n format: \"double\",\n },\n snmpUsage: {\n baseName: \"snmp_usage\",\n type: \"number\",\n format: \"double\",\n },\n };\n return UsageAttributionValues;\n}());\nexports.UsageAttributionValues = UsageAttributionValues;\n//# sourceMappingURL=UsageAttributionValues.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAuditLogsHour = void 0;\n/**\n * Audit logs usage for a given organization for a given hour.\n */\nvar UsageAuditLogsHour = /** @class */ (function () {\n function UsageAuditLogsHour() {\n }\n /**\n * @ignore\n */\n UsageAuditLogsHour.getAttributeTypeMap = function () {\n return UsageAuditLogsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAuditLogsHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n linesIndexed: {\n baseName: \"lines_indexed\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageAuditLogsHour;\n}());\nexports.UsageAuditLogsHour = UsageAuditLogsHour;\n//# sourceMappingURL=UsageAuditLogsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageAuditLogsResponse = void 0;\n/**\n * Response containing the audit logs usage for each hour for a given organization.\n */\nvar UsageAuditLogsResponse = /** @class */ (function () {\n function UsageAuditLogsResponse() {\n }\n /**\n * @ignore\n */\n UsageAuditLogsResponse.getAttributeTypeMap = function () {\n return UsageAuditLogsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageAuditLogsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageAuditLogsResponse;\n}());\nexports.UsageAuditLogsResponse = UsageAuditLogsResponse;\n//# sourceMappingURL=UsageAuditLogsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageBillableSummaryBody = void 0;\n/**\n * Response with properties for each aggregated usage type.\n */\nvar UsageBillableSummaryBody = /** @class */ (function () {\n function UsageBillableSummaryBody() {\n }\n /**\n * @ignore\n */\n UsageBillableSummaryBody.getAttributeTypeMap = function () {\n return UsageBillableSummaryBody.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageBillableSummaryBody.attributeTypeMap = {\n accountBillableUsage: {\n baseName: \"account_billable_usage\",\n type: \"number\",\n format: \"int64\",\n },\n elapsedUsageHours: {\n baseName: \"elapsed_usage_hours\",\n type: \"number\",\n format: \"int64\",\n },\n firstBillableUsageHour: {\n baseName: \"first_billable_usage_hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n lastBillableUsageHour: {\n baseName: \"last_billable_usage_hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgBillableUsage: {\n baseName: \"org_billable_usage\",\n type: \"number\",\n format: \"int64\",\n },\n percentageInAccount: {\n baseName: \"percentage_in_account\",\n type: \"number\",\n format: \"double\",\n },\n usageUnit: {\n baseName: \"usage_unit\",\n type: \"string\",\n },\n };\n return UsageBillableSummaryBody;\n}());\nexports.UsageBillableSummaryBody = UsageBillableSummaryBody;\n//# sourceMappingURL=UsageBillableSummaryBody.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageBillableSummaryHour = void 0;\n/**\n * Response with monthly summary of data billed by Datadog.\n */\nvar UsageBillableSummaryHour = /** @class */ (function () {\n function UsageBillableSummaryHour() {\n }\n /**\n * @ignore\n */\n UsageBillableSummaryHour.getAttributeTypeMap = function () {\n return UsageBillableSummaryHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageBillableSummaryHour.attributeTypeMap = {\n billingPlan: {\n baseName: \"billing_plan\",\n type: \"string\",\n },\n endDate: {\n baseName: \"end_date\",\n type: \"Date\",\n format: \"date-time\",\n },\n numOrgs: {\n baseName: \"num_orgs\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n ratioInMonth: {\n baseName: \"ratio_in_month\",\n type: \"number\",\n format: \"double\",\n },\n startDate: {\n baseName: \"start_date\",\n type: \"Date\",\n format: \"date-time\",\n },\n usage: {\n baseName: \"usage\",\n type: \"UsageBillableSummaryKeys\",\n },\n };\n return UsageBillableSummaryHour;\n}());\nexports.UsageBillableSummaryHour = UsageBillableSummaryHour;\n//# sourceMappingURL=UsageBillableSummaryHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageBillableSummaryKeys = void 0;\n/**\n * Response with aggregated usage types.\n */\nvar UsageBillableSummaryKeys = /** @class */ (function () {\n function UsageBillableSummaryKeys() {\n }\n /**\n * @ignore\n */\n UsageBillableSummaryKeys.getAttributeTypeMap = function () {\n return UsageBillableSummaryKeys.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageBillableSummaryKeys.attributeTypeMap = {\n apmHostSum: {\n baseName: \"apm_host_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n apmHostTop99p: {\n baseName: \"apm_host_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n apmTraceSearchSum: {\n baseName: \"apm_trace_search_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n fargateContainerAverage: {\n baseName: \"fargate_container_average\",\n type: \"UsageBillableSummaryBody\",\n },\n infraContainerSum: {\n baseName: \"infra_container_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n infraHostSum: {\n baseName: \"infra_host_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n infraHostTop99p: {\n baseName: \"infra_host_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n iotTop99p: {\n baseName: \"iot_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n lambdaFunctionAverage: {\n baseName: \"lambda_function_average\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed15daySum: {\n baseName: \"logs_indexed_15day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed180daySum: {\n baseName: \"logs_indexed_180day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed30daySum: {\n baseName: \"logs_indexed_30day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed3daySum: {\n baseName: \"logs_indexed_3day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed45daySum: {\n baseName: \"logs_indexed_45day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed60daySum: {\n baseName: \"logs_indexed_60day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed7daySum: {\n baseName: \"logs_indexed_7day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexed90daySum: {\n baseName: \"logs_indexed_90day_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexedCustomRetentionSum: {\n baseName: \"logs_indexed_custom_retention_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIndexedSum: {\n baseName: \"logs_indexed_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n logsIngestedSum: {\n baseName: \"logs_ingested_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n networkDeviceTop99p: {\n baseName: \"network_device_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n npmFlowSum: {\n baseName: \"npm_flow_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n npmHostSum: {\n baseName: \"npm_host_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n npmHostTop99p: {\n baseName: \"npm_host_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n profContainerSum: {\n baseName: \"prof_container_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n profHostTop99p: {\n baseName: \"prof_host_top99p\",\n type: \"UsageBillableSummaryBody\",\n },\n rumSum: {\n baseName: \"rum_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n serverlessInvocationSum: {\n baseName: \"serverless_invocation_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n siemSum: {\n baseName: \"siem_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n syntheticsApiTestsSum: {\n baseName: \"synthetics_api_tests_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n syntheticsBrowserChecksSum: {\n baseName: \"synthetics_browser_checks_sum\",\n type: \"UsageBillableSummaryBody\",\n },\n timeseriesAverage: {\n baseName: \"timeseries_average\",\n type: \"UsageBillableSummaryBody\",\n },\n };\n return UsageBillableSummaryKeys;\n}());\nexports.UsageBillableSummaryKeys = UsageBillableSummaryKeys;\n//# sourceMappingURL=UsageBillableSummaryKeys.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageBillableSummaryResponse = void 0;\n/**\n * Response with monthly summary of data billed by Datadog.\n */\nvar UsageBillableSummaryResponse = /** @class */ (function () {\n function UsageBillableSummaryResponse() {\n }\n /**\n * @ignore\n */\n UsageBillableSummaryResponse.getAttributeTypeMap = function () {\n return UsageBillableSummaryResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageBillableSummaryResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageBillableSummaryResponse;\n}());\nexports.UsageBillableSummaryResponse = UsageBillableSummaryResponse;\n//# sourceMappingURL=UsageBillableSummaryResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCWSHour = void 0;\n/**\n * Cloud Workload Security usage for a given organization for a given hour.\n */\nvar UsageCWSHour = /** @class */ (function () {\n function UsageCWSHour() {\n }\n /**\n * @ignore\n */\n UsageCWSHour.getAttributeTypeMap = function () {\n return UsageCWSHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCWSHour.attributeTypeMap = {\n cwsContainerCount: {\n baseName: \"cws_container_count\",\n type: \"number\",\n format: \"int64\",\n },\n cwsHostCount: {\n baseName: \"cws_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageCWSHour;\n}());\nexports.UsageCWSHour = UsageCWSHour;\n//# sourceMappingURL=UsageCWSHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCWSResponse = void 0;\n/**\n * Response containing the Cloud Workload Security usage for each hour for a given organization.\n */\nvar UsageCWSResponse = /** @class */ (function () {\n function UsageCWSResponse() {\n }\n /**\n * @ignore\n */\n UsageCWSResponse.getAttributeTypeMap = function () {\n return UsageCWSResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCWSResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageCWSResponse;\n}());\nexports.UsageCWSResponse = UsageCWSResponse;\n//# sourceMappingURL=UsageCWSResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCloudSecurityPostureManagementHour = void 0;\n/**\n * Cloud Security Posture Management usage for a given organization for a given hour.\n */\nvar UsageCloudSecurityPostureManagementHour = /** @class */ (function () {\n function UsageCloudSecurityPostureManagementHour() {\n }\n /**\n * @ignore\n */\n UsageCloudSecurityPostureManagementHour.getAttributeTypeMap = function () {\n return UsageCloudSecurityPostureManagementHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCloudSecurityPostureManagementHour.attributeTypeMap = {\n aasHostCount: {\n baseName: \"aas_host_count\",\n type: \"number\",\n format: \"double\",\n },\n azureHostCount: {\n baseName: \"azure_host_count\",\n type: \"number\",\n format: \"double\",\n },\n complianceHostCount: {\n baseName: \"compliance_host_count\",\n type: \"number\",\n format: \"double\",\n },\n containerCount: {\n baseName: \"container_count\",\n type: \"number\",\n format: \"double\",\n },\n hostCount: {\n baseName: \"host_count\",\n type: \"number\",\n format: \"double\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageCloudSecurityPostureManagementHour;\n}());\nexports.UsageCloudSecurityPostureManagementHour = UsageCloudSecurityPostureManagementHour;\n//# sourceMappingURL=UsageCloudSecurityPostureManagementHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCloudSecurityPostureManagementResponse = void 0;\n/**\n * The response containing the Cloud Security Posture Management usage for each hour for a given organization.\n */\nvar UsageCloudSecurityPostureManagementResponse = /** @class */ (function () {\n function UsageCloudSecurityPostureManagementResponse() {\n }\n /**\n * @ignore\n */\n UsageCloudSecurityPostureManagementResponse.getAttributeTypeMap = function () {\n return UsageCloudSecurityPostureManagementResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCloudSecurityPostureManagementResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageCloudSecurityPostureManagementResponse;\n}());\nexports.UsageCloudSecurityPostureManagementResponse = UsageCloudSecurityPostureManagementResponse;\n//# sourceMappingURL=UsageCloudSecurityPostureManagementResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCustomReportsAttributes = void 0;\n/**\n * The response containing attributes for custom reports.\n */\nvar UsageCustomReportsAttributes = /** @class */ (function () {\n function UsageCustomReportsAttributes() {\n }\n /**\n * @ignore\n */\n UsageCustomReportsAttributes.getAttributeTypeMap = function () {\n return UsageCustomReportsAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCustomReportsAttributes.attributeTypeMap = {\n computedOn: {\n baseName: \"computed_on\",\n type: \"string\",\n },\n endDate: {\n baseName: \"end_date\",\n type: \"string\",\n },\n size: {\n baseName: \"size\",\n type: \"number\",\n format: \"int64\",\n },\n startDate: {\n baseName: \"start_date\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return UsageCustomReportsAttributes;\n}());\nexports.UsageCustomReportsAttributes = UsageCustomReportsAttributes;\n//# sourceMappingURL=UsageCustomReportsAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCustomReportsData = void 0;\n/**\n * The response containing the date and type for custom reports.\n */\nvar UsageCustomReportsData = /** @class */ (function () {\n function UsageCustomReportsData() {\n }\n /**\n * @ignore\n */\n UsageCustomReportsData.getAttributeTypeMap = function () {\n return UsageCustomReportsData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCustomReportsData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UsageCustomReportsAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"UsageReportsType\",\n },\n };\n return UsageCustomReportsData;\n}());\nexports.UsageCustomReportsData = UsageCustomReportsData;\n//# sourceMappingURL=UsageCustomReportsData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCustomReportsMeta = void 0;\n/**\n * The object containing document metadata.\n */\nvar UsageCustomReportsMeta = /** @class */ (function () {\n function UsageCustomReportsMeta() {\n }\n /**\n * @ignore\n */\n UsageCustomReportsMeta.getAttributeTypeMap = function () {\n return UsageCustomReportsMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCustomReportsMeta.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"UsageCustomReportsPage\",\n },\n };\n return UsageCustomReportsMeta;\n}());\nexports.UsageCustomReportsMeta = UsageCustomReportsMeta;\n//# sourceMappingURL=UsageCustomReportsMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCustomReportsPage = void 0;\n/**\n * The object containing page total count.\n */\nvar UsageCustomReportsPage = /** @class */ (function () {\n function UsageCustomReportsPage() {\n }\n /**\n * @ignore\n */\n UsageCustomReportsPage.getAttributeTypeMap = function () {\n return UsageCustomReportsPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCustomReportsPage.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageCustomReportsPage;\n}());\nexports.UsageCustomReportsPage = UsageCustomReportsPage;\n//# sourceMappingURL=UsageCustomReportsPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageCustomReportsResponse = void 0;\n/**\n * Response containing available custom reports.\n */\nvar UsageCustomReportsResponse = /** @class */ (function () {\n function UsageCustomReportsResponse() {\n }\n /**\n * @ignore\n */\n UsageCustomReportsResponse.getAttributeTypeMap = function () {\n return UsageCustomReportsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageCustomReportsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"UsageCustomReportsMeta\",\n },\n };\n return UsageCustomReportsResponse;\n}());\nexports.UsageCustomReportsResponse = UsageCustomReportsResponse;\n//# sourceMappingURL=UsageCustomReportsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageDBMHour = void 0;\n/**\n * Database Monitoring usage for a given organization for a given hour.\n */\nvar UsageDBMHour = /** @class */ (function () {\n function UsageDBMHour() {\n }\n /**\n * @ignore\n */\n UsageDBMHour.getAttributeTypeMap = function () {\n return UsageDBMHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageDBMHour.attributeTypeMap = {\n dbmHostCount: {\n baseName: \"dbm_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n dbmQueriesCount: {\n baseName: \"dbm_queries_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageDBMHour;\n}());\nexports.UsageDBMHour = UsageDBMHour;\n//# sourceMappingURL=UsageDBMHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageDBMResponse = void 0;\n/**\n * Response containing the Database Monitoring usage for each hour for a given organization.\n */\nvar UsageDBMResponse = /** @class */ (function () {\n function UsageDBMResponse() {\n }\n /**\n * @ignore\n */\n UsageDBMResponse.getAttributeTypeMap = function () {\n return UsageDBMResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageDBMResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageDBMResponse;\n}());\nexports.UsageDBMResponse = UsageDBMResponse;\n//# sourceMappingURL=UsageDBMResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageFargateHour = void 0;\n/**\n * Number of Fargate tasks run and hourly usage.\n */\nvar UsageFargateHour = /** @class */ (function () {\n function UsageFargateHour() {\n }\n /**\n * @ignore\n */\n UsageFargateHour.getAttributeTypeMap = function () {\n return UsageFargateHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageFargateHour.attributeTypeMap = {\n avgProfiledFargateTasks: {\n baseName: \"avg_profiled_fargate_tasks\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n tasksCount: {\n baseName: \"tasks_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageFargateHour;\n}());\nexports.UsageFargateHour = UsageFargateHour;\n//# sourceMappingURL=UsageFargateHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageFargateResponse = void 0;\n/**\n * Response containing the number of Fargate tasks run and hourly usage.\n */\nvar UsageFargateResponse = /** @class */ (function () {\n function UsageFargateResponse() {\n }\n /**\n * @ignore\n */\n UsageFargateResponse.getAttributeTypeMap = function () {\n return UsageFargateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageFargateResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageFargateResponse;\n}());\nexports.UsageFargateResponse = UsageFargateResponse;\n//# sourceMappingURL=UsageFargateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageHostHour = void 0;\n/**\n * Number of hosts/containers recorded for each hour for a given organization.\n */\nvar UsageHostHour = /** @class */ (function () {\n function UsageHostHour() {\n }\n /**\n * @ignore\n */\n UsageHostHour.getAttributeTypeMap = function () {\n return UsageHostHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageHostHour.attributeTypeMap = {\n agentHostCount: {\n baseName: \"agent_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n alibabaHostCount: {\n baseName: \"alibaba_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n apmAzureAppServiceHostCount: {\n baseName: \"apm_azure_app_service_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n apmHostCount: {\n baseName: \"apm_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n awsHostCount: {\n baseName: \"aws_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n azureHostCount: {\n baseName: \"azure_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n containerCount: {\n baseName: \"container_count\",\n type: \"number\",\n format: \"int64\",\n },\n gcpHostCount: {\n baseName: \"gcp_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n herokuHostCount: {\n baseName: \"heroku_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n hostCount: {\n baseName: \"host_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n infraAzureAppService: {\n baseName: \"infra_azure_app_service\",\n type: \"number\",\n format: \"int64\",\n },\n opentelemetryHostCount: {\n baseName: \"opentelemetry_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n vsphereHostCount: {\n baseName: \"vsphere_host_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageHostHour;\n}());\nexports.UsageHostHour = UsageHostHour;\n//# sourceMappingURL=UsageHostHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageHostsResponse = void 0;\n/**\n * Host usage response.\n */\nvar UsageHostsResponse = /** @class */ (function () {\n function UsageHostsResponse() {\n }\n /**\n * @ignore\n */\n UsageHostsResponse.getAttributeTypeMap = function () {\n return UsageHostsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageHostsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageHostsResponse;\n}());\nexports.UsageHostsResponse = UsageHostsResponse;\n//# sourceMappingURL=UsageHostsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIncidentManagementHour = void 0;\n/**\n * Incident management usage for a given organization for a given hour.\n */\nvar UsageIncidentManagementHour = /** @class */ (function () {\n function UsageIncidentManagementHour() {\n }\n /**\n * @ignore\n */\n UsageIncidentManagementHour.getAttributeTypeMap = function () {\n return UsageIncidentManagementHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIncidentManagementHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n monthlyActiveUsers: {\n baseName: \"monthly_active_users\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageIncidentManagementHour;\n}());\nexports.UsageIncidentManagementHour = UsageIncidentManagementHour;\n//# sourceMappingURL=UsageIncidentManagementHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIncidentManagementResponse = void 0;\n/**\n * Response containing the incident management usage for each hour for a given organization.\n */\nvar UsageIncidentManagementResponse = /** @class */ (function () {\n function UsageIncidentManagementResponse() {\n }\n /**\n * @ignore\n */\n UsageIncidentManagementResponse.getAttributeTypeMap = function () {\n return UsageIncidentManagementResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIncidentManagementResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageIncidentManagementResponse;\n}());\nexports.UsageIncidentManagementResponse = UsageIncidentManagementResponse;\n//# sourceMappingURL=UsageIncidentManagementResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIndexedSpansHour = void 0;\n/**\n * The hours of indexed spans usage.\n */\nvar UsageIndexedSpansHour = /** @class */ (function () {\n function UsageIndexedSpansHour() {\n }\n /**\n * @ignore\n */\n UsageIndexedSpansHour.getAttributeTypeMap = function () {\n return UsageIndexedSpansHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIndexedSpansHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n indexedEventsCount: {\n baseName: \"indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageIndexedSpansHour;\n}());\nexports.UsageIndexedSpansHour = UsageIndexedSpansHour;\n//# sourceMappingURL=UsageIndexedSpansHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIndexedSpansResponse = void 0;\n/**\n * A response containing indexed spans usage.\n */\nvar UsageIndexedSpansResponse = /** @class */ (function () {\n function UsageIndexedSpansResponse() {\n }\n /**\n * @ignore\n */\n UsageIndexedSpansResponse.getAttributeTypeMap = function () {\n return UsageIndexedSpansResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIndexedSpansResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageIndexedSpansResponse;\n}());\nexports.UsageIndexedSpansResponse = UsageIndexedSpansResponse;\n//# sourceMappingURL=UsageIndexedSpansResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIngestedSpansHour = void 0;\n/**\n * Ingested spans usage for a given organization for a given hour.\n */\nvar UsageIngestedSpansHour = /** @class */ (function () {\n function UsageIngestedSpansHour() {\n }\n /**\n * @ignore\n */\n UsageIngestedSpansHour.getAttributeTypeMap = function () {\n return UsageIngestedSpansHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIngestedSpansHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n ingestedEventsBytes: {\n baseName: \"ingested_events_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageIngestedSpansHour;\n}());\nexports.UsageIngestedSpansHour = UsageIngestedSpansHour;\n//# sourceMappingURL=UsageIngestedSpansHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIngestedSpansResponse = void 0;\n/**\n * Response containing the ingested spans usage for each hour for a given organization.\n */\nvar UsageIngestedSpansResponse = /** @class */ (function () {\n function UsageIngestedSpansResponse() {\n }\n /**\n * @ignore\n */\n UsageIngestedSpansResponse.getAttributeTypeMap = function () {\n return UsageIngestedSpansResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIngestedSpansResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageIngestedSpansResponse;\n}());\nexports.UsageIngestedSpansResponse = UsageIngestedSpansResponse;\n//# sourceMappingURL=UsageIngestedSpansResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIoTHour = void 0;\n/**\n * IoT usage for a given organization for a given hour.\n */\nvar UsageIoTHour = /** @class */ (function () {\n function UsageIoTHour() {\n }\n /**\n * @ignore\n */\n UsageIoTHour.getAttributeTypeMap = function () {\n return UsageIoTHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIoTHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n iotDeviceCount: {\n baseName: \"iot_device_count\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageIoTHour;\n}());\nexports.UsageIoTHour = UsageIoTHour;\n//# sourceMappingURL=UsageIoTHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageIoTResponse = void 0;\n/**\n * Response containing the IoT usage for each hour for a given organization.\n */\nvar UsageIoTResponse = /** @class */ (function () {\n function UsageIoTResponse() {\n }\n /**\n * @ignore\n */\n UsageIoTResponse.getAttributeTypeMap = function () {\n return UsageIoTResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageIoTResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageIoTResponse;\n}());\nexports.UsageIoTResponse = UsageIoTResponse;\n//# sourceMappingURL=UsageIoTResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLambdaHour = void 0;\n/**\n * Number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization.\n */\nvar UsageLambdaHour = /** @class */ (function () {\n function UsageLambdaHour() {\n }\n /**\n * @ignore\n */\n UsageLambdaHour.getAttributeTypeMap = function () {\n return UsageLambdaHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLambdaHour.attributeTypeMap = {\n funcCount: {\n baseName: \"func_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n invocationsSum: {\n baseName: \"invocations_sum\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageLambdaHour;\n}());\nexports.UsageLambdaHour = UsageLambdaHour;\n//# sourceMappingURL=UsageLambdaHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLambdaResponse = void 0;\n/**\n * Response containing the number of lambda functions and sum of the invocations of all lambda functions for each hour for a given organization.\n */\nvar UsageLambdaResponse = /** @class */ (function () {\n function UsageLambdaResponse() {\n }\n /**\n * @ignore\n */\n UsageLambdaResponse.getAttributeTypeMap = function () {\n return UsageLambdaResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLambdaResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageLambdaResponse;\n}());\nexports.UsageLambdaResponse = UsageLambdaResponse;\n//# sourceMappingURL=UsageLambdaResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsByIndexHour = void 0;\n/**\n * Number of indexed logs for each hour and index for a given organization.\n */\nvar UsageLogsByIndexHour = /** @class */ (function () {\n function UsageLogsByIndexHour() {\n }\n /**\n * @ignore\n */\n UsageLogsByIndexHour.getAttributeTypeMap = function () {\n return UsageLogsByIndexHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsByIndexHour.attributeTypeMap = {\n eventCount: {\n baseName: \"event_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n indexId: {\n baseName: \"index_id\",\n type: \"string\",\n },\n indexName: {\n baseName: \"index_name\",\n type: \"string\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n retention: {\n baseName: \"retention\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageLogsByIndexHour;\n}());\nexports.UsageLogsByIndexHour = UsageLogsByIndexHour;\n//# sourceMappingURL=UsageLogsByIndexHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsByIndexResponse = void 0;\n/**\n * Response containing the number of indexed logs for each hour and index for a given organization.\n */\nvar UsageLogsByIndexResponse = /** @class */ (function () {\n function UsageLogsByIndexResponse() {\n }\n /**\n * @ignore\n */\n UsageLogsByIndexResponse.getAttributeTypeMap = function () {\n return UsageLogsByIndexResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsByIndexResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageLogsByIndexResponse;\n}());\nexports.UsageLogsByIndexResponse = UsageLogsByIndexResponse;\n//# sourceMappingURL=UsageLogsByIndexResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsByRetentionHour = void 0;\n/**\n * The number of indexed logs for each hour for a given organization broken down by retention period.\n */\nvar UsageLogsByRetentionHour = /** @class */ (function () {\n function UsageLogsByRetentionHour() {\n }\n /**\n * @ignore\n */\n UsageLogsByRetentionHour.getAttributeTypeMap = function () {\n return UsageLogsByRetentionHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsByRetentionHour.attributeTypeMap = {\n indexedEventsCount: {\n baseName: \"indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n liveIndexedEventsCount: {\n baseName: \"live_indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n rehydratedIndexedEventsCount: {\n baseName: \"rehydrated_indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n retention: {\n baseName: \"retention\",\n type: \"string\",\n },\n };\n return UsageLogsByRetentionHour;\n}());\nexports.UsageLogsByRetentionHour = UsageLogsByRetentionHour;\n//# sourceMappingURL=UsageLogsByRetentionHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsByRetentionResponse = void 0;\n/**\n * Response containing the indexed logs usage broken down by retention period for an organization during a given hour.\n */\nvar UsageLogsByRetentionResponse = /** @class */ (function () {\n function UsageLogsByRetentionResponse() {\n }\n /**\n * @ignore\n */\n UsageLogsByRetentionResponse.getAttributeTypeMap = function () {\n return UsageLogsByRetentionResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsByRetentionResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageLogsByRetentionResponse;\n}());\nexports.UsageLogsByRetentionResponse = UsageLogsByRetentionResponse;\n//# sourceMappingURL=UsageLogsByRetentionResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsHour = void 0;\n/**\n * Hour usage for logs.\n */\nvar UsageLogsHour = /** @class */ (function () {\n function UsageLogsHour() {\n }\n /**\n * @ignore\n */\n UsageLogsHour.getAttributeTypeMap = function () {\n return UsageLogsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsHour.attributeTypeMap = {\n billableIngestedBytes: {\n baseName: \"billable_ingested_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n indexedEventsCount: {\n baseName: \"indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n ingestedEventsBytes: {\n baseName: \"ingested_events_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n logsLiveIndexedCount: {\n baseName: \"logs_live_indexed_count\",\n type: \"number\",\n format: \"int64\",\n },\n logsLiveIngestedBytes: {\n baseName: \"logs_live_ingested_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n logsRehydratedIndexedCount: {\n baseName: \"logs_rehydrated_indexed_count\",\n type: \"number\",\n format: \"int64\",\n },\n logsRehydratedIngestedBytes: {\n baseName: \"logs_rehydrated_ingested_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageLogsHour;\n}());\nexports.UsageLogsHour = UsageLogsHour;\n//# sourceMappingURL=UsageLogsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageLogsResponse = void 0;\n/**\n * Response containing the number of logs for each hour.\n */\nvar UsageLogsResponse = /** @class */ (function () {\n function UsageLogsResponse() {\n }\n /**\n * @ignore\n */\n UsageLogsResponse.getAttributeTypeMap = function () {\n return UsageLogsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageLogsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageLogsResponse;\n}());\nexports.UsageLogsResponse = UsageLogsResponse;\n//# sourceMappingURL=UsageLogsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageNetworkFlowsHour = void 0;\n/**\n * Number of netflow events indexed for each hour for a given organization.\n */\nvar UsageNetworkFlowsHour = /** @class */ (function () {\n function UsageNetworkFlowsHour() {\n }\n /**\n * @ignore\n */\n UsageNetworkFlowsHour.getAttributeTypeMap = function () {\n return UsageNetworkFlowsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageNetworkFlowsHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n indexedEventsCount: {\n baseName: \"indexed_events_count\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageNetworkFlowsHour;\n}());\nexports.UsageNetworkFlowsHour = UsageNetworkFlowsHour;\n//# sourceMappingURL=UsageNetworkFlowsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageNetworkFlowsResponse = void 0;\n/**\n * Response containing the number of netflow events indexed for each hour for a given organization.\n */\nvar UsageNetworkFlowsResponse = /** @class */ (function () {\n function UsageNetworkFlowsResponse() {\n }\n /**\n * @ignore\n */\n UsageNetworkFlowsResponse.getAttributeTypeMap = function () {\n return UsageNetworkFlowsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageNetworkFlowsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageNetworkFlowsResponse;\n}());\nexports.UsageNetworkFlowsResponse = UsageNetworkFlowsResponse;\n//# sourceMappingURL=UsageNetworkFlowsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageNetworkHostsHour = void 0;\n/**\n * Number of active NPM hosts for each hour for a given organization.\n */\nvar UsageNetworkHostsHour = /** @class */ (function () {\n function UsageNetworkHostsHour() {\n }\n /**\n * @ignore\n */\n UsageNetworkHostsHour.getAttributeTypeMap = function () {\n return UsageNetworkHostsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageNetworkHostsHour.attributeTypeMap = {\n hostCount: {\n baseName: \"host_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageNetworkHostsHour;\n}());\nexports.UsageNetworkHostsHour = UsageNetworkHostsHour;\n//# sourceMappingURL=UsageNetworkHostsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageNetworkHostsResponse = void 0;\n/**\n * Response containing the number of active NPM hosts for each hour for a given organization.\n */\nvar UsageNetworkHostsResponse = /** @class */ (function () {\n function UsageNetworkHostsResponse() {\n }\n /**\n * @ignore\n */\n UsageNetworkHostsResponse.getAttributeTypeMap = function () {\n return UsageNetworkHostsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageNetworkHostsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageNetworkHostsResponse;\n}());\nexports.UsageNetworkHostsResponse = UsageNetworkHostsResponse;\n//# sourceMappingURL=UsageNetworkHostsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageProfilingHour = void 0;\n/**\n * The number of profiled hosts for each hour for a given organization.\n */\nvar UsageProfilingHour = /** @class */ (function () {\n function UsageProfilingHour() {\n }\n /**\n * @ignore\n */\n UsageProfilingHour.getAttributeTypeMap = function () {\n return UsageProfilingHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageProfilingHour.attributeTypeMap = {\n avgContainerAgentCount: {\n baseName: \"avg_container_agent_count\",\n type: \"number\",\n format: \"int64\",\n },\n hostCount: {\n baseName: \"host_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageProfilingHour;\n}());\nexports.UsageProfilingHour = UsageProfilingHour;\n//# sourceMappingURL=UsageProfilingHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageProfilingResponse = void 0;\n/**\n * Response containing the number of profiled hosts for each hour for a given organization.\n */\nvar UsageProfilingResponse = /** @class */ (function () {\n function UsageProfilingResponse() {\n }\n /**\n * @ignore\n */\n UsageProfilingResponse.getAttributeTypeMap = function () {\n return UsageProfilingResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageProfilingResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageProfilingResponse;\n}());\nexports.UsageProfilingResponse = UsageProfilingResponse;\n//# sourceMappingURL=UsageProfilingResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageRumSessionsHour = void 0;\n/**\n * Number of RUM Sessions recorded for each hour for a given organization.\n */\nvar UsageRumSessionsHour = /** @class */ (function () {\n function UsageRumSessionsHour() {\n }\n /**\n * @ignore\n */\n UsageRumSessionsHour.getAttributeTypeMap = function () {\n return UsageRumSessionsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageRumSessionsHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n replaySessionCount: {\n baseName: \"replay_session_count\",\n type: \"number\",\n format: \"int64\",\n },\n sessionCount: {\n baseName: \"session_count\",\n type: \"number\",\n format: \"int64\",\n },\n sessionCountAndroid: {\n baseName: \"session_count_android\",\n type: \"number\",\n format: \"int64\",\n },\n sessionCountIos: {\n baseName: \"session_count_ios\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageRumSessionsHour;\n}());\nexports.UsageRumSessionsHour = UsageRumSessionsHour;\n//# sourceMappingURL=UsageRumSessionsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageRumSessionsResponse = void 0;\n/**\n * Response containing the number of RUM Sessions for each hour for a given organization.\n */\nvar UsageRumSessionsResponse = /** @class */ (function () {\n function UsageRumSessionsResponse() {\n }\n /**\n * @ignore\n */\n UsageRumSessionsResponse.getAttributeTypeMap = function () {\n return UsageRumSessionsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageRumSessionsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageRumSessionsResponse;\n}());\nexports.UsageRumSessionsResponse = UsageRumSessionsResponse;\n//# sourceMappingURL=UsageRumSessionsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageRumUnitsHour = void 0;\n/**\n * Number of RUM Units used for each hour for a given organization (data available as of November 1, 2021).\n */\nvar UsageRumUnitsHour = /** @class */ (function () {\n function UsageRumUnitsHour() {\n }\n /**\n * @ignore\n */\n UsageRumUnitsHour.getAttributeTypeMap = function () {\n return UsageRumUnitsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageRumUnitsHour.attributeTypeMap = {\n browserRumUnits: {\n baseName: \"browser_rum_units\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumUnits: {\n baseName: \"mobile_rum_units\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n rumUnits: {\n baseName: \"rum_units\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageRumUnitsHour;\n}());\nexports.UsageRumUnitsHour = UsageRumUnitsHour;\n//# sourceMappingURL=UsageRumUnitsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageRumUnitsResponse = void 0;\n/**\n * Response containing the number of RUM Units for each hour for a given organization.\n */\nvar UsageRumUnitsResponse = /** @class */ (function () {\n function UsageRumUnitsResponse() {\n }\n /**\n * @ignore\n */\n UsageRumUnitsResponse.getAttributeTypeMap = function () {\n return UsageRumUnitsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageRumUnitsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageRumUnitsResponse;\n}());\nexports.UsageRumUnitsResponse = UsageRumUnitsResponse;\n//# sourceMappingURL=UsageRumUnitsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSDSHour = void 0;\n/**\n * Sensitive Data Scanner usage for a given organization for a given hour.\n */\nvar UsageSDSHour = /** @class */ (function () {\n function UsageSDSHour() {\n }\n /**\n * @ignore\n */\n UsageSDSHour.getAttributeTypeMap = function () {\n return UsageSDSHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSDSHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n logsScannedBytes: {\n baseName: \"logs_scanned_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n totalScannedBytes: {\n baseName: \"total_scanned_bytes\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSDSHour;\n}());\nexports.UsageSDSHour = UsageSDSHour;\n//# sourceMappingURL=UsageSDSHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSDSResponse = void 0;\n/**\n * Response containing the Sensitive Data Scanner usage for each hour for a given organization.\n */\nvar UsageSDSResponse = /** @class */ (function () {\n function UsageSDSResponse() {\n }\n /**\n * @ignore\n */\n UsageSDSResponse.getAttributeTypeMap = function () {\n return UsageSDSResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSDSResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageSDSResponse;\n}());\nexports.UsageSDSResponse = UsageSDSResponse;\n//# sourceMappingURL=UsageSDSResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSNMPHour = void 0;\n/**\n * The number of SNMP devices for each hour for a given organization.\n */\nvar UsageSNMPHour = /** @class */ (function () {\n function UsageSNMPHour() {\n }\n /**\n * @ignore\n */\n UsageSNMPHour.getAttributeTypeMap = function () {\n return UsageSNMPHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSNMPHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n snmpDevices: {\n baseName: \"snmp_devices\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSNMPHour;\n}());\nexports.UsageSNMPHour = UsageSNMPHour;\n//# sourceMappingURL=UsageSNMPHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSNMPResponse = void 0;\n/**\n * Response containing the number of SNMP devices for each hour for a given organization.\n */\nvar UsageSNMPResponse = /** @class */ (function () {\n function UsageSNMPResponse() {\n }\n /**\n * @ignore\n */\n UsageSNMPResponse.getAttributeTypeMap = function () {\n return UsageSNMPResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSNMPResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageSNMPResponse;\n}());\nexports.UsageSNMPResponse = UsageSNMPResponse;\n//# sourceMappingURL=UsageSNMPResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSpecifiedCustomReportsAttributes = void 0;\n/**\n * The response containing attributes for specified custom reports.\n */\nvar UsageSpecifiedCustomReportsAttributes = /** @class */ (function () {\n function UsageSpecifiedCustomReportsAttributes() {\n }\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsAttributes.getAttributeTypeMap = function () {\n return UsageSpecifiedCustomReportsAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsAttributes.attributeTypeMap = {\n computedOn: {\n baseName: \"computed_on\",\n type: \"string\",\n },\n endDate: {\n baseName: \"end_date\",\n type: \"string\",\n },\n location: {\n baseName: \"location\",\n type: \"string\",\n },\n size: {\n baseName: \"size\",\n type: \"number\",\n format: \"int64\",\n },\n startDate: {\n baseName: \"start_date\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return UsageSpecifiedCustomReportsAttributes;\n}());\nexports.UsageSpecifiedCustomReportsAttributes = UsageSpecifiedCustomReportsAttributes;\n//# sourceMappingURL=UsageSpecifiedCustomReportsAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSpecifiedCustomReportsData = void 0;\n/**\n * Response containing date and type for specified custom reports.\n */\nvar UsageSpecifiedCustomReportsData = /** @class */ (function () {\n function UsageSpecifiedCustomReportsData() {\n }\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsData.getAttributeTypeMap = function () {\n return UsageSpecifiedCustomReportsData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UsageSpecifiedCustomReportsAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"UsageReportsType\",\n },\n };\n return UsageSpecifiedCustomReportsData;\n}());\nexports.UsageSpecifiedCustomReportsData = UsageSpecifiedCustomReportsData;\n//# sourceMappingURL=UsageSpecifiedCustomReportsData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSpecifiedCustomReportsMeta = void 0;\n/**\n * The object containing document metadata.\n */\nvar UsageSpecifiedCustomReportsMeta = /** @class */ (function () {\n function UsageSpecifiedCustomReportsMeta() {\n }\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsMeta.getAttributeTypeMap = function () {\n return UsageSpecifiedCustomReportsMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsMeta.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"UsageSpecifiedCustomReportsPage\",\n },\n };\n return UsageSpecifiedCustomReportsMeta;\n}());\nexports.UsageSpecifiedCustomReportsMeta = UsageSpecifiedCustomReportsMeta;\n//# sourceMappingURL=UsageSpecifiedCustomReportsMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSpecifiedCustomReportsPage = void 0;\n/**\n * The object containing page total count for specified ID.\n */\nvar UsageSpecifiedCustomReportsPage = /** @class */ (function () {\n function UsageSpecifiedCustomReportsPage() {\n }\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsPage.getAttributeTypeMap = function () {\n return UsageSpecifiedCustomReportsPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsPage.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSpecifiedCustomReportsPage;\n}());\nexports.UsageSpecifiedCustomReportsPage = UsageSpecifiedCustomReportsPage;\n//# sourceMappingURL=UsageSpecifiedCustomReportsPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSpecifiedCustomReportsResponse = void 0;\n/**\n * Returns available specified custom reports.\n */\nvar UsageSpecifiedCustomReportsResponse = /** @class */ (function () {\n function UsageSpecifiedCustomReportsResponse() {\n }\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsResponse.getAttributeTypeMap = function () {\n return UsageSpecifiedCustomReportsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSpecifiedCustomReportsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"UsageSpecifiedCustomReportsData\",\n },\n meta: {\n baseName: \"meta\",\n type: \"UsageSpecifiedCustomReportsMeta\",\n },\n };\n return UsageSpecifiedCustomReportsResponse;\n}());\nexports.UsageSpecifiedCustomReportsResponse = UsageSpecifiedCustomReportsResponse;\n//# sourceMappingURL=UsageSpecifiedCustomReportsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSummaryDate = void 0;\n/**\n * Response with hourly report of all data billed by Datadog all organizations.\n */\nvar UsageSummaryDate = /** @class */ (function () {\n function UsageSummaryDate() {\n }\n /**\n * @ignore\n */\n UsageSummaryDate.getAttributeTypeMap = function () {\n return UsageSummaryDate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSummaryDate.attributeTypeMap = {\n agentHostTop99p: {\n baseName: \"agent_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n apmAzureAppServiceHostTop99p: {\n baseName: \"apm_azure_app_service_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n apmHostTop99p: {\n baseName: \"apm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n auditLogsLinesIndexedSum: {\n baseName: \"audit_logs_lines_indexed_sum\",\n type: \"number\",\n format: \"int64\",\n },\n avgProfiledFargateTasks: {\n baseName: \"avg_profiled_fargate_tasks\",\n type: \"number\",\n format: \"int64\",\n },\n awsHostTop99p: {\n baseName: \"aws_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaFuncCount: {\n baseName: \"aws_lambda_func_count\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaInvocationsSum: {\n baseName: \"aws_lambda_invocations_sum\",\n type: \"number\",\n format: \"int64\",\n },\n azureAppServiceTop99p: {\n baseName: \"azure_app_service_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n billableIngestedBytesSum: {\n baseName: \"billable_ingested_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumLiteSessionCountSum: {\n baseName: \"browser_rum_lite_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumReplaySessionCountSum: {\n baseName: \"browser_rum_replay_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumUnitsSum: {\n baseName: \"browser_rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n containerAvg: {\n baseName: \"container_avg\",\n type: \"number\",\n format: \"int64\",\n },\n containerHwm: {\n baseName: \"container_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAasHostTop99p: {\n baseName: \"cspm_aas_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAzureHostTop99p: {\n baseName: \"cspm_azure_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerAvg: {\n baseName: \"cspm_container_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerHwm: {\n baseName: \"cspm_container_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n cspmHostTop99p: {\n baseName: \"cspm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n customTsAvg: {\n baseName: \"custom_ts_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cwsContainerCountAvg: {\n baseName: \"cws_container_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cwsHostTop99p: {\n baseName: \"cws_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n date: {\n baseName: \"date\",\n type: \"Date\",\n format: \"date-time\",\n },\n dbmHostTop99p: {\n baseName: \"dbm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n dbmQueriesCountAvg: {\n baseName: \"dbm_queries_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n fargateTasksCountAvg: {\n baseName: \"fargate_tasks_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n fargateTasksCountHwm: {\n baseName: \"fargate_tasks_count_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n gcpHostTop99p: {\n baseName: \"gcp_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n herokuHostTop99p: {\n baseName: \"heroku_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n incidentManagementMonthlyActiveUsersHwm: {\n baseName: \"incident_management_monthly_active_users_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n indexedEventsCountSum: {\n baseName: \"indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n infraHostTop99p: {\n baseName: \"infra_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n ingestedEventsBytesSum: {\n baseName: \"ingested_events_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceSum: {\n baseName: \"iot_device_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceTop99p: {\n baseName: \"iot_device_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumLiteSessionCountSum: {\n baseName: \"mobile_rum_lite_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountAndroidSum: {\n baseName: \"mobile_rum_session_count_android_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountIosSum: {\n baseName: \"mobile_rum_session_count_ios_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountSum: {\n baseName: \"mobile_rum_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumUnitsSum: {\n baseName: \"mobile_rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n netflowIndexedEventsCountSum: {\n baseName: \"netflow_indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n npmHostTop99p: {\n baseName: \"npm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n opentelemetryHostTop99p: {\n baseName: \"opentelemetry_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n orgs: {\n baseName: \"orgs\",\n type: \"Array\",\n },\n profilingHostTop99p: {\n baseName: \"profiling_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n rumBrowserAndMobileSessionCount: {\n baseName: \"rum_browser_and_mobile_session_count\",\n type: \"number\",\n format: \"int64\",\n },\n rumSessionCountSum: {\n baseName: \"rum_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumTotalSessionCountSum: {\n baseName: \"rum_total_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumUnitsSum: {\n baseName: \"rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsLogsScannedBytesSum: {\n baseName: \"sds_logs_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsTotalScannedBytesSum: {\n baseName: \"sds_total_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n syntheticsBrowserCheckCallsCountSum: {\n baseName: \"synthetics_browser_check_calls_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n syntheticsCheckCallsCountSum: {\n baseName: \"synthetics_check_calls_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n traceSearchIndexedEventsCountSum: {\n baseName: \"trace_search_indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n twolIngestedEventsBytesSum: {\n baseName: \"twol_ingested_events_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n vsphereHostTop99p: {\n baseName: \"vsphere_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSummaryDate;\n}());\nexports.UsageSummaryDate = UsageSummaryDate;\n//# sourceMappingURL=UsageSummaryDate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSummaryDateOrg = void 0;\n/**\n * Global hourly report of all data billed by Datadog for a given organization.\n */\nvar UsageSummaryDateOrg = /** @class */ (function () {\n function UsageSummaryDateOrg() {\n }\n /**\n * @ignore\n */\n UsageSummaryDateOrg.getAttributeTypeMap = function () {\n return UsageSummaryDateOrg.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSummaryDateOrg.attributeTypeMap = {\n agentHostTop99p: {\n baseName: \"agent_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n apmAzureAppServiceHostTop99p: {\n baseName: \"apm_azure_app_service_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n apmHostTop99p: {\n baseName: \"apm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n auditLogsLinesIndexedSum: {\n baseName: \"audit_logs_lines_indexed_sum\",\n type: \"number\",\n format: \"int64\",\n },\n avgProfiledFargateTasks: {\n baseName: \"avg_profiled_fargate_tasks\",\n type: \"number\",\n format: \"int64\",\n },\n awsHostTop99p: {\n baseName: \"aws_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaFuncCount: {\n baseName: \"aws_lambda_func_count\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaInvocationsSum: {\n baseName: \"aws_lambda_invocations_sum\",\n type: \"number\",\n format: \"int64\",\n },\n azureAppServiceTop99p: {\n baseName: \"azure_app_service_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n billableIngestedBytesSum: {\n baseName: \"billable_ingested_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumLiteSessionCountSum: {\n baseName: \"browser_rum_lite_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumReplaySessionCountSum: {\n baseName: \"browser_rum_replay_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumUnitsSum: {\n baseName: \"browser_rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n containerAvg: {\n baseName: \"container_avg\",\n type: \"number\",\n format: \"int64\",\n },\n containerHwm: {\n baseName: \"container_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAasHostTop99p: {\n baseName: \"cspm_aas_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAzureHostTop99p: {\n baseName: \"cspm_azure_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerAvg: {\n baseName: \"cspm_container_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerHwm: {\n baseName: \"cspm_container_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n cspmHostTop99p: {\n baseName: \"cspm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n customTsAvg: {\n baseName: \"custom_ts_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cwsContainerCountAvg: {\n baseName: \"cws_container_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n cwsHostTop99p: {\n baseName: \"cws_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n dbmHostTop99pSum: {\n baseName: \"dbm_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n dbmQueriesAvgSum: {\n baseName: \"dbm_queries_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n fargateTasksCountAvg: {\n baseName: \"fargate_tasks_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n fargateTasksCountHwm: {\n baseName: \"fargate_tasks_count_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n gcpHostTop99p: {\n baseName: \"gcp_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n herokuHostTop99p: {\n baseName: \"heroku_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n incidentManagementMonthlyActiveUsersHwm: {\n baseName: \"incident_management_monthly_active_users_hwm\",\n type: \"number\",\n format: \"int64\",\n },\n indexedEventsCountSum: {\n baseName: \"indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n infraHostTop99p: {\n baseName: \"infra_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n ingestedEventsBytesSum: {\n baseName: \"ingested_events_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceAggSum: {\n baseName: \"iot_device_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceTop99pSum: {\n baseName: \"iot_device_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumLiteSessionCountSum: {\n baseName: \"mobile_rum_lite_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountAndroidSum: {\n baseName: \"mobile_rum_session_count_android_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountIosSum: {\n baseName: \"mobile_rum_session_count_ios_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountSum: {\n baseName: \"mobile_rum_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumUnitsSum: {\n baseName: \"mobile_rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n netflowIndexedEventsCountSum: {\n baseName: \"netflow_indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n npmHostTop99p: {\n baseName: \"npm_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n opentelemetryHostTop99p: {\n baseName: \"opentelemetry_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n profilingHostTop99p: {\n baseName: \"profiling_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n rumBrowserAndMobileSessionCount: {\n baseName: \"rum_browser_and_mobile_session_count\",\n type: \"number\",\n format: \"int64\",\n },\n rumSessionCountSum: {\n baseName: \"rum_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumTotalSessionCountSum: {\n baseName: \"rum_total_session_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumUnitsSum: {\n baseName: \"rum_units_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsLogsScannedBytesSum: {\n baseName: \"sds_logs_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsTotalScannedBytesSum: {\n baseName: \"sds_total_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n syntheticsBrowserCheckCallsCountSum: {\n baseName: \"synthetics_browser_check_calls_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n syntheticsCheckCallsCountSum: {\n baseName: \"synthetics_check_calls_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n traceSearchIndexedEventsCountSum: {\n baseName: \"trace_search_indexed_events_count_sum\",\n type: \"number\",\n format: \"int64\",\n },\n twolIngestedEventsBytesSum: {\n baseName: \"twol_ingested_events_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n vsphereHostTop99p: {\n baseName: \"vsphere_host_top99p\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSummaryDateOrg;\n}());\nexports.UsageSummaryDateOrg = UsageSummaryDateOrg;\n//# sourceMappingURL=UsageSummaryDateOrg.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSummaryResponse = void 0;\n/**\n * Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization.\n */\nvar UsageSummaryResponse = /** @class */ (function () {\n function UsageSummaryResponse() {\n }\n /**\n * @ignore\n */\n UsageSummaryResponse.getAttributeTypeMap = function () {\n return UsageSummaryResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSummaryResponse.attributeTypeMap = {\n agentHostTop99pSum: {\n baseName: \"agent_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n apmAzureAppServiceHostTop99pSum: {\n baseName: \"apm_azure_app_service_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n apmHostTop99pSum: {\n baseName: \"apm_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n auditLogsLinesIndexedAggSum: {\n baseName: \"audit_logs_lines_indexed_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n avgProfiledFargateTasksSum: {\n baseName: \"avg_profiled_fargate_tasks_sum\",\n type: \"number\",\n format: \"int64\",\n },\n awsHostTop99pSum: {\n baseName: \"aws_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaFuncCount: {\n baseName: \"aws_lambda_func_count\",\n type: \"number\",\n format: \"int64\",\n },\n awsLambdaInvocationsSum: {\n baseName: \"aws_lambda_invocations_sum\",\n type: \"number\",\n format: \"int64\",\n },\n azureAppServiceTop99pSum: {\n baseName: \"azure_app_service_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n azureHostTop99pSum: {\n baseName: \"azure_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n billableIngestedBytesAggSum: {\n baseName: \"billable_ingested_bytes_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumLiteSessionCountAggSum: {\n baseName: \"browser_rum_lite_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumReplaySessionCountAggSum: {\n baseName: \"browser_rum_replay_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n browserRumUnitsAggSum: {\n baseName: \"browser_rum_units_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n containerAvgSum: {\n baseName: \"container_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n containerHwmSum: {\n baseName: \"container_hwm_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAasHostTop99pSum: {\n baseName: \"cspm_aas_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cspmAzureHostTop99pSum: {\n baseName: \"cspm_azure_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerAvgSum: {\n baseName: \"cspm_container_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cspmContainerHwmSum: {\n baseName: \"cspm_container_hwm_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cspmHostTop99pSum: {\n baseName: \"cspm_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n customTsSum: {\n baseName: \"custom_ts_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cwsContainersAvgSum: {\n baseName: \"cws_containers_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n cwsHostTop99pSum: {\n baseName: \"cws_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n dbmHostTop99pSum: {\n baseName: \"dbm_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n dbmQueriesAvgSum: {\n baseName: \"dbm_queries_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n endDate: {\n baseName: \"end_date\",\n type: \"Date\",\n format: \"date-time\",\n },\n fargateTasksCountAvgSum: {\n baseName: \"fargate_tasks_count_avg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n fargateTasksCountHwmSum: {\n baseName: \"fargate_tasks_count_hwm_sum\",\n type: \"number\",\n format: \"int64\",\n },\n gcpHostTop99pSum: {\n baseName: \"gcp_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n herokuHostTop99pSum: {\n baseName: \"heroku_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n incidentManagementMonthlyActiveUsersHwmSum: {\n baseName: \"incident_management_monthly_active_users_hwm_sum\",\n type: \"number\",\n format: \"int64\",\n },\n indexedEventsCountAggSum: {\n baseName: \"indexed_events_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n infraHostTop99pSum: {\n baseName: \"infra_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n ingestedEventsBytesAggSum: {\n baseName: \"ingested_events_bytes_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceAggSum: {\n baseName: \"iot_device_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n iotDeviceTop99pSum: {\n baseName: \"iot_device_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n lastUpdated: {\n baseName: \"last_updated\",\n type: \"Date\",\n format: \"date-time\",\n },\n liveIndexedEventsAggSum: {\n baseName: \"live_indexed_events_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n liveIngestedBytesAggSum: {\n baseName: \"live_ingested_bytes_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n logsByRetention: {\n baseName: \"logs_by_retention\",\n type: \"LogsByRetention\",\n },\n mobileRumLiteSessionCountAggSum: {\n baseName: \"mobile_rum_lite_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountAggSum: {\n baseName: \"mobile_rum_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountAndroidAggSum: {\n baseName: \"mobile_rum_session_count_android_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumSessionCountIosAggSum: {\n baseName: \"mobile_rum_session_count_ios_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n mobileRumUnitsAggSum: {\n baseName: \"mobile_rum_units_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n netflowIndexedEventsCountAggSum: {\n baseName: \"netflow_indexed_events_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n npmHostTop99pSum: {\n baseName: \"npm_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n opentelemetryHostTop99pSum: {\n baseName: \"opentelemetry_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n profilingContainerAgentCountAvg: {\n baseName: \"profiling_container_agent_count_avg\",\n type: \"number\",\n format: \"int64\",\n },\n profilingHostCountTop99pSum: {\n baseName: \"profiling_host_count_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rehydratedIndexedEventsAggSum: {\n baseName: \"rehydrated_indexed_events_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rehydratedIngestedBytesAggSum: {\n baseName: \"rehydrated_ingested_bytes_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumBrowserAndMobileSessionCount: {\n baseName: \"rum_browser_and_mobile_session_count\",\n type: \"number\",\n format: \"int64\",\n },\n rumSessionCountAggSum: {\n baseName: \"rum_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumTotalSessionCountAggSum: {\n baseName: \"rum_total_session_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n rumUnitsAggSum: {\n baseName: \"rum_units_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsLogsScannedBytesSum: {\n baseName: \"sds_logs_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n sdsTotalScannedBytesSum: {\n baseName: \"sds_total_scanned_bytes_sum\",\n type: \"number\",\n format: \"int64\",\n },\n startDate: {\n baseName: \"start_date\",\n type: \"Date\",\n format: \"date-time\",\n },\n syntheticsBrowserCheckCallsCountAggSum: {\n baseName: \"synthetics_browser_check_calls_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n syntheticsCheckCallsCountAggSum: {\n baseName: \"synthetics_check_calls_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n traceSearchIndexedEventsCountAggSum: {\n baseName: \"trace_search_indexed_events_count_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n twolIngestedEventsBytesAggSum: {\n baseName: \"twol_ingested_events_bytes_agg_sum\",\n type: \"number\",\n format: \"int64\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n vsphereHostTop99pSum: {\n baseName: \"vsphere_host_top99p_sum\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return UsageSummaryResponse;\n}());\nexports.UsageSummaryResponse = UsageSummaryResponse;\n//# sourceMappingURL=UsageSummaryResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsAPIHour = void 0;\n/**\n * Number of Synthetics API tests run for each hour for a given organization.\n */\nvar UsageSyntheticsAPIHour = /** @class */ (function () {\n function UsageSyntheticsAPIHour() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsAPIHour.getAttributeTypeMap = function () {\n return UsageSyntheticsAPIHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsAPIHour.attributeTypeMap = {\n checkCallsCount: {\n baseName: \"check_calls_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageSyntheticsAPIHour;\n}());\nexports.UsageSyntheticsAPIHour = UsageSyntheticsAPIHour;\n//# sourceMappingURL=UsageSyntheticsAPIHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsAPIResponse = void 0;\n/**\n * Response containing the number of Synthetics API tests run for each hour for a given organization.\n */\nvar UsageSyntheticsAPIResponse = /** @class */ (function () {\n function UsageSyntheticsAPIResponse() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsAPIResponse.getAttributeTypeMap = function () {\n return UsageSyntheticsAPIResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsAPIResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageSyntheticsAPIResponse;\n}());\nexports.UsageSyntheticsAPIResponse = UsageSyntheticsAPIResponse;\n//# sourceMappingURL=UsageSyntheticsAPIResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsBrowserHour = void 0;\n/**\n * Number of Synthetics Browser tests run for each hour for a given organization.\n */\nvar UsageSyntheticsBrowserHour = /** @class */ (function () {\n function UsageSyntheticsBrowserHour() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsBrowserHour.getAttributeTypeMap = function () {\n return UsageSyntheticsBrowserHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsBrowserHour.attributeTypeMap = {\n browserCheckCallsCount: {\n baseName: \"browser_check_calls_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageSyntheticsBrowserHour;\n}());\nexports.UsageSyntheticsBrowserHour = UsageSyntheticsBrowserHour;\n//# sourceMappingURL=UsageSyntheticsBrowserHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsBrowserResponse = void 0;\n/**\n * Response containing the number of Synthetics Browser tests run for each hour for a given organization.\n */\nvar UsageSyntheticsBrowserResponse = /** @class */ (function () {\n function UsageSyntheticsBrowserResponse() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsBrowserResponse.getAttributeTypeMap = function () {\n return UsageSyntheticsBrowserResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsBrowserResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageSyntheticsBrowserResponse;\n}());\nexports.UsageSyntheticsBrowserResponse = UsageSyntheticsBrowserResponse;\n//# sourceMappingURL=UsageSyntheticsBrowserResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsHour = void 0;\n/**\n * The number of synthetics tests run for each hour for a given organization.\n */\nvar UsageSyntheticsHour = /** @class */ (function () {\n function UsageSyntheticsHour() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsHour.getAttributeTypeMap = function () {\n return UsageSyntheticsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsHour.attributeTypeMap = {\n checkCallsCount: {\n baseName: \"check_calls_count\",\n type: \"number\",\n format: \"int64\",\n },\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageSyntheticsHour;\n}());\nexports.UsageSyntheticsHour = UsageSyntheticsHour;\n//# sourceMappingURL=UsageSyntheticsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageSyntheticsResponse = void 0;\n/**\n * Response containing the number of Synthetics API tests run for each hour for a given organization.\n */\nvar UsageSyntheticsResponse = /** @class */ (function () {\n function UsageSyntheticsResponse() {\n }\n /**\n * @ignore\n */\n UsageSyntheticsResponse.getAttributeTypeMap = function () {\n return UsageSyntheticsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageSyntheticsResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageSyntheticsResponse;\n}());\nexports.UsageSyntheticsResponse = UsageSyntheticsResponse;\n//# sourceMappingURL=UsageSyntheticsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageTimeseriesHour = void 0;\n/**\n * The hourly usage of timeseries.\n */\nvar UsageTimeseriesHour = /** @class */ (function () {\n function UsageTimeseriesHour() {\n }\n /**\n * @ignore\n */\n UsageTimeseriesHour.getAttributeTypeMap = function () {\n return UsageTimeseriesHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageTimeseriesHour.attributeTypeMap = {\n hour: {\n baseName: \"hour\",\n type: \"Date\",\n format: \"date-time\",\n },\n numCustomInputTimeseries: {\n baseName: \"num_custom_input_timeseries\",\n type: \"number\",\n format: \"int64\",\n },\n numCustomOutputTimeseries: {\n baseName: \"num_custom_output_timeseries\",\n type: \"number\",\n format: \"int64\",\n },\n numCustomTimeseries: {\n baseName: \"num_custom_timeseries\",\n type: \"number\",\n format: \"int64\",\n },\n orgName: {\n baseName: \"org_name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n };\n return UsageTimeseriesHour;\n}());\nexports.UsageTimeseriesHour = UsageTimeseriesHour;\n//# sourceMappingURL=UsageTimeseriesHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageTimeseriesResponse = void 0;\n/**\n * Response containing hourly usage of timeseries.\n */\nvar UsageTimeseriesResponse = /** @class */ (function () {\n function UsageTimeseriesResponse() {\n }\n /**\n * @ignore\n */\n UsageTimeseriesResponse.getAttributeTypeMap = function () {\n return UsageTimeseriesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageTimeseriesResponse.attributeTypeMap = {\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageTimeseriesResponse;\n}());\nexports.UsageTimeseriesResponse = UsageTimeseriesResponse;\n//# sourceMappingURL=UsageTimeseriesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageTopAvgMetricsHour = void 0;\n/**\n * Number of hourly recorded custom metrics for a given organization.\n */\nvar UsageTopAvgMetricsHour = /** @class */ (function () {\n function UsageTopAvgMetricsHour() {\n }\n /**\n * @ignore\n */\n UsageTopAvgMetricsHour.getAttributeTypeMap = function () {\n return UsageTopAvgMetricsHour.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageTopAvgMetricsHour.attributeTypeMap = {\n avgMetricHour: {\n baseName: \"avg_metric_hour\",\n type: \"number\",\n format: \"int64\",\n },\n maxMetricHour: {\n baseName: \"max_metric_hour\",\n type: \"number\",\n format: \"int64\",\n },\n metricCategory: {\n baseName: \"metric_category\",\n type: \"UsageMetricCategory\",\n },\n metricName: {\n baseName: \"metric_name\",\n type: \"string\",\n },\n };\n return UsageTopAvgMetricsHour;\n}());\nexports.UsageTopAvgMetricsHour = UsageTopAvgMetricsHour;\n//# sourceMappingURL=UsageTopAvgMetricsHour.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageTopAvgMetricsMetadata = void 0;\n/**\n * The object containing document metadata.\n */\nvar UsageTopAvgMetricsMetadata = /** @class */ (function () {\n function UsageTopAvgMetricsMetadata() {\n }\n /**\n * @ignore\n */\n UsageTopAvgMetricsMetadata.getAttributeTypeMap = function () {\n return UsageTopAvgMetricsMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageTopAvgMetricsMetadata.attributeTypeMap = {\n day: {\n baseName: \"day\",\n type: \"Date\",\n format: \"date-time\",\n },\n month: {\n baseName: \"month\",\n type: \"Date\",\n format: \"date-time\",\n },\n pagination: {\n baseName: \"pagination\",\n type: \"UsageAttributionPagination\",\n },\n };\n return UsageTopAvgMetricsMetadata;\n}());\nexports.UsageTopAvgMetricsMetadata = UsageTopAvgMetricsMetadata;\n//# sourceMappingURL=UsageTopAvgMetricsMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageTopAvgMetricsResponse = void 0;\n/**\n * Response containing the number of hourly recorded custom metrics for a given organization.\n */\nvar UsageTopAvgMetricsResponse = /** @class */ (function () {\n function UsageTopAvgMetricsResponse() {\n }\n /**\n * @ignore\n */\n UsageTopAvgMetricsResponse.getAttributeTypeMap = function () {\n return UsageTopAvgMetricsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsageTopAvgMetricsResponse.attributeTypeMap = {\n metadata: {\n baseName: \"metadata\",\n type: \"UsageTopAvgMetricsMetadata\",\n },\n usage: {\n baseName: \"usage\",\n type: \"Array\",\n },\n };\n return UsageTopAvgMetricsResponse;\n}());\nexports.UsageTopAvgMetricsResponse = UsageTopAvgMetricsResponse;\n//# sourceMappingURL=UsageTopAvgMetricsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.User = void 0;\n/**\n * Create, edit, and disable users.\n */\nvar User = /** @class */ (function () {\n function User() {\n }\n /**\n * @ignore\n */\n User.getAttributeTypeMap = function () {\n return User.attributeTypeMap;\n };\n /**\n * @ignore\n */\n User.attributeTypeMap = {\n accessRole: {\n baseName: \"access_role\",\n type: \"AccessRole\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n email: {\n baseName: \"email\",\n type: \"string\",\n format: \"email\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n format: \"email\",\n },\n icon: {\n baseName: \"icon\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n verified: {\n baseName: \"verified\",\n type: \"boolean\",\n },\n };\n return User;\n}());\nexports.User = User;\n//# sourceMappingURL=User.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserDisableResponse = void 0;\n/**\n * Array of user disabled for a given organization.\n */\nvar UserDisableResponse = /** @class */ (function () {\n function UserDisableResponse() {\n }\n /**\n * @ignore\n */\n UserDisableResponse.getAttributeTypeMap = function () {\n return UserDisableResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserDisableResponse.attributeTypeMap = {\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n };\n return UserDisableResponse;\n}());\nexports.UserDisableResponse = UserDisableResponse;\n//# sourceMappingURL=UserDisableResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserListResponse = void 0;\n/**\n * Array of Datadog users for a given organization.\n */\nvar UserListResponse = /** @class */ (function () {\n function UserListResponse() {\n }\n /**\n * @ignore\n */\n UserListResponse.getAttributeTypeMap = function () {\n return UserListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserListResponse.attributeTypeMap = {\n users: {\n baseName: \"users\",\n type: \"Array\",\n },\n };\n return UserListResponse;\n}());\nexports.UserListResponse = UserListResponse;\n//# sourceMappingURL=UserListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserResponse = void 0;\n/**\n * A Datadog User.\n */\nvar UserResponse = /** @class */ (function () {\n function UserResponse() {\n }\n /**\n * @ignore\n */\n UserResponse.getAttributeTypeMap = function () {\n return UserResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserResponse.attributeTypeMap = {\n user: {\n baseName: \"user\",\n type: \"User\",\n },\n };\n return UserResponse;\n}());\nexports.UserResponse = UserResponse;\n//# sourceMappingURL=UserResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegration = void 0;\n/**\n * Datadog-Webhooks integration.\n */\nvar WebhooksIntegration = /** @class */ (function () {\n function WebhooksIntegration() {\n }\n /**\n * @ignore\n */\n WebhooksIntegration.getAttributeTypeMap = function () {\n return WebhooksIntegration.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WebhooksIntegration.attributeTypeMap = {\n customHeaders: {\n baseName: \"custom_headers\",\n type: \"string\",\n },\n encodeAs: {\n baseName: \"encode_as\",\n type: \"WebhooksIntegrationEncoding\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n payload: {\n baseName: \"payload\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n required: true,\n },\n };\n return WebhooksIntegration;\n}());\nexports.WebhooksIntegration = WebhooksIntegration;\n//# sourceMappingURL=WebhooksIntegration.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegrationCustomVariable = void 0;\n/**\n * Custom variable for Webhook integration.\n */\nvar WebhooksIntegrationCustomVariable = /** @class */ (function () {\n function WebhooksIntegrationCustomVariable() {\n }\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariable.getAttributeTypeMap = function () {\n return WebhooksIntegrationCustomVariable.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariable.attributeTypeMap = {\n isSecret: {\n baseName: \"is_secret\",\n type: \"boolean\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n required: true,\n },\n };\n return WebhooksIntegrationCustomVariable;\n}());\nexports.WebhooksIntegrationCustomVariable = WebhooksIntegrationCustomVariable;\n//# sourceMappingURL=WebhooksIntegrationCustomVariable.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegrationCustomVariableResponse = void 0;\n/**\n * Custom variable for Webhook integration.\n */\nvar WebhooksIntegrationCustomVariableResponse = /** @class */ (function () {\n function WebhooksIntegrationCustomVariableResponse() {\n }\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariableResponse.getAttributeTypeMap = function () {\n return WebhooksIntegrationCustomVariableResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariableResponse.attributeTypeMap = {\n isSecret: {\n baseName: \"is_secret\",\n type: \"boolean\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return WebhooksIntegrationCustomVariableResponse;\n}());\nexports.WebhooksIntegrationCustomVariableResponse = WebhooksIntegrationCustomVariableResponse;\n//# sourceMappingURL=WebhooksIntegrationCustomVariableResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegrationCustomVariableUpdateRequest = void 0;\n/**\n * Update request of a custom variable object. *All properties are optional.*\n */\nvar WebhooksIntegrationCustomVariableUpdateRequest = /** @class */ (function () {\n function WebhooksIntegrationCustomVariableUpdateRequest() {\n }\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariableUpdateRequest.getAttributeTypeMap = function () {\n return WebhooksIntegrationCustomVariableUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WebhooksIntegrationCustomVariableUpdateRequest.attributeTypeMap = {\n isSecret: {\n baseName: \"is_secret\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return WebhooksIntegrationCustomVariableUpdateRequest;\n}());\nexports.WebhooksIntegrationCustomVariableUpdateRequest = WebhooksIntegrationCustomVariableUpdateRequest;\n//# sourceMappingURL=WebhooksIntegrationCustomVariableUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WebhooksIntegrationUpdateRequest = void 0;\n/**\n * Update request of a Webhooks integration object. *All properties are optional.*\n */\nvar WebhooksIntegrationUpdateRequest = /** @class */ (function () {\n function WebhooksIntegrationUpdateRequest() {\n }\n /**\n * @ignore\n */\n WebhooksIntegrationUpdateRequest.getAttributeTypeMap = function () {\n return WebhooksIntegrationUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WebhooksIntegrationUpdateRequest.attributeTypeMap = {\n customHeaders: {\n baseName: \"custom_headers\",\n type: \"string\",\n },\n encodeAs: {\n baseName: \"encode_as\",\n type: \"WebhooksIntegrationEncoding\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n payload: {\n baseName: \"payload\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return WebhooksIntegrationUpdateRequest;\n}());\nexports.WebhooksIntegrationUpdateRequest = WebhooksIntegrationUpdateRequest;\n//# sourceMappingURL=WebhooksIntegrationUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Widget = void 0;\n/**\n * Information about widget. **Note**: The `layout` property is required for widgets in dashboards with `free` `layout_type`. For the **new dashboard layout**, the `layout` property depends on the `reflow_type` of the dashboard. - If `reflow_type` is `fixed`, `layout` is required. - If `reflow_type` is `auto`, `layout` should not be set.\n */\nvar Widget = /** @class */ (function () {\n function Widget() {\n }\n /**\n * @ignore\n */\n Widget.getAttributeTypeMap = function () {\n return Widget.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Widget.attributeTypeMap = {\n definition: {\n baseName: \"definition\",\n type: \"WidgetDefinition\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n format: \"int64\",\n },\n layout: {\n baseName: \"layout\",\n type: \"WidgetLayout\",\n },\n };\n return Widget;\n}());\nexports.Widget = Widget;\n//# sourceMappingURL=Widget.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetAxis = void 0;\n/**\n * Axis controls for the widget.\n */\nvar WidgetAxis = /** @class */ (function () {\n function WidgetAxis() {\n }\n /**\n * @ignore\n */\n WidgetAxis.getAttributeTypeMap = function () {\n return WidgetAxis.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetAxis.attributeTypeMap = {\n includeZero: {\n baseName: \"include_zero\",\n type: \"boolean\",\n },\n label: {\n baseName: \"label\",\n type: \"string\",\n },\n max: {\n baseName: \"max\",\n type: \"string\",\n },\n min: {\n baseName: \"min\",\n type: \"string\",\n },\n scale: {\n baseName: \"scale\",\n type: \"string\",\n },\n };\n return WidgetAxis;\n}());\nexports.WidgetAxis = WidgetAxis;\n//# sourceMappingURL=WidgetAxis.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetConditionalFormat = void 0;\n/**\n * Define a conditional format for the widget.\n */\nvar WidgetConditionalFormat = /** @class */ (function () {\n function WidgetConditionalFormat() {\n }\n /**\n * @ignore\n */\n WidgetConditionalFormat.getAttributeTypeMap = function () {\n return WidgetConditionalFormat.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetConditionalFormat.attributeTypeMap = {\n comparator: {\n baseName: \"comparator\",\n type: \"WidgetComparator\",\n required: true,\n },\n customBgColor: {\n baseName: \"custom_bg_color\",\n type: \"string\",\n },\n customFgColor: {\n baseName: \"custom_fg_color\",\n type: \"string\",\n },\n hideValue: {\n baseName: \"hide_value\",\n type: \"boolean\",\n },\n imageUrl: {\n baseName: \"image_url\",\n type: \"string\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n palette: {\n baseName: \"palette\",\n type: \"WidgetPalette\",\n required: true,\n },\n timeframe: {\n baseName: \"timeframe\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n };\n return WidgetConditionalFormat;\n}());\nexports.WidgetConditionalFormat = WidgetConditionalFormat;\n//# sourceMappingURL=WidgetConditionalFormat.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetCustomLink = void 0;\n/**\n * Custom links help you connect a data value to a URL, like a Datadog page or your AWS console.\n */\nvar WidgetCustomLink = /** @class */ (function () {\n function WidgetCustomLink() {\n }\n /**\n * @ignore\n */\n WidgetCustomLink.getAttributeTypeMap = function () {\n return WidgetCustomLink.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetCustomLink.attributeTypeMap = {\n isHidden: {\n baseName: \"is_hidden\",\n type: \"boolean\",\n },\n label: {\n baseName: \"label\",\n type: \"string\",\n },\n link: {\n baseName: \"link\",\n type: \"string\",\n },\n overrideLabel: {\n baseName: \"override_label\",\n type: \"string\",\n },\n };\n return WidgetCustomLink;\n}());\nexports.WidgetCustomLink = WidgetCustomLink;\n//# sourceMappingURL=WidgetCustomLink.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetEvent = void 0;\n/**\n * Event overlay control options. See the dedicated [Events JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/widget_json/#events-schema) to learn how to build the ``.\n */\nvar WidgetEvent = /** @class */ (function () {\n function WidgetEvent() {\n }\n /**\n * @ignore\n */\n WidgetEvent.getAttributeTypeMap = function () {\n return WidgetEvent.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetEvent.attributeTypeMap = {\n q: {\n baseName: \"q\",\n type: \"string\",\n required: true,\n },\n tagsExecution: {\n baseName: \"tags_execution\",\n type: \"string\",\n },\n };\n return WidgetEvent;\n}());\nexports.WidgetEvent = WidgetEvent;\n//# sourceMappingURL=WidgetEvent.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetFieldSort = void 0;\n/**\n * Which column and order to sort by\n */\nvar WidgetFieldSort = /** @class */ (function () {\n function WidgetFieldSort() {\n }\n /**\n * @ignore\n */\n WidgetFieldSort.getAttributeTypeMap = function () {\n return WidgetFieldSort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetFieldSort.attributeTypeMap = {\n column: {\n baseName: \"column\",\n type: \"string\",\n required: true,\n },\n order: {\n baseName: \"order\",\n type: \"WidgetSort\",\n required: true,\n },\n };\n return WidgetFieldSort;\n}());\nexports.WidgetFieldSort = WidgetFieldSort;\n//# sourceMappingURL=WidgetFieldSort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetFormula = void 0;\n/**\n * Formula to be used in a widget query.\n */\nvar WidgetFormula = /** @class */ (function () {\n function WidgetFormula() {\n }\n /**\n * @ignore\n */\n WidgetFormula.getAttributeTypeMap = function () {\n return WidgetFormula.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetFormula.attributeTypeMap = {\n alias: {\n baseName: \"alias\",\n type: \"string\",\n },\n cellDisplayMode: {\n baseName: \"cell_display_mode\",\n type: \"TableWidgetCellDisplayMode\",\n },\n conditionalFormats: {\n baseName: \"conditional_formats\",\n type: \"Array\",\n },\n formula: {\n baseName: \"formula\",\n type: \"string\",\n required: true,\n },\n limit: {\n baseName: \"limit\",\n type: \"WidgetFormulaLimit\",\n },\n };\n return WidgetFormula;\n}());\nexports.WidgetFormula = WidgetFormula;\n//# sourceMappingURL=WidgetFormula.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetFormulaLimit = void 0;\n/**\n * Options for limiting results returned.\n */\nvar WidgetFormulaLimit = /** @class */ (function () {\n function WidgetFormulaLimit() {\n }\n /**\n * @ignore\n */\n WidgetFormulaLimit.getAttributeTypeMap = function () {\n return WidgetFormulaLimit.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetFormulaLimit.attributeTypeMap = {\n count: {\n baseName: \"count\",\n type: \"number\",\n format: \"int64\",\n },\n order: {\n baseName: \"order\",\n type: \"QuerySortOrder\",\n },\n };\n return WidgetFormulaLimit;\n}());\nexports.WidgetFormulaLimit = WidgetFormulaLimit;\n//# sourceMappingURL=WidgetFormulaLimit.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetLayout = void 0;\n/**\n * The layout for a widget on a `free` or **new dashboard layout** dashboard.\n */\nvar WidgetLayout = /** @class */ (function () {\n function WidgetLayout() {\n }\n /**\n * @ignore\n */\n WidgetLayout.getAttributeTypeMap = function () {\n return WidgetLayout.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetLayout.attributeTypeMap = {\n height: {\n baseName: \"height\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n isColumnBreak: {\n baseName: \"is_column_break\",\n type: \"boolean\",\n },\n width: {\n baseName: \"width\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n x: {\n baseName: \"x\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n y: {\n baseName: \"y\",\n type: \"number\",\n required: true,\n format: \"int64\",\n },\n };\n return WidgetLayout;\n}());\nexports.WidgetLayout = WidgetLayout;\n//# sourceMappingURL=WidgetLayout.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetMarker = void 0;\n/**\n * Markers allow you to add visual conditional formatting for your graphs.\n */\nvar WidgetMarker = /** @class */ (function () {\n function WidgetMarker() {\n }\n /**\n * @ignore\n */\n WidgetMarker.getAttributeTypeMap = function () {\n return WidgetMarker.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetMarker.attributeTypeMap = {\n displayType: {\n baseName: \"display_type\",\n type: \"string\",\n },\n label: {\n baseName: \"label\",\n type: \"string\",\n },\n time: {\n baseName: \"time\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n required: true,\n },\n };\n return WidgetMarker;\n}());\nexports.WidgetMarker = WidgetMarker;\n//# sourceMappingURL=WidgetMarker.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetRequestStyle = void 0;\n/**\n * Define request widget style.\n */\nvar WidgetRequestStyle = /** @class */ (function () {\n function WidgetRequestStyle() {\n }\n /**\n * @ignore\n */\n WidgetRequestStyle.getAttributeTypeMap = function () {\n return WidgetRequestStyle.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetRequestStyle.attributeTypeMap = {\n lineType: {\n baseName: \"line_type\",\n type: \"WidgetLineType\",\n },\n lineWidth: {\n baseName: \"line_width\",\n type: \"WidgetLineWidth\",\n },\n palette: {\n baseName: \"palette\",\n type: \"string\",\n },\n };\n return WidgetRequestStyle;\n}());\nexports.WidgetRequestStyle = WidgetRequestStyle;\n//# sourceMappingURL=WidgetRequestStyle.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetStyle = void 0;\n/**\n * Widget style definition.\n */\nvar WidgetStyle = /** @class */ (function () {\n function WidgetStyle() {\n }\n /**\n * @ignore\n */\n WidgetStyle.getAttributeTypeMap = function () {\n return WidgetStyle.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetStyle.attributeTypeMap = {\n palette: {\n baseName: \"palette\",\n type: \"string\",\n },\n };\n return WidgetStyle;\n}());\nexports.WidgetStyle = WidgetStyle;\n//# sourceMappingURL=WidgetStyle.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WidgetTime = void 0;\n/**\n * Time setting for the widget.\n */\nvar WidgetTime = /** @class */ (function () {\n function WidgetTime() {\n }\n /**\n * @ignore\n */\n WidgetTime.getAttributeTypeMap = function () {\n return WidgetTime.attributeTypeMap;\n };\n /**\n * @ignore\n */\n WidgetTime.attributeTypeMap = {\n liveSpan: {\n baseName: \"live_span\",\n type: \"WidgetLiveSpan\",\n },\n };\n return WidgetTime;\n}());\nexports.WidgetTime = WidgetTime;\n//# sourceMappingURL=WidgetTime.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.operationServers = exports.servers = exports.server3 = exports.server2 = exports.server1 = exports.ServerConfiguration = exports.BaseServerConfiguration = void 0;\nvar http_1 = require(\"./http/http\");\n/**\n *\n * Represents the configuration of a server\n *\n */\nvar BaseServerConfiguration = /** @class */ (function () {\n function BaseServerConfiguration(url, variableConfiguration) {\n this.url = url;\n this.variableConfiguration = variableConfiguration;\n }\n /**\n * Sets the value of the variables of this server.\n *\n * @param variableConfiguration a partial variable configuration for the variables contained in the url\n */\n BaseServerConfiguration.prototype.setVariables = function (variableConfiguration) {\n Object.assign(this.variableConfiguration, variableConfiguration);\n };\n BaseServerConfiguration.prototype.getConfiguration = function () {\n return this.variableConfiguration;\n };\n BaseServerConfiguration.prototype.getUrl = function () {\n var replacedUrl = this.url;\n for (var key in this.variableConfiguration) {\n var re = new RegExp(\"{\" + key + \"}\", \"g\");\n replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);\n }\n return replacedUrl;\n };\n /**\n * Creates a new request context for this server using the url with variables\n * replaced with their respective values and the endpoint of the request appended.\n *\n * @param endpoint the endpoint to be queried on the server\n * @param httpMethod httpMethod to be used\n *\n */\n BaseServerConfiguration.prototype.makeRequestContext = function (endpoint, httpMethod) {\n return new http_1.RequestContext(this.getUrl() + endpoint, httpMethod);\n };\n return BaseServerConfiguration;\n}());\nexports.BaseServerConfiguration = BaseServerConfiguration;\n/**\n *\n * Represents the configuration of a server including its\n * url template and variable configuration based on the url.\n *\n */\nvar ServerConfiguration = /** @class */ (function (_super) {\n __extends(ServerConfiguration, _super);\n function ServerConfiguration() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ServerConfiguration;\n}(BaseServerConfiguration));\nexports.ServerConfiguration = ServerConfiguration;\nexports.server1 = new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"api\",\n});\nexports.server2 = new ServerConfiguration(\"{protocol}://{name}\", {\n name: \"api.datadoghq.com\",\n protocol: \"https\",\n});\nexports.server3 = new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"api\",\n});\nexports.servers = [exports.server1, exports.server2, exports.server3];\nexports.operationServers = {\n \"IPRangesApi.getIPRanges\": [\n new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"ip-ranges\",\n }),\n new ServerConfiguration(\"{protocol}://{name}\", {\n name: \"ip-ranges.datadoghq.com\",\n protocol: \"https\",\n }),\n new ServerConfiguration(\"https://{subdomain}.datadoghq.com\", {\n subdomain: \"ip-ranges\",\n }),\n ],\n \"LogsApi.submitLog\": [\n new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"http-intake.logs\",\n }),\n new ServerConfiguration(\"{protocol}://{name}\", {\n name: \"http-intake.logs.datadoghq.com\",\n protocol: \"https\",\n }),\n new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"http-intake.logs\",\n }),\n ],\n};\n//# sourceMappingURL=servers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isCodeInRange = void 0;\n/**\n * Returns if a specific http code is in a given code range\n * where the code range is defined as a combination of digits\n * and \"X\" (the letter X) with a length of 3\n *\n * @param codeRange string with length 3 consisting of digits and \"X\" (the letter X)\n * @param code the http status code to be checked against the code range\n */\nfunction isCodeInRange(codeRange, code) {\n // This is how the default value is encoded in OAG\n if (codeRange === \"0\") {\n return true;\n }\n if (codeRange == code.toString()) {\n return true;\n }\n else {\n var codeString = code.toString();\n if (codeString.length != codeRange.length) {\n return false;\n }\n for (var i = 0; i < codeString.length; i++) {\n if (codeRange.charAt(i) != \"X\" &&\n codeRange.charAt(i) != codeString.charAt(i)) {\n return false;\n }\n }\n return true;\n }\n}\nexports.isCodeInRange = isCodeInRange;\n//# sourceMappingURL=util.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingsApi = exports.AuthNMappingsApiResponseProcessor = exports.AuthNMappingsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar AuthNMappingsApiRequestFactory = /** @class */ (function (_super) {\n __extends(AuthNMappingsApiRequestFactory, _super);\n function AuthNMappingsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AuthNMappingsApiRequestFactory.prototype.createAuthNMapping = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAuthNMapping.\");\n }\n localVarPath = \"/api/v2/authn_mappings\";\n requestContext = (0, configuration_1.getServer)(_config, \"AuthNMappingsApi.createAuthNMapping\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AuthNMappingCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AuthNMappingsApiRequestFactory.prototype.deleteAuthNMapping = function (authnMappingId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'authnMappingId' is not null or undefined\n if (authnMappingId === null || authnMappingId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter authnMappingId was null or undefined when calling deleteAuthNMapping.\");\n }\n localVarPath = \"/api/v2/authn_mappings/{authn_mapping_id}\".replace(\"{\" + \"authn_mapping_id\" + \"}\", encodeURIComponent(String(authnMappingId)));\n requestContext = (0, configuration_1.getServer)(_config, \"AuthNMappingsApi.deleteAuthNMapping\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AuthNMappingsApiRequestFactory.prototype.getAuthNMapping = function (authnMappingId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'authnMappingId' is not null or undefined\n if (authnMappingId === null || authnMappingId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter authnMappingId was null or undefined when calling getAuthNMapping.\");\n }\n localVarPath = \"/api/v2/authn_mappings/{authn_mapping_id}\".replace(\"{\" + \"authn_mapping_id\" + \"}\", encodeURIComponent(String(authnMappingId)));\n requestContext = (0, configuration_1.getServer)(_config, \"AuthNMappingsApi.getAuthNMapping\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AuthNMappingsApiRequestFactory.prototype.listAuthNMappings = function (pageSize, pageNumber, sort, include, filter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/authn_mappings\";\n requestContext = (0, configuration_1.getServer)(_config, \"AuthNMappingsApi.listAuthNMappings\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"AuthNMappingsSort\", \"\"));\n }\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"Array\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n AuthNMappingsApiRequestFactory.prototype.updateAuthNMapping = function (authnMappingId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'authnMappingId' is not null or undefined\n if (authnMappingId === null || authnMappingId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter authnMappingId was null or undefined when calling updateAuthNMapping.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAuthNMapping.\");\n }\n localVarPath = \"/api/v2/authn_mappings/{authn_mapping_id}\".replace(\"{\" + \"authn_mapping_id\" + \"}\", encodeURIComponent(String(authnMappingId)));\n requestContext = (0, configuration_1.getServer)(_config, \"AuthNMappingsApi.updateAuthNMapping\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"AuthNMappingUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return AuthNMappingsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.AuthNMappingsApiRequestFactory = AuthNMappingsApiRequestFactory;\nvar AuthNMappingsApiResponseProcessor = /** @class */ (function () {\n function AuthNMappingsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAuthNMapping\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthNMappingsApiResponseProcessor.prototype.createAuthNMapping = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAuthNMapping\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthNMappingsApiResponseProcessor.prototype.deleteAuthNMapping = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAuthNMapping\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthNMappingsApiResponseProcessor.prototype.getAuthNMapping = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAuthNMappings\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthNMappingsApiResponseProcessor.prototype.listAuthNMappings = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"AuthNMappingsResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"AuthNMappingsResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAuthNMapping\n * @throws ApiException if the response code was not in [200, 299]\n */\n AuthNMappingsApiResponseProcessor.prototype.updateAuthNMapping = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body_26, _0, _1, _2, _3, body_27, _4, _5, _6, _7, body;\n return __generator(this, function (_8) {\n switch (_8.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_8.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_23);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_24);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_25 = _x.apply(_w, [_z.apply(_y, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_25);\n case 12:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_26 = _1.apply(_0, [_3.apply(_2, [_8.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 14:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 16];\n _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 15:\n body_27 = _5.apply(_4, [_7.apply(_6, [_8.sent(), contentType]),\n \"AuthNMappingResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 16: return [4 /*yield*/, response.body.text()];\n case 17:\n body = (_8.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return AuthNMappingsApiResponseProcessor;\n}());\nexports.AuthNMappingsApiResponseProcessor = AuthNMappingsApiResponseProcessor;\nvar AuthNMappingsApi = /** @class */ (function () {\n function AuthNMappingsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new AuthNMappingsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new AuthNMappingsApiResponseProcessor();\n }\n /**\n * Create an AuthN Mapping.\n * @param param The request object\n */\n AuthNMappingsApi.prototype.createAuthNMapping = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAuthNMapping(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAuthNMapping(responseContext);\n });\n });\n };\n /**\n * Delete an AuthN Mapping specified by AuthN Mapping UUID.\n * @param param The request object\n */\n AuthNMappingsApi.prototype.deleteAuthNMapping = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAuthNMapping(param.authnMappingId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAuthNMapping(responseContext);\n });\n });\n };\n /**\n * Get an AuthN Mapping specified by the AuthN Mapping UUID.\n * @param param The request object\n */\n AuthNMappingsApi.prototype.getAuthNMapping = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAuthNMapping(param.authnMappingId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAuthNMapping(responseContext);\n });\n });\n };\n /**\n * List all AuthN Mappings in the org.\n * @param param The request object\n */\n AuthNMappingsApi.prototype.listAuthNMappings = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listAuthNMappings(param.pageSize, param.pageNumber, param.sort, param.include, param.filter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAuthNMappings(responseContext);\n });\n });\n };\n /**\n * Edit an AuthN Mapping.\n * @param param The request object\n */\n AuthNMappingsApi.prototype.updateAuthNMapping = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAuthNMapping(param.authnMappingId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAuthNMapping(responseContext);\n });\n });\n };\n return AuthNMappingsApi;\n}());\nexports.AuthNMappingsApi = AuthNMappingsApi;\n//# sourceMappingURL=AuthNMappingsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityApi = exports.CloudWorkloadSecurityApiResponseProcessor = exports.CloudWorkloadSecurityApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar CloudWorkloadSecurityApiRequestFactory = /** @class */ (function (_super) {\n __extends(CloudWorkloadSecurityApiRequestFactory, _super);\n function CloudWorkloadSecurityApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CloudWorkloadSecurityApiRequestFactory.prototype.createCloudWorkloadSecurityAgentRule = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createCloudWorkloadSecurityAgentRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/cloud_workload_security/agent_rules\";\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.createCloudWorkloadSecurityAgentRule\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"CloudWorkloadSecurityAgentRuleCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n CloudWorkloadSecurityApiRequestFactory.prototype.deleteCloudWorkloadSecurityAgentRule = function (agentRuleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'agentRuleId' is not null or undefined\n if (agentRuleId === null || agentRuleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter agentRuleId was null or undefined when calling deleteCloudWorkloadSecurityAgentRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}\".replace(\"{\" + \"agent_rule_id\" + \"}\", encodeURIComponent(String(agentRuleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.deleteCloudWorkloadSecurityAgentRule\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n CloudWorkloadSecurityApiRequestFactory.prototype.downloadCloudWorkloadPolicyFile = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/security/cloud_workload/policy/download\";\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.downloadCloudWorkloadPolicyFile\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/yaml\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n CloudWorkloadSecurityApiRequestFactory.prototype.getCloudWorkloadSecurityAgentRule = function (agentRuleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'agentRuleId' is not null or undefined\n if (agentRuleId === null || agentRuleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter agentRuleId was null or undefined when calling getCloudWorkloadSecurityAgentRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}\".replace(\"{\" + \"agent_rule_id\" + \"}\", encodeURIComponent(String(agentRuleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.getCloudWorkloadSecurityAgentRule\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n CloudWorkloadSecurityApiRequestFactory.prototype.listCloudWorkloadSecurityAgentRules = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/security_monitoring/cloud_workload_security/agent_rules\";\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.listCloudWorkloadSecurityAgentRules\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n CloudWorkloadSecurityApiRequestFactory.prototype.updateCloudWorkloadSecurityAgentRule = function (agentRuleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'agentRuleId' is not null or undefined\n if (agentRuleId === null || agentRuleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter agentRuleId was null or undefined when calling updateCloudWorkloadSecurityAgentRule.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateCloudWorkloadSecurityAgentRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}\".replace(\"{\" + \"agent_rule_id\" + \"}\", encodeURIComponent(String(agentRuleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"CloudWorkloadSecurityApi.updateCloudWorkloadSecurityAgentRule\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"CloudWorkloadSecurityAgentRuleUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return CloudWorkloadSecurityApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.CloudWorkloadSecurityApiRequestFactory = CloudWorkloadSecurityApiRequestFactory;\nvar CloudWorkloadSecurityApiResponseProcessor = /** @class */ (function () {\n function CloudWorkloadSecurityApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createCloudWorkloadSecurityAgentRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.createCloudWorkloadSecurityAgentRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteCloudWorkloadSecurityAgentRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.deleteCloudWorkloadSecurityAgentRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to downloadCloudWorkloadPolicyFile\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.downloadCloudWorkloadPolicyFile = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body;\n return __generator(this, function (_o) {\n switch (_o.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n return [4 /*yield*/, response.getBodyAsFile()];\n case 1:\n body_11 = (_o.sent());\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _b.apply(_a, [_d.apply(_c, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"binary\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _f.apply(_e, [_h.apply(_g, [_o.sent(), contentType]),\n \"APIErrorResponse\",\n \"binary\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _k.apply(_j, [_m.apply(_l, [_o.sent(), contentType]),\n \"HttpFile\",\n \"binary\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_o.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getCloudWorkloadSecurityAgentRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.getCloudWorkloadSecurityAgentRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listCloudWorkloadSecurityAgentRules\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.listCloudWorkloadSecurityAgentRules = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRulesListResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_22);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRulesListResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateCloudWorkloadSecurityAgentRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n CloudWorkloadSecurityApiResponseProcessor.prototype.updateCloudWorkloadSecurityAgentRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_24, _a, _b, _c, _d, body_25, _e, _f, _g, _h, body_26, _j, _k, _l, _m, body_27, _o, _p, _q, _r, body_28, _s, _t, _u, _v, body_29, _w, _x, _y, _z, body_30, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_24 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_25 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_25);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_26 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_26);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_27 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_27);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_28 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_28);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_29 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_29);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_30 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"CloudWorkloadSecurityAgentRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return CloudWorkloadSecurityApiResponseProcessor;\n}());\nexports.CloudWorkloadSecurityApiResponseProcessor = CloudWorkloadSecurityApiResponseProcessor;\nvar CloudWorkloadSecurityApi = /** @class */ (function () {\n function CloudWorkloadSecurityApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory ||\n new CloudWorkloadSecurityApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new CloudWorkloadSecurityApiResponseProcessor();\n }\n /**\n * Create a new Agent rule with the given parameters.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.createCloudWorkloadSecurityAgentRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createCloudWorkloadSecurityAgentRule(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createCloudWorkloadSecurityAgentRule(responseContext);\n });\n });\n };\n /**\n * Delete a specific Agent rule.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.deleteCloudWorkloadSecurityAgentRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteCloudWorkloadSecurityAgentRule(param.agentRuleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteCloudWorkloadSecurityAgentRule(responseContext);\n });\n });\n };\n /**\n * The download endpoint generates a Cloud Workload Security policy file from your currently active Cloud Workload Security rules, and downloads them as a .policy file. This file can then be deployed to your agents to update the policy running in your environment.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.downloadCloudWorkloadPolicyFile = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.downloadCloudWorkloadPolicyFile(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.downloadCloudWorkloadPolicyFile(responseContext);\n });\n });\n };\n /**\n * Get the details of a specific Agent rule.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.getCloudWorkloadSecurityAgentRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getCloudWorkloadSecurityAgentRule(param.agentRuleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getCloudWorkloadSecurityAgentRule(responseContext);\n });\n });\n };\n /**\n * Get the list of Agent rules.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.listCloudWorkloadSecurityAgentRules = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listCloudWorkloadSecurityAgentRules(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listCloudWorkloadSecurityAgentRules(responseContext);\n });\n });\n };\n /**\n * Update a specific Agent rule. Returns the Agent rule object when the request is successful.\n * @param param The request object\n */\n CloudWorkloadSecurityApi.prototype.updateCloudWorkloadSecurityAgentRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateCloudWorkloadSecurityAgentRule(param.agentRuleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateCloudWorkloadSecurityAgentRule(responseContext);\n });\n });\n };\n return CloudWorkloadSecurityApi;\n}());\nexports.CloudWorkloadSecurityApi = CloudWorkloadSecurityApi;\n//# sourceMappingURL=CloudWorkloadSecurityApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListsApi = exports.DashboardListsApiResponseProcessor = exports.DashboardListsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar DashboardListsApiRequestFactory = /** @class */ (function (_super) {\n __extends(DashboardListsApiRequestFactory, _super);\n function DashboardListsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DashboardListsApiRequestFactory.prototype.createDashboardListItems = function (dashboardListId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardListId' is not null or undefined\n if (dashboardListId === null || dashboardListId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardListId was null or undefined when calling createDashboardListItems.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createDashboardListItems.\");\n }\n localVarPath = \"/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards\".replace(\"{\" + \"dashboard_list_id\" + \"}\", encodeURIComponent(String(dashboardListId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.createDashboardListItems\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardListAddItemsRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.deleteDashboardListItems = function (dashboardListId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardListId' is not null or undefined\n if (dashboardListId === null || dashboardListId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardListId was null or undefined when calling deleteDashboardListItems.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteDashboardListItems.\");\n }\n localVarPath = \"/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards\".replace(\"{\" + \"dashboard_list_id\" + \"}\", encodeURIComponent(String(dashboardListId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.deleteDashboardListItems\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardListDeleteItemsRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.getDashboardListItems = function (dashboardListId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardListId' is not null or undefined\n if (dashboardListId === null || dashboardListId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardListId was null or undefined when calling getDashboardListItems.\");\n }\n localVarPath = \"/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards\".replace(\"{\" + \"dashboard_list_id\" + \"}\", encodeURIComponent(String(dashboardListId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.getDashboardListItems\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n DashboardListsApiRequestFactory.prototype.updateDashboardListItems = function (dashboardListId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'dashboardListId' is not null or undefined\n if (dashboardListId === null || dashboardListId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter dashboardListId was null or undefined when calling updateDashboardListItems.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateDashboardListItems.\");\n }\n localVarPath = \"/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards\".replace(\"{\" + \"dashboard_list_id\" + \"}\", encodeURIComponent(String(dashboardListId)));\n requestContext = (0, configuration_1.getServer)(_config, \"DashboardListsApi.updateDashboardListItems\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"DashboardListUpdateItemsRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return DashboardListsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.DashboardListsApiRequestFactory = DashboardListsApiRequestFactory;\nvar DashboardListsApiResponseProcessor = /** @class */ (function () {\n function DashboardListsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createDashboardListItems\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.createDashboardListItems = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"DashboardListAddItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"DashboardListAddItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteDashboardListItems\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.deleteDashboardListItems = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"DashboardListDeleteItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_10);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_11);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"DashboardListDeleteItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getDashboardListItems\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.getDashboardListItems = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_13 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"DashboardListItems\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_14 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_14);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_15 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_15);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_16 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_16);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_17 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"DashboardListItems\",\n \"\"]);\n return [2 /*return*/, body_17];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateDashboardListItems\n * @throws ApiException if the response code was not in [200, 299]\n */\n DashboardListsApiResponseProcessor.prototype.updateDashboardListItems = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_18, _a, _b, _c, _d, body_19, _e, _f, _g, _h, body_20, _j, _k, _l, _m, body_21, _o, _p, _q, _r, body_22, _s, _t, _u, _v, body_23, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_18 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"DashboardListUpdateItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_19 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_19);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_20 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_20);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_21 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_21);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_22 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_22);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_23 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"DashboardListUpdateItemsResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return DashboardListsApiResponseProcessor;\n}());\nexports.DashboardListsApiResponseProcessor = DashboardListsApiResponseProcessor;\nvar DashboardListsApi = /** @class */ (function () {\n function DashboardListsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new DashboardListsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new DashboardListsApiResponseProcessor();\n }\n /**\n * Add dashboards to an existing dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.createDashboardListItems = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createDashboardListItems(param.dashboardListId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createDashboardListItems(responseContext);\n });\n });\n };\n /**\n * Delete dashboards from an existing dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.deleteDashboardListItems = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteDashboardListItems(param.dashboardListId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteDashboardListItems(responseContext);\n });\n });\n };\n /**\n * Fetch the dashboard list’s dashboard definitions.\n * @param param The request object\n */\n DashboardListsApi.prototype.getDashboardListItems = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getDashboardListItems(param.dashboardListId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getDashboardListItems(responseContext);\n });\n });\n };\n /**\n * Update dashboards of an existing dashboard list.\n * @param param The request object\n */\n DashboardListsApi.prototype.updateDashboardListItems = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateDashboardListItems(param.dashboardListId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateDashboardListItems(responseContext);\n });\n });\n };\n return DashboardListsApi;\n}());\nexports.DashboardListsApi = DashboardListsApi;\n//# sourceMappingURL=DashboardListsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServicesApi = exports.IncidentServicesApiResponseProcessor = exports.IncidentServicesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar IncidentServicesApiRequestFactory = /** @class */ (function (_super) {\n __extends(IncidentServicesApiRequestFactory, _super);\n function IncidentServicesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n IncidentServicesApiRequestFactory.prototype.createIncidentService = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'createIncidentService'\");\n if (!_config.unstableOperations[\"createIncidentService\"]) {\n throw new Error(\"Unstable operation 'createIncidentService' is disabled\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createIncidentService.\");\n }\n localVarPath = \"/api/v2/services\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentServicesApi.createIncidentService\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentServiceCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentServicesApiRequestFactory.prototype.deleteIncidentService = function (serviceId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'deleteIncidentService'\");\n if (!_config.unstableOperations[\"deleteIncidentService\"]) {\n throw new Error(\"Unstable operation 'deleteIncidentService' is disabled\");\n }\n // verify required parameter 'serviceId' is not null or undefined\n if (serviceId === null || serviceId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceId was null or undefined when calling deleteIncidentService.\");\n }\n localVarPath = \"/api/v2/services/{service_id}\".replace(\"{\" + \"service_id\" + \"}\", encodeURIComponent(String(serviceId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentServicesApi.deleteIncidentService\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentServicesApiRequestFactory.prototype.getIncidentService = function (serviceId, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getIncidentService'\");\n if (!_config.unstableOperations[\"getIncidentService\"]) {\n throw new Error(\"Unstable operation 'getIncidentService' is disabled\");\n }\n // verify required parameter 'serviceId' is not null or undefined\n if (serviceId === null || serviceId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceId was null or undefined when calling getIncidentService.\");\n }\n localVarPath = \"/api/v2/services/{service_id}\".replace(\"{\" + \"service_id\" + \"}\", encodeURIComponent(String(serviceId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentServicesApi.getIncidentService\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"IncidentRelatedObject\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentServicesApiRequestFactory.prototype.listIncidentServices = function (include, pageSize, pageOffset, filter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listIncidentServices'\");\n if (!_config.unstableOperations[\"listIncidentServices\"]) {\n throw new Error(\"Unstable operation 'listIncidentServices' is disabled\");\n }\n localVarPath = \"/api/v2/services\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentServicesApi.listIncidentServices\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"IncidentRelatedObject\", \"\"));\n }\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageOffset !== undefined) {\n requestContext.setQueryParam(\"page[offset]\", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, \"number\", \"int64\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentServicesApiRequestFactory.prototype.updateIncidentService = function (serviceId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'updateIncidentService'\");\n if (!_config.unstableOperations[\"updateIncidentService\"]) {\n throw new Error(\"Unstable operation 'updateIncidentService' is disabled\");\n }\n // verify required parameter 'serviceId' is not null or undefined\n if (serviceId === null || serviceId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceId was null or undefined when calling updateIncidentService.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateIncidentService.\");\n }\n localVarPath = \"/api/v2/services/{service_id}\".replace(\"{\" + \"service_id\" + \"}\", encodeURIComponent(String(serviceId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentServicesApi.updateIncidentService\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentServiceUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return IncidentServicesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.IncidentServicesApiRequestFactory = IncidentServicesApiRequestFactory;\nvar IncidentServicesApiResponseProcessor = /** @class */ (function () {\n function IncidentServicesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createIncidentService\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentServicesApiResponseProcessor.prototype.createIncidentService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_5);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_6);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteIncidentService\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentServicesApiResponseProcessor.prototype.deleteIncidentService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_9);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_10);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_11);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_12);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIncidentService\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentServicesApiResponseProcessor.prototype.getIncidentService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_15);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_16);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listIncidentServices\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentServicesApiResponseProcessor.prototype.listIncidentServices = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentServicesResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentServicesResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateIncidentService\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentServicesApiResponseProcessor.prototype.updateIncidentService = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_32);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentServiceResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return IncidentServicesApiResponseProcessor;\n}());\nexports.IncidentServicesApiResponseProcessor = IncidentServicesApiResponseProcessor;\nvar IncidentServicesApi = /** @class */ (function () {\n function IncidentServicesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new IncidentServicesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new IncidentServicesApiResponseProcessor();\n }\n /**\n * Creates a new incident service.\n * @param param The request object\n */\n IncidentServicesApi.prototype.createIncidentService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createIncidentService(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createIncidentService(responseContext);\n });\n });\n };\n /**\n * Deletes an existing incident service.\n * @param param The request object\n */\n IncidentServicesApi.prototype.deleteIncidentService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteIncidentService(param.serviceId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteIncidentService(responseContext);\n });\n });\n };\n /**\n * Get details of an incident service. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services.\n * @param param The request object\n */\n IncidentServicesApi.prototype.getIncidentService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIncidentService(param.serviceId, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIncidentService(responseContext);\n });\n });\n };\n /**\n * Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services.\n * @param param The request object\n */\n IncidentServicesApi.prototype.listIncidentServices = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listIncidentServices(param.include, param.pageSize, param.pageOffset, param.filter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listIncidentServices(responseContext);\n });\n });\n };\n /**\n * Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update.\n * @param param The request object\n */\n IncidentServicesApi.prototype.updateIncidentService = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateIncidentService(param.serviceId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateIncidentService(responseContext);\n });\n });\n };\n return IncidentServicesApi;\n}());\nexports.IncidentServicesApi = IncidentServicesApi;\n//# sourceMappingURL=IncidentServicesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamsApi = exports.IncidentTeamsApiResponseProcessor = exports.IncidentTeamsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar IncidentTeamsApiRequestFactory = /** @class */ (function (_super) {\n __extends(IncidentTeamsApiRequestFactory, _super);\n function IncidentTeamsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n IncidentTeamsApiRequestFactory.prototype.createIncidentTeam = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'createIncidentTeam'\");\n if (!_config.unstableOperations[\"createIncidentTeam\"]) {\n throw new Error(\"Unstable operation 'createIncidentTeam' is disabled\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createIncidentTeam.\");\n }\n localVarPath = \"/api/v2/teams\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentTeamsApi.createIncidentTeam\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentTeamCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentTeamsApiRequestFactory.prototype.deleteIncidentTeam = function (teamId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'deleteIncidentTeam'\");\n if (!_config.unstableOperations[\"deleteIncidentTeam\"]) {\n throw new Error(\"Unstable operation 'deleteIncidentTeam' is disabled\");\n }\n // verify required parameter 'teamId' is not null or undefined\n if (teamId === null || teamId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter teamId was null or undefined when calling deleteIncidentTeam.\");\n }\n localVarPath = \"/api/v2/teams/{team_id}\".replace(\"{\" + \"team_id\" + \"}\", encodeURIComponent(String(teamId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentTeamsApi.deleteIncidentTeam\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentTeamsApiRequestFactory.prototype.getIncidentTeam = function (teamId, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getIncidentTeam'\");\n if (!_config.unstableOperations[\"getIncidentTeam\"]) {\n throw new Error(\"Unstable operation 'getIncidentTeam' is disabled\");\n }\n // verify required parameter 'teamId' is not null or undefined\n if (teamId === null || teamId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter teamId was null or undefined when calling getIncidentTeam.\");\n }\n localVarPath = \"/api/v2/teams/{team_id}\".replace(\"{\" + \"team_id\" + \"}\", encodeURIComponent(String(teamId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentTeamsApi.getIncidentTeam\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"IncidentRelatedObject\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentTeamsApiRequestFactory.prototype.listIncidentTeams = function (include, pageSize, pageOffset, filter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listIncidentTeams'\");\n if (!_config.unstableOperations[\"listIncidentTeams\"]) {\n throw new Error(\"Unstable operation 'listIncidentTeams' is disabled\");\n }\n localVarPath = \"/api/v2/teams\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentTeamsApi.listIncidentTeams\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"IncidentRelatedObject\", \"\"));\n }\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageOffset !== undefined) {\n requestContext.setQueryParam(\"page[offset]\", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, \"number\", \"int64\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentTeamsApiRequestFactory.prototype.updateIncidentTeam = function (teamId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'updateIncidentTeam'\");\n if (!_config.unstableOperations[\"updateIncidentTeam\"]) {\n throw new Error(\"Unstable operation 'updateIncidentTeam' is disabled\");\n }\n // verify required parameter 'teamId' is not null or undefined\n if (teamId === null || teamId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter teamId was null or undefined when calling updateIncidentTeam.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateIncidentTeam.\");\n }\n localVarPath = \"/api/v2/teams/{team_id}\".replace(\"{\" + \"team_id\" + \"}\", encodeURIComponent(String(teamId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentTeamsApi.updateIncidentTeam\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentTeamUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return IncidentTeamsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.IncidentTeamsApiRequestFactory = IncidentTeamsApiRequestFactory;\nvar IncidentTeamsApiResponseProcessor = /** @class */ (function () {\n function IncidentTeamsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createIncidentTeam\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentTeamsApiResponseProcessor.prototype.createIncidentTeam = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_5);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_6);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteIncidentTeam\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentTeamsApiResponseProcessor.prototype.deleteIncidentTeam = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_9);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_10);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_11);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_12);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIncidentTeam\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentTeamsApiResponseProcessor.prototype.getIncidentTeam = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_15);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_16);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listIncidentTeams\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentTeamsApiResponseProcessor.prototype.listIncidentTeams = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentTeamsResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentTeamsResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateIncidentTeam\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentTeamsApiResponseProcessor.prototype.updateIncidentTeam = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_32);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentTeamResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return IncidentTeamsApiResponseProcessor;\n}());\nexports.IncidentTeamsApiResponseProcessor = IncidentTeamsApiResponseProcessor;\nvar IncidentTeamsApi = /** @class */ (function () {\n function IncidentTeamsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new IncidentTeamsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new IncidentTeamsApiResponseProcessor();\n }\n /**\n * Creates a new incident team.\n * @param param The request object\n */\n IncidentTeamsApi.prototype.createIncidentTeam = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createIncidentTeam(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createIncidentTeam(responseContext);\n });\n });\n };\n /**\n * Deletes an existing incident team.\n * @param param The request object\n */\n IncidentTeamsApi.prototype.deleteIncidentTeam = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteIncidentTeam(param.teamId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteIncidentTeam(responseContext);\n });\n });\n };\n /**\n * Get details of an incident team. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams.\n * @param param The request object\n */\n IncidentTeamsApi.prototype.getIncidentTeam = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIncidentTeam(param.teamId, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIncidentTeam(responseContext);\n });\n });\n };\n /**\n * Get all incident teams for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident teams.\n * @param param The request object\n */\n IncidentTeamsApi.prototype.listIncidentTeams = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listIncidentTeams(param.include, param.pageSize, param.pageOffset, param.filter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listIncidentTeams(responseContext);\n });\n });\n };\n /**\n * Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update.\n * @param param The request object\n */\n IncidentTeamsApi.prototype.updateIncidentTeam = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateIncidentTeam(param.teamId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateIncidentTeam(responseContext);\n });\n });\n };\n return IncidentTeamsApi;\n}());\nexports.IncidentTeamsApi = IncidentTeamsApi;\n//# sourceMappingURL=IncidentTeamsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentsApi = exports.IncidentsApiResponseProcessor = exports.IncidentsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar IncidentsApiRequestFactory = /** @class */ (function (_super) {\n __extends(IncidentsApiRequestFactory, _super);\n function IncidentsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n IncidentsApiRequestFactory.prototype.createIncident = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'createIncident'\");\n if (!_config.unstableOperations[\"createIncident\"]) {\n throw new Error(\"Unstable operation 'createIncident' is disabled\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createIncident.\");\n }\n localVarPath = \"/api/v2/incidents\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentsApi.createIncident\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentsApiRequestFactory.prototype.deleteIncident = function (incidentId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'deleteIncident'\");\n if (!_config.unstableOperations[\"deleteIncident\"]) {\n throw new Error(\"Unstable operation 'deleteIncident' is disabled\");\n }\n // verify required parameter 'incidentId' is not null or undefined\n if (incidentId === null || incidentId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter incidentId was null or undefined when calling deleteIncident.\");\n }\n localVarPath = \"/api/v2/incidents/{incident_id}\".replace(\"{\" + \"incident_id\" + \"}\", encodeURIComponent(String(incidentId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentsApi.deleteIncident\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentsApiRequestFactory.prototype.getIncident = function (incidentId, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'getIncident'\");\n if (!_config.unstableOperations[\"getIncident\"]) {\n throw new Error(\"Unstable operation 'getIncident' is disabled\");\n }\n // verify required parameter 'incidentId' is not null or undefined\n if (incidentId === null || incidentId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter incidentId was null or undefined when calling getIncident.\");\n }\n localVarPath = \"/api/v2/incidents/{incident_id}\".replace(\"{\" + \"incident_id\" + \"}\", encodeURIComponent(String(incidentId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentsApi.getIncident\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"Array\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentsApiRequestFactory.prototype.listIncidents = function (include, pageSize, pageOffset, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listIncidents'\");\n if (!_config.unstableOperations[\"listIncidents\"]) {\n throw new Error(\"Unstable operation 'listIncidents' is disabled\");\n }\n localVarPath = \"/api/v2/incidents\";\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentsApi.listIncidents\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"Array\", \"\"));\n }\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageOffset !== undefined) {\n requestContext.setQueryParam(\"page[offset]\", ObjectSerializer_1.ObjectSerializer.serialize(pageOffset, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n IncidentsApiRequestFactory.prototype.updateIncident = function (incidentId, body, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'updateIncident'\");\n if (!_config.unstableOperations[\"updateIncident\"]) {\n throw new Error(\"Unstable operation 'updateIncident' is disabled\");\n }\n // verify required parameter 'incidentId' is not null or undefined\n if (incidentId === null || incidentId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter incidentId was null or undefined when calling updateIncident.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateIncident.\");\n }\n localVarPath = \"/api/v2/incidents/{incident_id}\".replace(\"{\" + \"incident_id\" + \"}\", encodeURIComponent(String(incidentId)));\n requestContext = (0, configuration_1.getServer)(_config, \"IncidentsApi.updateIncident\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"Array\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"IncidentUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return IncidentsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.IncidentsApiRequestFactory = IncidentsApiRequestFactory;\nvar IncidentsApiResponseProcessor = /** @class */ (function () {\n function IncidentsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createIncident\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentsApiResponseProcessor.prototype.createIncident = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body_7, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_5);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_6);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_7 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteIncident\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentsApiResponseProcessor.prototype.deleteIncident = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_8, _a, _b, _c, _d, body_9, _e, _f, _g, _h, body_10, _j, _k, _l, _m, body_11, _o, _p, _q, _r, body_12, _s, _t, _u, _v, body_13, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_8 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_9 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_9);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_10 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_10);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_11 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_11);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_12 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_12);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_13 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getIncident\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentsApiResponseProcessor.prototype.getIncident = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_14, _a, _b, _c, _d, body_15, _e, _f, _g, _h, body_16, _j, _k, _l, _m, body_17, _o, _p, _q, _r, body_18, _s, _t, _u, _v, body_19, _w, _x, _y, _z, body_20, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_14 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_15 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_15);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_16 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_16);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_17 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_18 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_19 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_20 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listIncidents\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentsApiResponseProcessor.prototype.listIncidents = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body_27, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentsResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_26 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_27 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentsResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateIncident\n * @throws ApiException if the response code was not in [200, 299]\n */\n IncidentsApiResponseProcessor.prototype.updateIncident = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body_34, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_32);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_34 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"IncidentResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return IncidentsApiResponseProcessor;\n}());\nexports.IncidentsApiResponseProcessor = IncidentsApiResponseProcessor;\nvar IncidentsApi = /** @class */ (function () {\n function IncidentsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new IncidentsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new IncidentsApiResponseProcessor();\n }\n /**\n * Create an incident.\n * @param param The request object\n */\n IncidentsApi.prototype.createIncident = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createIncident(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createIncident(responseContext);\n });\n });\n };\n /**\n * Deletes an existing incident from the users organization.\n * @param param The request object\n */\n IncidentsApi.prototype.deleteIncident = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteIncident(param.incidentId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteIncident(responseContext);\n });\n });\n };\n /**\n * Get the details of an incident by `incident_id`.\n * @param param The request object\n */\n IncidentsApi.prototype.getIncident = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getIncident(param.incidentId, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getIncident(responseContext);\n });\n });\n };\n /**\n * Get all incidents for the user's organization.\n * @param param The request object\n */\n IncidentsApi.prototype.listIncidents = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listIncidents(param.include, param.pageSize, param.pageOffset, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listIncidents(responseContext);\n });\n });\n };\n /**\n * Updates an incident. Provide only the attributes that should be updated as this request is a partial update.\n * @param param The request object\n */\n IncidentsApi.prototype.updateIncident = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateIncident(param.incidentId, param.body, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateIncident(responseContext);\n });\n });\n };\n return IncidentsApi;\n}());\nexports.IncidentsApi = IncidentsApi;\n//# sourceMappingURL=IncidentsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.KeyManagementApi = exports.KeyManagementApiResponseProcessor = exports.KeyManagementApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar KeyManagementApiRequestFactory = /** @class */ (function (_super) {\n __extends(KeyManagementApiRequestFactory, _super);\n function KeyManagementApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n KeyManagementApiRequestFactory.prototype.createAPIKey = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createAPIKey.\");\n }\n localVarPath = \"/api/v2/api_keys\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.createAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"APIKeyCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.createCurrentUserApplicationKey = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createCurrentUserApplicationKey.\");\n }\n localVarPath = \"/api/v2/current_user/application_keys\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.createCurrentUserApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKeyCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.deleteAPIKey = function (apiKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'apiKeyId' is not null or undefined\n if (apiKeyId === null || apiKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter apiKeyId was null or undefined when calling deleteAPIKey.\");\n }\n localVarPath = \"/api/v2/api_keys/{api_key_id}\".replace(\"{\" + \"api_key_id\" + \"}\", encodeURIComponent(String(apiKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.deleteAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.deleteApplicationKey = function (appKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling deleteApplicationKey.\");\n }\n localVarPath = \"/api/v2/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.deleteApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.deleteCurrentUserApplicationKey = function (appKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling deleteCurrentUserApplicationKey.\");\n }\n localVarPath = \"/api/v2/current_user/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.deleteCurrentUserApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.getAPIKey = function (apiKeyId, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'apiKeyId' is not null or undefined\n if (apiKeyId === null || apiKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter apiKeyId was null or undefined when calling getAPIKey.\");\n }\n localVarPath = \"/api/v2/api_keys/{api_key_id}\".replace(\"{\" + \"api_key_id\" + \"}\", encodeURIComponent(String(apiKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.getAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.getApplicationKey = function (appKeyId, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling getApplicationKey.\");\n }\n localVarPath = \"/api/v2/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.getApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.getCurrentUserApplicationKey = function (appKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling getCurrentUserApplicationKey.\");\n }\n localVarPath = \"/api/v2/current_user/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.getCurrentUserApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.listAPIKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, filterModifiedAtStart, filterModifiedAtEnd, include, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/api_keys\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.listAPIKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"APIKeysSort\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (filterCreatedAtStart !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][start]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, \"string\", \"\"));\n }\n if (filterCreatedAtEnd !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][end]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, \"string\", \"\"));\n }\n if (filterModifiedAtStart !== undefined) {\n requestContext.setQueryParam(\"filter[modified_at][start]\", ObjectSerializer_1.ObjectSerializer.serialize(filterModifiedAtStart, \"string\", \"\"));\n }\n if (filterModifiedAtEnd !== undefined) {\n requestContext.setQueryParam(\"filter[modified_at][end]\", ObjectSerializer_1.ObjectSerializer.serialize(filterModifiedAtEnd, \"string\", \"\"));\n }\n if (include !== undefined) {\n requestContext.setQueryParam(\"include\", ObjectSerializer_1.ObjectSerializer.serialize(include, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.listApplicationKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/application_keys\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.listApplicationKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"ApplicationKeysSort\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (filterCreatedAtStart !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][start]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, \"string\", \"\"));\n }\n if (filterCreatedAtEnd !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][end]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.listCurrentUserApplicationKeys = function (pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/current_user/application_keys\";\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.listCurrentUserApplicationKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"ApplicationKeysSort\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (filterCreatedAtStart !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][start]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, \"string\", \"\"));\n }\n if (filterCreatedAtEnd !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][end]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.updateAPIKey = function (apiKeyId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'apiKeyId' is not null or undefined\n if (apiKeyId === null || apiKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter apiKeyId was null or undefined when calling updateAPIKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateAPIKey.\");\n }\n localVarPath = \"/api/v2/api_keys/{api_key_id}\".replace(\"{\" + \"api_key_id\" + \"}\", encodeURIComponent(String(apiKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.updateAPIKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"APIKeyUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.updateApplicationKey = function (appKeyId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling updateApplicationKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateApplicationKey.\");\n }\n localVarPath = \"/api/v2/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.updateApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKeyUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n KeyManagementApiRequestFactory.prototype.updateCurrentUserApplicationKey = function (appKeyId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling updateCurrentUserApplicationKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateCurrentUserApplicationKey.\");\n }\n localVarPath = \"/api/v2/current_user/application_keys/{app_key_id}\".replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"KeyManagementApi.updateCurrentUserApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKeyUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return KeyManagementApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.KeyManagementApiRequestFactory = KeyManagementApiRequestFactory;\nvar KeyManagementApiResponseProcessor = /** @class */ (function () {\n function KeyManagementApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.createAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createCurrentUserApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.createCurrentUserApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.deleteAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.deleteApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteCurrentUserApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.deleteCurrentUserApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.getAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.getApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body_33, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_31);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_32);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_33 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getCurrentUserApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.getCurrentUserApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_34 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_35 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_35);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_36 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_36);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_37 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_37);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_38 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_38];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listAPIKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.listAPIKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_39 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_40 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_40);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_41 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_41);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_42 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_42);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_43 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"APIKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_43];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listApplicationKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.listApplicationKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_44, _a, _b, _c, _d, body_45, _e, _f, _g, _h, body_46, _j, _k, _l, _m, body_47, _o, _p, _q, _r, body_48, _s, _t, _u, _v, body_49, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_44 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_44];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_45 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_45);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_46 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_46);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_47 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_47);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_48 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_48);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_49 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_49];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listCurrentUserApplicationKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.listCurrentUserApplicationKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_50, _a, _b, _c, _d, body_51, _e, _f, _g, _h, body_52, _j, _k, _l, _m, body_53, _o, _p, _q, _r, body_54, _s, _t, _u, _v, body_55, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_50 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_50];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_51 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_51);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_52 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_52);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_53 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_53);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_54 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_54);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_55 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_55];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateAPIKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.updateAPIKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_56, _a, _b, _c, _d, body_57, _e, _f, _g, _h, body_58, _j, _k, _l, _m, body_59, _o, _p, _q, _r, body_60, _s, _t, _u, _v, body_61, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_56 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_56];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_57 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_57);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_58 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_58);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_59 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_59);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_60 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_60);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_61 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"APIKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_61];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.updateApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_62, _a, _b, _c, _d, body_63, _e, _f, _g, _h, body_64, _j, _k, _l, _m, body_65, _o, _p, _q, _r, body_66, _s, _t, _u, _v, body_67, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_62 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_62];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_63 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_63);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_64 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_64);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_65 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_65);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_66 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_66);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_67 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_67];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateCurrentUserApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n KeyManagementApiResponseProcessor.prototype.updateCurrentUserApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_68, _a, _b, _c, _d, body_69, _e, _f, _g, _h, body_70, _j, _k, _l, _m, body_71, _o, _p, _q, _r, body_72, _s, _t, _u, _v, body_73, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_68 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_68];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_69 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_69);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_70 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_70);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_71 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_71);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_72 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_72);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_73 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_73];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return KeyManagementApiResponseProcessor;\n}());\nexports.KeyManagementApiResponseProcessor = KeyManagementApiResponseProcessor;\nvar KeyManagementApi = /** @class */ (function () {\n function KeyManagementApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new KeyManagementApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new KeyManagementApiResponseProcessor();\n }\n /**\n * Create an API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.createAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createAPIKey(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createAPIKey(responseContext);\n });\n });\n };\n /**\n * Create an application key for current user\n * @param param The request object\n */\n KeyManagementApi.prototype.createCurrentUserApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createCurrentUserApplicationKey(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createCurrentUserApplicationKey(responseContext);\n });\n });\n };\n /**\n * Delete an API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.deleteAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteAPIKey(param.apiKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteAPIKey(responseContext);\n });\n });\n };\n /**\n * Delete an application key\n * @param param The request object\n */\n KeyManagementApi.prototype.deleteApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteApplicationKey(param.appKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteApplicationKey(responseContext);\n });\n });\n };\n /**\n * Delete an application key owned by current user\n * @param param The request object\n */\n KeyManagementApi.prototype.deleteCurrentUserApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteCurrentUserApplicationKey(param.appKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteCurrentUserApplicationKey(responseContext);\n });\n });\n };\n /**\n * Get an API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.getAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getAPIKey(param.apiKeyId, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getAPIKey(responseContext);\n });\n });\n };\n /**\n * Get an application key for your org.\n * @param param The request object\n */\n KeyManagementApi.prototype.getApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getApplicationKey(param.appKeyId, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getApplicationKey(responseContext);\n });\n });\n };\n /**\n * Get an application key owned by current user\n * @param param The request object\n */\n KeyManagementApi.prototype.getCurrentUserApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getCurrentUserApplicationKey(param.appKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getCurrentUserApplicationKey(responseContext);\n });\n });\n };\n /**\n * List all API keys available for your account.\n * @param param The request object\n */\n KeyManagementApi.prototype.listAPIKeys = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listAPIKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, param.filterModifiedAtStart, param.filterModifiedAtEnd, param.include, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listAPIKeys(responseContext);\n });\n });\n };\n /**\n * List all application keys available for your org\n * @param param The request object\n */\n KeyManagementApi.prototype.listApplicationKeys = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listApplicationKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listApplicationKeys(responseContext);\n });\n });\n };\n /**\n * List all application keys available for current user\n * @param param The request object\n */\n KeyManagementApi.prototype.listCurrentUserApplicationKeys = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listCurrentUserApplicationKeys(param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listCurrentUserApplicationKeys(responseContext);\n });\n });\n };\n /**\n * Update an API key.\n * @param param The request object\n */\n KeyManagementApi.prototype.updateAPIKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateAPIKey(param.apiKeyId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateAPIKey(responseContext);\n });\n });\n };\n /**\n * Edit an application key\n * @param param The request object\n */\n KeyManagementApi.prototype.updateApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateApplicationKey(param.appKeyId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateApplicationKey(responseContext);\n });\n });\n };\n /**\n * Edit an application key owned by current user\n * @param param The request object\n */\n KeyManagementApi.prototype.updateCurrentUserApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateCurrentUserApplicationKey(param.appKeyId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateCurrentUserApplicationKey(responseContext);\n });\n });\n };\n return KeyManagementApi;\n}());\nexports.KeyManagementApi = KeyManagementApi;\n//# sourceMappingURL=KeyManagementApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsApi = exports.LogsApiResponseProcessor = exports.LogsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsApiRequestFactory, _super);\n function LogsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsApiRequestFactory.prototype.aggregateLogs = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling aggregateLogs.\");\n }\n localVarPath = \"/api/v2/logs/analytics/aggregate\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.aggregateLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsAggregateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsApiRequestFactory.prototype.listLogs = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/logs/events/search\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.listLogs\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsListRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsApiRequestFactory.prototype.listLogsGet = function (filterQuery, filterIndex, filterFrom, filterTo, sort, pageCursor, pageLimit, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/logs/events\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.listLogsGet\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (filterQuery !== undefined) {\n requestContext.setQueryParam(\"filter[query]\", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, \"string\", \"\"));\n }\n if (filterIndex !== undefined) {\n requestContext.setQueryParam(\"filter[index]\", ObjectSerializer_1.ObjectSerializer.serialize(filterIndex, \"string\", \"\"));\n }\n if (filterFrom !== undefined) {\n requestContext.setQueryParam(\"filter[from]\", ObjectSerializer_1.ObjectSerializer.serialize(filterFrom, \"Date\", \"date-time\"));\n }\n if (filterTo !== undefined) {\n requestContext.setQueryParam(\"filter[to]\", ObjectSerializer_1.ObjectSerializer.serialize(filterTo, \"Date\", \"date-time\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"LogsSort\", \"\"));\n }\n if (pageCursor !== undefined) {\n requestContext.setQueryParam(\"page[cursor]\", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, \"string\", \"\"));\n }\n if (pageLimit !== undefined) {\n requestContext.setQueryParam(\"page[limit]\", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, \"number\", \"int32\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsApiRequestFactory.prototype.submitLog = function (body, contentEncoding, ddtags, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling submitLog.\");\n }\n localVarPath = \"/api/v2/logs\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsApi.submitLog\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (ddtags !== undefined) {\n requestContext.setQueryParam(\"ddtags\", ObjectSerializer_1.ObjectSerializer.serialize(ddtags, \"string\", \"\"));\n }\n // Header Params\n if (contentEncoding !== undefined) {\n requestContext.setHeaderParam(\"Content-Encoding\", ObjectSerializer_1.ObjectSerializer.serialize(contentEncoding, \"ContentEncoding\", \"\"));\n }\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n \"application/logplex-1\",\n \"text/plain\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"Array\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\"apiKeyAuth\"]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsApiRequestFactory = LogsApiRequestFactory;\nvar LogsApiResponseProcessor = /** @class */ (function () {\n function LogsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to aggregateLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.aggregateLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsAggregateResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsAggregateResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogs\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.listLogs = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogsGet\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.listLogsGet = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsListResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to submitLog\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsApiResponseProcessor.prototype.submitLog = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body_21, _w, _x, _y, _z, body_22, _0, _1, _2, _3, body_23, _4, _5, _6, _7, body_24, _8, _9, _10, _11, body_25, _12, _13, _14, _15, body;\n return __generator(this, function (_16) {\n switch (_16.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_16.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(401, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"408\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(408, body_20);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"413\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_21 = _x.apply(_w, [_z.apply(_y, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(413, body_21);\n case 12:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_22 = _1.apply(_0, [_3.apply(_2, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(429, body_22);\n case 14:\n if (!(0, util_1.isCodeInRange)(\"500\", response.httpStatusCode)) return [3 /*break*/, 16];\n _5 = (_4 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _7 = (_6 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 15:\n body_23 = _5.apply(_4, [_7.apply(_6, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(500, body_23);\n case 16:\n if (!(0, util_1.isCodeInRange)(\"503\", response.httpStatusCode)) return [3 /*break*/, 18];\n _9 = (_8 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _11 = (_10 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 17:\n body_24 = _9.apply(_8, [_11.apply(_10, [_16.sent(), contentType]),\n \"HTTPLogErrors\",\n \"\"]);\n throw new exception_1.ApiException(503, body_24);\n case 18:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 20];\n _13 = (_12 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _15 = (_14 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 19:\n body_25 = _13.apply(_12, [_15.apply(_14, [_16.sent(), contentType]),\n \"any\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 20: return [4 /*yield*/, response.body.text()];\n case 21:\n body = (_16.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsApiResponseProcessor;\n}());\nexports.LogsApiResponseProcessor = LogsApiResponseProcessor;\nvar LogsApi = /** @class */ (function () {\n function LogsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsApiResponseProcessor();\n }\n /**\n * The API endpoint to aggregate events into buckets and compute metrics and timeseries.\n * @param param The request object\n */\n LogsApi.prototype.aggregateLogs = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.aggregateLogs(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.aggregateLogs(responseContext);\n });\n });\n };\n /**\n * List endpoint returns logs that match a log search query. [Results are paginated][1]. Use this endpoint to build complex logs filtering and search. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives\n * @param param The request object\n */\n LogsApi.prototype.listLogs = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listLogs(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogs(responseContext);\n });\n });\n };\n /**\n * List endpoint returns logs that match a log search query. [Results are paginated][1]. Use this endpoint to see your latest logs. **If you are considering archiving logs for your organization, consider use of the Datadog archive capabilities instead of the log list API. See [Datadog Logs Archive documentation][2].** [1]: /logs/guide/collect-multiple-logs-with-pagination [2]: https://docs.datadoghq.com/logs/archives\n * @param param The request object\n */\n LogsApi.prototype.listLogsGet = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listLogsGet(param.filterQuery, param.filterIndex, param.filterFrom, param.filterTo, param.sort, param.pageCursor, param.pageLimit, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogsGet(responseContext);\n });\n });\n };\n /**\n * Send your logs to your Datadog platform over HTTP. Limits per HTTP request are: - Maximum content size per payload (uncompressed): 5MB - Maximum size for a single log: 1MB - Maximum array size if sending multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted and truncated by Datadog: - For a single log request, the API truncates the log at 1MB and returns a 2xx. - For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx. Datadog recommends sending your logs compressed. Add the `Content-Encoding: gzip` header to the request when sending compressed logs. The status codes answered by the HTTP API are: - 202: Accepted: the request has been accepted for processing - 400: Bad request (likely an issue in the payload formatting) - 401: Unauthorized (likely a missing API Key) - 403: Permission issue (likely using an invalid API Key) - 408: Request Timeout, request should be retried after some time - 413: Payload too large (batch is above 5MB uncompressed) - 429: Too Many Requests, request should be retried after some time - 500: Internal Server Error, the server encountered an unexpected condition that prevented it from fulfilling the request, request should be retried after some time - 503: Service Unavailable, the server is not ready to handle the request probably because it is overloaded, request should be retried after some time\n * @param param The request object\n */\n LogsApi.prototype.submitLog = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.submitLog(param.body, param.contentEncoding, param.ddtags, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.submitLog(responseContext);\n });\n });\n };\n return LogsApi;\n}());\nexports.LogsApi = LogsApi;\n//# sourceMappingURL=LogsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchivesApi = exports.LogsArchivesApiResponseProcessor = exports.LogsArchivesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsArchivesApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsArchivesApiRequestFactory, _super);\n function LogsArchivesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsArchivesApiRequestFactory.prototype.addReadRoleToArchive = function (archiveId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling addReadRoleToArchive.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling addReadRoleToArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}/readers\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.addReadRoleToArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToRole\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.createLogsArchive = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createLogsArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.createLogsArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsArchiveCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.deleteLogsArchive = function (archiveId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling deleteLogsArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.deleteLogsArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.getLogsArchive = function (archiveId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling getLogsArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.getLogsArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.getLogsArchiveOrder = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/logs/config/archive-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.getLogsArchiveOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.listArchiveReadRoles = function (archiveId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling listArchiveReadRoles.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}/readers\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.listArchiveReadRoles\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.listLogsArchives = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/logs/config/archives\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.listLogsArchives\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.removeRoleFromArchive = function (archiveId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling removeRoleFromArchive.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling removeRoleFromArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}/readers\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.removeRoleFromArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToRole\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.updateLogsArchive = function (archiveId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'archiveId' is not null or undefined\n if (archiveId === null || archiveId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter archiveId was null or undefined when calling updateLogsArchive.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsArchive.\");\n }\n localVarPath = \"/api/v2/logs/config/archives/{archive_id}\".replace(\"{\" + \"archive_id\" + \"}\", encodeURIComponent(String(archiveId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.updateLogsArchive\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsArchiveCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsArchivesApiRequestFactory.prototype.updateLogsArchiveOrder = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsArchiveOrder.\");\n }\n localVarPath = \"/api/v2/logs/config/archive-order\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsArchivesApi.updateLogsArchiveOrder\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsArchiveOrder\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsArchivesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsArchivesApiRequestFactory = LogsArchivesApiRequestFactory;\nvar LogsArchivesApiResponseProcessor = /** @class */ (function () {\n function LogsArchivesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to addReadRoleToArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.addReadRoleToArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_1);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createLogsArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.createLogsArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteLogsArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.deleteLogsArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_11);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.getLogsArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body_20, _s, _t, _u, _v, body_21, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_18);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_19);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_20 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_20);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_21 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsArchiveOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.getLogsArchiveOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_22, _a, _b, _c, _d, body_23, _e, _f, _g, _h, body_24, _j, _k, _l, _m, body_25, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_22 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsArchiveOrder\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_23 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_23);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_24 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_25 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsArchiveOrder\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listArchiveReadRoles\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.listArchiveReadRoles = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_26, _a, _b, _c, _d, body_27, _e, _f, _g, _h, body_28, _j, _k, _l, _m, body_29, _o, _p, _q, _r, body_30, _s, _t, _u, _v, body_31, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_26 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"RolesResponse\",\n \"\"]);\n return [2 /*return*/, body_26];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_27 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_27);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_28 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_28);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_29 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_29);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_30 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_30);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_31 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"RolesResponse\",\n \"\"]);\n return [2 /*return*/, body_31];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogsArchives\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.listLogsArchives = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_32, _a, _b, _c, _d, body_33, _e, _f, _g, _h, body_34, _j, _k, _l, _m, body_35, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_32 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsArchives\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_33 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_33);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_34 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_34);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_35 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsArchives\",\n \"\"]);\n return [2 /*return*/, body_35];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to removeRoleFromArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.removeRoleFromArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_36, _a, _b, _c, _d, body_37, _e, _f, _g, _h, body_38, _j, _k, _l, _m, body_39, _o, _p, _q, _r, body_40, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_36 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_36);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_37 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_37);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_38 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_38);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_39 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_39);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_40 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_40];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsArchive\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.updateLogsArchive = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_41, _a, _b, _c, _d, body_42, _e, _f, _g, _h, body_43, _j, _k, _l, _m, body_44, _o, _p, _q, _r, body_45, _s, _t, _u, _v, body_46, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_41 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_41];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_42 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_42);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_43 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_43);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_44 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_44);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_45 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_46 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsArchive\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsArchiveOrder\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsArchivesApiResponseProcessor.prototype.updateLogsArchiveOrder = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsArchiveOrder\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_50);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_51);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_52 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsArchiveOrder\",\n \"\"]);\n return [2 /*return*/, body_52];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsArchivesApiResponseProcessor;\n}());\nexports.LogsArchivesApiResponseProcessor = LogsArchivesApiResponseProcessor;\nvar LogsArchivesApi = /** @class */ (function () {\n function LogsArchivesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsArchivesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsArchivesApiResponseProcessor();\n }\n /**\n * Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))\n * @param param The request object\n */\n LogsArchivesApi.prototype.addReadRoleToArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.addReadRoleToArchive(param.archiveId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.addReadRoleToArchive(responseContext);\n });\n });\n };\n /**\n * Create an archive in your organization.\n * @param param The request object\n */\n LogsArchivesApi.prototype.createLogsArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createLogsArchive(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createLogsArchive(responseContext);\n });\n });\n };\n /**\n * Delete a given archive from your organization.\n * @param param The request object\n */\n LogsArchivesApi.prototype.deleteLogsArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteLogsArchive(param.archiveId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteLogsArchive(responseContext);\n });\n });\n };\n /**\n * Get a specific archive from your organization.\n * @param param The request object\n */\n LogsArchivesApi.prototype.getLogsArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsArchive(param.archiveId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsArchive(responseContext);\n });\n });\n };\n /**\n * Get the current order of your archives. This endpoint takes no JSON arguments.\n * @param param The request object\n */\n LogsArchivesApi.prototype.getLogsArchiveOrder = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsArchiveOrder(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsArchiveOrder(responseContext);\n });\n });\n };\n /**\n * Returns all read roles a given archive is restricted to.\n * @param param The request object\n */\n LogsArchivesApi.prototype.listArchiveReadRoles = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listArchiveReadRoles(param.archiveId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listArchiveReadRoles(responseContext);\n });\n });\n };\n /**\n * Get the list of configured logs archives with their definitions.\n * @param param The request object\n */\n LogsArchivesApi.prototype.listLogsArchives = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLogsArchives(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogsArchives(responseContext);\n });\n });\n };\n /**\n * Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))\n * @param param The request object\n */\n LogsArchivesApi.prototype.removeRoleFromArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.removeRoleFromArchive(param.archiveId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.removeRoleFromArchive(responseContext);\n });\n });\n };\n /**\n * Update a given archive configuration. **Note**: Using this method updates your archive configuration by **replacing** your current configuration with the new one sent to your Datadog organization.\n * @param param The request object\n */\n LogsArchivesApi.prototype.updateLogsArchive = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsArchive(param.archiveId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsArchive(responseContext);\n });\n });\n };\n /**\n * Update the order of your archives. Since logs are processed sequentially, reordering an archive may change the structure and content of the data processed by other archives. **Note**: Using the `PUT` method updates your archive's order by replacing the current order with the new one.\n * @param param The request object\n */\n LogsArchivesApi.prototype.updateLogsArchiveOrder = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsArchiveOrder(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsArchiveOrder(responseContext);\n });\n });\n };\n return LogsArchivesApi;\n}());\nexports.LogsArchivesApi = LogsArchivesApi;\n//# sourceMappingURL=LogsArchivesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricsApi = exports.LogsMetricsApiResponseProcessor = exports.LogsMetricsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar LogsMetricsApiRequestFactory = /** @class */ (function (_super) {\n __extends(LogsMetricsApiRequestFactory, _super);\n function LogsMetricsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LogsMetricsApiRequestFactory.prototype.createLogsMetric = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createLogsMetric.\");\n }\n localVarPath = \"/api/v2/logs/config/metrics\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsMetricsApi.createLogsMetric\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsMetricCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsMetricsApiRequestFactory.prototype.deleteLogsMetric = function (metricId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricId' is not null or undefined\n if (metricId === null || metricId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricId was null or undefined when calling deleteLogsMetric.\");\n }\n localVarPath = \"/api/v2/logs/config/metrics/{metric_id}\".replace(\"{\" + \"metric_id\" + \"}\", encodeURIComponent(String(metricId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsMetricsApi.deleteLogsMetric\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsMetricsApiRequestFactory.prototype.getLogsMetric = function (metricId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricId' is not null or undefined\n if (metricId === null || metricId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricId was null or undefined when calling getLogsMetric.\");\n }\n localVarPath = \"/api/v2/logs/config/metrics/{metric_id}\".replace(\"{\" + \"metric_id\" + \"}\", encodeURIComponent(String(metricId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsMetricsApi.getLogsMetric\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsMetricsApiRequestFactory.prototype.listLogsMetrics = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/logs/config/metrics\";\n requestContext = (0, configuration_1.getServer)(_config, \"LogsMetricsApi.listLogsMetrics\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n LogsMetricsApiRequestFactory.prototype.updateLogsMetric = function (metricId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricId' is not null or undefined\n if (metricId === null || metricId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricId was null or undefined when calling updateLogsMetric.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateLogsMetric.\");\n }\n localVarPath = \"/api/v2/logs/config/metrics/{metric_id}\".replace(\"{\" + \"metric_id\" + \"}\", encodeURIComponent(String(metricId)));\n requestContext = (0, configuration_1.getServer)(_config, \"LogsMetricsApi.updateLogsMetric\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"LogsMetricUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return LogsMetricsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.LogsMetricsApiRequestFactory = LogsMetricsApiRequestFactory;\nvar LogsMetricsApiResponseProcessor = /** @class */ (function () {\n function LogsMetricsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createLogsMetric\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsMetricsApiResponseProcessor.prototype.createLogsMetric = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteLogsMetric\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsMetricsApiResponseProcessor.prototype.deleteLogsMetric = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_7);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getLogsMetric\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsMetricsApiResponseProcessor.prototype.getLogsMetric = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body_15, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_15 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listLogsMetrics\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsMetricsApiResponseProcessor.prototype.listLogsMetrics = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"LogsMetricsResponse\",\n \"\"]);\n return [2 /*return*/, body_16];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"LogsMetricsResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateLogsMetric\n * @throws ApiException if the response code was not in [200, 299]\n */\n LogsMetricsApiResponseProcessor.prototype.updateLogsMetric = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body_25, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_23);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_24);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_25 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"LogsMetricResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return LogsMetricsApiResponseProcessor;\n}());\nexports.LogsMetricsApiResponseProcessor = LogsMetricsApiResponseProcessor;\nvar LogsMetricsApi = /** @class */ (function () {\n function LogsMetricsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new LogsMetricsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new LogsMetricsApiResponseProcessor();\n }\n /**\n * Create a metric based on your ingested logs in your organization. Returns the log-based metric object from the request body when the request is successful.\n * @param param The request object\n */\n LogsMetricsApi.prototype.createLogsMetric = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createLogsMetric(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createLogsMetric(responseContext);\n });\n });\n };\n /**\n * Delete a specific log-based metric from your organization.\n * @param param The request object\n */\n LogsMetricsApi.prototype.deleteLogsMetric = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteLogsMetric(param.metricId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteLogsMetric(responseContext);\n });\n });\n };\n /**\n * Get a specific log-based metric from your organization.\n * @param param The request object\n */\n LogsMetricsApi.prototype.getLogsMetric = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getLogsMetric(param.metricId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getLogsMetric(responseContext);\n });\n });\n };\n /**\n * Get the list of configured log-based metrics with their definitions.\n * @param param The request object\n */\n LogsMetricsApi.prototype.listLogsMetrics = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listLogsMetrics(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listLogsMetrics(responseContext);\n });\n });\n };\n /**\n * Update a specific log-based metric from your organization. Returns the log-based metric object from the request body when the request is successful.\n * @param param The request object\n */\n LogsMetricsApi.prototype.updateLogsMetric = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateLogsMetric(param.metricId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateLogsMetric(responseContext);\n });\n });\n };\n return LogsMetricsApi;\n}());\nexports.LogsMetricsApi = LogsMetricsApi;\n//# sourceMappingURL=LogsMetricsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsApi = exports.MetricsApiResponseProcessor = exports.MetricsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar MetricsApiRequestFactory = /** @class */ (function (_super) {\n __extends(MetricsApiRequestFactory, _super);\n function MetricsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MetricsApiRequestFactory.prototype.createBulkTagsMetricsConfiguration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createBulkTagsMetricsConfiguration.\");\n }\n localVarPath = \"/api/v2/metrics/config/bulk-tags\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.createBulkTagsMetricsConfiguration\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricBulkTagConfigCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.createTagConfiguration = function (metricName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'createTagConfiguration'\");\n if (!_config.unstableOperations[\"createTagConfiguration\"]) {\n throw new Error(\"Unstable operation 'createTagConfiguration' is disabled\");\n }\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling createTagConfiguration.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createTagConfiguration.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/tags\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.createTagConfiguration\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricTagConfigurationCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.deleteBulkTagsMetricsConfiguration = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling deleteBulkTagsMetricsConfiguration.\");\n }\n localVarPath = \"/api/v2/metrics/config/bulk-tags\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.deleteBulkTagsMetricsConfiguration\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricBulkTagConfigDeleteRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.deleteTagConfiguration = function (metricName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'deleteTagConfiguration'\");\n if (!_config.unstableOperations[\"deleteTagConfiguration\"]) {\n throw new Error(\"Unstable operation 'deleteTagConfiguration' is disabled\");\n }\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling deleteTagConfiguration.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/tags\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.deleteTagConfiguration\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listTagConfigurationByName = function (metricName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listTagConfigurationByName'\");\n if (!_config.unstableOperations[\"listTagConfigurationByName\"]) {\n throw new Error(\"Unstable operation 'listTagConfigurationByName' is disabled\");\n }\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling listTagConfigurationByName.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/tags\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listTagConfigurationByName\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listTagConfigurations = function (filterConfigured, filterTagsConfigured, filterMetricType, filterIncludePercentiles, filterTags, windowSeconds, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listTagConfigurations'\");\n if (!_config.unstableOperations[\"listTagConfigurations\"]) {\n throw new Error(\"Unstable operation 'listTagConfigurations' is disabled\");\n }\n localVarPath = \"/api/v2/metrics\";\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listTagConfigurations\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (filterConfigured !== undefined) {\n requestContext.setQueryParam(\"filter[configured]\", ObjectSerializer_1.ObjectSerializer.serialize(filterConfigured, \"boolean\", \"\"));\n }\n if (filterTagsConfigured !== undefined) {\n requestContext.setQueryParam(\"filter[tags_configured]\", ObjectSerializer_1.ObjectSerializer.serialize(filterTagsConfigured, \"string\", \"\"));\n }\n if (filterMetricType !== undefined) {\n requestContext.setQueryParam(\"filter[metric_type]\", ObjectSerializer_1.ObjectSerializer.serialize(filterMetricType, \"MetricTagConfigurationMetricTypes\", \"\"));\n }\n if (filterIncludePercentiles !== undefined) {\n requestContext.setQueryParam(\"filter[include_percentiles]\", ObjectSerializer_1.ObjectSerializer.serialize(filterIncludePercentiles, \"boolean\", \"\"));\n }\n if (filterTags !== undefined) {\n requestContext.setQueryParam(\"filter[tags]\", ObjectSerializer_1.ObjectSerializer.serialize(filterTags, \"string\", \"\"));\n }\n if (windowSeconds !== undefined) {\n requestContext.setQueryParam(\"window[seconds]\", ObjectSerializer_1.ObjectSerializer.serialize(windowSeconds, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listTagsByMetricName = function (metricName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling listTagsByMetricName.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/all-tags\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listTagsByMetricName\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.listVolumesByMetricName = function (metricName, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling listVolumesByMetricName.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/volumes\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.listVolumesByMetricName\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n MetricsApiRequestFactory.prototype.updateTagConfiguration = function (metricName, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'updateTagConfiguration'\");\n if (!_config.unstableOperations[\"updateTagConfiguration\"]) {\n throw new Error(\"Unstable operation 'updateTagConfiguration' is disabled\");\n }\n // verify required parameter 'metricName' is not null or undefined\n if (metricName === null || metricName === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter metricName was null or undefined when calling updateTagConfiguration.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateTagConfiguration.\");\n }\n localVarPath = \"/api/v2/metrics/{metric_name}/tags\".replace(\"{\" + \"metric_name\" + \"}\", encodeURIComponent(String(metricName)));\n requestContext = (0, configuration_1.getServer)(_config, \"MetricsApi.updateTagConfiguration\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"MetricTagConfigurationUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return MetricsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.MetricsApiRequestFactory = MetricsApiRequestFactory;\nvar MetricsApiResponseProcessor = /** @class */ (function () {\n function MetricsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createBulkTagsMetricsConfiguration\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.createBulkTagsMetricsConfiguration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricBulkTagConfigResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricBulkTagConfigResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createTagConfiguration\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.createTagConfiguration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_10);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_11);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteBulkTagsMetricsConfiguration\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.deleteBulkTagsMetricsConfiguration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"202\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_13 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricBulkTagConfigResponse\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_14 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_14);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_15 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_16 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_17 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_17);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_18 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricBulkTagConfigResponse\",\n \"\"]);\n return [2 /*return*/, body_18];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteTagConfiguration\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.deleteTagConfiguration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_19, _a, _b, _c, _d, body_20, _e, _f, _g, _h, body_21, _j, _k, _l, _m, body_22, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_19 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_19);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_20 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_20);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_21 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_21);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_22 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_22];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listTagConfigurationByName\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listTagConfigurationByName = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_23, _a, _b, _c, _d, body_24, _e, _f, _g, _h, body_25, _j, _k, _l, _m, body_26, _o, _p, _q, _r, body_27, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_23 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_23];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_24 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_24);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_25 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_25);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_26 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_26);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_27 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_27];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listTagConfigurations\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listTagConfigurations = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_28, _a, _b, _c, _d, body_29, _e, _f, _g, _h, body_30, _j, _k, _l, _m, body_31, _o, _p, _q, _r, body_32, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_28 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"MetricsAndMetricTagConfigurationsResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_29 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_29);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_30 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_31 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_31);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_32 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"MetricsAndMetricTagConfigurationsResponse\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listTagsByMetricName\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listTagsByMetricName = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body_37, _s, _t, _u, _v, body_38, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_33 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricAllTagsResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_34 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_34);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_35 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_35);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_36 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_36);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_37 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_37);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_38 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricAllTagsResponse\",\n \"\"]);\n return [2 /*return*/, body_38];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listVolumesByMetricName\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.listVolumesByMetricName = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body_44, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_39 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricVolumesResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_40 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_40);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_41 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_41);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_42 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_42);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_43 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_43);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_44 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricVolumesResponse\",\n \"\"]);\n return [2 /*return*/, body_44];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateTagConfiguration\n * @throws ApiException if the response code was not in [200, 299]\n */\n MetricsApiResponseProcessor.prototype.updateTagConfiguration = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_45, _a, _b, _c, _d, body_46, _e, _f, _g, _h, body_47, _j, _k, _l, _m, body_48, _o, _p, _q, _r, body_49, _s, _t, _u, _v, body_50, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_45 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_45];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_46 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_46);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_47 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_47);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_48 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_48);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_49 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_49);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_50 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"MetricTagConfigurationResponse\",\n \"\"]);\n return [2 /*return*/, body_50];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return MetricsApiResponseProcessor;\n}());\nexports.MetricsApiResponseProcessor = MetricsApiResponseProcessor;\nvar MetricsApi = /** @class */ (function () {\n function MetricsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new MetricsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new MetricsApiResponseProcessor();\n }\n /**\n * Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not expect deterministic ordering of concurrent calls. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.\n * @param param The request object\n */\n MetricsApi.prototype.createBulkTagsMetricsConfiguration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createBulkTagsMetricsConfiguration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createBulkTagsMetricsConfiguration(responseContext);\n });\n });\n };\n /**\n * Create and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric or configure custom aggregations on any count, rate, or gauge metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.\n * @param param The request object\n */\n MetricsApi.prototype.createTagConfiguration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createTagConfiguration(param.metricName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createTagConfiguration(responseContext);\n });\n });\n };\n /**\n * Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.\n * @param param The request object\n */\n MetricsApi.prototype.deleteBulkTagsMetricsConfiguration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteBulkTagsMetricsConfiguration(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteBulkTagsMetricsConfiguration(responseContext);\n });\n });\n };\n /**\n * Deletes a metric's tag configuration. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.\n * @param param The request object\n */\n MetricsApi.prototype.deleteTagConfiguration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteTagConfiguration(param.metricName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteTagConfiguration(responseContext);\n });\n });\n };\n /**\n * Returns the tag configuration for the given metric name.\n * @param param The request object\n */\n MetricsApi.prototype.listTagConfigurationByName = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listTagConfigurationByName(param.metricName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listTagConfigurationByName(responseContext);\n });\n });\n };\n /**\n * Returns all configured count/gauge/rate/distribution metric names (with additional filters if specified).\n * @param param The request object\n */\n MetricsApi.prototype.listTagConfigurations = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listTagConfigurations(param.filterConfigured, param.filterTagsConfigured, param.filterMetricType, param.filterIncludePercentiles, param.filterTags, param.windowSeconds, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listTagConfigurations(responseContext);\n });\n });\n };\n /**\n * View indexed tag key-value pairs for a given metric name.\n * @param param The request object\n */\n MetricsApi.prototype.listTagsByMetricName = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listTagsByMetricName(param.metricName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listTagsByMetricName(responseContext);\n });\n });\n };\n /**\n * View distinct metrics volumes for the given metric name. Custom distribution metrics will return both ingested and indexed custom metric volumes. For Metrics without Limits™ beta customers, all metrics will return both ingested/indexed volumes. Custom metrics generated in-app from other products will return `null` for ingested volumes.\n * @param param The request object\n */\n MetricsApi.prototype.listVolumesByMetricName = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listVolumesByMetricName(param.metricName, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listVolumesByMetricName(responseContext);\n });\n });\n };\n /**\n * Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations of a count, rate, or gauge metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.\n * @param param The request object\n */\n MetricsApi.prototype.updateTagConfiguration = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateTagConfiguration(param.metricName, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateTagConfiguration(responseContext);\n });\n });\n };\n return MetricsApi;\n}());\nexports.MetricsApi = MetricsApi;\n//# sourceMappingURL=MetricsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessesApi = exports.ProcessesApiResponseProcessor = exports.ProcessesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar ProcessesApiRequestFactory = /** @class */ (function (_super) {\n __extends(ProcessesApiRequestFactory, _super);\n function ProcessesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ProcessesApiRequestFactory.prototype.listProcesses = function (search, tags, from, to, pageLimit, pageCursor, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/processes\";\n requestContext = (0, configuration_1.getServer)(_config, \"ProcessesApi.listProcesses\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (search !== undefined) {\n requestContext.setQueryParam(\"search\", ObjectSerializer_1.ObjectSerializer.serialize(search, \"string\", \"\"));\n }\n if (tags !== undefined) {\n requestContext.setQueryParam(\"tags\", ObjectSerializer_1.ObjectSerializer.serialize(tags, \"string\", \"\"));\n }\n if (from !== undefined) {\n requestContext.setQueryParam(\"from\", ObjectSerializer_1.ObjectSerializer.serialize(from, \"number\", \"int64\"));\n }\n if (to !== undefined) {\n requestContext.setQueryParam(\"to\", ObjectSerializer_1.ObjectSerializer.serialize(to, \"number\", \"int64\"));\n }\n if (pageLimit !== undefined) {\n requestContext.setQueryParam(\"page[limit]\", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, \"number\", \"int32\"));\n }\n if (pageCursor !== undefined) {\n requestContext.setQueryParam(\"page[cursor]\", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return ProcessesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.ProcessesApiRequestFactory = ProcessesApiRequestFactory;\nvar ProcessesApiResponseProcessor = /** @class */ (function () {\n function ProcessesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listProcesses\n * @throws ApiException if the response code was not in [200, 299]\n */\n ProcessesApiResponseProcessor.prototype.listProcesses = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ProcessSummariesResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ProcessSummariesResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return ProcessesApiResponseProcessor;\n}());\nexports.ProcessesApiResponseProcessor = ProcessesApiResponseProcessor;\nvar ProcessesApi = /** @class */ (function () {\n function ProcessesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new ProcessesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new ProcessesApiResponseProcessor();\n }\n /**\n * Get all processes for your organization.\n * @param param The request object\n */\n ProcessesApi.prototype.listProcesses = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listProcesses(param.search, param.tags, param.from, param.to, param.pageLimit, param.pageCursor, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listProcesses(responseContext);\n });\n });\n };\n return ProcessesApi;\n}());\nexports.ProcessesApi = ProcessesApi;\n//# sourceMappingURL=ProcessesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RolesApi = exports.RolesApiResponseProcessor = exports.RolesApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar RolesApiRequestFactory = /** @class */ (function (_super) {\n __extends(RolesApiRequestFactory, _super);\n function RolesApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RolesApiRequestFactory.prototype.addPermissionToRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling addPermissionToRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling addPermissionToRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/permissions\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.addPermissionToRole\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToPermission\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.addUserToRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling addUserToRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling addUserToRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/users\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.addUserToRole\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToUser\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.cloneRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling cloneRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling cloneRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/clone\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.cloneRole\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RoleCloneRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.createRole = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createRole.\");\n }\n localVarPath = \"/api/v2/roles\";\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.createRole\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RoleCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.deleteRole = function (roleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling deleteRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.deleteRole\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.getRole = function (roleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling getRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.getRole\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.listPermissions = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/permissions\";\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.listPermissions\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.listRolePermissions = function (roleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling listRolePermissions.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/permissions\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.listRolePermissions\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.listRoleUsers = function (roleId, pageSize, pageNumber, sort, filter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling listRoleUsers.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/users\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.listRoleUsers\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"string\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.listRoles = function (pageSize, pageNumber, sort, filter, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/roles\";\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.listRoles\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"RolesSort\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.removePermissionFromRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling removePermissionFromRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling removePermissionFromRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/permissions\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.removePermissionFromRole\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToPermission\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.removeUserFromRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling removeUserFromRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling removeUserFromRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}/users\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.removeUserFromRole\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RelationshipToUser\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n RolesApiRequestFactory.prototype.updateRole = function (roleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'roleId' is not null or undefined\n if (roleId === null || roleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter roleId was null or undefined when calling updateRole.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateRole.\");\n }\n localVarPath = \"/api/v2/roles/{role_id}\".replace(\"{\" + \"role_id\" + \"}\", encodeURIComponent(String(roleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"RolesApi.updateRole\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"RoleUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return RolesApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.RolesApiRequestFactory = RolesApiRequestFactory;\nvar RolesApiResponseProcessor = /** @class */ (function () {\n function RolesApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to addPermissionToRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.addPermissionToRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to addUserToRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.addUserToRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body_12, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_10);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_11);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_12 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_12];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to cloneRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.cloneRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_13, _a, _b, _c, _d, body_14, _e, _f, _g, _h, body_15, _j, _k, _l, _m, body_16, _o, _p, _q, _r, body_17, _s, _t, _u, _v, body_18, _w, _x, _y, _z, body_19, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_13 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"RoleResponse\",\n \"\"]);\n return [2 /*return*/, body_13];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_14 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_14);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_15 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_15);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_16 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_16);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_17 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_17);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_18 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_19 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"RoleResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.createRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"RoleCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"RoleCreateResponse\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.deleteRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_25);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_27);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.getRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_29, _a, _b, _c, _d, body_30, _e, _f, _g, _h, body_31, _j, _k, _l, _m, body_32, _o, _p, _q, _r, body_33, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_29 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"RoleResponse\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_30 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_31 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_31);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_32 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_32);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_33 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"RoleResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listPermissions\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.listPermissions = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_34, _a, _b, _c, _d, body_35, _e, _f, _g, _h, body_36, _j, _k, _l, _m, body_37, _o, _p, _q, _r, body_38, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_34 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_35 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_35);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_36 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_36);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_37 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_37);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_38 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_38];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listRolePermissions\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.listRolePermissions = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_39, _a, _b, _c, _d, body_40, _e, _f, _g, _h, body_41, _j, _k, _l, _m, body_42, _o, _p, _q, _r, body_43, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_39 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_40 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_40);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_41 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_41);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_42 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_42);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_43 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_43];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listRoleUsers\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.listRoleUsers = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_44, _a, _b, _c, _d, body_45, _e, _f, _g, _h, body_46, _j, _k, _l, _m, body_47, _o, _p, _q, _r, body_48, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_44 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_44];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_45 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_45);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_46 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_46);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_47 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_47);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_48 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_48];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listRoles\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.listRoles = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_49, _a, _b, _c, _d, body_50, _e, _f, _g, _h, body_51, _j, _k, _l, _m, body_52, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_49 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"RolesResponse\",\n \"\"]);\n return [2 /*return*/, body_49];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_50 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_50);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_51 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_51);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_52 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"RolesResponse\",\n \"\"]);\n return [2 /*return*/, body_52];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to removePermissionFromRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.removePermissionFromRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_53, _a, _b, _c, _d, body_54, _e, _f, _g, _h, body_55, _j, _k, _l, _m, body_56, _o, _p, _q, _r, body_57, _s, _t, _u, _v, body_58, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_53 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_53];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_54 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_54);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_55 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_55);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_56 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_56);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_57 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_57);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_58 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_58];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to removeUserFromRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.removeUserFromRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_59, _a, _b, _c, _d, body_60, _e, _f, _g, _h, body_61, _j, _k, _l, _m, body_62, _o, _p, _q, _r, body_63, _s, _t, _u, _v, body_64, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_59 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_59];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_60 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_60);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_61 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_61);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_62 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_62);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_63 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_63);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_64 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_64];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateRole\n * @throws ApiException if the response code was not in [200, 299]\n */\n RolesApiResponseProcessor.prototype.updateRole = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_65, _a, _b, _c, _d, body_66, _e, _f, _g, _h, body_67, _j, _k, _l, _m, body_68, _o, _p, _q, _r, body_69, _s, _t, _u, _v, body_70, _w, _x, _y, _z, body_71, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_65 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"RoleUpdateResponse\",\n \"\"]);\n return [2 /*return*/, body_65];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_66 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_66);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_67 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_67);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_68 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_68);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_69 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_69);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_70 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_70);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_71 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"RoleUpdateResponse\",\n \"\"]);\n return [2 /*return*/, body_71];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return RolesApiResponseProcessor;\n}());\nexports.RolesApiResponseProcessor = RolesApiResponseProcessor;\nvar RolesApi = /** @class */ (function () {\n function RolesApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new RolesApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new RolesApiResponseProcessor();\n }\n /**\n * Adds a permission to a role.\n * @param param The request object\n */\n RolesApi.prototype.addPermissionToRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.addPermissionToRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.addPermissionToRole(responseContext);\n });\n });\n };\n /**\n * Adds a user to a role.\n * @param param The request object\n */\n RolesApi.prototype.addUserToRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.addUserToRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.addUserToRole(responseContext);\n });\n });\n };\n /**\n * Clone an existing role\n * @param param The request object\n */\n RolesApi.prototype.cloneRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.cloneRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.cloneRole(responseContext);\n });\n });\n };\n /**\n * Create a new role for your organization.\n * @param param The request object\n */\n RolesApi.prototype.createRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createRole(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createRole(responseContext);\n });\n });\n };\n /**\n * Disables a role.\n * @param param The request object\n */\n RolesApi.prototype.deleteRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteRole(param.roleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteRole(responseContext);\n });\n });\n };\n /**\n * Get a role in the organization specified by the role’s `role_id`.\n * @param param The request object\n */\n RolesApi.prototype.getRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getRole(param.roleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getRole(responseContext);\n });\n });\n };\n /**\n * Returns a list of all permissions, including name, description, and ID.\n * @param param The request object\n */\n RolesApi.prototype.listPermissions = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listPermissions(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listPermissions(responseContext);\n });\n });\n };\n /**\n * Returns a list of all permissions for a single role.\n * @param param The request object\n */\n RolesApi.prototype.listRolePermissions = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listRolePermissions(param.roleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listRolePermissions(responseContext);\n });\n });\n };\n /**\n * Gets all users of a role.\n * @param param The request object\n */\n RolesApi.prototype.listRoleUsers = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listRoleUsers(param.roleId, param.pageSize, param.pageNumber, param.sort, param.filter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listRoleUsers(responseContext);\n });\n });\n };\n /**\n * Returns all roles, including their names and IDs.\n * @param param The request object\n */\n RolesApi.prototype.listRoles = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listRoles(param.pageSize, param.pageNumber, param.sort, param.filter, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listRoles(responseContext);\n });\n });\n };\n /**\n * Removes a permission from a role.\n * @param param The request object\n */\n RolesApi.prototype.removePermissionFromRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.removePermissionFromRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.removePermissionFromRole(responseContext);\n });\n });\n };\n /**\n * Removes a user from a role.\n * @param param The request object\n */\n RolesApi.prototype.removeUserFromRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.removeUserFromRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.removeUserFromRole(responseContext);\n });\n });\n };\n /**\n * Edit a role. Can only be used with application keys belonging to administrators.\n * @param param The request object\n */\n RolesApi.prototype.updateRole = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateRole(param.roleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateRole(responseContext);\n });\n });\n };\n return RolesApi;\n}());\nexports.RolesApi = RolesApi;\n//# sourceMappingURL=RolesApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringApi = exports.SecurityMonitoringApiResponseProcessor = exports.SecurityMonitoringApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar index_1 = require(\"../../../index\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar SecurityMonitoringApiRequestFactory = /** @class */ (function (_super) {\n __extends(SecurityMonitoringApiRequestFactory, _super);\n function SecurityMonitoringApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SecurityMonitoringApiRequestFactory.prototype.createSecurityFilter = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSecurityFilter.\");\n }\n localVarPath = \"/api/v2/security_monitoring/configuration/security_filters\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.createSecurityFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SecurityFilterCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.createSecurityMonitoringRule = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createSecurityMonitoringRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/rules\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.createSecurityMonitoringRule\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SecurityMonitoringRuleCreatePayload\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.deleteSecurityFilter = function (securityFilterId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'securityFilterId' is not null or undefined\n if (securityFilterId === null || securityFilterId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter securityFilterId was null or undefined when calling deleteSecurityFilter.\");\n }\n localVarPath = \"/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}\".replace(\"{\" + \"security_filter_id\" + \"}\", encodeURIComponent(String(securityFilterId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.deleteSecurityFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.deleteSecurityMonitoringRule = function (ruleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'ruleId' is not null or undefined\n if (ruleId === null || ruleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter ruleId was null or undefined when calling deleteSecurityMonitoringRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/rules/{rule_id}\".replace(\"{\" + \"rule_id\" + \"}\", encodeURIComponent(String(ruleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.deleteSecurityMonitoringRule\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.getSecurityFilter = function (securityFilterId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'securityFilterId' is not null or undefined\n if (securityFilterId === null || securityFilterId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter securityFilterId was null or undefined when calling getSecurityFilter.\");\n }\n localVarPath = \"/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}\".replace(\"{\" + \"security_filter_id\" + \"}\", encodeURIComponent(String(securityFilterId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.getSecurityFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.getSecurityMonitoringRule = function (ruleId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'ruleId' is not null or undefined\n if (ruleId === null || ruleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter ruleId was null or undefined when calling getSecurityMonitoringRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/rules/{rule_id}\".replace(\"{\" + \"rule_id\" + \"}\", encodeURIComponent(String(ruleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.getSecurityMonitoringRule\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.listSecurityFilters = function (_options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/security_monitoring/configuration/security_filters\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.listSecurityFilters\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.listSecurityMonitoringRules = function (pageSize, pageNumber, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/security_monitoring/rules\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.listSecurityMonitoringRules\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.listSecurityMonitoringSignals = function (filterQuery, filterFrom, filterTo, sort, pageCursor, pageLimit, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'listSecurityMonitoringSignals'\");\n if (!_config.unstableOperations[\"listSecurityMonitoringSignals\"]) {\n throw new Error(\"Unstable operation 'listSecurityMonitoringSignals' is disabled\");\n }\n localVarPath = \"/api/v2/security_monitoring/signals\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.listSecurityMonitoringSignals\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (filterQuery !== undefined) {\n requestContext.setQueryParam(\"filter[query]\", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, \"string\", \"\"));\n }\n if (filterFrom !== undefined) {\n requestContext.setQueryParam(\"filter[from]\", ObjectSerializer_1.ObjectSerializer.serialize(filterFrom, \"Date\", \"date-time\"));\n }\n if (filterTo !== undefined) {\n requestContext.setQueryParam(\"filter[to]\", ObjectSerializer_1.ObjectSerializer.serialize(filterTo, \"Date\", \"date-time\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"SecurityMonitoringSignalsSort\", \"\"));\n }\n if (pageCursor !== undefined) {\n requestContext.setQueryParam(\"page[cursor]\", ObjectSerializer_1.ObjectSerializer.serialize(pageCursor, \"string\", \"\"));\n }\n if (pageLimit !== undefined) {\n requestContext.setQueryParam(\"page[limit]\", ObjectSerializer_1.ObjectSerializer.serialize(pageLimit, \"number\", \"int32\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.searchSecurityMonitoringSignals = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n index_1.logger.warn(\"Using unstable operation 'searchSecurityMonitoringSignals'\");\n if (!_config.unstableOperations[\"searchSecurityMonitoringSignals\"]) {\n throw new Error(\"Unstable operation 'searchSecurityMonitoringSignals' is disabled\");\n }\n localVarPath = \"/api/v2/security_monitoring/signals/search\";\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.searchSecurityMonitoringSignals\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SecurityMonitoringSignalListRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.updateSecurityFilter = function (securityFilterId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'securityFilterId' is not null or undefined\n if (securityFilterId === null || securityFilterId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter securityFilterId was null or undefined when calling updateSecurityFilter.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateSecurityFilter.\");\n }\n localVarPath = \"/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}\".replace(\"{\" + \"security_filter_id\" + \"}\", encodeURIComponent(String(securityFilterId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.updateSecurityFilter\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SecurityFilterUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n SecurityMonitoringApiRequestFactory.prototype.updateSecurityMonitoringRule = function (ruleId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'ruleId' is not null or undefined\n if (ruleId === null || ruleId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter ruleId was null or undefined when calling updateSecurityMonitoringRule.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateSecurityMonitoringRule.\");\n }\n localVarPath = \"/api/v2/security_monitoring/rules/{rule_id}\".replace(\"{\" + \"rule_id\" + \"}\", encodeURIComponent(String(ruleId)));\n requestContext = (0, configuration_1.getServer)(_config, \"SecurityMonitoringApi.updateSecurityMonitoringRule\").makeRequestContext(localVarPath, http_1.HttpMethod.PUT);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"SecurityMonitoringRuleUpdatePayload\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return SecurityMonitoringApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.SecurityMonitoringApiRequestFactory = SecurityMonitoringApiRequestFactory;\nvar SecurityMonitoringApiResponseProcessor = /** @class */ (function () {\n function SecurityMonitoringApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSecurityFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.createSecurityFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body_6, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_4);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_5);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_6 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createSecurityMonitoringRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.createSecurityMonitoringRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_7, _a, _b, _c, _d, body_8, _e, _f, _g, _h, body_9, _j, _k, _l, _m, body_10, _o, _p, _q, _r, body_11, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_7 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_7];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_8 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_8);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_9 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_9);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_10 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_10);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_11 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_11];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteSecurityFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.deleteSecurityFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_12, _a, _b, _c, _d, body_13, _e, _f, _g, _h, body_14, _j, _k, _l, _m, body_15, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_12 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_12);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_13 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_13);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_14 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_14);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_15 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteSecurityMonitoringRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.deleteSecurityMonitoringRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_16, _a, _b, _c, _d, body_17, _e, _f, _g, _h, body_18, _j, _k, _l, _m, body_19, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_16 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_17 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_17);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_18 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_19 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSecurityFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.getSecurityFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getSecurityMonitoringRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.getSecurityMonitoringRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_27);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_28];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listSecurityFilters\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.listSecurityFilters = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_29, _a, _b, _c, _d, body_30, _e, _f, _g, _h, body_31, _j, _k, _l, _m, body_32, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_29 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SecurityFiltersResponse\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_30 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_30);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_31 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_31);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_32 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SecurityFiltersResponse\",\n \"\"]);\n return [2 /*return*/, body_32];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listSecurityMonitoringRules\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.listSecurityMonitoringRules = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_33, _a, _b, _c, _d, body_34, _e, _f, _g, _h, body_35, _j, _k, _l, _m, body_36, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_33 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"SecurityMonitoringListRulesResponse\",\n \"\"]);\n return [2 /*return*/, body_33];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_34 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_34);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_35 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_35);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_36 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"SecurityMonitoringListRulesResponse\",\n \"\"]);\n return [2 /*return*/, body_36];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listSecurityMonitoringSignals\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.listSecurityMonitoringSignals = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_37, _a, _b, _c, _d, body_38, _e, _f, _g, _h, body_39, _j, _k, _l, _m, body_40, _o, _p, _q, _r, body_41, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_37 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SecurityMonitoringSignalsListResponse\",\n \"\"]);\n return [2 /*return*/, body_37];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_38 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_38);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_39 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_39);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_40 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_40);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_41 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SecurityMonitoringSignalsListResponse\",\n \"\"]);\n return [2 /*return*/, body_41];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to searchSecurityMonitoringSignals\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.searchSecurityMonitoringSignals = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_42, _a, _b, _c, _d, body_43, _e, _f, _g, _h, body_44, _j, _k, _l, _m, body_45, _o, _p, _q, _r, body_46, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_42 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"SecurityMonitoringSignalsListResponse\",\n \"\"]);\n return [2 /*return*/, body_42];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_43 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_43);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_44 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_44);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_45 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_45);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_46 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"SecurityMonitoringSignalsListResponse\",\n \"\"]);\n return [2 /*return*/, body_46];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateSecurityFilter\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.updateSecurityFilter = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_47, _a, _b, _c, _d, body_48, _e, _f, _g, _h, body_49, _j, _k, _l, _m, body_50, _o, _p, _q, _r, body_51, _s, _t, _u, _v, body_52, _w, _x, _y, _z, body_53, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_47 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_47];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_48 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_48);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_49 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_49);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_50 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_50);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"409\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_51 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(409, body_51);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_52 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_52);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_53 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"SecurityFilterResponse\",\n \"\"]);\n return [2 /*return*/, body_53];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateSecurityMonitoringRule\n * @throws ApiException if the response code was not in [200, 299]\n */\n SecurityMonitoringApiResponseProcessor.prototype.updateSecurityMonitoringRule = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_54, _a, _b, _c, _d, body_55, _e, _f, _g, _h, body_56, _j, _k, _l, _m, body_57, _o, _p, _q, _r, body_58, _s, _t, _u, _v, body_59, _w, _x, _y, _z, body_60, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_54 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_54];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_55 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_55);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"401\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_56 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(401, body_56);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_57 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_57);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_58 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_58);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_59 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_59);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_60 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"SecurityMonitoringRuleResponse\",\n \"\"]);\n return [2 /*return*/, body_60];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return SecurityMonitoringApiResponseProcessor;\n}());\nexports.SecurityMonitoringApiResponseProcessor = SecurityMonitoringApiResponseProcessor;\nvar SecurityMonitoringApi = /** @class */ (function () {\n function SecurityMonitoringApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new SecurityMonitoringApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new SecurityMonitoringApiResponseProcessor();\n }\n /**\n * Create a security filter. See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.createSecurityFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSecurityFilter(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSecurityFilter(responseContext);\n });\n });\n };\n /**\n * Create a detection rule.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.createSecurityMonitoringRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createSecurityMonitoringRule(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createSecurityMonitoringRule(responseContext);\n });\n });\n };\n /**\n * Delete a specific security filter.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.deleteSecurityFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteSecurityFilter(param.securityFilterId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteSecurityFilter(responseContext);\n });\n });\n };\n /**\n * Delete an existing rule. Default rules cannot be deleted.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.deleteSecurityMonitoringRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteSecurityMonitoringRule(param.ruleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteSecurityMonitoringRule(responseContext);\n });\n });\n };\n /**\n * Get the details of a specific security filter. See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) for more examples.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.getSecurityFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSecurityFilter(param.securityFilterId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSecurityFilter(responseContext);\n });\n });\n };\n /**\n * Get a rule's details.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.getSecurityMonitoringRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getSecurityMonitoringRule(param.ruleId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getSecurityMonitoringRule(responseContext);\n });\n });\n };\n /**\n * Get the list of configured security filters with their definitions.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.listSecurityFilters = function (options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listSecurityFilters(options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listSecurityFilters(responseContext);\n });\n });\n };\n /**\n * List rules.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.listSecurityMonitoringRules = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listSecurityMonitoringRules(param.pageSize, param.pageNumber, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listSecurityMonitoringRules(responseContext);\n });\n });\n };\n /**\n * The list endpoint returns security signals that match a search query. Both this endpoint and the POST endpoint can be used interchangeably when listing security signals.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.listSecurityMonitoringSignals = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listSecurityMonitoringSignals(param.filterQuery, param.filterFrom, param.filterTo, param.sort, param.pageCursor, param.pageLimit, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listSecurityMonitoringSignals(responseContext);\n });\n });\n };\n /**\n * Returns security signals that match a search query. Both this endpoint and the GET endpoint can be used interchangeably for listing security signals.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.searchSecurityMonitoringSignals = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.searchSecurityMonitoringSignals(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.searchSecurityMonitoringSignals(responseContext);\n });\n });\n };\n /**\n * Update a specific security filter. Returns the security filter object when the request is successful.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.updateSecurityFilter = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateSecurityFilter(param.securityFilterId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateSecurityFilter(responseContext);\n });\n });\n };\n /**\n * Update an existing rule. When updating `cases`, `queries` or `options`, the whole field must be included. For example, when modifying a query all queries must be included. Default rules can only be updated to be enabled and to change notifications.\n * @param param The request object\n */\n SecurityMonitoringApi.prototype.updateSecurityMonitoringRule = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateSecurityMonitoringRule(param.ruleId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateSecurityMonitoringRule(responseContext);\n });\n });\n };\n return SecurityMonitoringApi;\n}());\nexports.SecurityMonitoringApi = SecurityMonitoringApi;\n//# sourceMappingURL=SecurityMonitoringApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceAccountsApi = exports.ServiceAccountsApiResponseProcessor = exports.ServiceAccountsApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar ServiceAccountsApiRequestFactory = /** @class */ (function (_super) {\n __extends(ServiceAccountsApiRequestFactory, _super);\n function ServiceAccountsApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ServiceAccountsApiRequestFactory.prototype.createServiceAccountApplicationKey = function (serviceAccountId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceAccountId' is not null or undefined\n if (serviceAccountId === null || serviceAccountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceAccountId was null or undefined when calling createServiceAccountApplicationKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createServiceAccountApplicationKey.\");\n }\n localVarPath = \"/api/v2/service_accounts/{service_account_id}/application_keys\".replace(\"{\" + \"service_account_id\" + \"}\", encodeURIComponent(String(serviceAccountId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceAccountsApi.createServiceAccountApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKeyCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceAccountsApiRequestFactory.prototype.deleteServiceAccountApplicationKey = function (serviceAccountId, appKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceAccountId' is not null or undefined\n if (serviceAccountId === null || serviceAccountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceAccountId was null or undefined when calling deleteServiceAccountApplicationKey.\");\n }\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling deleteServiceAccountApplicationKey.\");\n }\n localVarPath = \"/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}\"\n .replace(\"{\" + \"service_account_id\" + \"}\", encodeURIComponent(String(serviceAccountId)))\n .replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceAccountsApi.deleteServiceAccountApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceAccountsApiRequestFactory.prototype.getServiceAccountApplicationKey = function (serviceAccountId, appKeyId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceAccountId' is not null or undefined\n if (serviceAccountId === null || serviceAccountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceAccountId was null or undefined when calling getServiceAccountApplicationKey.\");\n }\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling getServiceAccountApplicationKey.\");\n }\n localVarPath = \"/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}\"\n .replace(\"{\" + \"service_account_id\" + \"}\", encodeURIComponent(String(serviceAccountId)))\n .replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceAccountsApi.getServiceAccountApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceAccountsApiRequestFactory.prototype.listServiceAccountApplicationKeys = function (serviceAccountId, pageSize, pageNumber, sort, filter, filterCreatedAtStart, filterCreatedAtEnd, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceAccountId' is not null or undefined\n if (serviceAccountId === null || serviceAccountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceAccountId was null or undefined when calling listServiceAccountApplicationKeys.\");\n }\n localVarPath = \"/api/v2/service_accounts/{service_account_id}/application_keys\".replace(\"{\" + \"service_account_id\" + \"}\", encodeURIComponent(String(serviceAccountId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceAccountsApi.listServiceAccountApplicationKeys\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"ApplicationKeysSort\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (filterCreatedAtStart !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][start]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtStart, \"string\", \"\"));\n }\n if (filterCreatedAtEnd !== undefined) {\n requestContext.setQueryParam(\"filter[created_at][end]\", ObjectSerializer_1.ObjectSerializer.serialize(filterCreatedAtEnd, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n ServiceAccountsApiRequestFactory.prototype.updateServiceAccountApplicationKey = function (serviceAccountId, appKeyId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'serviceAccountId' is not null or undefined\n if (serviceAccountId === null || serviceAccountId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter serviceAccountId was null or undefined when calling updateServiceAccountApplicationKey.\");\n }\n // verify required parameter 'appKeyId' is not null or undefined\n if (appKeyId === null || appKeyId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter appKeyId was null or undefined when calling updateServiceAccountApplicationKey.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateServiceAccountApplicationKey.\");\n }\n localVarPath = \"/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}\"\n .replace(\"{\" + \"service_account_id\" + \"}\", encodeURIComponent(String(serviceAccountId)))\n .replace(\"{\" + \"app_key_id\" + \"}\", encodeURIComponent(String(appKeyId)));\n requestContext = (0, configuration_1.getServer)(_config, \"ServiceAccountsApi.updateServiceAccountApplicationKey\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ApplicationKeyUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return ServiceAccountsApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.ServiceAccountsApiRequestFactory = ServiceAccountsApiRequestFactory;\nvar ServiceAccountsApiResponseProcessor = /** @class */ (function () {\n function ServiceAccountsApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createServiceAccountApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceAccountsApiResponseProcessor.prototype.createServiceAccountApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"ApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to deleteServiceAccountApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceAccountsApiResponseProcessor.prototype.deleteServiceAccountApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_6);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_8);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_9];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getServiceAccountApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceAccountsApiResponseProcessor.prototype.getServiceAccountApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_10, _a, _b, _c, _d, body_11, _e, _f, _g, _h, body_12, _j, _k, _l, _m, body_13, _o, _p, _q, _r, body_14, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_10 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PartialApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_11 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_12 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_13 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_14 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PartialApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listServiceAccountApplicationKeys\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceAccountsApiResponseProcessor.prototype.listServiceAccountApplicationKeys = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body_20, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_18);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_19);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_20 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"ListApplicationKeysResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateServiceAccountApplicationKey\n * @throws ApiException if the response code was not in [200, 299]\n */\n ServiceAccountsApiResponseProcessor.prototype.updateServiceAccountApplicationKey = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_21, _a, _b, _c, _d, body_22, _e, _f, _g, _h, body_23, _j, _k, _l, _m, body_24, _o, _p, _q, _r, body_25, _s, _t, _u, _v, body_26, _w, _x, _y, _z, body;\n return __generator(this, function (_0) {\n switch (_0.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_21 = _b.apply(_a, [_d.apply(_c, [_0.sent(), contentType]),\n \"PartialApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_21];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_22 = _f.apply(_e, [_h.apply(_g, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_22);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_23 = _k.apply(_j, [_m.apply(_l, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_23);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_24 = _p.apply(_o, [_r.apply(_q, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_24);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_25 = _t.apply(_s, [_v.apply(_u, [_0.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_25);\n case 10:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_26 = _x.apply(_w, [_z.apply(_y, [_0.sent(), contentType]),\n \"PartialApplicationKeyResponse\",\n \"\"]);\n return [2 /*return*/, body_26];\n case 12: return [4 /*yield*/, response.body.text()];\n case 13:\n body = (_0.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return ServiceAccountsApiResponseProcessor;\n}());\nexports.ServiceAccountsApiResponseProcessor = ServiceAccountsApiResponseProcessor;\nvar ServiceAccountsApi = /** @class */ (function () {\n function ServiceAccountsApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new ServiceAccountsApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new ServiceAccountsApiResponseProcessor();\n }\n /**\n * Create an application key for this service account.\n * @param param The request object\n */\n ServiceAccountsApi.prototype.createServiceAccountApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createServiceAccountApplicationKey(param.serviceAccountId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createServiceAccountApplicationKey(responseContext);\n });\n });\n };\n /**\n * Delete an application key owned by this service account.\n * @param param The request object\n */\n ServiceAccountsApi.prototype.deleteServiceAccountApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.deleteServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.deleteServiceAccountApplicationKey(responseContext);\n });\n });\n };\n /**\n * Get an application key owned by this service account.\n * @param param The request object\n */\n ServiceAccountsApi.prototype.getServiceAccountApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getServiceAccountApplicationKey(responseContext);\n });\n });\n };\n /**\n * List all application keys available for this service account.\n * @param param The request object\n */\n ServiceAccountsApi.prototype.listServiceAccountApplicationKeys = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listServiceAccountApplicationKeys(param.serviceAccountId, param.pageSize, param.pageNumber, param.sort, param.filter, param.filterCreatedAtStart, param.filterCreatedAtEnd, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listServiceAccountApplicationKeys(responseContext);\n });\n });\n };\n /**\n * Edit an application key owned by this service account.\n * @param param The request object\n */\n ServiceAccountsApi.prototype.updateServiceAccountApplicationKey = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateServiceAccountApplicationKey(param.serviceAccountId, param.appKeyId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateServiceAccountApplicationKey(responseContext);\n });\n });\n };\n return ServiceAccountsApi;\n}());\nexports.ServiceAccountsApi = ServiceAccountsApi;\n//# sourceMappingURL=ServiceAccountsApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsersApi = exports.UsersApiResponseProcessor = exports.UsersApiRequestFactory = void 0;\nvar baseapi_1 = require(\"./baseapi\");\nvar configuration_1 = require(\"../configuration\");\nvar http_1 = require(\"../http/http\");\nvar ObjectSerializer_1 = require(\"../models/ObjectSerializer\");\nvar exception_1 = require(\"./exception\");\nvar util_1 = require(\"../util\");\nvar UsersApiRequestFactory = /** @class */ (function (_super) {\n __extends(UsersApiRequestFactory, _super);\n function UsersApiRequestFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UsersApiRequestFactory.prototype.createServiceAccount = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createServiceAccount.\");\n }\n localVarPath = \"/api/v2/service_accounts\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.createServiceAccount\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"ServiceAccountCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.createUser = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling createUser.\");\n }\n localVarPath = \"/api/v2/users\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.createUser\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"UserCreateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.disableUser = function (userId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userId' is not null or undefined\n if (userId === null || userId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userId was null or undefined when calling disableUser.\");\n }\n localVarPath = \"/api/v2/users/{user_id}\".replace(\"{\" + \"user_id\" + \"}\", encodeURIComponent(String(userId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.disableUser\").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.getInvitation = function (userInvitationUuid, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userInvitationUuid' is not null or undefined\n if (userInvitationUuid === null || userInvitationUuid === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userInvitationUuid was null or undefined when calling getInvitation.\");\n }\n localVarPath = \"/api/v2/user_invitations/{user_invitation_uuid}\".replace(\"{\" + \"user_invitation_uuid\" + \"}\", encodeURIComponent(String(userInvitationUuid)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.getInvitation\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.getUser = function (userId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userId' is not null or undefined\n if (userId === null || userId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userId was null or undefined when calling getUser.\");\n }\n localVarPath = \"/api/v2/users/{user_id}\".replace(\"{\" + \"user_id\" + \"}\", encodeURIComponent(String(userId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.getUser\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.listUserOrganizations = function (userId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userId' is not null or undefined\n if (userId === null || userId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userId was null or undefined when calling listUserOrganizations.\");\n }\n localVarPath = \"/api/v2/users/{user_id}/orgs\".replace(\"{\" + \"user_id\" + \"}\", encodeURIComponent(String(userId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.listUserOrganizations\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.listUserPermissions = function (userId, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userId' is not null or undefined\n if (userId === null || userId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userId was null or undefined when calling listUserPermissions.\");\n }\n localVarPath = \"/api/v2/users/{user_id}/permissions\".replace(\"{\" + \"user_id\" + \"}\", encodeURIComponent(String(userId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.listUserPermissions\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.listUsers = function (pageSize, pageNumber, sort, sortDir, filter, filterStatus, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n localVarPath = \"/api/v2/users\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.listUsers\").makeRequestContext(localVarPath, http_1.HttpMethod.GET);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n // Query Params\n if (pageSize !== undefined) {\n requestContext.setQueryParam(\"page[size]\", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, \"number\", \"int64\"));\n }\n if (pageNumber !== undefined) {\n requestContext.setQueryParam(\"page[number]\", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, \"number\", \"int64\"));\n }\n if (sort !== undefined) {\n requestContext.setQueryParam(\"sort\", ObjectSerializer_1.ObjectSerializer.serialize(sort, \"string\", \"\"));\n }\n if (sortDir !== undefined) {\n requestContext.setQueryParam(\"sort_dir\", ObjectSerializer_1.ObjectSerializer.serialize(sortDir, \"QuerySortOrder\", \"\"));\n }\n if (filter !== undefined) {\n requestContext.setQueryParam(\"filter\", ObjectSerializer_1.ObjectSerializer.serialize(filter, \"string\", \"\"));\n }\n if (filterStatus !== undefined) {\n requestContext.setQueryParam(\"filter[status]\", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, \"string\", \"\"));\n }\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.sendInvitations = function (body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling sendInvitations.\");\n }\n localVarPath = \"/api/v2/user_invitations\";\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.sendInvitations\").makeRequestContext(localVarPath, http_1.HttpMethod.POST);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"UserInvitationsRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n UsersApiRequestFactory.prototype.updateUser = function (userId, body, _options) {\n return __awaiter(this, void 0, void 0, function () {\n var _config, localVarPath, requestContext, contentType, serializedBody;\n return __generator(this, function (_a) {\n _config = _options || this.configuration;\n // verify required parameter 'userId' is not null or undefined\n if (userId === null || userId === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter userId was null or undefined when calling updateUser.\");\n }\n // verify required parameter 'body' is not null or undefined\n if (body === null || body === undefined) {\n throw new baseapi_1.RequiredError(\"Required parameter body was null or undefined when calling updateUser.\");\n }\n localVarPath = \"/api/v2/users/{user_id}\".replace(\"{\" + \"user_id\" + \"}\", encodeURIComponent(String(userId)));\n requestContext = (0, configuration_1.getServer)(_config, \"UsersApi.updateUser\").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);\n requestContext.setHeaderParam(\"Accept\", \"application/json\");\n requestContext.setHttpConfig(_config.httpConfig);\n contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([\n \"application/json\",\n ]);\n requestContext.setHeaderParam(\"Content-Type\", contentType);\n serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, \"UserUpdateRequest\", \"\"), contentType);\n requestContext.setBody(serializedBody);\n // Apply auth methods\n (0, configuration_1.applySecurityAuthentication)(_config, requestContext, [\n \"AuthZ\",\n \"apiKeyAuth\",\n \"appKeyAuth\",\n ]);\n return [2 /*return*/, requestContext];\n });\n });\n };\n return UsersApiRequestFactory;\n}(baseapi_1.BaseAPIRequestFactory));\nexports.UsersApiRequestFactory = UsersApiRequestFactory;\nvar UsersApiResponseProcessor = /** @class */ (function () {\n function UsersApiResponseProcessor() {\n }\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createServiceAccount\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.createServiceAccount = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_1, _a, _b, _c, _d, body_2, _e, _f, _g, _h, body_3, _j, _k, _l, _m, body_4, _o, _p, _q, _r, body_5, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_1 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_1];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_2 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_2);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_3 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_3);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_4 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_4);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_5 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_5];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to createUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.createUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_6, _a, _b, _c, _d, body_7, _e, _f, _g, _h, body_8, _j, _k, _l, _m, body_9, _o, _p, _q, _r, body_10, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_6 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_6];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_7 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_7);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_8 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_8);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_9 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_9);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_10 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_10];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to disableUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.disableUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_11, _a, _b, _c, _d, body_12, _e, _f, _g, _h, body_13, _j, _k, _l, _m, body_14, _o, _p, _q, _r, body;\n return __generator(this, function (_s) {\n switch (_s.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if ((0, util_1.isCodeInRange)(\"204\", response.httpStatusCode)) {\n return [2 /*return*/];\n }\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_11 = _b.apply(_a, [_d.apply(_c, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_11);\n case 2:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_12 = _f.apply(_e, [_h.apply(_g, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_12);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_13 = _k.apply(_j, [_m.apply(_l, [_s.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_13);\n case 6:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_14 = _p.apply(_o, [_r.apply(_q, [_s.sent(), contentType]),\n \"void\",\n \"\"]);\n return [2 /*return*/, body_14];\n case 8: return [4 /*yield*/, response.body.text()];\n case 9:\n body = (_s.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getInvitation\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.getInvitation = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_15, _a, _b, _c, _d, body_16, _e, _f, _g, _h, body_17, _j, _k, _l, _m, body_18, _o, _p, _q, _r, body_19, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_15 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserInvitationResponse\",\n \"\"]);\n return [2 /*return*/, body_15];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_16 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_16);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_17 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_17);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_18 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_18);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_19 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserInvitationResponse\",\n \"\"]);\n return [2 /*return*/, body_19];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to getUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.getUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_20, _a, _b, _c, _d, body_21, _e, _f, _g, _h, body_22, _j, _k, _l, _m, body_23, _o, _p, _q, _r, body_24, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_20 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_20];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_21 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_21);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_22 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_22);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_23 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_23);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_24 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_24];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listUserOrganizations\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.listUserOrganizations = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_25, _a, _b, _c, _d, body_26, _e, _f, _g, _h, body_27, _j, _k, _l, _m, body_28, _o, _p, _q, _r, body_29, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_25 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_25];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_26 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_26);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_27 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_27);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_28 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_28);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_29 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_29];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listUserPermissions\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.listUserPermissions = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_30, _a, _b, _c, _d, body_31, _e, _f, _g, _h, body_32, _j, _k, _l, _m, body_33, _o, _p, _q, _r, body_34, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_30 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_30];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_31 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_31);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_32 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_32);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_33 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_33);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_34 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"PermissionsResponse\",\n \"\"]);\n return [2 /*return*/, body_34];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to listUsers\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.listUsers = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_35, _a, _b, _c, _d, body_36, _e, _f, _g, _h, body_37, _j, _k, _l, _m, body_38, _o, _p, _q, _r, body_39, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_35 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_35];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_36 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_36);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_37 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_37);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_38 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_38);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_39 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UsersResponse\",\n \"\"]);\n return [2 /*return*/, body_39];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to sendInvitations\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.sendInvitations = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_40, _a, _b, _c, _d, body_41, _e, _f, _g, _h, body_42, _j, _k, _l, _m, body_43, _o, _p, _q, _r, body_44, _s, _t, _u, _v, body;\n return __generator(this, function (_w) {\n switch (_w.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"201\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_40 = _b.apply(_a, [_d.apply(_c, [_w.sent(), contentType]),\n \"UserInvitationsResponse\",\n \"\"]);\n return [2 /*return*/, body_40];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_41 = _f.apply(_e, [_h.apply(_g, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_41);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_42 = _k.apply(_j, [_m.apply(_l, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_42);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_43 = _p.apply(_o, [_r.apply(_q, [_w.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_43);\n case 8:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_44 = _t.apply(_s, [_v.apply(_u, [_w.sent(), contentType]),\n \"UserInvitationsResponse\",\n \"\"]);\n return [2 /*return*/, body_44];\n case 10: return [4 /*yield*/, response.body.text()];\n case 11:\n body = (_w.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n /**\n * Unwraps the actual response sent by the server from the response context and deserializes the response content\n * to the expected objects\n *\n * @params response Response returned by the server for a request to updateUser\n * @throws ApiException if the response code was not in [200, 299]\n */\n UsersApiResponseProcessor.prototype.updateUser = function (response) {\n return __awaiter(this, void 0, void 0, function () {\n var contentType, body_45, _a, _b, _c, _d, body_46, _e, _f, _g, _h, body_47, _j, _k, _l, _m, body_48, _o, _p, _q, _r, body_49, _s, _t, _u, _v, body_50, _w, _x, _y, _z, body_51, _0, _1, _2, _3, body;\n return __generator(this, function (_4) {\n switch (_4.label) {\n case 0:\n contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers[\"content-type\"]);\n if (!(0, util_1.isCodeInRange)(\"200\", response.httpStatusCode)) return [3 /*break*/, 2];\n _b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;\n _d = (_c = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 1:\n body_45 = _b.apply(_a, [_d.apply(_c, [_4.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_45];\n case 2:\n if (!(0, util_1.isCodeInRange)(\"400\", response.httpStatusCode)) return [3 /*break*/, 4];\n _f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;\n _h = (_g = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 3:\n body_46 = _f.apply(_e, [_h.apply(_g, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(400, body_46);\n case 4:\n if (!(0, util_1.isCodeInRange)(\"403\", response.httpStatusCode)) return [3 /*break*/, 6];\n _k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;\n _m = (_l = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 5:\n body_47 = _k.apply(_j, [_m.apply(_l, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(403, body_47);\n case 6:\n if (!(0, util_1.isCodeInRange)(\"404\", response.httpStatusCode)) return [3 /*break*/, 8];\n _p = (_o = ObjectSerializer_1.ObjectSerializer).deserialize;\n _r = (_q = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 7:\n body_48 = _p.apply(_o, [_r.apply(_q, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(404, body_48);\n case 8:\n if (!(0, util_1.isCodeInRange)(\"422\", response.httpStatusCode)) return [3 /*break*/, 10];\n _t = (_s = ObjectSerializer_1.ObjectSerializer).deserialize;\n _v = (_u = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 9:\n body_49 = _t.apply(_s, [_v.apply(_u, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(422, body_49);\n case 10:\n if (!(0, util_1.isCodeInRange)(\"429\", response.httpStatusCode)) return [3 /*break*/, 12];\n _x = (_w = ObjectSerializer_1.ObjectSerializer).deserialize;\n _z = (_y = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 11:\n body_50 = _x.apply(_w, [_z.apply(_y, [_4.sent(), contentType]),\n \"APIErrorResponse\",\n \"\"]);\n throw new exception_1.ApiException(429, body_50);\n case 12:\n if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 14];\n _1 = (_0 = ObjectSerializer_1.ObjectSerializer).deserialize;\n _3 = (_2 = ObjectSerializer_1.ObjectSerializer).parse;\n return [4 /*yield*/, response.body.text()];\n case 13:\n body_51 = _1.apply(_0, [_3.apply(_2, [_4.sent(), contentType]),\n \"UserResponse\",\n \"\"]);\n return [2 /*return*/, body_51];\n case 14: return [4 /*yield*/, response.body.text()];\n case 15:\n body = (_4.sent()) || \"\";\n throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\\nBody: \"' + body + '\"');\n }\n });\n });\n };\n return UsersApiResponseProcessor;\n}());\nexports.UsersApiResponseProcessor = UsersApiResponseProcessor;\nvar UsersApi = /** @class */ (function () {\n function UsersApi(configuration, requestFactory, responseProcessor) {\n this.configuration = configuration;\n this.requestFactory =\n requestFactory || new UsersApiRequestFactory(configuration);\n this.responseProcessor =\n responseProcessor || new UsersApiResponseProcessor();\n }\n /**\n * Create a service account for your organization.\n * @param param The request object\n */\n UsersApi.prototype.createServiceAccount = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createServiceAccount(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createServiceAccount(responseContext);\n });\n });\n };\n /**\n * Create a user for your organization.\n * @param param The request object\n */\n UsersApi.prototype.createUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.createUser(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.createUser(responseContext);\n });\n });\n };\n /**\n * Disable a user. Can only be used with an application key belonging to an administrator user.\n * @param param The request object\n */\n UsersApi.prototype.disableUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.disableUser(param.userId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.disableUser(responseContext);\n });\n });\n };\n /**\n * Returns a single user invitation by its UUID.\n * @param param The request object\n */\n UsersApi.prototype.getInvitation = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getInvitation(param.userInvitationUuid, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getInvitation(responseContext);\n });\n });\n };\n /**\n * Get a user in the organization specified by the user’s `user_id`.\n * @param param The request object\n */\n UsersApi.prototype.getUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.getUser(param.userId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.getUser(responseContext);\n });\n });\n };\n /**\n * Get a user organization. Returns the user information and all organizations joined by this user.\n * @param param The request object\n */\n UsersApi.prototype.listUserOrganizations = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listUserOrganizations(param.userId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listUserOrganizations(responseContext);\n });\n });\n };\n /**\n * Get a user permission set. Returns a list of the user’s permissions granted by the associated user's roles.\n * @param param The request object\n */\n UsersApi.prototype.listUserPermissions = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.listUserPermissions(param.userId, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listUserPermissions(responseContext);\n });\n });\n };\n /**\n * Get the list of all users in the organization. This list includes all users even if they are deactivated or unverified.\n * @param param The request object\n */\n UsersApi.prototype.listUsers = function (param, options) {\n var _this = this;\n if (param === void 0) { param = {}; }\n var requestContextPromise = this.requestFactory.listUsers(param.pageSize, param.pageNumber, param.sort, param.sortDir, param.filter, param.filterStatus, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.listUsers(responseContext);\n });\n });\n };\n /**\n * Sends emails to one or more users inviting them to join the organization.\n * @param param The request object\n */\n UsersApi.prototype.sendInvitations = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.sendInvitations(param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.sendInvitations(responseContext);\n });\n });\n };\n /**\n * Edit a user. Can only be used with an application key belonging to an administrator user.\n * @param param The request object\n */\n UsersApi.prototype.updateUser = function (param, options) {\n var _this = this;\n var requestContextPromise = this.requestFactory.updateUser(param.userId, param.body, options);\n return requestContextPromise.then(function (requestContext) {\n return _this.configuration.httpApi\n .send(requestContext)\n .then(function (responseContext) {\n return _this.responseProcessor.updateUser(responseContext);\n });\n });\n };\n return UsersApi;\n}());\nexports.UsersApi = UsersApi;\n//# sourceMappingURL=UsersApi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RequiredError = exports.BaseAPIRequestFactory = exports.COLLECTION_FORMATS = void 0;\n/**\n *\n * @export\n */\nexports.COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n/**\n *\n * @export\n * @class BaseAPI\n */\nvar BaseAPIRequestFactory = /** @class */ (function () {\n function BaseAPIRequestFactory(configuration) {\n this.configuration = configuration;\n }\n return BaseAPIRequestFactory;\n}());\nexports.BaseAPIRequestFactory = BaseAPIRequestFactory;\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nvar RequiredError = /** @class */ (function (_super) {\n __extends(RequiredError, _super);\n function RequiredError(field, msg) {\n var _this = _super.call(this, msg) || this;\n _this.field = field;\n _this.name = \"RequiredError\";\n return _this;\n }\n return RequiredError;\n}(Error));\nexports.RequiredError = RequiredError;\n//# sourceMappingURL=baseapi.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApiException = void 0;\n/**\n * Represents an error caused by an api call i.e. it has attributes for a HTTP status code\n * and the returned body object.\n *\n * Example\n * API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299]\n * => ApiException(404, someErrorMessageObject)\n *\n */\nvar ApiException = /** @class */ (function (_super) {\n __extends(ApiException, _super);\n function ApiException(code, body) {\n var _this = _super.call(this, \"HTTP-Code: \" + code + \"\\nMessage: \" + JSON.stringify(body)) || this;\n _this.code = code;\n _this.body = body;\n return _this;\n }\n return ApiException;\n}(Error));\nexports.ApiException = ApiException;\n//# sourceMappingURL=exception.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.configureAuthMethods = exports.AppKeyAuthAuthentication = exports.ApiKeyAuthAuthentication = exports.AuthZAuthentication = void 0;\n/**\n * Applies oauth2 authentication to the request context.\n */\nvar AuthZAuthentication = /** @class */ (function () {\n /**\n * Configures OAuth2 with the necessary properties\n *\n * @param accessToken: The access token to be used for every request\n */\n function AuthZAuthentication(accessToken) {\n this.accessToken = accessToken;\n }\n AuthZAuthentication.prototype.getName = function () {\n return \"AuthZ\";\n };\n AuthZAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"Authorization\", \"Bearer \" + this.accessToken);\n };\n return AuthZAuthentication;\n}());\nexports.AuthZAuthentication = AuthZAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar ApiKeyAuthAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function ApiKeyAuthAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n ApiKeyAuthAuthentication.prototype.getName = function () {\n return \"apiKeyAuth\";\n };\n ApiKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"DD-API-KEY\", this.apiKey);\n };\n return ApiKeyAuthAuthentication;\n}());\nexports.ApiKeyAuthAuthentication = ApiKeyAuthAuthentication;\n/**\n * Applies apiKey authentication to the request context.\n */\nvar AppKeyAuthAuthentication = /** @class */ (function () {\n /**\n * Configures this api key authentication with the necessary properties\n *\n * @param apiKey: The api key to be used for every request\n */\n function AppKeyAuthAuthentication(apiKey) {\n this.apiKey = apiKey;\n }\n AppKeyAuthAuthentication.prototype.getName = function () {\n return \"appKeyAuth\";\n };\n AppKeyAuthAuthentication.prototype.applySecurityAuthentication = function (context) {\n context.setHeaderParam(\"DD-APPLICATION-KEY\", this.apiKey);\n };\n return AppKeyAuthAuthentication;\n}());\nexports.AppKeyAuthAuthentication = AppKeyAuthAuthentication;\n/**\n * Creates the authentication methods from a swagger description.\n *\n */\nfunction configureAuthMethods(config) {\n var authMethods = {};\n if (!config) {\n return authMethods;\n }\n if (config[\"AuthZ\"]) {\n authMethods[\"AuthZ\"] = new AuthZAuthentication(config[\"AuthZ\"][\"accessToken\"]);\n }\n if (config[\"apiKeyAuth\"]) {\n authMethods[\"apiKeyAuth\"] = new ApiKeyAuthAuthentication(config[\"apiKeyAuth\"]);\n }\n if (config[\"appKeyAuth\"]) {\n authMethods[\"appKeyAuth\"] = new AppKeyAuthAuthentication(config[\"appKeyAuth\"]);\n }\n return authMethods;\n}\nexports.configureAuthMethods = configureAuthMethods;\n//# sourceMappingURL=auth.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.applySecurityAuthentication = exports.setServerVariables = exports.getServer = exports.createConfiguration = void 0;\nvar isomorphic_fetch_1 = require(\"./http/isomorphic-fetch\");\nvar servers_1 = require(\"./servers\");\nvar auth_1 = require(\"./auth/auth\");\n/**\n * Configuration factory function\n *\n * If a property is not included in conf, a default is used:\n * - baseServer: null\n * - serverIndex: 0\n * - operationServerIndices: {}\n * - httpApi: IsomorphicFetchHttpLibrary\n * - authMethods: {}\n * - httpConfig: {}\n * - debug: false\n *\n * @param conf partial configuration\n */\nfunction createConfiguration(conf) {\n if (conf === void 0) { conf = {}; }\n if (process !== undefined && process.env.DD_SITE) {\n var serverConf = servers_1.server1.getConfiguration();\n servers_1.server1.setVariables({ site: process.env.DD_SITE });\n for (var op in servers_1.operationServers) {\n servers_1.operationServers[op][0].setVariables({ site: process.env.DD_SITE });\n }\n }\n var authMethods = conf.authMethods || {};\n if (!(\"apiKeyAuth\" in authMethods) &&\n process !== undefined &&\n process.env.DD_API_KEY) {\n authMethods[\"apiKeyAuth\"] = process.env.DD_API_KEY;\n }\n if (!(\"appKeyAuth\" in authMethods) &&\n process !== undefined &&\n process.env.DD_APP_KEY) {\n authMethods[\"appKeyAuth\"] = process.env.DD_APP_KEY;\n }\n var configuration = {\n baseServer: conf.baseServer,\n serverIndex: conf.serverIndex || 0,\n operationServerIndices: conf.operationServerIndices || {},\n unstableOperations: {\n createIncidentService: false,\n deleteIncidentService: false,\n getIncidentService: false,\n listIncidentServices: false,\n updateIncidentService: false,\n createIncidentTeam: false,\n deleteIncidentTeam: false,\n getIncidentTeam: false,\n listIncidentTeams: false,\n updateIncidentTeam: false,\n createIncident: false,\n deleteIncident: false,\n getIncident: false,\n listIncidents: false,\n updateIncident: false,\n createTagConfiguration: false,\n deleteTagConfiguration: false,\n listTagConfigurationByName: false,\n listTagConfigurations: false,\n updateTagConfiguration: false,\n listSecurityMonitoringSignals: false,\n searchSecurityMonitoringSignals: false,\n },\n httpApi: conf.httpApi || new isomorphic_fetch_1.IsomorphicFetchHttpLibrary(),\n authMethods: (0, auth_1.configureAuthMethods)(authMethods),\n httpConfig: conf.httpConfig || {},\n debug: conf.debug,\n };\n configuration.httpApi.debug = configuration.debug;\n return configuration;\n}\nexports.createConfiguration = createConfiguration;\nfunction getServer(conf, endpoint) {\n if (conf.baseServer !== undefined) {\n return conf.baseServer;\n }\n var index = endpoint in conf.operationServerIndices\n ? conf.operationServerIndices[endpoint]\n : conf.serverIndex;\n return endpoint in servers_1.operationServers\n ? servers_1.operationServers[endpoint][index]\n : servers_1.servers[index];\n}\nexports.getServer = getServer;\n/**\n * Sets the server variables.\n *\n * @param serverVariables key/value object representing the server variables (site, name, protocol, ...)\n */\nfunction setServerVariables(conf, serverVariables) {\n if (conf.baseServer !== undefined) {\n conf.baseServer.setVariables(serverVariables);\n return;\n }\n var index = conf.serverIndex;\n servers_1.servers[index].setVariables(serverVariables);\n for (var op in servers_1.operationServers) {\n servers_1.operationServers[op][0].setVariables(serverVariables);\n }\n}\nexports.setServerVariables = setServerVariables;\n/**\n * Apply given security authentication method if avaiable in configuration.\n */\nfunction applySecurityAuthentication(conf, requestContext, authMethods) {\n for (var _i = 0, authMethods_1 = authMethods; _i < authMethods_1.length; _i++) {\n var authMethodName = authMethods_1[_i];\n var authMethod = conf.authMethods[authMethodName];\n if (authMethod) {\n authMethod.applySecurityAuthentication(requestContext);\n }\n }\n}\nexports.applySecurityAuthentication = applySecurityAuthentication;\n//# sourceMappingURL=configuration.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\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 __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\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 __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0;\nvar userAgent_1 = require(\"../../../userAgent\");\nvar url_parse_1 = __importDefault(require(\"url-parse\"));\n__exportStar(require(\"./isomorphic-fetch\"), exports);\n/**\n * Represents an HTTP method.\n */\nvar HttpMethod;\n(function (HttpMethod) {\n HttpMethod[\"GET\"] = \"GET\";\n HttpMethod[\"HEAD\"] = \"HEAD\";\n HttpMethod[\"POST\"] = \"POST\";\n HttpMethod[\"PUT\"] = \"PUT\";\n HttpMethod[\"DELETE\"] = \"DELETE\";\n HttpMethod[\"CONNECT\"] = \"CONNECT\";\n HttpMethod[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethod[\"TRACE\"] = \"TRACE\";\n HttpMethod[\"PATCH\"] = \"PATCH\";\n})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));\nvar HttpException = /** @class */ (function (_super) {\n __extends(HttpException, _super);\n function HttpException(msg) {\n return _super.call(this, msg) || this;\n }\n return HttpException;\n}(Error));\nexports.HttpException = HttpException;\n/**\n * Represents an HTTP request context\n */\nvar RequestContext = /** @class */ (function () {\n /**\n * Creates the request context using a http method and request resource url\n *\n * @param url url of the requested resource\n * @param httpMethod http method\n */\n function RequestContext(url, httpMethod) {\n this.httpMethod = httpMethod;\n this.headers = { \"user-agent\": userAgent_1.userAgent };\n this.body = undefined;\n this.httpConfig = {};\n this.url = new url_parse_1.default(url, true);\n }\n /*\n * Returns the url set in the constructor including the query string\n *\n */\n RequestContext.prototype.getUrl = function () {\n return this.url.toString();\n };\n /**\n * Replaces the url set in the constructor with this url.\n *\n */\n RequestContext.prototype.setUrl = function (url) {\n this.url = new url_parse_1.default(url, true);\n };\n /**\n * Sets the body of the http request either as a string or FormData\n *\n * Note that setting a body on a HTTP GET, HEAD, DELETE, CONNECT or TRACE\n * request is discouraged.\n * https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#rfc.section.7.3.1\n *\n * @param body the body of the request\n */\n RequestContext.prototype.setBody = function (body) {\n this.body = body;\n };\n RequestContext.prototype.getHttpMethod = function () {\n return this.httpMethod;\n };\n RequestContext.prototype.getHeaders = function () {\n return this.headers;\n };\n RequestContext.prototype.getBody = function () {\n return this.body;\n };\n RequestContext.prototype.setQueryParam = function (name, value) {\n var queryObj = this.url.query;\n queryObj[name] = value;\n this.url.set(\"query\", queryObj);\n };\n /**\n * Sets a cookie with the name and value. NO check for duplicate cookies is performed\n *\n */\n RequestContext.prototype.addCookie = function (name, value) {\n if (!this.headers[\"Cookie\"]) {\n this.headers[\"Cookie\"] = \"\";\n }\n this.headers[\"Cookie\"] += name + \"=\" + value + \"; \";\n };\n RequestContext.prototype.setHeaderParam = function (key, value) {\n this.headers[key] = value;\n };\n RequestContext.prototype.setHttpConfig = function (conf) {\n this.httpConfig = conf;\n };\n RequestContext.prototype.getHttpConfig = function () {\n return this.httpConfig;\n };\n return RequestContext;\n}());\nexports.RequestContext = RequestContext;\n/**\n * Helper class to generate a `ResponseBody` from binary data\n */\nvar SelfDecodingBody = /** @class */ (function () {\n function SelfDecodingBody(dataSource) {\n this.dataSource = dataSource;\n }\n SelfDecodingBody.prototype.binary = function () {\n return this.dataSource;\n };\n SelfDecodingBody.prototype.text = function () {\n return __awaiter(this, void 0, void 0, function () {\n var data;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.dataSource];\n case 1:\n data = _a.sent();\n return [2 /*return*/, data.toString()];\n }\n });\n });\n };\n return SelfDecodingBody;\n}());\nexports.SelfDecodingBody = SelfDecodingBody;\nvar ResponseContext = /** @class */ (function () {\n function ResponseContext(httpStatusCode, headers, body) {\n this.httpStatusCode = httpStatusCode;\n this.headers = headers;\n this.body = body;\n }\n /**\n * Parse header value in the form `value; param1=\"value1\"`\n *\n * E.g. for Content-Type or Content-Disposition\n * Parameter names are converted to lower case\n * The first parameter is returned with the key `\"\"`\n */\n ResponseContext.prototype.getParsedHeader = function (headerName) {\n var result = {};\n if (!this.headers[headerName]) {\n return result;\n }\n var parameters = this.headers[headerName].split(\";\");\n for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) {\n var parameter = parameters_1[_i];\n var _a = parameter.split(\"=\", 2), key = _a[0], value = _a[1];\n key = key.toLowerCase().trim();\n if (value === undefined) {\n result[\"\"] = key;\n }\n else {\n value = value.trim();\n if (value.startsWith('\"') && value.endsWith('\"')) {\n value = value.substring(1, value.length - 1);\n }\n result[key] = value;\n }\n }\n return result;\n };\n ResponseContext.prototype.getBodyAsFile = function () {\n return __awaiter(this, void 0, void 0, function () {\n var data, fileName;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.body.binary()];\n case 1:\n data = _a.sent();\n fileName = this.getParsedHeader(\"content-disposition\")[\"filename\"] || \"\";\n return [2 /*return*/, { data: data, name: fileName }];\n }\n });\n });\n };\n return ResponseContext;\n}());\nexports.ResponseContext = ResponseContext;\n//# sourceMappingURL=http.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 });\nexports.IsomorphicFetchHttpLibrary = void 0;\nvar http_1 = require(\"./http\");\nvar cross_fetch_1 = __importDefault(require(\"cross-fetch\"));\nvar pako_1 = __importDefault(require(\"pako\"));\nvar buffer_from_1 = __importDefault(require(\"buffer-from\"));\nvar IsomorphicFetchHttpLibrary = /** @class */ (function () {\n function IsomorphicFetchHttpLibrary() {\n this.debug = false;\n }\n IsomorphicFetchHttpLibrary.prototype.send = function (request) {\n var _this = this;\n if (this.debug) {\n this.logRequest(request);\n }\n var method = request.getHttpMethod().toString();\n var body = request.getBody();\n var compress = request.getHttpConfig().compress;\n if (compress === undefined) {\n compress = true;\n }\n var headers = request.getHeaders();\n if (typeof body === \"string\") {\n if (headers[\"Content-Encoding\"] == \"gzip\") {\n body = (0, buffer_from_1.default)(pako_1.default.gzip(body).buffer);\n }\n else if (headers[\"Content-Encoding\"] == \"deflate\") {\n body = (0, buffer_from_1.default)(pako_1.default.deflate(body).buffer);\n }\n }\n if (!headers[\"Accept-Encoding\"]) {\n if (compress) {\n headers[\"Accept-Encoding\"] = \"gzip,deflate\";\n }\n else {\n // We need to enforce it otherwise node-fetch will set a default\n headers[\"Accept-Encoding\"] = \"identity\";\n }\n }\n var resultPromise = (0, cross_fetch_1.default)(request.getUrl(), {\n method: method,\n body: body,\n headers: headers,\n signal: request.getHttpConfig().signal,\n }).then(function (resp) {\n var headers = {};\n resp.headers.forEach(function (value, name) {\n headers[name] = value;\n });\n var body = {\n text: function () { return resp.text(); },\n binary: function () { return resp.buffer(); },\n };\n var response = new http_1.ResponseContext(resp.status, headers, body);\n if (_this.debug) {\n _this.logResponse(response);\n }\n return response;\n });\n return resultPromise;\n };\n IsomorphicFetchHttpLibrary.prototype.logRequest = function (request) {\n var headers = request.getHeaders();\n if (headers[\"DD-API-KEY\"]) {\n headers[\"DD-API-KEY\"] = headers[\"DD-API-KEY\"].replace(/./g, \"x\");\n }\n if (headers[\"DD-APPLICATION-KEY\"]) {\n headers[\"DD-APPLICATION-KEY\"] = headers[\"DD-APPLICATION-KEY\"].replace(/./g, \"x\");\n }\n var headersJSON = JSON.stringify(headers, null, 2).replace(/\\n/g, \"\\n\\t\");\n var method = request.getHttpMethod().toString();\n var url = request.getUrl().toString();\n var body = request.getBody()\n ? JSON.stringify(request.getBody(), null, 2).replace(/\\n/g, \"\\n\\t\")\n : \"\";\n var compress = request.getHttpConfig().compress || true;\n console.debug(\"\\nrequest: {\\n\", \"\\turl: \".concat(url, \"\\n\"), \"\\tmethod: \".concat(method, \"\\n\"), \"\\theaders: \".concat(headersJSON, \"\\n\"), \"\\tcompress: \".concat(compress, \"\\n\"), \"\\tbody: \".concat(body, \"\\n}\\n\"));\n };\n IsomorphicFetchHttpLibrary.prototype.logResponse = function (response) {\n var httpStatusCode = response.httpStatusCode;\n var headers = JSON.stringify(response.headers, null, 2).replace(/\\n/g, \"\\n\\t\");\n var body = response.body\n ? JSON.stringify(response.body, null, 2).replace(/\\n/g, \"\\n\\t\")\n : \"\";\n console.debug(\"response: {\\n\", \"\\tstatus: \".concat(httpStatusCode, \"\\n\"), \"\\theaders: \".concat(headers, \"\\n\"), \"\\tbody: \".concat(body, \"\\n}\\n\"));\n };\n return IsomorphicFetchHttpLibrary;\n}());\nexports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary;\n//# sourceMappingURL=isomorphic-fetch.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 __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleAttributes = exports.AuthNMappingsResponse = exports.AuthNMappingUpdateRequest = exports.AuthNMappingUpdateRelationships = exports.AuthNMappingUpdateData = exports.AuthNMappingUpdateAttributes = exports.AuthNMappingResponse = exports.AuthNMappingRelationships = exports.AuthNMappingCreateRequest = exports.AuthNMappingCreateRelationships = exports.AuthNMappingCreateData = exports.AuthNMappingCreateAttributes = exports.AuthNMappingAttributes = exports.AuthNMapping = exports.ApplicationKeyUpdateRequest = exports.ApplicationKeyUpdateData = exports.ApplicationKeyUpdateAttributes = exports.ApplicationKeyResponse = exports.ApplicationKeyRelationships = exports.ApplicationKeyCreateRequest = exports.ApplicationKeyCreateData = exports.ApplicationKeyCreateAttributes = exports.APIKeysResponse = exports.APIKeyUpdateRequest = exports.APIKeyUpdateData = exports.APIKeyUpdateAttributes = exports.APIKeyResponse = exports.APIKeyRelationships = exports.APIKeyCreateRequest = exports.APIKeyCreateData = exports.APIKeyCreateAttributes = exports.APIErrorResponse = exports.UsersApi = exports.ServiceAccountsApi = exports.SecurityMonitoringApi = exports.RolesApi = exports.ProcessesApi = exports.MetricsApi = exports.LogsMetricsApi = exports.LogsArchivesApi = exports.LogsApi = exports.KeyManagementApi = exports.IncidentsApi = exports.IncidentTeamsApi = exports.IncidentServicesApi = exports.DashboardListsApi = exports.CloudWorkloadSecurityApi = exports.AuthNMappingsApi = exports.setServerVariables = exports.createConfiguration = void 0;\nexports.IncidentServiceUpdateAttributes = exports.IncidentServiceResponseData = exports.IncidentServiceResponseAttributes = exports.IncidentServiceResponse = exports.IncidentServiceRelationships = exports.IncidentServiceCreateRequest = exports.IncidentServiceCreateData = exports.IncidentServiceCreateAttributes = exports.IncidentResponseRelationships = exports.IncidentResponseMetaPagination = exports.IncidentResponseMeta = exports.IncidentResponseData = exports.IncidentResponseAttributes = exports.IncidentResponse = exports.IncidentNotificationHandle = exports.IncidentFieldAttributesSingleValue = exports.IncidentFieldAttributesMultipleValue = exports.IncidentCreateRequest = exports.IncidentCreateRelationships = exports.IncidentCreateData = exports.IncidentCreateAttributes = exports.HTTPLogItem = exports.HTTPLogErrors = exports.HTTPLogError = exports.FullApplicationKeyAttributes = exports.FullApplicationKey = exports.FullAPIKeyAttributes = exports.FullAPIKey = exports.DashboardListUpdateItemsResponse = exports.DashboardListUpdateItemsRequest = exports.DashboardListItems = exports.DashboardListItemResponse = exports.DashboardListItemRequest = exports.DashboardListItem = exports.DashboardListDeleteItemsResponse = exports.DashboardListDeleteItemsRequest = exports.DashboardListAddItemsResponse = exports.DashboardListAddItemsRequest = exports.Creator = exports.CloudWorkloadSecurityAgentRulesListResponse = exports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = exports.CloudWorkloadSecurityAgentRuleUpdateRequest = exports.CloudWorkloadSecurityAgentRuleUpdateData = exports.CloudWorkloadSecurityAgentRuleUpdateAttributes = exports.CloudWorkloadSecurityAgentRuleResponse = exports.CloudWorkloadSecurityAgentRuleData = exports.CloudWorkloadSecurityAgentRuleCreatorAttributes = exports.CloudWorkloadSecurityAgentRuleCreateRequest = exports.CloudWorkloadSecurityAgentRuleCreateData = exports.CloudWorkloadSecurityAgentRuleCreateAttributes = void 0;\nexports.LogsGroupByHistogram = exports.LogsGroupBy = exports.LogsCompute = exports.LogsArchives = exports.LogsArchiveOrderDefinition = exports.LogsArchiveOrderAttributes = exports.LogsArchiveOrder = exports.LogsArchiveIntegrationS3 = exports.LogsArchiveIntegrationGCS = exports.LogsArchiveIntegrationAzure = exports.LogsArchiveDestinationS3 = exports.LogsArchiveDestinationGCS = exports.LogsArchiveDestinationAzure = exports.LogsArchiveDefinition = exports.LogsArchiveCreateRequestDefinition = exports.LogsArchiveCreateRequestAttributes = exports.LogsArchiveCreateRequest = exports.LogsArchiveAttributes = exports.LogsArchive = exports.LogsAggregateSort = exports.LogsAggregateResponseData = exports.LogsAggregateResponse = exports.LogsAggregateRequestPage = exports.LogsAggregateRequest = exports.LogsAggregateBucketValueTimeseriesPoint = exports.LogsAggregateBucket = exports.LogAttributes = exports.Log = exports.ListApplicationKeysResponse = exports.IncidentsResponse = exports.IncidentUpdateRequest = exports.IncidentUpdateRelationships = exports.IncidentUpdateData = exports.IncidentUpdateAttributes = exports.IncidentTimelineCellMarkdownCreateAttributesContent = exports.IncidentTimelineCellMarkdownCreateAttributes = exports.IncidentTeamsResponse = exports.IncidentTeamUpdateRequest = exports.IncidentTeamUpdateData = exports.IncidentTeamUpdateAttributes = exports.IncidentTeamResponseData = exports.IncidentTeamResponseAttributes = exports.IncidentTeamResponse = exports.IncidentTeamRelationships = exports.IncidentTeamCreateRequest = exports.IncidentTeamCreateData = exports.IncidentTeamCreateAttributes = exports.IncidentServicesResponse = exports.IncidentServiceUpdateRequest = exports.IncidentServiceUpdateData = void 0;\nexports.MetricTagConfigurationUpdateAttributes = exports.MetricTagConfigurationResponse = exports.MetricTagConfigurationCreateRequest = exports.MetricTagConfigurationCreateData = exports.MetricTagConfigurationCreateAttributes = exports.MetricTagConfigurationAttributes = exports.MetricTagConfiguration = exports.MetricIngestedIndexedVolumeAttributes = exports.MetricIngestedIndexedVolume = exports.MetricDistinctVolumeAttributes = exports.MetricDistinctVolume = exports.MetricCustomAggregation = exports.MetricBulkTagConfigStatusAttributes = exports.MetricBulkTagConfigStatus = exports.MetricBulkTagConfigResponse = exports.MetricBulkTagConfigDeleteRequest = exports.MetricBulkTagConfigDeleteAttributes = exports.MetricBulkTagConfigDelete = exports.MetricBulkTagConfigCreateRequest = exports.MetricBulkTagConfigCreateAttributes = exports.MetricBulkTagConfigCreate = exports.MetricAllTagsResponse = exports.MetricAllTagsAttributes = exports.MetricAllTags = exports.Metric = exports.LogsWarning = exports.LogsResponseMetadataPage = exports.LogsResponseMetadata = exports.LogsQueryOptions = exports.LogsQueryFilter = exports.LogsMetricsResponse = exports.LogsMetricUpdateRequest = exports.LogsMetricUpdateData = exports.LogsMetricUpdateAttributes = exports.LogsMetricResponseGroupBy = exports.LogsMetricResponseFilter = exports.LogsMetricResponseData = exports.LogsMetricResponseCompute = exports.LogsMetricResponseAttributes = exports.LogsMetricResponse = exports.LogsMetricGroupBy = exports.LogsMetricFilter = exports.LogsMetricCreateRequest = exports.LogsMetricCreateData = exports.LogsMetricCreateAttributes = exports.LogsMetricCompute = exports.LogsListResponseLinks = exports.LogsListResponse = exports.LogsListRequestPage = exports.LogsListRequest = void 0;\nexports.RoleCreateResponse = exports.RoleCreateRequest = exports.RoleCreateData = exports.RoleCreateAttributes = exports.RoleCloneRequest = exports.RoleCloneAttributes = exports.RoleClone = exports.RoleAttributes = exports.Role = exports.ResponseMetaAttributes = exports.RelationshipToUsers = exports.RelationshipToUserData = exports.RelationshipToUser = exports.RelationshipToSAMLAssertionAttributeData = exports.RelationshipToSAMLAssertionAttribute = exports.RelationshipToRoles = exports.RelationshipToRoleData = exports.RelationshipToRole = exports.RelationshipToPermissions = exports.RelationshipToPermissionData = exports.RelationshipToPermission = exports.RelationshipToOrganizations = exports.RelationshipToOrganizationData = exports.RelationshipToOrganization = exports.RelationshipToIncidentPostmortemData = exports.RelationshipToIncidentPostmortem = exports.RelationshipToIncidentIntegrationMetadatas = exports.RelationshipToIncidentIntegrationMetadataData = exports.ProcessSummaryAttributes = exports.ProcessSummary = exports.ProcessSummariesResponse = exports.ProcessSummariesMetaPage = exports.ProcessSummariesMeta = exports.PermissionsResponse = exports.PermissionAttributes = exports.Permission = exports.PartialApplicationKeyResponse = exports.PartialApplicationKeyAttributes = exports.PartialApplicationKey = exports.PartialAPIKeyAttributes = exports.PartialAPIKey = exports.Pagination = exports.OrganizationAttributes = exports.Organization = exports.NullableRelationshipToUserData = exports.NullableRelationshipToUser = exports.MetricsAndMetricTagConfigurationsResponse = exports.MetricVolumesResponse = exports.MetricTagConfigurationUpdateRequest = exports.MetricTagConfigurationUpdateData = void 0;\nexports.UserAttributes = exports.User = exports.ServiceAccountCreateRequest = exports.ServiceAccountCreateData = exports.ServiceAccountCreateAttributes = exports.SecurityMonitoringSignalsListResponseMetaPage = exports.SecurityMonitoringSignalsListResponseMeta = exports.SecurityMonitoringSignalsListResponseLinks = exports.SecurityMonitoringSignalsListResponse = exports.SecurityMonitoringSignalListRequestPage = exports.SecurityMonitoringSignalListRequestFilter = exports.SecurityMonitoringSignalListRequest = exports.SecurityMonitoringSignalAttributes = exports.SecurityMonitoringSignal = exports.SecurityMonitoringRuleUpdatePayload = exports.SecurityMonitoringRuleResponse = exports.SecurityMonitoringRuleQueryCreate = exports.SecurityMonitoringRuleQuery = exports.SecurityMonitoringRuleOptions = exports.SecurityMonitoringRuleNewValueOptions = exports.SecurityMonitoringRuleCreatePayload = exports.SecurityMonitoringRuleCaseCreate = exports.SecurityMonitoringRuleCase = exports.SecurityMonitoringListRulesResponse = exports.SecurityMonitoringFilter = exports.SecurityFiltersResponse = exports.SecurityFilterUpdateRequest = exports.SecurityFilterUpdateData = exports.SecurityFilterUpdateAttributes = exports.SecurityFilterResponse = exports.SecurityFilterMeta = exports.SecurityFilterExclusionFilterResponse = exports.SecurityFilterExclusionFilter = exports.SecurityFilterCreateRequest = exports.SecurityFilterCreateData = exports.SecurityFilterCreateAttributes = exports.SecurityFilterAttributes = exports.SecurityFilter = exports.SAMLAssertionAttributeAttributes = exports.SAMLAssertionAttribute = exports.RolesResponse = exports.RoleUpdateResponseData = exports.RoleUpdateResponse = exports.RoleUpdateRequest = exports.RoleUpdateData = exports.RoleUpdateAttributes = exports.RoleResponseRelationships = exports.RoleResponse = exports.RoleRelationships = exports.RoleCreateResponseData = void 0;\nexports.UsersResponse = exports.UserUpdateRequest = exports.UserUpdateData = exports.UserUpdateAttributes = exports.UserResponseRelationships = exports.UserResponse = exports.UserRelationships = exports.UserInvitationsResponse = exports.UserInvitationsRequest = exports.UserInvitationResponseData = exports.UserInvitationResponse = exports.UserInvitationRelationships = exports.UserInvitationDataAttributes = exports.UserInvitationData = exports.UserCreateRequest = exports.UserCreateData = exports.UserCreateAttributes = void 0;\n__exportStar(require(\"./http/http\"), exports);\n__exportStar(require(\"./auth/auth\"), exports);\nvar configuration_1 = require(\"./configuration\");\nObject.defineProperty(exports, \"createConfiguration\", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });\nvar configuration_2 = require(\"./configuration\");\nObject.defineProperty(exports, \"setServerVariables\", { enumerable: true, get: function () { return configuration_2.setServerVariables; } });\n__exportStar(require(\"./apis/exception\"), exports);\n__exportStar(require(\"./servers\"), exports);\nvar AuthNMappingsApi_1 = require(\"./apis/AuthNMappingsApi\");\nObject.defineProperty(exports, \"AuthNMappingsApi\", { enumerable: true, get: function () { return AuthNMappingsApi_1.AuthNMappingsApi; } });\nvar CloudWorkloadSecurityApi_1 = require(\"./apis/CloudWorkloadSecurityApi\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityApi\", { enumerable: true, get: function () { return CloudWorkloadSecurityApi_1.CloudWorkloadSecurityApi; } });\nvar DashboardListsApi_1 = require(\"./apis/DashboardListsApi\");\nObject.defineProperty(exports, \"DashboardListsApi\", { enumerable: true, get: function () { return DashboardListsApi_1.DashboardListsApi; } });\nvar IncidentServicesApi_1 = require(\"./apis/IncidentServicesApi\");\nObject.defineProperty(exports, \"IncidentServicesApi\", { enumerable: true, get: function () { return IncidentServicesApi_1.IncidentServicesApi; } });\nvar IncidentTeamsApi_1 = require(\"./apis/IncidentTeamsApi\");\nObject.defineProperty(exports, \"IncidentTeamsApi\", { enumerable: true, get: function () { return IncidentTeamsApi_1.IncidentTeamsApi; } });\nvar IncidentsApi_1 = require(\"./apis/IncidentsApi\");\nObject.defineProperty(exports, \"IncidentsApi\", { enumerable: true, get: function () { return IncidentsApi_1.IncidentsApi; } });\nvar KeyManagementApi_1 = require(\"./apis/KeyManagementApi\");\nObject.defineProperty(exports, \"KeyManagementApi\", { enumerable: true, get: function () { return KeyManagementApi_1.KeyManagementApi; } });\nvar LogsApi_1 = require(\"./apis/LogsApi\");\nObject.defineProperty(exports, \"LogsApi\", { enumerable: true, get: function () { return LogsApi_1.LogsApi; } });\nvar LogsArchivesApi_1 = require(\"./apis/LogsArchivesApi\");\nObject.defineProperty(exports, \"LogsArchivesApi\", { enumerable: true, get: function () { return LogsArchivesApi_1.LogsArchivesApi; } });\nvar LogsMetricsApi_1 = require(\"./apis/LogsMetricsApi\");\nObject.defineProperty(exports, \"LogsMetricsApi\", { enumerable: true, get: function () { return LogsMetricsApi_1.LogsMetricsApi; } });\nvar MetricsApi_1 = require(\"./apis/MetricsApi\");\nObject.defineProperty(exports, \"MetricsApi\", { enumerable: true, get: function () { return MetricsApi_1.MetricsApi; } });\nvar ProcessesApi_1 = require(\"./apis/ProcessesApi\");\nObject.defineProperty(exports, \"ProcessesApi\", { enumerable: true, get: function () { return ProcessesApi_1.ProcessesApi; } });\nvar RolesApi_1 = require(\"./apis/RolesApi\");\nObject.defineProperty(exports, \"RolesApi\", { enumerable: true, get: function () { return RolesApi_1.RolesApi; } });\nvar SecurityMonitoringApi_1 = require(\"./apis/SecurityMonitoringApi\");\nObject.defineProperty(exports, \"SecurityMonitoringApi\", { enumerable: true, get: function () { return SecurityMonitoringApi_1.SecurityMonitoringApi; } });\nvar ServiceAccountsApi_1 = require(\"./apis/ServiceAccountsApi\");\nObject.defineProperty(exports, \"ServiceAccountsApi\", { enumerable: true, get: function () { return ServiceAccountsApi_1.ServiceAccountsApi; } });\nvar UsersApi_1 = require(\"./apis/UsersApi\");\nObject.defineProperty(exports, \"UsersApi\", { enumerable: true, get: function () { return UsersApi_1.UsersApi; } });\nvar APIErrorResponse_1 = require(\"./models/APIErrorResponse\");\nObject.defineProperty(exports, \"APIErrorResponse\", { enumerable: true, get: function () { return APIErrorResponse_1.APIErrorResponse; } });\nvar APIKeyCreateAttributes_1 = require(\"./models/APIKeyCreateAttributes\");\nObject.defineProperty(exports, \"APIKeyCreateAttributes\", { enumerable: true, get: function () { return APIKeyCreateAttributes_1.APIKeyCreateAttributes; } });\nvar APIKeyCreateData_1 = require(\"./models/APIKeyCreateData\");\nObject.defineProperty(exports, \"APIKeyCreateData\", { enumerable: true, get: function () { return APIKeyCreateData_1.APIKeyCreateData; } });\nvar APIKeyCreateRequest_1 = require(\"./models/APIKeyCreateRequest\");\nObject.defineProperty(exports, \"APIKeyCreateRequest\", { enumerable: true, get: function () { return APIKeyCreateRequest_1.APIKeyCreateRequest; } });\nvar APIKeyRelationships_1 = require(\"./models/APIKeyRelationships\");\nObject.defineProperty(exports, \"APIKeyRelationships\", { enumerable: true, get: function () { return APIKeyRelationships_1.APIKeyRelationships; } });\nvar APIKeyResponse_1 = require(\"./models/APIKeyResponse\");\nObject.defineProperty(exports, \"APIKeyResponse\", { enumerable: true, get: function () { return APIKeyResponse_1.APIKeyResponse; } });\nvar APIKeyUpdateAttributes_1 = require(\"./models/APIKeyUpdateAttributes\");\nObject.defineProperty(exports, \"APIKeyUpdateAttributes\", { enumerable: true, get: function () { return APIKeyUpdateAttributes_1.APIKeyUpdateAttributes; } });\nvar APIKeyUpdateData_1 = require(\"./models/APIKeyUpdateData\");\nObject.defineProperty(exports, \"APIKeyUpdateData\", { enumerable: true, get: function () { return APIKeyUpdateData_1.APIKeyUpdateData; } });\nvar APIKeyUpdateRequest_1 = require(\"./models/APIKeyUpdateRequest\");\nObject.defineProperty(exports, \"APIKeyUpdateRequest\", { enumerable: true, get: function () { return APIKeyUpdateRequest_1.APIKeyUpdateRequest; } });\nvar APIKeysResponse_1 = require(\"./models/APIKeysResponse\");\nObject.defineProperty(exports, \"APIKeysResponse\", { enumerable: true, get: function () { return APIKeysResponse_1.APIKeysResponse; } });\nvar ApplicationKeyCreateAttributes_1 = require(\"./models/ApplicationKeyCreateAttributes\");\nObject.defineProperty(exports, \"ApplicationKeyCreateAttributes\", { enumerable: true, get: function () { return ApplicationKeyCreateAttributes_1.ApplicationKeyCreateAttributes; } });\nvar ApplicationKeyCreateData_1 = require(\"./models/ApplicationKeyCreateData\");\nObject.defineProperty(exports, \"ApplicationKeyCreateData\", { enumerable: true, get: function () { return ApplicationKeyCreateData_1.ApplicationKeyCreateData; } });\nvar ApplicationKeyCreateRequest_1 = require(\"./models/ApplicationKeyCreateRequest\");\nObject.defineProperty(exports, \"ApplicationKeyCreateRequest\", { enumerable: true, get: function () { return ApplicationKeyCreateRequest_1.ApplicationKeyCreateRequest; } });\nvar ApplicationKeyRelationships_1 = require(\"./models/ApplicationKeyRelationships\");\nObject.defineProperty(exports, \"ApplicationKeyRelationships\", { enumerable: true, get: function () { return ApplicationKeyRelationships_1.ApplicationKeyRelationships; } });\nvar ApplicationKeyResponse_1 = require(\"./models/ApplicationKeyResponse\");\nObject.defineProperty(exports, \"ApplicationKeyResponse\", { enumerable: true, get: function () { return ApplicationKeyResponse_1.ApplicationKeyResponse; } });\nvar ApplicationKeyUpdateAttributes_1 = require(\"./models/ApplicationKeyUpdateAttributes\");\nObject.defineProperty(exports, \"ApplicationKeyUpdateAttributes\", { enumerable: true, get: function () { return ApplicationKeyUpdateAttributes_1.ApplicationKeyUpdateAttributes; } });\nvar ApplicationKeyUpdateData_1 = require(\"./models/ApplicationKeyUpdateData\");\nObject.defineProperty(exports, \"ApplicationKeyUpdateData\", { enumerable: true, get: function () { return ApplicationKeyUpdateData_1.ApplicationKeyUpdateData; } });\nvar ApplicationKeyUpdateRequest_1 = require(\"./models/ApplicationKeyUpdateRequest\");\nObject.defineProperty(exports, \"ApplicationKeyUpdateRequest\", { enumerable: true, get: function () { return ApplicationKeyUpdateRequest_1.ApplicationKeyUpdateRequest; } });\nvar AuthNMapping_1 = require(\"./models/AuthNMapping\");\nObject.defineProperty(exports, \"AuthNMapping\", { enumerable: true, get: function () { return AuthNMapping_1.AuthNMapping; } });\nvar AuthNMappingAttributes_1 = require(\"./models/AuthNMappingAttributes\");\nObject.defineProperty(exports, \"AuthNMappingAttributes\", { enumerable: true, get: function () { return AuthNMappingAttributes_1.AuthNMappingAttributes; } });\nvar AuthNMappingCreateAttributes_1 = require(\"./models/AuthNMappingCreateAttributes\");\nObject.defineProperty(exports, \"AuthNMappingCreateAttributes\", { enumerable: true, get: function () { return AuthNMappingCreateAttributes_1.AuthNMappingCreateAttributes; } });\nvar AuthNMappingCreateData_1 = require(\"./models/AuthNMappingCreateData\");\nObject.defineProperty(exports, \"AuthNMappingCreateData\", { enumerable: true, get: function () { return AuthNMappingCreateData_1.AuthNMappingCreateData; } });\nvar AuthNMappingCreateRelationships_1 = require(\"./models/AuthNMappingCreateRelationships\");\nObject.defineProperty(exports, \"AuthNMappingCreateRelationships\", { enumerable: true, get: function () { return AuthNMappingCreateRelationships_1.AuthNMappingCreateRelationships; } });\nvar AuthNMappingCreateRequest_1 = require(\"./models/AuthNMappingCreateRequest\");\nObject.defineProperty(exports, \"AuthNMappingCreateRequest\", { enumerable: true, get: function () { return AuthNMappingCreateRequest_1.AuthNMappingCreateRequest; } });\nvar AuthNMappingRelationships_1 = require(\"./models/AuthNMappingRelationships\");\nObject.defineProperty(exports, \"AuthNMappingRelationships\", { enumerable: true, get: function () { return AuthNMappingRelationships_1.AuthNMappingRelationships; } });\nvar AuthNMappingResponse_1 = require(\"./models/AuthNMappingResponse\");\nObject.defineProperty(exports, \"AuthNMappingResponse\", { enumerable: true, get: function () { return AuthNMappingResponse_1.AuthNMappingResponse; } });\nvar AuthNMappingUpdateAttributes_1 = require(\"./models/AuthNMappingUpdateAttributes\");\nObject.defineProperty(exports, \"AuthNMappingUpdateAttributes\", { enumerable: true, get: function () { return AuthNMappingUpdateAttributes_1.AuthNMappingUpdateAttributes; } });\nvar AuthNMappingUpdateData_1 = require(\"./models/AuthNMappingUpdateData\");\nObject.defineProperty(exports, \"AuthNMappingUpdateData\", { enumerable: true, get: function () { return AuthNMappingUpdateData_1.AuthNMappingUpdateData; } });\nvar AuthNMappingUpdateRelationships_1 = require(\"./models/AuthNMappingUpdateRelationships\");\nObject.defineProperty(exports, \"AuthNMappingUpdateRelationships\", { enumerable: true, get: function () { return AuthNMappingUpdateRelationships_1.AuthNMappingUpdateRelationships; } });\nvar AuthNMappingUpdateRequest_1 = require(\"./models/AuthNMappingUpdateRequest\");\nObject.defineProperty(exports, \"AuthNMappingUpdateRequest\", { enumerable: true, get: function () { return AuthNMappingUpdateRequest_1.AuthNMappingUpdateRequest; } });\nvar AuthNMappingsResponse_1 = require(\"./models/AuthNMappingsResponse\");\nObject.defineProperty(exports, \"AuthNMappingsResponse\", { enumerable: true, get: function () { return AuthNMappingsResponse_1.AuthNMappingsResponse; } });\nvar CloudWorkloadSecurityAgentRuleAttributes_1 = require(\"./models/CloudWorkloadSecurityAgentRuleAttributes\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleAttributes\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleAttributes_1.CloudWorkloadSecurityAgentRuleAttributes; } });\nvar CloudWorkloadSecurityAgentRuleCreateAttributes_1 = require(\"./models/CloudWorkloadSecurityAgentRuleCreateAttributes\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleCreateAttributes\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateAttributes_1.CloudWorkloadSecurityAgentRuleCreateAttributes; } });\nvar CloudWorkloadSecurityAgentRuleCreateData_1 = require(\"./models/CloudWorkloadSecurityAgentRuleCreateData\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleCreateData\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateData_1.CloudWorkloadSecurityAgentRuleCreateData; } });\nvar CloudWorkloadSecurityAgentRuleCreateRequest_1 = require(\"./models/CloudWorkloadSecurityAgentRuleCreateRequest\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleCreateRequest\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreateRequest_1.CloudWorkloadSecurityAgentRuleCreateRequest; } });\nvar CloudWorkloadSecurityAgentRuleCreatorAttributes_1 = require(\"./models/CloudWorkloadSecurityAgentRuleCreatorAttributes\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleCreatorAttributes\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleCreatorAttributes_1.CloudWorkloadSecurityAgentRuleCreatorAttributes; } });\nvar CloudWorkloadSecurityAgentRuleData_1 = require(\"./models/CloudWorkloadSecurityAgentRuleData\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleData\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleData_1.CloudWorkloadSecurityAgentRuleData; } });\nvar CloudWorkloadSecurityAgentRuleResponse_1 = require(\"./models/CloudWorkloadSecurityAgentRuleResponse\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleResponse\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleResponse_1.CloudWorkloadSecurityAgentRuleResponse; } });\nvar CloudWorkloadSecurityAgentRuleUpdateAttributes_1 = require(\"./models/CloudWorkloadSecurityAgentRuleUpdateAttributes\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleUpdateAttributes\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateAttributes_1.CloudWorkloadSecurityAgentRuleUpdateAttributes; } });\nvar CloudWorkloadSecurityAgentRuleUpdateData_1 = require(\"./models/CloudWorkloadSecurityAgentRuleUpdateData\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleUpdateData\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateData_1.CloudWorkloadSecurityAgentRuleUpdateData; } });\nvar CloudWorkloadSecurityAgentRuleUpdateRequest_1 = require(\"./models/CloudWorkloadSecurityAgentRuleUpdateRequest\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleUpdateRequest\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdateRequest_1.CloudWorkloadSecurityAgentRuleUpdateRequest; } });\nvar CloudWorkloadSecurityAgentRuleUpdaterAttributes_1 = require(\"./models/CloudWorkloadSecurityAgentRuleUpdaterAttributes\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRuleUpdaterAttributes\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRuleUpdaterAttributes_1.CloudWorkloadSecurityAgentRuleUpdaterAttributes; } });\nvar CloudWorkloadSecurityAgentRulesListResponse_1 = require(\"./models/CloudWorkloadSecurityAgentRulesListResponse\");\nObject.defineProperty(exports, \"CloudWorkloadSecurityAgentRulesListResponse\", { enumerable: true, get: function () { return CloudWorkloadSecurityAgentRulesListResponse_1.CloudWorkloadSecurityAgentRulesListResponse; } });\nvar Creator_1 = require(\"./models/Creator\");\nObject.defineProperty(exports, \"Creator\", { enumerable: true, get: function () { return Creator_1.Creator; } });\nvar DashboardListAddItemsRequest_1 = require(\"./models/DashboardListAddItemsRequest\");\nObject.defineProperty(exports, \"DashboardListAddItemsRequest\", { enumerable: true, get: function () { return DashboardListAddItemsRequest_1.DashboardListAddItemsRequest; } });\nvar DashboardListAddItemsResponse_1 = require(\"./models/DashboardListAddItemsResponse\");\nObject.defineProperty(exports, \"DashboardListAddItemsResponse\", { enumerable: true, get: function () { return DashboardListAddItemsResponse_1.DashboardListAddItemsResponse; } });\nvar DashboardListDeleteItemsRequest_1 = require(\"./models/DashboardListDeleteItemsRequest\");\nObject.defineProperty(exports, \"DashboardListDeleteItemsRequest\", { enumerable: true, get: function () { return DashboardListDeleteItemsRequest_1.DashboardListDeleteItemsRequest; } });\nvar DashboardListDeleteItemsResponse_1 = require(\"./models/DashboardListDeleteItemsResponse\");\nObject.defineProperty(exports, \"DashboardListDeleteItemsResponse\", { enumerable: true, get: function () { return DashboardListDeleteItemsResponse_1.DashboardListDeleteItemsResponse; } });\nvar DashboardListItem_1 = require(\"./models/DashboardListItem\");\nObject.defineProperty(exports, \"DashboardListItem\", { enumerable: true, get: function () { return DashboardListItem_1.DashboardListItem; } });\nvar DashboardListItemRequest_1 = require(\"./models/DashboardListItemRequest\");\nObject.defineProperty(exports, \"DashboardListItemRequest\", { enumerable: true, get: function () { return DashboardListItemRequest_1.DashboardListItemRequest; } });\nvar DashboardListItemResponse_1 = require(\"./models/DashboardListItemResponse\");\nObject.defineProperty(exports, \"DashboardListItemResponse\", { enumerable: true, get: function () { return DashboardListItemResponse_1.DashboardListItemResponse; } });\nvar DashboardListItems_1 = require(\"./models/DashboardListItems\");\nObject.defineProperty(exports, \"DashboardListItems\", { enumerable: true, get: function () { return DashboardListItems_1.DashboardListItems; } });\nvar DashboardListUpdateItemsRequest_1 = require(\"./models/DashboardListUpdateItemsRequest\");\nObject.defineProperty(exports, \"DashboardListUpdateItemsRequest\", { enumerable: true, get: function () { return DashboardListUpdateItemsRequest_1.DashboardListUpdateItemsRequest; } });\nvar DashboardListUpdateItemsResponse_1 = require(\"./models/DashboardListUpdateItemsResponse\");\nObject.defineProperty(exports, \"DashboardListUpdateItemsResponse\", { enumerable: true, get: function () { return DashboardListUpdateItemsResponse_1.DashboardListUpdateItemsResponse; } });\nvar FullAPIKey_1 = require(\"./models/FullAPIKey\");\nObject.defineProperty(exports, \"FullAPIKey\", { enumerable: true, get: function () { return FullAPIKey_1.FullAPIKey; } });\nvar FullAPIKeyAttributes_1 = require(\"./models/FullAPIKeyAttributes\");\nObject.defineProperty(exports, \"FullAPIKeyAttributes\", { enumerable: true, get: function () { return FullAPIKeyAttributes_1.FullAPIKeyAttributes; } });\nvar FullApplicationKey_1 = require(\"./models/FullApplicationKey\");\nObject.defineProperty(exports, \"FullApplicationKey\", { enumerable: true, get: function () { return FullApplicationKey_1.FullApplicationKey; } });\nvar FullApplicationKeyAttributes_1 = require(\"./models/FullApplicationKeyAttributes\");\nObject.defineProperty(exports, \"FullApplicationKeyAttributes\", { enumerable: true, get: function () { return FullApplicationKeyAttributes_1.FullApplicationKeyAttributes; } });\nvar HTTPLogError_1 = require(\"./models/HTTPLogError\");\nObject.defineProperty(exports, \"HTTPLogError\", { enumerable: true, get: function () { return HTTPLogError_1.HTTPLogError; } });\nvar HTTPLogErrors_1 = require(\"./models/HTTPLogErrors\");\nObject.defineProperty(exports, \"HTTPLogErrors\", { enumerable: true, get: function () { return HTTPLogErrors_1.HTTPLogErrors; } });\nvar HTTPLogItem_1 = require(\"./models/HTTPLogItem\");\nObject.defineProperty(exports, \"HTTPLogItem\", { enumerable: true, get: function () { return HTTPLogItem_1.HTTPLogItem; } });\nvar IncidentCreateAttributes_1 = require(\"./models/IncidentCreateAttributes\");\nObject.defineProperty(exports, \"IncidentCreateAttributes\", { enumerable: true, get: function () { return IncidentCreateAttributes_1.IncidentCreateAttributes; } });\nvar IncidentCreateData_1 = require(\"./models/IncidentCreateData\");\nObject.defineProperty(exports, \"IncidentCreateData\", { enumerable: true, get: function () { return IncidentCreateData_1.IncidentCreateData; } });\nvar IncidentCreateRelationships_1 = require(\"./models/IncidentCreateRelationships\");\nObject.defineProperty(exports, \"IncidentCreateRelationships\", { enumerable: true, get: function () { return IncidentCreateRelationships_1.IncidentCreateRelationships; } });\nvar IncidentCreateRequest_1 = require(\"./models/IncidentCreateRequest\");\nObject.defineProperty(exports, \"IncidentCreateRequest\", { enumerable: true, get: function () { return IncidentCreateRequest_1.IncidentCreateRequest; } });\nvar IncidentFieldAttributesMultipleValue_1 = require(\"./models/IncidentFieldAttributesMultipleValue\");\nObject.defineProperty(exports, \"IncidentFieldAttributesMultipleValue\", { enumerable: true, get: function () { return IncidentFieldAttributesMultipleValue_1.IncidentFieldAttributesMultipleValue; } });\nvar IncidentFieldAttributesSingleValue_1 = require(\"./models/IncidentFieldAttributesSingleValue\");\nObject.defineProperty(exports, \"IncidentFieldAttributesSingleValue\", { enumerable: true, get: function () { return IncidentFieldAttributesSingleValue_1.IncidentFieldAttributesSingleValue; } });\nvar IncidentNotificationHandle_1 = require(\"./models/IncidentNotificationHandle\");\nObject.defineProperty(exports, \"IncidentNotificationHandle\", { enumerable: true, get: function () { return IncidentNotificationHandle_1.IncidentNotificationHandle; } });\nvar IncidentResponse_1 = require(\"./models/IncidentResponse\");\nObject.defineProperty(exports, \"IncidentResponse\", { enumerable: true, get: function () { return IncidentResponse_1.IncidentResponse; } });\nvar IncidentResponseAttributes_1 = require(\"./models/IncidentResponseAttributes\");\nObject.defineProperty(exports, \"IncidentResponseAttributes\", { enumerable: true, get: function () { return IncidentResponseAttributes_1.IncidentResponseAttributes; } });\nvar IncidentResponseData_1 = require(\"./models/IncidentResponseData\");\nObject.defineProperty(exports, \"IncidentResponseData\", { enumerable: true, get: function () { return IncidentResponseData_1.IncidentResponseData; } });\nvar IncidentResponseMeta_1 = require(\"./models/IncidentResponseMeta\");\nObject.defineProperty(exports, \"IncidentResponseMeta\", { enumerable: true, get: function () { return IncidentResponseMeta_1.IncidentResponseMeta; } });\nvar IncidentResponseMetaPagination_1 = require(\"./models/IncidentResponseMetaPagination\");\nObject.defineProperty(exports, \"IncidentResponseMetaPagination\", { enumerable: true, get: function () { return IncidentResponseMetaPagination_1.IncidentResponseMetaPagination; } });\nvar IncidentResponseRelationships_1 = require(\"./models/IncidentResponseRelationships\");\nObject.defineProperty(exports, \"IncidentResponseRelationships\", { enumerable: true, get: function () { return IncidentResponseRelationships_1.IncidentResponseRelationships; } });\nvar IncidentServiceCreateAttributes_1 = require(\"./models/IncidentServiceCreateAttributes\");\nObject.defineProperty(exports, \"IncidentServiceCreateAttributes\", { enumerable: true, get: function () { return IncidentServiceCreateAttributes_1.IncidentServiceCreateAttributes; } });\nvar IncidentServiceCreateData_1 = require(\"./models/IncidentServiceCreateData\");\nObject.defineProperty(exports, \"IncidentServiceCreateData\", { enumerable: true, get: function () { return IncidentServiceCreateData_1.IncidentServiceCreateData; } });\nvar IncidentServiceCreateRequest_1 = require(\"./models/IncidentServiceCreateRequest\");\nObject.defineProperty(exports, \"IncidentServiceCreateRequest\", { enumerable: true, get: function () { return IncidentServiceCreateRequest_1.IncidentServiceCreateRequest; } });\nvar IncidentServiceRelationships_1 = require(\"./models/IncidentServiceRelationships\");\nObject.defineProperty(exports, \"IncidentServiceRelationships\", { enumerable: true, get: function () { return IncidentServiceRelationships_1.IncidentServiceRelationships; } });\nvar IncidentServiceResponse_1 = require(\"./models/IncidentServiceResponse\");\nObject.defineProperty(exports, \"IncidentServiceResponse\", { enumerable: true, get: function () { return IncidentServiceResponse_1.IncidentServiceResponse; } });\nvar IncidentServiceResponseAttributes_1 = require(\"./models/IncidentServiceResponseAttributes\");\nObject.defineProperty(exports, \"IncidentServiceResponseAttributes\", { enumerable: true, get: function () { return IncidentServiceResponseAttributes_1.IncidentServiceResponseAttributes; } });\nvar IncidentServiceResponseData_1 = require(\"./models/IncidentServiceResponseData\");\nObject.defineProperty(exports, \"IncidentServiceResponseData\", { enumerable: true, get: function () { return IncidentServiceResponseData_1.IncidentServiceResponseData; } });\nvar IncidentServiceUpdateAttributes_1 = require(\"./models/IncidentServiceUpdateAttributes\");\nObject.defineProperty(exports, \"IncidentServiceUpdateAttributes\", { enumerable: true, get: function () { return IncidentServiceUpdateAttributes_1.IncidentServiceUpdateAttributes; } });\nvar IncidentServiceUpdateData_1 = require(\"./models/IncidentServiceUpdateData\");\nObject.defineProperty(exports, \"IncidentServiceUpdateData\", { enumerable: true, get: function () { return IncidentServiceUpdateData_1.IncidentServiceUpdateData; } });\nvar IncidentServiceUpdateRequest_1 = require(\"./models/IncidentServiceUpdateRequest\");\nObject.defineProperty(exports, \"IncidentServiceUpdateRequest\", { enumerable: true, get: function () { return IncidentServiceUpdateRequest_1.IncidentServiceUpdateRequest; } });\nvar IncidentServicesResponse_1 = require(\"./models/IncidentServicesResponse\");\nObject.defineProperty(exports, \"IncidentServicesResponse\", { enumerable: true, get: function () { return IncidentServicesResponse_1.IncidentServicesResponse; } });\nvar IncidentTeamCreateAttributes_1 = require(\"./models/IncidentTeamCreateAttributes\");\nObject.defineProperty(exports, \"IncidentTeamCreateAttributes\", { enumerable: true, get: function () { return IncidentTeamCreateAttributes_1.IncidentTeamCreateAttributes; } });\nvar IncidentTeamCreateData_1 = require(\"./models/IncidentTeamCreateData\");\nObject.defineProperty(exports, \"IncidentTeamCreateData\", { enumerable: true, get: function () { return IncidentTeamCreateData_1.IncidentTeamCreateData; } });\nvar IncidentTeamCreateRequest_1 = require(\"./models/IncidentTeamCreateRequest\");\nObject.defineProperty(exports, \"IncidentTeamCreateRequest\", { enumerable: true, get: function () { return IncidentTeamCreateRequest_1.IncidentTeamCreateRequest; } });\nvar IncidentTeamRelationships_1 = require(\"./models/IncidentTeamRelationships\");\nObject.defineProperty(exports, \"IncidentTeamRelationships\", { enumerable: true, get: function () { return IncidentTeamRelationships_1.IncidentTeamRelationships; } });\nvar IncidentTeamResponse_1 = require(\"./models/IncidentTeamResponse\");\nObject.defineProperty(exports, \"IncidentTeamResponse\", { enumerable: true, get: function () { return IncidentTeamResponse_1.IncidentTeamResponse; } });\nvar IncidentTeamResponseAttributes_1 = require(\"./models/IncidentTeamResponseAttributes\");\nObject.defineProperty(exports, \"IncidentTeamResponseAttributes\", { enumerable: true, get: function () { return IncidentTeamResponseAttributes_1.IncidentTeamResponseAttributes; } });\nvar IncidentTeamResponseData_1 = require(\"./models/IncidentTeamResponseData\");\nObject.defineProperty(exports, \"IncidentTeamResponseData\", { enumerable: true, get: function () { return IncidentTeamResponseData_1.IncidentTeamResponseData; } });\nvar IncidentTeamUpdateAttributes_1 = require(\"./models/IncidentTeamUpdateAttributes\");\nObject.defineProperty(exports, \"IncidentTeamUpdateAttributes\", { enumerable: true, get: function () { return IncidentTeamUpdateAttributes_1.IncidentTeamUpdateAttributes; } });\nvar IncidentTeamUpdateData_1 = require(\"./models/IncidentTeamUpdateData\");\nObject.defineProperty(exports, \"IncidentTeamUpdateData\", { enumerable: true, get: function () { return IncidentTeamUpdateData_1.IncidentTeamUpdateData; } });\nvar IncidentTeamUpdateRequest_1 = require(\"./models/IncidentTeamUpdateRequest\");\nObject.defineProperty(exports, \"IncidentTeamUpdateRequest\", { enumerable: true, get: function () { return IncidentTeamUpdateRequest_1.IncidentTeamUpdateRequest; } });\nvar IncidentTeamsResponse_1 = require(\"./models/IncidentTeamsResponse\");\nObject.defineProperty(exports, \"IncidentTeamsResponse\", { enumerable: true, get: function () { return IncidentTeamsResponse_1.IncidentTeamsResponse; } });\nvar IncidentTimelineCellMarkdownCreateAttributes_1 = require(\"./models/IncidentTimelineCellMarkdownCreateAttributes\");\nObject.defineProperty(exports, \"IncidentTimelineCellMarkdownCreateAttributes\", { enumerable: true, get: function () { return IncidentTimelineCellMarkdownCreateAttributes_1.IncidentTimelineCellMarkdownCreateAttributes; } });\nvar IncidentTimelineCellMarkdownCreateAttributesContent_1 = require(\"./models/IncidentTimelineCellMarkdownCreateAttributesContent\");\nObject.defineProperty(exports, \"IncidentTimelineCellMarkdownCreateAttributesContent\", { enumerable: true, get: function () { return IncidentTimelineCellMarkdownCreateAttributesContent_1.IncidentTimelineCellMarkdownCreateAttributesContent; } });\nvar IncidentUpdateAttributes_1 = require(\"./models/IncidentUpdateAttributes\");\nObject.defineProperty(exports, \"IncidentUpdateAttributes\", { enumerable: true, get: function () { return IncidentUpdateAttributes_1.IncidentUpdateAttributes; } });\nvar IncidentUpdateData_1 = require(\"./models/IncidentUpdateData\");\nObject.defineProperty(exports, \"IncidentUpdateData\", { enumerable: true, get: function () { return IncidentUpdateData_1.IncidentUpdateData; } });\nvar IncidentUpdateRelationships_1 = require(\"./models/IncidentUpdateRelationships\");\nObject.defineProperty(exports, \"IncidentUpdateRelationships\", { enumerable: true, get: function () { return IncidentUpdateRelationships_1.IncidentUpdateRelationships; } });\nvar IncidentUpdateRequest_1 = require(\"./models/IncidentUpdateRequest\");\nObject.defineProperty(exports, \"IncidentUpdateRequest\", { enumerable: true, get: function () { return IncidentUpdateRequest_1.IncidentUpdateRequest; } });\nvar IncidentsResponse_1 = require(\"./models/IncidentsResponse\");\nObject.defineProperty(exports, \"IncidentsResponse\", { enumerable: true, get: function () { return IncidentsResponse_1.IncidentsResponse; } });\nvar ListApplicationKeysResponse_1 = require(\"./models/ListApplicationKeysResponse\");\nObject.defineProperty(exports, \"ListApplicationKeysResponse\", { enumerable: true, get: function () { return ListApplicationKeysResponse_1.ListApplicationKeysResponse; } });\nvar Log_1 = require(\"./models/Log\");\nObject.defineProperty(exports, \"Log\", { enumerable: true, get: function () { return Log_1.Log; } });\nvar LogAttributes_1 = require(\"./models/LogAttributes\");\nObject.defineProperty(exports, \"LogAttributes\", { enumerable: true, get: function () { return LogAttributes_1.LogAttributes; } });\nvar LogsAggregateBucket_1 = require(\"./models/LogsAggregateBucket\");\nObject.defineProperty(exports, \"LogsAggregateBucket\", { enumerable: true, get: function () { return LogsAggregateBucket_1.LogsAggregateBucket; } });\nvar LogsAggregateBucketValueTimeseriesPoint_1 = require(\"./models/LogsAggregateBucketValueTimeseriesPoint\");\nObject.defineProperty(exports, \"LogsAggregateBucketValueTimeseriesPoint\", { enumerable: true, get: function () { return LogsAggregateBucketValueTimeseriesPoint_1.LogsAggregateBucketValueTimeseriesPoint; } });\nvar LogsAggregateRequest_1 = require(\"./models/LogsAggregateRequest\");\nObject.defineProperty(exports, \"LogsAggregateRequest\", { enumerable: true, get: function () { return LogsAggregateRequest_1.LogsAggregateRequest; } });\nvar LogsAggregateRequestPage_1 = require(\"./models/LogsAggregateRequestPage\");\nObject.defineProperty(exports, \"LogsAggregateRequestPage\", { enumerable: true, get: function () { return LogsAggregateRequestPage_1.LogsAggregateRequestPage; } });\nvar LogsAggregateResponse_1 = require(\"./models/LogsAggregateResponse\");\nObject.defineProperty(exports, \"LogsAggregateResponse\", { enumerable: true, get: function () { return LogsAggregateResponse_1.LogsAggregateResponse; } });\nvar LogsAggregateResponseData_1 = require(\"./models/LogsAggregateResponseData\");\nObject.defineProperty(exports, \"LogsAggregateResponseData\", { enumerable: true, get: function () { return LogsAggregateResponseData_1.LogsAggregateResponseData; } });\nvar LogsAggregateSort_1 = require(\"./models/LogsAggregateSort\");\nObject.defineProperty(exports, \"LogsAggregateSort\", { enumerable: true, get: function () { return LogsAggregateSort_1.LogsAggregateSort; } });\nvar LogsArchive_1 = require(\"./models/LogsArchive\");\nObject.defineProperty(exports, \"LogsArchive\", { enumerable: true, get: function () { return LogsArchive_1.LogsArchive; } });\nvar LogsArchiveAttributes_1 = require(\"./models/LogsArchiveAttributes\");\nObject.defineProperty(exports, \"LogsArchiveAttributes\", { enumerable: true, get: function () { return LogsArchiveAttributes_1.LogsArchiveAttributes; } });\nvar LogsArchiveCreateRequest_1 = require(\"./models/LogsArchiveCreateRequest\");\nObject.defineProperty(exports, \"LogsArchiveCreateRequest\", { enumerable: true, get: function () { return LogsArchiveCreateRequest_1.LogsArchiveCreateRequest; } });\nvar LogsArchiveCreateRequestAttributes_1 = require(\"./models/LogsArchiveCreateRequestAttributes\");\nObject.defineProperty(exports, \"LogsArchiveCreateRequestAttributes\", { enumerable: true, get: function () { return LogsArchiveCreateRequestAttributes_1.LogsArchiveCreateRequestAttributes; } });\nvar LogsArchiveCreateRequestDefinition_1 = require(\"./models/LogsArchiveCreateRequestDefinition\");\nObject.defineProperty(exports, \"LogsArchiveCreateRequestDefinition\", { enumerable: true, get: function () { return LogsArchiveCreateRequestDefinition_1.LogsArchiveCreateRequestDefinition; } });\nvar LogsArchiveDefinition_1 = require(\"./models/LogsArchiveDefinition\");\nObject.defineProperty(exports, \"LogsArchiveDefinition\", { enumerable: true, get: function () { return LogsArchiveDefinition_1.LogsArchiveDefinition; } });\nvar LogsArchiveDestinationAzure_1 = require(\"./models/LogsArchiveDestinationAzure\");\nObject.defineProperty(exports, \"LogsArchiveDestinationAzure\", { enumerable: true, get: function () { return LogsArchiveDestinationAzure_1.LogsArchiveDestinationAzure; } });\nvar LogsArchiveDestinationGCS_1 = require(\"./models/LogsArchiveDestinationGCS\");\nObject.defineProperty(exports, \"LogsArchiveDestinationGCS\", { enumerable: true, get: function () { return LogsArchiveDestinationGCS_1.LogsArchiveDestinationGCS; } });\nvar LogsArchiveDestinationS3_1 = require(\"./models/LogsArchiveDestinationS3\");\nObject.defineProperty(exports, \"LogsArchiveDestinationS3\", { enumerable: true, get: function () { return LogsArchiveDestinationS3_1.LogsArchiveDestinationS3; } });\nvar LogsArchiveIntegrationAzure_1 = require(\"./models/LogsArchiveIntegrationAzure\");\nObject.defineProperty(exports, \"LogsArchiveIntegrationAzure\", { enumerable: true, get: function () { return LogsArchiveIntegrationAzure_1.LogsArchiveIntegrationAzure; } });\nvar LogsArchiveIntegrationGCS_1 = require(\"./models/LogsArchiveIntegrationGCS\");\nObject.defineProperty(exports, \"LogsArchiveIntegrationGCS\", { enumerable: true, get: function () { return LogsArchiveIntegrationGCS_1.LogsArchiveIntegrationGCS; } });\nvar LogsArchiveIntegrationS3_1 = require(\"./models/LogsArchiveIntegrationS3\");\nObject.defineProperty(exports, \"LogsArchiveIntegrationS3\", { enumerable: true, get: function () { return LogsArchiveIntegrationS3_1.LogsArchiveIntegrationS3; } });\nvar LogsArchiveOrder_1 = require(\"./models/LogsArchiveOrder\");\nObject.defineProperty(exports, \"LogsArchiveOrder\", { enumerable: true, get: function () { return LogsArchiveOrder_1.LogsArchiveOrder; } });\nvar LogsArchiveOrderAttributes_1 = require(\"./models/LogsArchiveOrderAttributes\");\nObject.defineProperty(exports, \"LogsArchiveOrderAttributes\", { enumerable: true, get: function () { return LogsArchiveOrderAttributes_1.LogsArchiveOrderAttributes; } });\nvar LogsArchiveOrderDefinition_1 = require(\"./models/LogsArchiveOrderDefinition\");\nObject.defineProperty(exports, \"LogsArchiveOrderDefinition\", { enumerable: true, get: function () { return LogsArchiveOrderDefinition_1.LogsArchiveOrderDefinition; } });\nvar LogsArchives_1 = require(\"./models/LogsArchives\");\nObject.defineProperty(exports, \"LogsArchives\", { enumerable: true, get: function () { return LogsArchives_1.LogsArchives; } });\nvar LogsCompute_1 = require(\"./models/LogsCompute\");\nObject.defineProperty(exports, \"LogsCompute\", { enumerable: true, get: function () { return LogsCompute_1.LogsCompute; } });\nvar LogsGroupBy_1 = require(\"./models/LogsGroupBy\");\nObject.defineProperty(exports, \"LogsGroupBy\", { enumerable: true, get: function () { return LogsGroupBy_1.LogsGroupBy; } });\nvar LogsGroupByHistogram_1 = require(\"./models/LogsGroupByHistogram\");\nObject.defineProperty(exports, \"LogsGroupByHistogram\", { enumerable: true, get: function () { return LogsGroupByHistogram_1.LogsGroupByHistogram; } });\nvar LogsListRequest_1 = require(\"./models/LogsListRequest\");\nObject.defineProperty(exports, \"LogsListRequest\", { enumerable: true, get: function () { return LogsListRequest_1.LogsListRequest; } });\nvar LogsListRequestPage_1 = require(\"./models/LogsListRequestPage\");\nObject.defineProperty(exports, \"LogsListRequestPage\", { enumerable: true, get: function () { return LogsListRequestPage_1.LogsListRequestPage; } });\nvar LogsListResponse_1 = require(\"./models/LogsListResponse\");\nObject.defineProperty(exports, \"LogsListResponse\", { enumerable: true, get: function () { return LogsListResponse_1.LogsListResponse; } });\nvar LogsListResponseLinks_1 = require(\"./models/LogsListResponseLinks\");\nObject.defineProperty(exports, \"LogsListResponseLinks\", { enumerable: true, get: function () { return LogsListResponseLinks_1.LogsListResponseLinks; } });\nvar LogsMetricCompute_1 = require(\"./models/LogsMetricCompute\");\nObject.defineProperty(exports, \"LogsMetricCompute\", { enumerable: true, get: function () { return LogsMetricCompute_1.LogsMetricCompute; } });\nvar LogsMetricCreateAttributes_1 = require(\"./models/LogsMetricCreateAttributes\");\nObject.defineProperty(exports, \"LogsMetricCreateAttributes\", { enumerable: true, get: function () { return LogsMetricCreateAttributes_1.LogsMetricCreateAttributes; } });\nvar LogsMetricCreateData_1 = require(\"./models/LogsMetricCreateData\");\nObject.defineProperty(exports, \"LogsMetricCreateData\", { enumerable: true, get: function () { return LogsMetricCreateData_1.LogsMetricCreateData; } });\nvar LogsMetricCreateRequest_1 = require(\"./models/LogsMetricCreateRequest\");\nObject.defineProperty(exports, \"LogsMetricCreateRequest\", { enumerable: true, get: function () { return LogsMetricCreateRequest_1.LogsMetricCreateRequest; } });\nvar LogsMetricFilter_1 = require(\"./models/LogsMetricFilter\");\nObject.defineProperty(exports, \"LogsMetricFilter\", { enumerable: true, get: function () { return LogsMetricFilter_1.LogsMetricFilter; } });\nvar LogsMetricGroupBy_1 = require(\"./models/LogsMetricGroupBy\");\nObject.defineProperty(exports, \"LogsMetricGroupBy\", { enumerable: true, get: function () { return LogsMetricGroupBy_1.LogsMetricGroupBy; } });\nvar LogsMetricResponse_1 = require(\"./models/LogsMetricResponse\");\nObject.defineProperty(exports, \"LogsMetricResponse\", { enumerable: true, get: function () { return LogsMetricResponse_1.LogsMetricResponse; } });\nvar LogsMetricResponseAttributes_1 = require(\"./models/LogsMetricResponseAttributes\");\nObject.defineProperty(exports, \"LogsMetricResponseAttributes\", { enumerable: true, get: function () { return LogsMetricResponseAttributes_1.LogsMetricResponseAttributes; } });\nvar LogsMetricResponseCompute_1 = require(\"./models/LogsMetricResponseCompute\");\nObject.defineProperty(exports, \"LogsMetricResponseCompute\", { enumerable: true, get: function () { return LogsMetricResponseCompute_1.LogsMetricResponseCompute; } });\nvar LogsMetricResponseData_1 = require(\"./models/LogsMetricResponseData\");\nObject.defineProperty(exports, \"LogsMetricResponseData\", { enumerable: true, get: function () { return LogsMetricResponseData_1.LogsMetricResponseData; } });\nvar LogsMetricResponseFilter_1 = require(\"./models/LogsMetricResponseFilter\");\nObject.defineProperty(exports, \"LogsMetricResponseFilter\", { enumerable: true, get: function () { return LogsMetricResponseFilter_1.LogsMetricResponseFilter; } });\nvar LogsMetricResponseGroupBy_1 = require(\"./models/LogsMetricResponseGroupBy\");\nObject.defineProperty(exports, \"LogsMetricResponseGroupBy\", { enumerable: true, get: function () { return LogsMetricResponseGroupBy_1.LogsMetricResponseGroupBy; } });\nvar LogsMetricUpdateAttributes_1 = require(\"./models/LogsMetricUpdateAttributes\");\nObject.defineProperty(exports, \"LogsMetricUpdateAttributes\", { enumerable: true, get: function () { return LogsMetricUpdateAttributes_1.LogsMetricUpdateAttributes; } });\nvar LogsMetricUpdateData_1 = require(\"./models/LogsMetricUpdateData\");\nObject.defineProperty(exports, \"LogsMetricUpdateData\", { enumerable: true, get: function () { return LogsMetricUpdateData_1.LogsMetricUpdateData; } });\nvar LogsMetricUpdateRequest_1 = require(\"./models/LogsMetricUpdateRequest\");\nObject.defineProperty(exports, \"LogsMetricUpdateRequest\", { enumerable: true, get: function () { return LogsMetricUpdateRequest_1.LogsMetricUpdateRequest; } });\nvar LogsMetricsResponse_1 = require(\"./models/LogsMetricsResponse\");\nObject.defineProperty(exports, \"LogsMetricsResponse\", { enumerable: true, get: function () { return LogsMetricsResponse_1.LogsMetricsResponse; } });\nvar LogsQueryFilter_1 = require(\"./models/LogsQueryFilter\");\nObject.defineProperty(exports, \"LogsQueryFilter\", { enumerable: true, get: function () { return LogsQueryFilter_1.LogsQueryFilter; } });\nvar LogsQueryOptions_1 = require(\"./models/LogsQueryOptions\");\nObject.defineProperty(exports, \"LogsQueryOptions\", { enumerable: true, get: function () { return LogsQueryOptions_1.LogsQueryOptions; } });\nvar LogsResponseMetadata_1 = require(\"./models/LogsResponseMetadata\");\nObject.defineProperty(exports, \"LogsResponseMetadata\", { enumerable: true, get: function () { return LogsResponseMetadata_1.LogsResponseMetadata; } });\nvar LogsResponseMetadataPage_1 = require(\"./models/LogsResponseMetadataPage\");\nObject.defineProperty(exports, \"LogsResponseMetadataPage\", { enumerable: true, get: function () { return LogsResponseMetadataPage_1.LogsResponseMetadataPage; } });\nvar LogsWarning_1 = require(\"./models/LogsWarning\");\nObject.defineProperty(exports, \"LogsWarning\", { enumerable: true, get: function () { return LogsWarning_1.LogsWarning; } });\nvar Metric_1 = require(\"./models/Metric\");\nObject.defineProperty(exports, \"Metric\", { enumerable: true, get: function () { return Metric_1.Metric; } });\nvar MetricAllTags_1 = require(\"./models/MetricAllTags\");\nObject.defineProperty(exports, \"MetricAllTags\", { enumerable: true, get: function () { return MetricAllTags_1.MetricAllTags; } });\nvar MetricAllTagsAttributes_1 = require(\"./models/MetricAllTagsAttributes\");\nObject.defineProperty(exports, \"MetricAllTagsAttributes\", { enumerable: true, get: function () { return MetricAllTagsAttributes_1.MetricAllTagsAttributes; } });\nvar MetricAllTagsResponse_1 = require(\"./models/MetricAllTagsResponse\");\nObject.defineProperty(exports, \"MetricAllTagsResponse\", { enumerable: true, get: function () { return MetricAllTagsResponse_1.MetricAllTagsResponse; } });\nvar MetricBulkTagConfigCreate_1 = require(\"./models/MetricBulkTagConfigCreate\");\nObject.defineProperty(exports, \"MetricBulkTagConfigCreate\", { enumerable: true, get: function () { return MetricBulkTagConfigCreate_1.MetricBulkTagConfigCreate; } });\nvar MetricBulkTagConfigCreateAttributes_1 = require(\"./models/MetricBulkTagConfigCreateAttributes\");\nObject.defineProperty(exports, \"MetricBulkTagConfigCreateAttributes\", { enumerable: true, get: function () { return MetricBulkTagConfigCreateAttributes_1.MetricBulkTagConfigCreateAttributes; } });\nvar MetricBulkTagConfigCreateRequest_1 = require(\"./models/MetricBulkTagConfigCreateRequest\");\nObject.defineProperty(exports, \"MetricBulkTagConfigCreateRequest\", { enumerable: true, get: function () { return MetricBulkTagConfigCreateRequest_1.MetricBulkTagConfigCreateRequest; } });\nvar MetricBulkTagConfigDelete_1 = require(\"./models/MetricBulkTagConfigDelete\");\nObject.defineProperty(exports, \"MetricBulkTagConfigDelete\", { enumerable: true, get: function () { return MetricBulkTagConfigDelete_1.MetricBulkTagConfigDelete; } });\nvar MetricBulkTagConfigDeleteAttributes_1 = require(\"./models/MetricBulkTagConfigDeleteAttributes\");\nObject.defineProperty(exports, \"MetricBulkTagConfigDeleteAttributes\", { enumerable: true, get: function () { return MetricBulkTagConfigDeleteAttributes_1.MetricBulkTagConfigDeleteAttributes; } });\nvar MetricBulkTagConfigDeleteRequest_1 = require(\"./models/MetricBulkTagConfigDeleteRequest\");\nObject.defineProperty(exports, \"MetricBulkTagConfigDeleteRequest\", { enumerable: true, get: function () { return MetricBulkTagConfigDeleteRequest_1.MetricBulkTagConfigDeleteRequest; } });\nvar MetricBulkTagConfigResponse_1 = require(\"./models/MetricBulkTagConfigResponse\");\nObject.defineProperty(exports, \"MetricBulkTagConfigResponse\", { enumerable: true, get: function () { return MetricBulkTagConfigResponse_1.MetricBulkTagConfigResponse; } });\nvar MetricBulkTagConfigStatus_1 = require(\"./models/MetricBulkTagConfigStatus\");\nObject.defineProperty(exports, \"MetricBulkTagConfigStatus\", { enumerable: true, get: function () { return MetricBulkTagConfigStatus_1.MetricBulkTagConfigStatus; } });\nvar MetricBulkTagConfigStatusAttributes_1 = require(\"./models/MetricBulkTagConfigStatusAttributes\");\nObject.defineProperty(exports, \"MetricBulkTagConfigStatusAttributes\", { enumerable: true, get: function () { return MetricBulkTagConfigStatusAttributes_1.MetricBulkTagConfigStatusAttributes; } });\nvar MetricCustomAggregation_1 = require(\"./models/MetricCustomAggregation\");\nObject.defineProperty(exports, \"MetricCustomAggregation\", { enumerable: true, get: function () { return MetricCustomAggregation_1.MetricCustomAggregation; } });\nvar MetricDistinctVolume_1 = require(\"./models/MetricDistinctVolume\");\nObject.defineProperty(exports, \"MetricDistinctVolume\", { enumerable: true, get: function () { return MetricDistinctVolume_1.MetricDistinctVolume; } });\nvar MetricDistinctVolumeAttributes_1 = require(\"./models/MetricDistinctVolumeAttributes\");\nObject.defineProperty(exports, \"MetricDistinctVolumeAttributes\", { enumerable: true, get: function () { return MetricDistinctVolumeAttributes_1.MetricDistinctVolumeAttributes; } });\nvar MetricIngestedIndexedVolume_1 = require(\"./models/MetricIngestedIndexedVolume\");\nObject.defineProperty(exports, \"MetricIngestedIndexedVolume\", { enumerable: true, get: function () { return MetricIngestedIndexedVolume_1.MetricIngestedIndexedVolume; } });\nvar MetricIngestedIndexedVolumeAttributes_1 = require(\"./models/MetricIngestedIndexedVolumeAttributes\");\nObject.defineProperty(exports, \"MetricIngestedIndexedVolumeAttributes\", { enumerable: true, get: function () { return MetricIngestedIndexedVolumeAttributes_1.MetricIngestedIndexedVolumeAttributes; } });\nvar MetricTagConfiguration_1 = require(\"./models/MetricTagConfiguration\");\nObject.defineProperty(exports, \"MetricTagConfiguration\", { enumerable: true, get: function () { return MetricTagConfiguration_1.MetricTagConfiguration; } });\nvar MetricTagConfigurationAttributes_1 = require(\"./models/MetricTagConfigurationAttributes\");\nObject.defineProperty(exports, \"MetricTagConfigurationAttributes\", { enumerable: true, get: function () { return MetricTagConfigurationAttributes_1.MetricTagConfigurationAttributes; } });\nvar MetricTagConfigurationCreateAttributes_1 = require(\"./models/MetricTagConfigurationCreateAttributes\");\nObject.defineProperty(exports, \"MetricTagConfigurationCreateAttributes\", { enumerable: true, get: function () { return MetricTagConfigurationCreateAttributes_1.MetricTagConfigurationCreateAttributes; } });\nvar MetricTagConfigurationCreateData_1 = require(\"./models/MetricTagConfigurationCreateData\");\nObject.defineProperty(exports, \"MetricTagConfigurationCreateData\", { enumerable: true, get: function () { return MetricTagConfigurationCreateData_1.MetricTagConfigurationCreateData; } });\nvar MetricTagConfigurationCreateRequest_1 = require(\"./models/MetricTagConfigurationCreateRequest\");\nObject.defineProperty(exports, \"MetricTagConfigurationCreateRequest\", { enumerable: true, get: function () { return MetricTagConfigurationCreateRequest_1.MetricTagConfigurationCreateRequest; } });\nvar MetricTagConfigurationResponse_1 = require(\"./models/MetricTagConfigurationResponse\");\nObject.defineProperty(exports, \"MetricTagConfigurationResponse\", { enumerable: true, get: function () { return MetricTagConfigurationResponse_1.MetricTagConfigurationResponse; } });\nvar MetricTagConfigurationUpdateAttributes_1 = require(\"./models/MetricTagConfigurationUpdateAttributes\");\nObject.defineProperty(exports, \"MetricTagConfigurationUpdateAttributes\", { enumerable: true, get: function () { return MetricTagConfigurationUpdateAttributes_1.MetricTagConfigurationUpdateAttributes; } });\nvar MetricTagConfigurationUpdateData_1 = require(\"./models/MetricTagConfigurationUpdateData\");\nObject.defineProperty(exports, \"MetricTagConfigurationUpdateData\", { enumerable: true, get: function () { return MetricTagConfigurationUpdateData_1.MetricTagConfigurationUpdateData; } });\nvar MetricTagConfigurationUpdateRequest_1 = require(\"./models/MetricTagConfigurationUpdateRequest\");\nObject.defineProperty(exports, \"MetricTagConfigurationUpdateRequest\", { enumerable: true, get: function () { return MetricTagConfigurationUpdateRequest_1.MetricTagConfigurationUpdateRequest; } });\nvar MetricVolumesResponse_1 = require(\"./models/MetricVolumesResponse\");\nObject.defineProperty(exports, \"MetricVolumesResponse\", { enumerable: true, get: function () { return MetricVolumesResponse_1.MetricVolumesResponse; } });\nvar MetricsAndMetricTagConfigurationsResponse_1 = require(\"./models/MetricsAndMetricTagConfigurationsResponse\");\nObject.defineProperty(exports, \"MetricsAndMetricTagConfigurationsResponse\", { enumerable: true, get: function () { return MetricsAndMetricTagConfigurationsResponse_1.MetricsAndMetricTagConfigurationsResponse; } });\nvar NullableRelationshipToUser_1 = require(\"./models/NullableRelationshipToUser\");\nObject.defineProperty(exports, \"NullableRelationshipToUser\", { enumerable: true, get: function () { return NullableRelationshipToUser_1.NullableRelationshipToUser; } });\nvar NullableRelationshipToUserData_1 = require(\"./models/NullableRelationshipToUserData\");\nObject.defineProperty(exports, \"NullableRelationshipToUserData\", { enumerable: true, get: function () { return NullableRelationshipToUserData_1.NullableRelationshipToUserData; } });\nvar Organization_1 = require(\"./models/Organization\");\nObject.defineProperty(exports, \"Organization\", { enumerable: true, get: function () { return Organization_1.Organization; } });\nvar OrganizationAttributes_1 = require(\"./models/OrganizationAttributes\");\nObject.defineProperty(exports, \"OrganizationAttributes\", { enumerable: true, get: function () { return OrganizationAttributes_1.OrganizationAttributes; } });\nvar Pagination_1 = require(\"./models/Pagination\");\nObject.defineProperty(exports, \"Pagination\", { enumerable: true, get: function () { return Pagination_1.Pagination; } });\nvar PartialAPIKey_1 = require(\"./models/PartialAPIKey\");\nObject.defineProperty(exports, \"PartialAPIKey\", { enumerable: true, get: function () { return PartialAPIKey_1.PartialAPIKey; } });\nvar PartialAPIKeyAttributes_1 = require(\"./models/PartialAPIKeyAttributes\");\nObject.defineProperty(exports, \"PartialAPIKeyAttributes\", { enumerable: true, get: function () { return PartialAPIKeyAttributes_1.PartialAPIKeyAttributes; } });\nvar PartialApplicationKey_1 = require(\"./models/PartialApplicationKey\");\nObject.defineProperty(exports, \"PartialApplicationKey\", { enumerable: true, get: function () { return PartialApplicationKey_1.PartialApplicationKey; } });\nvar PartialApplicationKeyAttributes_1 = require(\"./models/PartialApplicationKeyAttributes\");\nObject.defineProperty(exports, \"PartialApplicationKeyAttributes\", { enumerable: true, get: function () { return PartialApplicationKeyAttributes_1.PartialApplicationKeyAttributes; } });\nvar PartialApplicationKeyResponse_1 = require(\"./models/PartialApplicationKeyResponse\");\nObject.defineProperty(exports, \"PartialApplicationKeyResponse\", { enumerable: true, get: function () { return PartialApplicationKeyResponse_1.PartialApplicationKeyResponse; } });\nvar Permission_1 = require(\"./models/Permission\");\nObject.defineProperty(exports, \"Permission\", { enumerable: true, get: function () { return Permission_1.Permission; } });\nvar PermissionAttributes_1 = require(\"./models/PermissionAttributes\");\nObject.defineProperty(exports, \"PermissionAttributes\", { enumerable: true, get: function () { return PermissionAttributes_1.PermissionAttributes; } });\nvar PermissionsResponse_1 = require(\"./models/PermissionsResponse\");\nObject.defineProperty(exports, \"PermissionsResponse\", { enumerable: true, get: function () { return PermissionsResponse_1.PermissionsResponse; } });\nvar ProcessSummariesMeta_1 = require(\"./models/ProcessSummariesMeta\");\nObject.defineProperty(exports, \"ProcessSummariesMeta\", { enumerable: true, get: function () { return ProcessSummariesMeta_1.ProcessSummariesMeta; } });\nvar ProcessSummariesMetaPage_1 = require(\"./models/ProcessSummariesMetaPage\");\nObject.defineProperty(exports, \"ProcessSummariesMetaPage\", { enumerable: true, get: function () { return ProcessSummariesMetaPage_1.ProcessSummariesMetaPage; } });\nvar ProcessSummariesResponse_1 = require(\"./models/ProcessSummariesResponse\");\nObject.defineProperty(exports, \"ProcessSummariesResponse\", { enumerable: true, get: function () { return ProcessSummariesResponse_1.ProcessSummariesResponse; } });\nvar ProcessSummary_1 = require(\"./models/ProcessSummary\");\nObject.defineProperty(exports, \"ProcessSummary\", { enumerable: true, get: function () { return ProcessSummary_1.ProcessSummary; } });\nvar ProcessSummaryAttributes_1 = require(\"./models/ProcessSummaryAttributes\");\nObject.defineProperty(exports, \"ProcessSummaryAttributes\", { enumerable: true, get: function () { return ProcessSummaryAttributes_1.ProcessSummaryAttributes; } });\nvar RelationshipToIncidentIntegrationMetadataData_1 = require(\"./models/RelationshipToIncidentIntegrationMetadataData\");\nObject.defineProperty(exports, \"RelationshipToIncidentIntegrationMetadataData\", { enumerable: true, get: function () { return RelationshipToIncidentIntegrationMetadataData_1.RelationshipToIncidentIntegrationMetadataData; } });\nvar RelationshipToIncidentIntegrationMetadatas_1 = require(\"./models/RelationshipToIncidentIntegrationMetadatas\");\nObject.defineProperty(exports, \"RelationshipToIncidentIntegrationMetadatas\", { enumerable: true, get: function () { return RelationshipToIncidentIntegrationMetadatas_1.RelationshipToIncidentIntegrationMetadatas; } });\nvar RelationshipToIncidentPostmortem_1 = require(\"./models/RelationshipToIncidentPostmortem\");\nObject.defineProperty(exports, \"RelationshipToIncidentPostmortem\", { enumerable: true, get: function () { return RelationshipToIncidentPostmortem_1.RelationshipToIncidentPostmortem; } });\nvar RelationshipToIncidentPostmortemData_1 = require(\"./models/RelationshipToIncidentPostmortemData\");\nObject.defineProperty(exports, \"RelationshipToIncidentPostmortemData\", { enumerable: true, get: function () { return RelationshipToIncidentPostmortemData_1.RelationshipToIncidentPostmortemData; } });\nvar RelationshipToOrganization_1 = require(\"./models/RelationshipToOrganization\");\nObject.defineProperty(exports, \"RelationshipToOrganization\", { enumerable: true, get: function () { return RelationshipToOrganization_1.RelationshipToOrganization; } });\nvar RelationshipToOrganizationData_1 = require(\"./models/RelationshipToOrganizationData\");\nObject.defineProperty(exports, \"RelationshipToOrganizationData\", { enumerable: true, get: function () { return RelationshipToOrganizationData_1.RelationshipToOrganizationData; } });\nvar RelationshipToOrganizations_1 = require(\"./models/RelationshipToOrganizations\");\nObject.defineProperty(exports, \"RelationshipToOrganizations\", { enumerable: true, get: function () { return RelationshipToOrganizations_1.RelationshipToOrganizations; } });\nvar RelationshipToPermission_1 = require(\"./models/RelationshipToPermission\");\nObject.defineProperty(exports, \"RelationshipToPermission\", { enumerable: true, get: function () { return RelationshipToPermission_1.RelationshipToPermission; } });\nvar RelationshipToPermissionData_1 = require(\"./models/RelationshipToPermissionData\");\nObject.defineProperty(exports, \"RelationshipToPermissionData\", { enumerable: true, get: function () { return RelationshipToPermissionData_1.RelationshipToPermissionData; } });\nvar RelationshipToPermissions_1 = require(\"./models/RelationshipToPermissions\");\nObject.defineProperty(exports, \"RelationshipToPermissions\", { enumerable: true, get: function () { return RelationshipToPermissions_1.RelationshipToPermissions; } });\nvar RelationshipToRole_1 = require(\"./models/RelationshipToRole\");\nObject.defineProperty(exports, \"RelationshipToRole\", { enumerable: true, get: function () { return RelationshipToRole_1.RelationshipToRole; } });\nvar RelationshipToRoleData_1 = require(\"./models/RelationshipToRoleData\");\nObject.defineProperty(exports, \"RelationshipToRoleData\", { enumerable: true, get: function () { return RelationshipToRoleData_1.RelationshipToRoleData; } });\nvar RelationshipToRoles_1 = require(\"./models/RelationshipToRoles\");\nObject.defineProperty(exports, \"RelationshipToRoles\", { enumerable: true, get: function () { return RelationshipToRoles_1.RelationshipToRoles; } });\nvar RelationshipToSAMLAssertionAttribute_1 = require(\"./models/RelationshipToSAMLAssertionAttribute\");\nObject.defineProperty(exports, \"RelationshipToSAMLAssertionAttribute\", { enumerable: true, get: function () { return RelationshipToSAMLAssertionAttribute_1.RelationshipToSAMLAssertionAttribute; } });\nvar RelationshipToSAMLAssertionAttributeData_1 = require(\"./models/RelationshipToSAMLAssertionAttributeData\");\nObject.defineProperty(exports, \"RelationshipToSAMLAssertionAttributeData\", { enumerable: true, get: function () { return RelationshipToSAMLAssertionAttributeData_1.RelationshipToSAMLAssertionAttributeData; } });\nvar RelationshipToUser_1 = require(\"./models/RelationshipToUser\");\nObject.defineProperty(exports, \"RelationshipToUser\", { enumerable: true, get: function () { return RelationshipToUser_1.RelationshipToUser; } });\nvar RelationshipToUserData_1 = require(\"./models/RelationshipToUserData\");\nObject.defineProperty(exports, \"RelationshipToUserData\", { enumerable: true, get: function () { return RelationshipToUserData_1.RelationshipToUserData; } });\nvar RelationshipToUsers_1 = require(\"./models/RelationshipToUsers\");\nObject.defineProperty(exports, \"RelationshipToUsers\", { enumerable: true, get: function () { return RelationshipToUsers_1.RelationshipToUsers; } });\nvar ResponseMetaAttributes_1 = require(\"./models/ResponseMetaAttributes\");\nObject.defineProperty(exports, \"ResponseMetaAttributes\", { enumerable: true, get: function () { return ResponseMetaAttributes_1.ResponseMetaAttributes; } });\nvar Role_1 = require(\"./models/Role\");\nObject.defineProperty(exports, \"Role\", { enumerable: true, get: function () { return Role_1.Role; } });\nvar RoleAttributes_1 = require(\"./models/RoleAttributes\");\nObject.defineProperty(exports, \"RoleAttributes\", { enumerable: true, get: function () { return RoleAttributes_1.RoleAttributes; } });\nvar RoleClone_1 = require(\"./models/RoleClone\");\nObject.defineProperty(exports, \"RoleClone\", { enumerable: true, get: function () { return RoleClone_1.RoleClone; } });\nvar RoleCloneAttributes_1 = require(\"./models/RoleCloneAttributes\");\nObject.defineProperty(exports, \"RoleCloneAttributes\", { enumerable: true, get: function () { return RoleCloneAttributes_1.RoleCloneAttributes; } });\nvar RoleCloneRequest_1 = require(\"./models/RoleCloneRequest\");\nObject.defineProperty(exports, \"RoleCloneRequest\", { enumerable: true, get: function () { return RoleCloneRequest_1.RoleCloneRequest; } });\nvar RoleCreateAttributes_1 = require(\"./models/RoleCreateAttributes\");\nObject.defineProperty(exports, \"RoleCreateAttributes\", { enumerable: true, get: function () { return RoleCreateAttributes_1.RoleCreateAttributes; } });\nvar RoleCreateData_1 = require(\"./models/RoleCreateData\");\nObject.defineProperty(exports, \"RoleCreateData\", { enumerable: true, get: function () { return RoleCreateData_1.RoleCreateData; } });\nvar RoleCreateRequest_1 = require(\"./models/RoleCreateRequest\");\nObject.defineProperty(exports, \"RoleCreateRequest\", { enumerable: true, get: function () { return RoleCreateRequest_1.RoleCreateRequest; } });\nvar RoleCreateResponse_1 = require(\"./models/RoleCreateResponse\");\nObject.defineProperty(exports, \"RoleCreateResponse\", { enumerable: true, get: function () { return RoleCreateResponse_1.RoleCreateResponse; } });\nvar RoleCreateResponseData_1 = require(\"./models/RoleCreateResponseData\");\nObject.defineProperty(exports, \"RoleCreateResponseData\", { enumerable: true, get: function () { return RoleCreateResponseData_1.RoleCreateResponseData; } });\nvar RoleRelationships_1 = require(\"./models/RoleRelationships\");\nObject.defineProperty(exports, \"RoleRelationships\", { enumerable: true, get: function () { return RoleRelationships_1.RoleRelationships; } });\nvar RoleResponse_1 = require(\"./models/RoleResponse\");\nObject.defineProperty(exports, \"RoleResponse\", { enumerable: true, get: function () { return RoleResponse_1.RoleResponse; } });\nvar RoleResponseRelationships_1 = require(\"./models/RoleResponseRelationships\");\nObject.defineProperty(exports, \"RoleResponseRelationships\", { enumerable: true, get: function () { return RoleResponseRelationships_1.RoleResponseRelationships; } });\nvar RoleUpdateAttributes_1 = require(\"./models/RoleUpdateAttributes\");\nObject.defineProperty(exports, \"RoleUpdateAttributes\", { enumerable: true, get: function () { return RoleUpdateAttributes_1.RoleUpdateAttributes; } });\nvar RoleUpdateData_1 = require(\"./models/RoleUpdateData\");\nObject.defineProperty(exports, \"RoleUpdateData\", { enumerable: true, get: function () { return RoleUpdateData_1.RoleUpdateData; } });\nvar RoleUpdateRequest_1 = require(\"./models/RoleUpdateRequest\");\nObject.defineProperty(exports, \"RoleUpdateRequest\", { enumerable: true, get: function () { return RoleUpdateRequest_1.RoleUpdateRequest; } });\nvar RoleUpdateResponse_1 = require(\"./models/RoleUpdateResponse\");\nObject.defineProperty(exports, \"RoleUpdateResponse\", { enumerable: true, get: function () { return RoleUpdateResponse_1.RoleUpdateResponse; } });\nvar RoleUpdateResponseData_1 = require(\"./models/RoleUpdateResponseData\");\nObject.defineProperty(exports, \"RoleUpdateResponseData\", { enumerable: true, get: function () { return RoleUpdateResponseData_1.RoleUpdateResponseData; } });\nvar RolesResponse_1 = require(\"./models/RolesResponse\");\nObject.defineProperty(exports, \"RolesResponse\", { enumerable: true, get: function () { return RolesResponse_1.RolesResponse; } });\nvar SAMLAssertionAttribute_1 = require(\"./models/SAMLAssertionAttribute\");\nObject.defineProperty(exports, \"SAMLAssertionAttribute\", { enumerable: true, get: function () { return SAMLAssertionAttribute_1.SAMLAssertionAttribute; } });\nvar SAMLAssertionAttributeAttributes_1 = require(\"./models/SAMLAssertionAttributeAttributes\");\nObject.defineProperty(exports, \"SAMLAssertionAttributeAttributes\", { enumerable: true, get: function () { return SAMLAssertionAttributeAttributes_1.SAMLAssertionAttributeAttributes; } });\nvar SecurityFilter_1 = require(\"./models/SecurityFilter\");\nObject.defineProperty(exports, \"SecurityFilter\", { enumerable: true, get: function () { return SecurityFilter_1.SecurityFilter; } });\nvar SecurityFilterAttributes_1 = require(\"./models/SecurityFilterAttributes\");\nObject.defineProperty(exports, \"SecurityFilterAttributes\", { enumerable: true, get: function () { return SecurityFilterAttributes_1.SecurityFilterAttributes; } });\nvar SecurityFilterCreateAttributes_1 = require(\"./models/SecurityFilterCreateAttributes\");\nObject.defineProperty(exports, \"SecurityFilterCreateAttributes\", { enumerable: true, get: function () { return SecurityFilterCreateAttributes_1.SecurityFilterCreateAttributes; } });\nvar SecurityFilterCreateData_1 = require(\"./models/SecurityFilterCreateData\");\nObject.defineProperty(exports, \"SecurityFilterCreateData\", { enumerable: true, get: function () { return SecurityFilterCreateData_1.SecurityFilterCreateData; } });\nvar SecurityFilterCreateRequest_1 = require(\"./models/SecurityFilterCreateRequest\");\nObject.defineProperty(exports, \"SecurityFilterCreateRequest\", { enumerable: true, get: function () { return SecurityFilterCreateRequest_1.SecurityFilterCreateRequest; } });\nvar SecurityFilterExclusionFilter_1 = require(\"./models/SecurityFilterExclusionFilter\");\nObject.defineProperty(exports, \"SecurityFilterExclusionFilter\", { enumerable: true, get: function () { return SecurityFilterExclusionFilter_1.SecurityFilterExclusionFilter; } });\nvar SecurityFilterExclusionFilterResponse_1 = require(\"./models/SecurityFilterExclusionFilterResponse\");\nObject.defineProperty(exports, \"SecurityFilterExclusionFilterResponse\", { enumerable: true, get: function () { return SecurityFilterExclusionFilterResponse_1.SecurityFilterExclusionFilterResponse; } });\nvar SecurityFilterMeta_1 = require(\"./models/SecurityFilterMeta\");\nObject.defineProperty(exports, \"SecurityFilterMeta\", { enumerable: true, get: function () { return SecurityFilterMeta_1.SecurityFilterMeta; } });\nvar SecurityFilterResponse_1 = require(\"./models/SecurityFilterResponse\");\nObject.defineProperty(exports, \"SecurityFilterResponse\", { enumerable: true, get: function () { return SecurityFilterResponse_1.SecurityFilterResponse; } });\nvar SecurityFilterUpdateAttributes_1 = require(\"./models/SecurityFilterUpdateAttributes\");\nObject.defineProperty(exports, \"SecurityFilterUpdateAttributes\", { enumerable: true, get: function () { return SecurityFilterUpdateAttributes_1.SecurityFilterUpdateAttributes; } });\nvar SecurityFilterUpdateData_1 = require(\"./models/SecurityFilterUpdateData\");\nObject.defineProperty(exports, \"SecurityFilterUpdateData\", { enumerable: true, get: function () { return SecurityFilterUpdateData_1.SecurityFilterUpdateData; } });\nvar SecurityFilterUpdateRequest_1 = require(\"./models/SecurityFilterUpdateRequest\");\nObject.defineProperty(exports, \"SecurityFilterUpdateRequest\", { enumerable: true, get: function () { return SecurityFilterUpdateRequest_1.SecurityFilterUpdateRequest; } });\nvar SecurityFiltersResponse_1 = require(\"./models/SecurityFiltersResponse\");\nObject.defineProperty(exports, \"SecurityFiltersResponse\", { enumerable: true, get: function () { return SecurityFiltersResponse_1.SecurityFiltersResponse; } });\nvar SecurityMonitoringFilter_1 = require(\"./models/SecurityMonitoringFilter\");\nObject.defineProperty(exports, \"SecurityMonitoringFilter\", { enumerable: true, get: function () { return SecurityMonitoringFilter_1.SecurityMonitoringFilter; } });\nvar SecurityMonitoringListRulesResponse_1 = require(\"./models/SecurityMonitoringListRulesResponse\");\nObject.defineProperty(exports, \"SecurityMonitoringListRulesResponse\", { enumerable: true, get: function () { return SecurityMonitoringListRulesResponse_1.SecurityMonitoringListRulesResponse; } });\nvar SecurityMonitoringRuleCase_1 = require(\"./models/SecurityMonitoringRuleCase\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleCase\", { enumerable: true, get: function () { return SecurityMonitoringRuleCase_1.SecurityMonitoringRuleCase; } });\nvar SecurityMonitoringRuleCaseCreate_1 = require(\"./models/SecurityMonitoringRuleCaseCreate\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleCaseCreate\", { enumerable: true, get: function () { return SecurityMonitoringRuleCaseCreate_1.SecurityMonitoringRuleCaseCreate; } });\nvar SecurityMonitoringRuleCreatePayload_1 = require(\"./models/SecurityMonitoringRuleCreatePayload\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleCreatePayload\", { enumerable: true, get: function () { return SecurityMonitoringRuleCreatePayload_1.SecurityMonitoringRuleCreatePayload; } });\nvar SecurityMonitoringRuleNewValueOptions_1 = require(\"./models/SecurityMonitoringRuleNewValueOptions\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleNewValueOptions\", { enumerable: true, get: function () { return SecurityMonitoringRuleNewValueOptions_1.SecurityMonitoringRuleNewValueOptions; } });\nvar SecurityMonitoringRuleOptions_1 = require(\"./models/SecurityMonitoringRuleOptions\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleOptions\", { enumerable: true, get: function () { return SecurityMonitoringRuleOptions_1.SecurityMonitoringRuleOptions; } });\nvar SecurityMonitoringRuleQuery_1 = require(\"./models/SecurityMonitoringRuleQuery\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleQuery\", { enumerable: true, get: function () { return SecurityMonitoringRuleQuery_1.SecurityMonitoringRuleQuery; } });\nvar SecurityMonitoringRuleQueryCreate_1 = require(\"./models/SecurityMonitoringRuleQueryCreate\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleQueryCreate\", { enumerable: true, get: function () { return SecurityMonitoringRuleQueryCreate_1.SecurityMonitoringRuleQueryCreate; } });\nvar SecurityMonitoringRuleResponse_1 = require(\"./models/SecurityMonitoringRuleResponse\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleResponse\", { enumerable: true, get: function () { return SecurityMonitoringRuleResponse_1.SecurityMonitoringRuleResponse; } });\nvar SecurityMonitoringRuleUpdatePayload_1 = require(\"./models/SecurityMonitoringRuleUpdatePayload\");\nObject.defineProperty(exports, \"SecurityMonitoringRuleUpdatePayload\", { enumerable: true, get: function () { return SecurityMonitoringRuleUpdatePayload_1.SecurityMonitoringRuleUpdatePayload; } });\nvar SecurityMonitoringSignal_1 = require(\"./models/SecurityMonitoringSignal\");\nObject.defineProperty(exports, \"SecurityMonitoringSignal\", { enumerable: true, get: function () { return SecurityMonitoringSignal_1.SecurityMonitoringSignal; } });\nvar SecurityMonitoringSignalAttributes_1 = require(\"./models/SecurityMonitoringSignalAttributes\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalAttributes\", { enumerable: true, get: function () { return SecurityMonitoringSignalAttributes_1.SecurityMonitoringSignalAttributes; } });\nvar SecurityMonitoringSignalListRequest_1 = require(\"./models/SecurityMonitoringSignalListRequest\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalListRequest\", { enumerable: true, get: function () { return SecurityMonitoringSignalListRequest_1.SecurityMonitoringSignalListRequest; } });\nvar SecurityMonitoringSignalListRequestFilter_1 = require(\"./models/SecurityMonitoringSignalListRequestFilter\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalListRequestFilter\", { enumerable: true, get: function () { return SecurityMonitoringSignalListRequestFilter_1.SecurityMonitoringSignalListRequestFilter; } });\nvar SecurityMonitoringSignalListRequestPage_1 = require(\"./models/SecurityMonitoringSignalListRequestPage\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalListRequestPage\", { enumerable: true, get: function () { return SecurityMonitoringSignalListRequestPage_1.SecurityMonitoringSignalListRequestPage; } });\nvar SecurityMonitoringSignalsListResponse_1 = require(\"./models/SecurityMonitoringSignalsListResponse\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalsListResponse\", { enumerable: true, get: function () { return SecurityMonitoringSignalsListResponse_1.SecurityMonitoringSignalsListResponse; } });\nvar SecurityMonitoringSignalsListResponseLinks_1 = require(\"./models/SecurityMonitoringSignalsListResponseLinks\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalsListResponseLinks\", { enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseLinks_1.SecurityMonitoringSignalsListResponseLinks; } });\nvar SecurityMonitoringSignalsListResponseMeta_1 = require(\"./models/SecurityMonitoringSignalsListResponseMeta\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalsListResponseMeta\", { enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseMeta_1.SecurityMonitoringSignalsListResponseMeta; } });\nvar SecurityMonitoringSignalsListResponseMetaPage_1 = require(\"./models/SecurityMonitoringSignalsListResponseMetaPage\");\nObject.defineProperty(exports, \"SecurityMonitoringSignalsListResponseMetaPage\", { enumerable: true, get: function () { return SecurityMonitoringSignalsListResponseMetaPage_1.SecurityMonitoringSignalsListResponseMetaPage; } });\nvar ServiceAccountCreateAttributes_1 = require(\"./models/ServiceAccountCreateAttributes\");\nObject.defineProperty(exports, \"ServiceAccountCreateAttributes\", { enumerable: true, get: function () { return ServiceAccountCreateAttributes_1.ServiceAccountCreateAttributes; } });\nvar ServiceAccountCreateData_1 = require(\"./models/ServiceAccountCreateData\");\nObject.defineProperty(exports, \"ServiceAccountCreateData\", { enumerable: true, get: function () { return ServiceAccountCreateData_1.ServiceAccountCreateData; } });\nvar ServiceAccountCreateRequest_1 = require(\"./models/ServiceAccountCreateRequest\");\nObject.defineProperty(exports, \"ServiceAccountCreateRequest\", { enumerable: true, get: function () { return ServiceAccountCreateRequest_1.ServiceAccountCreateRequest; } });\nvar User_1 = require(\"./models/User\");\nObject.defineProperty(exports, \"User\", { enumerable: true, get: function () { return User_1.User; } });\nvar UserAttributes_1 = require(\"./models/UserAttributes\");\nObject.defineProperty(exports, \"UserAttributes\", { enumerable: true, get: function () { return UserAttributes_1.UserAttributes; } });\nvar UserCreateAttributes_1 = require(\"./models/UserCreateAttributes\");\nObject.defineProperty(exports, \"UserCreateAttributes\", { enumerable: true, get: function () { return UserCreateAttributes_1.UserCreateAttributes; } });\nvar UserCreateData_1 = require(\"./models/UserCreateData\");\nObject.defineProperty(exports, \"UserCreateData\", { enumerable: true, get: function () { return UserCreateData_1.UserCreateData; } });\nvar UserCreateRequest_1 = require(\"./models/UserCreateRequest\");\nObject.defineProperty(exports, \"UserCreateRequest\", { enumerable: true, get: function () { return UserCreateRequest_1.UserCreateRequest; } });\nvar UserInvitationData_1 = require(\"./models/UserInvitationData\");\nObject.defineProperty(exports, \"UserInvitationData\", { enumerable: true, get: function () { return UserInvitationData_1.UserInvitationData; } });\nvar UserInvitationDataAttributes_1 = require(\"./models/UserInvitationDataAttributes\");\nObject.defineProperty(exports, \"UserInvitationDataAttributes\", { enumerable: true, get: function () { return UserInvitationDataAttributes_1.UserInvitationDataAttributes; } });\nvar UserInvitationRelationships_1 = require(\"./models/UserInvitationRelationships\");\nObject.defineProperty(exports, \"UserInvitationRelationships\", { enumerable: true, get: function () { return UserInvitationRelationships_1.UserInvitationRelationships; } });\nvar UserInvitationResponse_1 = require(\"./models/UserInvitationResponse\");\nObject.defineProperty(exports, \"UserInvitationResponse\", { enumerable: true, get: function () { return UserInvitationResponse_1.UserInvitationResponse; } });\nvar UserInvitationResponseData_1 = require(\"./models/UserInvitationResponseData\");\nObject.defineProperty(exports, \"UserInvitationResponseData\", { enumerable: true, get: function () { return UserInvitationResponseData_1.UserInvitationResponseData; } });\nvar UserInvitationsRequest_1 = require(\"./models/UserInvitationsRequest\");\nObject.defineProperty(exports, \"UserInvitationsRequest\", { enumerable: true, get: function () { return UserInvitationsRequest_1.UserInvitationsRequest; } });\nvar UserInvitationsResponse_1 = require(\"./models/UserInvitationsResponse\");\nObject.defineProperty(exports, \"UserInvitationsResponse\", { enumerable: true, get: function () { return UserInvitationsResponse_1.UserInvitationsResponse; } });\nvar UserRelationships_1 = require(\"./models/UserRelationships\");\nObject.defineProperty(exports, \"UserRelationships\", { enumerable: true, get: function () { return UserRelationships_1.UserRelationships; } });\nvar UserResponse_1 = require(\"./models/UserResponse\");\nObject.defineProperty(exports, \"UserResponse\", { enumerable: true, get: function () { return UserResponse_1.UserResponse; } });\nvar UserResponseRelationships_1 = require(\"./models/UserResponseRelationships\");\nObject.defineProperty(exports, \"UserResponseRelationships\", { enumerable: true, get: function () { return UserResponseRelationships_1.UserResponseRelationships; } });\nvar UserUpdateAttributes_1 = require(\"./models/UserUpdateAttributes\");\nObject.defineProperty(exports, \"UserUpdateAttributes\", { enumerable: true, get: function () { return UserUpdateAttributes_1.UserUpdateAttributes; } });\nvar UserUpdateData_1 = require(\"./models/UserUpdateData\");\nObject.defineProperty(exports, \"UserUpdateData\", { enumerable: true, get: function () { return UserUpdateData_1.UserUpdateData; } });\nvar UserUpdateRequest_1 = require(\"./models/UserUpdateRequest\");\nObject.defineProperty(exports, \"UserUpdateRequest\", { enumerable: true, get: function () { return UserUpdateRequest_1.UserUpdateRequest; } });\nvar UsersResponse_1 = require(\"./models/UsersResponse\");\nObject.defineProperty(exports, \"UsersResponse\", { enumerable: true, get: function () { return UsersResponse_1.UsersResponse; } });\n//# sourceMappingURL=index.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIErrorResponse = void 0;\n/**\n * API error response.\n */\nvar APIErrorResponse = /** @class */ (function () {\n function APIErrorResponse() {\n }\n /**\n * @ignore\n */\n APIErrorResponse.getAttributeTypeMap = function () {\n return APIErrorResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIErrorResponse.attributeTypeMap = {\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n required: true,\n },\n };\n return APIErrorResponse;\n}());\nexports.APIErrorResponse = APIErrorResponse;\n//# sourceMappingURL=APIErrorResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyCreateAttributes = void 0;\n/**\n * Attributes used to create an API Key.\n */\nvar APIKeyCreateAttributes = /** @class */ (function () {\n function APIKeyCreateAttributes() {\n }\n /**\n * @ignore\n */\n APIKeyCreateAttributes.getAttributeTypeMap = function () {\n return APIKeyCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyCreateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return APIKeyCreateAttributes;\n}());\nexports.APIKeyCreateAttributes = APIKeyCreateAttributes;\n//# sourceMappingURL=APIKeyCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyCreateData = void 0;\n/**\n * Object used to create an API key.\n */\nvar APIKeyCreateData = /** @class */ (function () {\n function APIKeyCreateData() {\n }\n /**\n * @ignore\n */\n APIKeyCreateData.getAttributeTypeMap = function () {\n return APIKeyCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"APIKeyCreateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"APIKeysType\",\n required: true,\n },\n };\n return APIKeyCreateData;\n}());\nexports.APIKeyCreateData = APIKeyCreateData;\n//# sourceMappingURL=APIKeyCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyCreateRequest = void 0;\n/**\n * Request used to create an API key.\n */\nvar APIKeyCreateRequest = /** @class */ (function () {\n function APIKeyCreateRequest() {\n }\n /**\n * @ignore\n */\n APIKeyCreateRequest.getAttributeTypeMap = function () {\n return APIKeyCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"APIKeyCreateData\",\n required: true,\n },\n };\n return APIKeyCreateRequest;\n}());\nexports.APIKeyCreateRequest = APIKeyCreateRequest;\n//# sourceMappingURL=APIKeyCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyRelationships = void 0;\n/**\n * Resources related to the API key.\n */\nvar APIKeyRelationships = /** @class */ (function () {\n function APIKeyRelationships() {\n }\n /**\n * @ignore\n */\n APIKeyRelationships.getAttributeTypeMap = function () {\n return APIKeyRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyRelationships.attributeTypeMap = {\n createdBy: {\n baseName: \"created_by\",\n type: \"RelationshipToUser\",\n },\n modifiedBy: {\n baseName: \"modified_by\",\n type: \"RelationshipToUser\",\n },\n };\n return APIKeyRelationships;\n}());\nexports.APIKeyRelationships = APIKeyRelationships;\n//# sourceMappingURL=APIKeyRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyResponse = void 0;\n/**\n * Response for retrieving an API key.\n */\nvar APIKeyResponse = /** @class */ (function () {\n function APIKeyResponse() {\n }\n /**\n * @ignore\n */\n APIKeyResponse.getAttributeTypeMap = function () {\n return APIKeyResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"FullAPIKey\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return APIKeyResponse;\n}());\nexports.APIKeyResponse = APIKeyResponse;\n//# sourceMappingURL=APIKeyResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyUpdateAttributes = void 0;\n/**\n * Attributes used to update an API Key.\n */\nvar APIKeyUpdateAttributes = /** @class */ (function () {\n function APIKeyUpdateAttributes() {\n }\n /**\n * @ignore\n */\n APIKeyUpdateAttributes.getAttributeTypeMap = function () {\n return APIKeyUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyUpdateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return APIKeyUpdateAttributes;\n}());\nexports.APIKeyUpdateAttributes = APIKeyUpdateAttributes;\n//# sourceMappingURL=APIKeyUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyUpdateData = void 0;\n/**\n * Object used to update an API key.\n */\nvar APIKeyUpdateData = /** @class */ (function () {\n function APIKeyUpdateData() {\n }\n /**\n * @ignore\n */\n APIKeyUpdateData.getAttributeTypeMap = function () {\n return APIKeyUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"APIKeyUpdateAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"APIKeysType\",\n required: true,\n },\n };\n return APIKeyUpdateData;\n}());\nexports.APIKeyUpdateData = APIKeyUpdateData;\n//# sourceMappingURL=APIKeyUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeyUpdateRequest = void 0;\n/**\n * Request used to update an API key.\n */\nvar APIKeyUpdateRequest = /** @class */ (function () {\n function APIKeyUpdateRequest() {\n }\n /**\n * @ignore\n */\n APIKeyUpdateRequest.getAttributeTypeMap = function () {\n return APIKeyUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeyUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"APIKeyUpdateData\",\n required: true,\n },\n };\n return APIKeyUpdateRequest;\n}());\nexports.APIKeyUpdateRequest = APIKeyUpdateRequest;\n//# sourceMappingURL=APIKeyUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.APIKeysResponse = void 0;\n/**\n * Response for a list of API keys.\n */\nvar APIKeysResponse = /** @class */ (function () {\n function APIKeysResponse() {\n }\n /**\n * @ignore\n */\n APIKeysResponse.getAttributeTypeMap = function () {\n return APIKeysResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n APIKeysResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return APIKeysResponse;\n}());\nexports.APIKeysResponse = APIKeysResponse;\n//# sourceMappingURL=APIKeysResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyCreateAttributes = void 0;\n/**\n * Attributes used to create an application Key.\n */\nvar ApplicationKeyCreateAttributes = /** @class */ (function () {\n function ApplicationKeyCreateAttributes() {\n }\n /**\n * @ignore\n */\n ApplicationKeyCreateAttributes.getAttributeTypeMap = function () {\n return ApplicationKeyCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyCreateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n scopes: {\n baseName: \"scopes\",\n type: \"Array\",\n },\n };\n return ApplicationKeyCreateAttributes;\n}());\nexports.ApplicationKeyCreateAttributes = ApplicationKeyCreateAttributes;\n//# sourceMappingURL=ApplicationKeyCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyCreateData = void 0;\n/**\n * Object used to create an application key.\n */\nvar ApplicationKeyCreateData = /** @class */ (function () {\n function ApplicationKeyCreateData() {\n }\n /**\n * @ignore\n */\n ApplicationKeyCreateData.getAttributeTypeMap = function () {\n return ApplicationKeyCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"ApplicationKeyCreateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"ApplicationKeysType\",\n required: true,\n },\n };\n return ApplicationKeyCreateData;\n}());\nexports.ApplicationKeyCreateData = ApplicationKeyCreateData;\n//# sourceMappingURL=ApplicationKeyCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyCreateRequest = void 0;\n/**\n * Request used to create an application key.\n */\nvar ApplicationKeyCreateRequest = /** @class */ (function () {\n function ApplicationKeyCreateRequest() {\n }\n /**\n * @ignore\n */\n ApplicationKeyCreateRequest.getAttributeTypeMap = function () {\n return ApplicationKeyCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"ApplicationKeyCreateData\",\n required: true,\n },\n };\n return ApplicationKeyCreateRequest;\n}());\nexports.ApplicationKeyCreateRequest = ApplicationKeyCreateRequest;\n//# sourceMappingURL=ApplicationKeyCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyRelationships = void 0;\n/**\n * Resources related to the application key.\n */\nvar ApplicationKeyRelationships = /** @class */ (function () {\n function ApplicationKeyRelationships() {\n }\n /**\n * @ignore\n */\n ApplicationKeyRelationships.getAttributeTypeMap = function () {\n return ApplicationKeyRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyRelationships.attributeTypeMap = {\n ownedBy: {\n baseName: \"owned_by\",\n type: \"RelationshipToUser\",\n },\n };\n return ApplicationKeyRelationships;\n}());\nexports.ApplicationKeyRelationships = ApplicationKeyRelationships;\n//# sourceMappingURL=ApplicationKeyRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyResponse = void 0;\n/**\n * Response for retrieving an application key.\n */\nvar ApplicationKeyResponse = /** @class */ (function () {\n function ApplicationKeyResponse() {\n }\n /**\n * @ignore\n */\n ApplicationKeyResponse.getAttributeTypeMap = function () {\n return ApplicationKeyResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"FullApplicationKey\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return ApplicationKeyResponse;\n}());\nexports.ApplicationKeyResponse = ApplicationKeyResponse;\n//# sourceMappingURL=ApplicationKeyResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyUpdateAttributes = void 0;\n/**\n * Attributes used to update an application Key.\n */\nvar ApplicationKeyUpdateAttributes = /** @class */ (function () {\n function ApplicationKeyUpdateAttributes() {\n }\n /**\n * @ignore\n */\n ApplicationKeyUpdateAttributes.getAttributeTypeMap = function () {\n return ApplicationKeyUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyUpdateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n scopes: {\n baseName: \"scopes\",\n type: \"Array\",\n },\n };\n return ApplicationKeyUpdateAttributes;\n}());\nexports.ApplicationKeyUpdateAttributes = ApplicationKeyUpdateAttributes;\n//# sourceMappingURL=ApplicationKeyUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyUpdateData = void 0;\n/**\n * Object used to update an application key.\n */\nvar ApplicationKeyUpdateData = /** @class */ (function () {\n function ApplicationKeyUpdateData() {\n }\n /**\n * @ignore\n */\n ApplicationKeyUpdateData.getAttributeTypeMap = function () {\n return ApplicationKeyUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"ApplicationKeyUpdateAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"ApplicationKeysType\",\n required: true,\n },\n };\n return ApplicationKeyUpdateData;\n}());\nexports.ApplicationKeyUpdateData = ApplicationKeyUpdateData;\n//# sourceMappingURL=ApplicationKeyUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ApplicationKeyUpdateRequest = void 0;\n/**\n * Request used to update an application key.\n */\nvar ApplicationKeyUpdateRequest = /** @class */ (function () {\n function ApplicationKeyUpdateRequest() {\n }\n /**\n * @ignore\n */\n ApplicationKeyUpdateRequest.getAttributeTypeMap = function () {\n return ApplicationKeyUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ApplicationKeyUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"ApplicationKeyUpdateData\",\n required: true,\n },\n };\n return ApplicationKeyUpdateRequest;\n}());\nexports.ApplicationKeyUpdateRequest = ApplicationKeyUpdateRequest;\n//# sourceMappingURL=ApplicationKeyUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMapping = void 0;\n/**\n * The AuthN Mapping object returned by API.\n */\nvar AuthNMapping = /** @class */ (function () {\n function AuthNMapping() {\n }\n /**\n * @ignore\n */\n AuthNMapping.getAttributeTypeMap = function () {\n return AuthNMapping.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMapping.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"AuthNMappingAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"AuthNMappingRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"AuthNMappingsType\",\n required: true,\n },\n };\n return AuthNMapping;\n}());\nexports.AuthNMapping = AuthNMapping;\n//# sourceMappingURL=AuthNMapping.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingAttributes = void 0;\n/**\n * Attributes of AuthN Mapping.\n */\nvar AuthNMappingAttributes = /** @class */ (function () {\n function AuthNMappingAttributes() {\n }\n /**\n * @ignore\n */\n AuthNMappingAttributes.getAttributeTypeMap = function () {\n return AuthNMappingAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingAttributes.attributeTypeMap = {\n attributeKey: {\n baseName: \"attribute_key\",\n type: \"string\",\n },\n attributeValue: {\n baseName: \"attribute_value\",\n type: \"string\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n samlAssertionAttributeId: {\n baseName: \"saml_assertion_attribute_id\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return AuthNMappingAttributes;\n}());\nexports.AuthNMappingAttributes = AuthNMappingAttributes;\n//# sourceMappingURL=AuthNMappingAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingCreateAttributes = void 0;\n/**\n * Key/Value pair of attributes used for create request.\n */\nvar AuthNMappingCreateAttributes = /** @class */ (function () {\n function AuthNMappingCreateAttributes() {\n }\n /**\n * @ignore\n */\n AuthNMappingCreateAttributes.getAttributeTypeMap = function () {\n return AuthNMappingCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingCreateAttributes.attributeTypeMap = {\n attributeKey: {\n baseName: \"attribute_key\",\n type: \"string\",\n },\n attributeValue: {\n baseName: \"attribute_value\",\n type: \"string\",\n },\n };\n return AuthNMappingCreateAttributes;\n}());\nexports.AuthNMappingCreateAttributes = AuthNMappingCreateAttributes;\n//# sourceMappingURL=AuthNMappingCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingCreateData = void 0;\n/**\n * Data for creating an AuthN Mapping.\n */\nvar AuthNMappingCreateData = /** @class */ (function () {\n function AuthNMappingCreateData() {\n }\n /**\n * @ignore\n */\n AuthNMappingCreateData.getAttributeTypeMap = function () {\n return AuthNMappingCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"AuthNMappingCreateAttributes\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"AuthNMappingCreateRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"AuthNMappingsType\",\n required: true,\n },\n };\n return AuthNMappingCreateData;\n}());\nexports.AuthNMappingCreateData = AuthNMappingCreateData;\n//# sourceMappingURL=AuthNMappingCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingCreateRelationships = void 0;\n/**\n * Relationship of AuthN Mapping create object to Role.\n */\nvar AuthNMappingCreateRelationships = /** @class */ (function () {\n function AuthNMappingCreateRelationships() {\n }\n /**\n * @ignore\n */\n AuthNMappingCreateRelationships.getAttributeTypeMap = function () {\n return AuthNMappingCreateRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingCreateRelationships.attributeTypeMap = {\n role: {\n baseName: \"role\",\n type: \"RelationshipToRole\",\n },\n };\n return AuthNMappingCreateRelationships;\n}());\nexports.AuthNMappingCreateRelationships = AuthNMappingCreateRelationships;\n//# sourceMappingURL=AuthNMappingCreateRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingCreateRequest = void 0;\n/**\n * Request for creating an AuthN Mapping.\n */\nvar AuthNMappingCreateRequest = /** @class */ (function () {\n function AuthNMappingCreateRequest() {\n }\n /**\n * @ignore\n */\n AuthNMappingCreateRequest.getAttributeTypeMap = function () {\n return AuthNMappingCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"AuthNMappingCreateData\",\n required: true,\n },\n };\n return AuthNMappingCreateRequest;\n}());\nexports.AuthNMappingCreateRequest = AuthNMappingCreateRequest;\n//# sourceMappingURL=AuthNMappingCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingRelationships = void 0;\n/**\n * All relationships associated with AuthN Mapping.\n */\nvar AuthNMappingRelationships = /** @class */ (function () {\n function AuthNMappingRelationships() {\n }\n /**\n * @ignore\n */\n AuthNMappingRelationships.getAttributeTypeMap = function () {\n return AuthNMappingRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingRelationships.attributeTypeMap = {\n role: {\n baseName: \"role\",\n type: \"RelationshipToRole\",\n },\n samlAssertionAttribute: {\n baseName: \"saml_assertion_attribute\",\n type: \"RelationshipToSAMLAssertionAttribute\",\n },\n };\n return AuthNMappingRelationships;\n}());\nexports.AuthNMappingRelationships = AuthNMappingRelationships;\n//# sourceMappingURL=AuthNMappingRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingResponse = void 0;\n/**\n * AuthN Mapping response from the API.\n */\nvar AuthNMappingResponse = /** @class */ (function () {\n function AuthNMappingResponse() {\n }\n /**\n * @ignore\n */\n AuthNMappingResponse.getAttributeTypeMap = function () {\n return AuthNMappingResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"AuthNMapping\",\n },\n };\n return AuthNMappingResponse;\n}());\nexports.AuthNMappingResponse = AuthNMappingResponse;\n//# sourceMappingURL=AuthNMappingResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingUpdateAttributes = void 0;\n/**\n * Key/Value pair of attributes used for update request.\n */\nvar AuthNMappingUpdateAttributes = /** @class */ (function () {\n function AuthNMappingUpdateAttributes() {\n }\n /**\n * @ignore\n */\n AuthNMappingUpdateAttributes.getAttributeTypeMap = function () {\n return AuthNMappingUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingUpdateAttributes.attributeTypeMap = {\n attributeKey: {\n baseName: \"attribute_key\",\n type: \"string\",\n },\n attributeValue: {\n baseName: \"attribute_value\",\n type: \"string\",\n },\n };\n return AuthNMappingUpdateAttributes;\n}());\nexports.AuthNMappingUpdateAttributes = AuthNMappingUpdateAttributes;\n//# sourceMappingURL=AuthNMappingUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingUpdateData = void 0;\n/**\n * Data for updating an AuthN Mapping.\n */\nvar AuthNMappingUpdateData = /** @class */ (function () {\n function AuthNMappingUpdateData() {\n }\n /**\n * @ignore\n */\n AuthNMappingUpdateData.getAttributeTypeMap = function () {\n return AuthNMappingUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"AuthNMappingUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"AuthNMappingUpdateRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"AuthNMappingsType\",\n required: true,\n },\n };\n return AuthNMappingUpdateData;\n}());\nexports.AuthNMappingUpdateData = AuthNMappingUpdateData;\n//# sourceMappingURL=AuthNMappingUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingUpdateRelationships = void 0;\n/**\n * Relationship of AuthN Mapping update object to Role.\n */\nvar AuthNMappingUpdateRelationships = /** @class */ (function () {\n function AuthNMappingUpdateRelationships() {\n }\n /**\n * @ignore\n */\n AuthNMappingUpdateRelationships.getAttributeTypeMap = function () {\n return AuthNMappingUpdateRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingUpdateRelationships.attributeTypeMap = {\n role: {\n baseName: \"role\",\n type: \"RelationshipToRole\",\n },\n };\n return AuthNMappingUpdateRelationships;\n}());\nexports.AuthNMappingUpdateRelationships = AuthNMappingUpdateRelationships;\n//# sourceMappingURL=AuthNMappingUpdateRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingUpdateRequest = void 0;\n/**\n * Request to update an AuthN Mapping.\n */\nvar AuthNMappingUpdateRequest = /** @class */ (function () {\n function AuthNMappingUpdateRequest() {\n }\n /**\n * @ignore\n */\n AuthNMappingUpdateRequest.getAttributeTypeMap = function () {\n return AuthNMappingUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"AuthNMappingUpdateData\",\n required: true,\n },\n };\n return AuthNMappingUpdateRequest;\n}());\nexports.AuthNMappingUpdateRequest = AuthNMappingUpdateRequest;\n//# sourceMappingURL=AuthNMappingUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AuthNMappingsResponse = void 0;\n/**\n * Array of AuthN Mappings response.\n */\nvar AuthNMappingsResponse = /** @class */ (function () {\n function AuthNMappingsResponse() {\n }\n /**\n * @ignore\n */\n AuthNMappingsResponse.getAttributeTypeMap = function () {\n return AuthNMappingsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n AuthNMappingsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ResponseMetaAttributes\",\n },\n };\n return AuthNMappingsResponse;\n}());\nexports.AuthNMappingsResponse = AuthNMappingsResponse;\n//# sourceMappingURL=AuthNMappingsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleAttributes = void 0;\n/**\n * A Cloud Workload Security Agent rule returned by the API.\n */\nvar CloudWorkloadSecurityAgentRuleAttributes = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleAttributes() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleAttributes.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleAttributes.attributeTypeMap = {\n category: {\n baseName: \"category\",\n type: \"string\",\n },\n creationDate: {\n baseName: \"creationDate\",\n type: \"number\",\n format: \"int64\",\n },\n creator: {\n baseName: \"creator\",\n type: \"CloudWorkloadSecurityAgentRuleCreatorAttributes\",\n },\n defaultRule: {\n baseName: \"defaultRule\",\n type: \"boolean\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n updatedAt: {\n baseName: \"updatedAt\",\n type: \"number\",\n format: \"int64\",\n },\n updater: {\n baseName: \"updater\",\n type: \"CloudWorkloadSecurityAgentRuleUpdaterAttributes\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return CloudWorkloadSecurityAgentRuleAttributes;\n}());\nexports.CloudWorkloadSecurityAgentRuleAttributes = CloudWorkloadSecurityAgentRuleAttributes;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleCreateAttributes = void 0;\n/**\n * Create a new Cloud Workload Security Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleCreateAttributes = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleCreateAttributes() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateAttributes.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateAttributes.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return CloudWorkloadSecurityAgentRuleCreateAttributes;\n}());\nexports.CloudWorkloadSecurityAgentRuleCreateAttributes = CloudWorkloadSecurityAgentRuleCreateAttributes;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleCreateData = void 0;\n/**\n * Object for a single Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleCreateData = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleCreateData() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateData.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"CloudWorkloadSecurityAgentRuleCreateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"CloudWorkloadSecurityAgentRuleType\",\n required: true,\n },\n };\n return CloudWorkloadSecurityAgentRuleCreateData;\n}());\nexports.CloudWorkloadSecurityAgentRuleCreateData = CloudWorkloadSecurityAgentRuleCreateData;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleCreateRequest = void 0;\n/**\n * Request object that includes the Agent rule to create.\n */\nvar CloudWorkloadSecurityAgentRuleCreateRequest = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleCreateRequest() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateRequest.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"CloudWorkloadSecurityAgentRuleCreateData\",\n required: true,\n },\n };\n return CloudWorkloadSecurityAgentRuleCreateRequest;\n}());\nexports.CloudWorkloadSecurityAgentRuleCreateRequest = CloudWorkloadSecurityAgentRuleCreateRequest;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleCreatorAttributes = void 0;\n/**\n * The attributes of the user who created the Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleCreatorAttributes = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleCreatorAttributes() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreatorAttributes.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleCreatorAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleCreatorAttributes.attributeTypeMap = {\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return CloudWorkloadSecurityAgentRuleCreatorAttributes;\n}());\nexports.CloudWorkloadSecurityAgentRuleCreatorAttributes = CloudWorkloadSecurityAgentRuleCreatorAttributes;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleCreatorAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleData = void 0;\n/**\n * Object for a single Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleData = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleData() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleData.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"CloudWorkloadSecurityAgentRuleAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"CloudWorkloadSecurityAgentRuleType\",\n },\n };\n return CloudWorkloadSecurityAgentRuleData;\n}());\nexports.CloudWorkloadSecurityAgentRuleData = CloudWorkloadSecurityAgentRuleData;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleResponse = void 0;\n/**\n * Response object that includes an Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleResponse = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleResponse() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleResponse.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"CloudWorkloadSecurityAgentRuleData\",\n },\n };\n return CloudWorkloadSecurityAgentRuleResponse;\n}());\nexports.CloudWorkloadSecurityAgentRuleResponse = CloudWorkloadSecurityAgentRuleResponse;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleUpdateAttributes = void 0;\n/**\n * Update an existing Cloud Workload Security Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleUpdateAttributes = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleUpdateAttributes() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateAttributes.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateAttributes.attributeTypeMap = {\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n enabled: {\n baseName: \"enabled\",\n type: \"boolean\",\n },\n expression: {\n baseName: \"expression\",\n type: \"string\",\n },\n };\n return CloudWorkloadSecurityAgentRuleUpdateAttributes;\n}());\nexports.CloudWorkloadSecurityAgentRuleUpdateAttributes = CloudWorkloadSecurityAgentRuleUpdateAttributes;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleUpdateData = void 0;\n/**\n * Object for a single Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleUpdateData = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleUpdateData() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateData.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"CloudWorkloadSecurityAgentRuleUpdateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"CloudWorkloadSecurityAgentRuleType\",\n required: true,\n },\n };\n return CloudWorkloadSecurityAgentRuleUpdateData;\n}());\nexports.CloudWorkloadSecurityAgentRuleUpdateData = CloudWorkloadSecurityAgentRuleUpdateData;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleUpdateRequest = void 0;\n/**\n * Request object that includes the Agent rule with the attributes to update.\n */\nvar CloudWorkloadSecurityAgentRuleUpdateRequest = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleUpdateRequest() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateRequest.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"CloudWorkloadSecurityAgentRuleUpdateData\",\n required: true,\n },\n };\n return CloudWorkloadSecurityAgentRuleUpdateRequest;\n}());\nexports.CloudWorkloadSecurityAgentRuleUpdateRequest = CloudWorkloadSecurityAgentRuleUpdateRequest;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = void 0;\n/**\n * The attributes of the user who last updated the Agent rule.\n */\nvar CloudWorkloadSecurityAgentRuleUpdaterAttributes = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRuleUpdaterAttributes() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdaterAttributes.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRuleUpdaterAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRuleUpdaterAttributes.attributeTypeMap = {\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return CloudWorkloadSecurityAgentRuleUpdaterAttributes;\n}());\nexports.CloudWorkloadSecurityAgentRuleUpdaterAttributes = CloudWorkloadSecurityAgentRuleUpdaterAttributes;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRuleUpdaterAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CloudWorkloadSecurityAgentRulesListResponse = void 0;\n/**\n * Response object that includes a list of Agent rule.\n */\nvar CloudWorkloadSecurityAgentRulesListResponse = /** @class */ (function () {\n function CloudWorkloadSecurityAgentRulesListResponse() {\n }\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRulesListResponse.getAttributeTypeMap = function () {\n return CloudWorkloadSecurityAgentRulesListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n CloudWorkloadSecurityAgentRulesListResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return CloudWorkloadSecurityAgentRulesListResponse;\n}());\nexports.CloudWorkloadSecurityAgentRulesListResponse = CloudWorkloadSecurityAgentRulesListResponse;\n//# sourceMappingURL=CloudWorkloadSecurityAgentRulesListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Creator = void 0;\n/**\n * Creator of the object.\n */\nvar Creator = /** @class */ (function () {\n function Creator() {\n }\n /**\n * @ignore\n */\n Creator.getAttributeTypeMap = function () {\n return Creator.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Creator.attributeTypeMap = {\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return Creator;\n}());\nexports.Creator = Creator;\n//# sourceMappingURL=Creator.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListAddItemsRequest = void 0;\n/**\n * Request containing a list of dashboards to add.\n */\nvar DashboardListAddItemsRequest = /** @class */ (function () {\n function DashboardListAddItemsRequest() {\n }\n /**\n * @ignore\n */\n DashboardListAddItemsRequest.getAttributeTypeMap = function () {\n return DashboardListAddItemsRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListAddItemsRequest.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n },\n };\n return DashboardListAddItemsRequest;\n}());\nexports.DashboardListAddItemsRequest = DashboardListAddItemsRequest;\n//# sourceMappingURL=DashboardListAddItemsRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListAddItemsResponse = void 0;\n/**\n * Response containing a list of added dashboards.\n */\nvar DashboardListAddItemsResponse = /** @class */ (function () {\n function DashboardListAddItemsResponse() {\n }\n /**\n * @ignore\n */\n DashboardListAddItemsResponse.getAttributeTypeMap = function () {\n return DashboardListAddItemsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListAddItemsResponse.attributeTypeMap = {\n addedDashboardsToList: {\n baseName: \"added_dashboards_to_list\",\n type: \"Array\",\n },\n };\n return DashboardListAddItemsResponse;\n}());\nexports.DashboardListAddItemsResponse = DashboardListAddItemsResponse;\n//# sourceMappingURL=DashboardListAddItemsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListDeleteItemsRequest = void 0;\n/**\n * Request containing a list of dashboards to delete.\n */\nvar DashboardListDeleteItemsRequest = /** @class */ (function () {\n function DashboardListDeleteItemsRequest() {\n }\n /**\n * @ignore\n */\n DashboardListDeleteItemsRequest.getAttributeTypeMap = function () {\n return DashboardListDeleteItemsRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListDeleteItemsRequest.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n },\n };\n return DashboardListDeleteItemsRequest;\n}());\nexports.DashboardListDeleteItemsRequest = DashboardListDeleteItemsRequest;\n//# sourceMappingURL=DashboardListDeleteItemsRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListDeleteItemsResponse = void 0;\n/**\n * Response containing a list of deleted dashboards.\n */\nvar DashboardListDeleteItemsResponse = /** @class */ (function () {\n function DashboardListDeleteItemsResponse() {\n }\n /**\n * @ignore\n */\n DashboardListDeleteItemsResponse.getAttributeTypeMap = function () {\n return DashboardListDeleteItemsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListDeleteItemsResponse.attributeTypeMap = {\n deletedDashboardsFromList: {\n baseName: \"deleted_dashboards_from_list\",\n type: \"Array\",\n },\n };\n return DashboardListDeleteItemsResponse;\n}());\nexports.DashboardListDeleteItemsResponse = DashboardListDeleteItemsResponse;\n//# sourceMappingURL=DashboardListDeleteItemsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListItem = void 0;\n/**\n * A dashboard within a list.\n */\nvar DashboardListItem = /** @class */ (function () {\n function DashboardListItem() {\n }\n /**\n * @ignore\n */\n DashboardListItem.getAttributeTypeMap = function () {\n return DashboardListItem.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListItem.attributeTypeMap = {\n author: {\n baseName: \"author\",\n type: \"Creator\",\n },\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n icon: {\n baseName: \"icon\",\n type: \"string\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n isFavorite: {\n baseName: \"is_favorite\",\n type: \"boolean\",\n },\n isReadOnly: {\n baseName: \"is_read_only\",\n type: \"boolean\",\n },\n isShared: {\n baseName: \"is_shared\",\n type: \"boolean\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n popularity: {\n baseName: \"popularity\",\n type: \"number\",\n format: \"int32\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"DashboardType\",\n required: true,\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return DashboardListItem;\n}());\nexports.DashboardListItem = DashboardListItem;\n//# sourceMappingURL=DashboardListItem.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListItemRequest = void 0;\n/**\n * A dashboard within a list.\n */\nvar DashboardListItemRequest = /** @class */ (function () {\n function DashboardListItemRequest() {\n }\n /**\n * @ignore\n */\n DashboardListItemRequest.getAttributeTypeMap = function () {\n return DashboardListItemRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListItemRequest.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"DashboardType\",\n required: true,\n },\n };\n return DashboardListItemRequest;\n}());\nexports.DashboardListItemRequest = DashboardListItemRequest;\n//# sourceMappingURL=DashboardListItemRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListItemResponse = void 0;\n/**\n * A dashboard within a list.\n */\nvar DashboardListItemResponse = /** @class */ (function () {\n function DashboardListItemResponse() {\n }\n /**\n * @ignore\n */\n DashboardListItemResponse.getAttributeTypeMap = function () {\n return DashboardListItemResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListItemResponse.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"DashboardType\",\n required: true,\n },\n };\n return DashboardListItemResponse;\n}());\nexports.DashboardListItemResponse = DashboardListItemResponse;\n//# sourceMappingURL=DashboardListItemResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListItems = void 0;\n/**\n * Dashboards within a list.\n */\nvar DashboardListItems = /** @class */ (function () {\n function DashboardListItems() {\n }\n /**\n * @ignore\n */\n DashboardListItems.getAttributeTypeMap = function () {\n return DashboardListItems.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListItems.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n required: true,\n },\n total: {\n baseName: \"total\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return DashboardListItems;\n}());\nexports.DashboardListItems = DashboardListItems;\n//# sourceMappingURL=DashboardListItems.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListUpdateItemsRequest = void 0;\n/**\n * Request containing the list of dashboards to update to.\n */\nvar DashboardListUpdateItemsRequest = /** @class */ (function () {\n function DashboardListUpdateItemsRequest() {\n }\n /**\n * @ignore\n */\n DashboardListUpdateItemsRequest.getAttributeTypeMap = function () {\n return DashboardListUpdateItemsRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListUpdateItemsRequest.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n },\n };\n return DashboardListUpdateItemsRequest;\n}());\nexports.DashboardListUpdateItemsRequest = DashboardListUpdateItemsRequest;\n//# sourceMappingURL=DashboardListUpdateItemsRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DashboardListUpdateItemsResponse = void 0;\n/**\n * Response containing a list of updated dashboards.\n */\nvar DashboardListUpdateItemsResponse = /** @class */ (function () {\n function DashboardListUpdateItemsResponse() {\n }\n /**\n * @ignore\n */\n DashboardListUpdateItemsResponse.getAttributeTypeMap = function () {\n return DashboardListUpdateItemsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n DashboardListUpdateItemsResponse.attributeTypeMap = {\n dashboards: {\n baseName: \"dashboards\",\n type: \"Array\",\n },\n };\n return DashboardListUpdateItemsResponse;\n}());\nexports.DashboardListUpdateItemsResponse = DashboardListUpdateItemsResponse;\n//# sourceMappingURL=DashboardListUpdateItemsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FullAPIKey = void 0;\n/**\n * Datadog API key.\n */\nvar FullAPIKey = /** @class */ (function () {\n function FullAPIKey() {\n }\n /**\n * @ignore\n */\n FullAPIKey.getAttributeTypeMap = function () {\n return FullAPIKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FullAPIKey.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"FullAPIKeyAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"APIKeyRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"APIKeysType\",\n },\n };\n return FullAPIKey;\n}());\nexports.FullAPIKey = FullAPIKey;\n//# sourceMappingURL=FullAPIKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FullAPIKeyAttributes = void 0;\n/**\n * Attributes of a full API key.\n */\nvar FullAPIKeyAttributes = /** @class */ (function () {\n function FullAPIKeyAttributes() {\n }\n /**\n * @ignore\n */\n FullAPIKeyAttributes.getAttributeTypeMap = function () {\n return FullAPIKeyAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FullAPIKeyAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"string\",\n },\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n last4: {\n baseName: \"last4\",\n type: \"string\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return FullAPIKeyAttributes;\n}());\nexports.FullAPIKeyAttributes = FullAPIKeyAttributes;\n//# sourceMappingURL=FullAPIKeyAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FullApplicationKey = void 0;\n/**\n * Datadog application key.\n */\nvar FullApplicationKey = /** @class */ (function () {\n function FullApplicationKey() {\n }\n /**\n * @ignore\n */\n FullApplicationKey.getAttributeTypeMap = function () {\n return FullApplicationKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FullApplicationKey.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"FullApplicationKeyAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"ApplicationKeyRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"ApplicationKeysType\",\n },\n };\n return FullApplicationKey;\n}());\nexports.FullApplicationKey = FullApplicationKey;\n//# sourceMappingURL=FullApplicationKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FullApplicationKeyAttributes = void 0;\n/**\n * Attributes of a full application key.\n */\nvar FullApplicationKeyAttributes = /** @class */ (function () {\n function FullApplicationKeyAttributes() {\n }\n /**\n * @ignore\n */\n FullApplicationKeyAttributes.getAttributeTypeMap = function () {\n return FullApplicationKeyAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n FullApplicationKeyAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"string\",\n },\n key: {\n baseName: \"key\",\n type: \"string\",\n },\n last4: {\n baseName: \"last4\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n scopes: {\n baseName: \"scopes\",\n type: \"Array\",\n },\n };\n return FullApplicationKeyAttributes;\n}());\nexports.FullApplicationKeyAttributes = FullApplicationKeyAttributes;\n//# sourceMappingURL=FullApplicationKeyAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPLogError = void 0;\n/**\n * List of errors.\n */\nvar HTTPLogError = /** @class */ (function () {\n function HTTPLogError() {\n }\n /**\n * @ignore\n */\n HTTPLogError.getAttributeTypeMap = function () {\n return HTTPLogError.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HTTPLogError.attributeTypeMap = {\n detail: {\n baseName: \"detail\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n };\n return HTTPLogError;\n}());\nexports.HTTPLogError = HTTPLogError;\n//# sourceMappingURL=HTTPLogError.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPLogErrors = void 0;\n/**\n * Invalid query performed.\n */\nvar HTTPLogErrors = /** @class */ (function () {\n function HTTPLogErrors() {\n }\n /**\n * @ignore\n */\n HTTPLogErrors.getAttributeTypeMap = function () {\n return HTTPLogErrors.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HTTPLogErrors.attributeTypeMap = {\n errors: {\n baseName: \"errors\",\n type: \"Array\",\n },\n };\n return HTTPLogErrors;\n}());\nexports.HTTPLogErrors = HTTPLogErrors;\n//# sourceMappingURL=HTTPLogErrors.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPLogItem = void 0;\n/**\n * Logs that are sent over HTTP.\n */\nvar HTTPLogItem = /** @class */ (function () {\n function HTTPLogItem() {\n }\n /**\n * @ignore\n */\n HTTPLogItem.getAttributeTypeMap = function () {\n return HTTPLogItem.attributeTypeMap;\n };\n /**\n * @ignore\n */\n HTTPLogItem.attributeTypeMap = {\n ddsource: {\n baseName: \"ddsource\",\n type: \"string\",\n },\n ddtags: {\n baseName: \"ddtags\",\n type: \"string\",\n },\n hostname: {\n baseName: \"hostname\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n },\n };\n return HTTPLogItem;\n}());\nexports.HTTPLogItem = HTTPLogItem;\n//# sourceMappingURL=HTTPLogItem.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentCreateAttributes = void 0;\n/**\n * The incident's attributes for a create request.\n */\nvar IncidentCreateAttributes = /** @class */ (function () {\n function IncidentCreateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentCreateAttributes.getAttributeTypeMap = function () {\n return IncidentCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentCreateAttributes.attributeTypeMap = {\n customerImpacted: {\n baseName: \"customer_impacted\",\n type: \"boolean\",\n required: true,\n },\n fields: {\n baseName: \"fields\",\n type: \"{ [key: string]: IncidentFieldAttributes; }\",\n },\n initialCells: {\n baseName: \"initial_cells\",\n type: \"Array\",\n },\n notificationHandles: {\n baseName: \"notification_handles\",\n type: \"Array\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentCreateAttributes;\n}());\nexports.IncidentCreateAttributes = IncidentCreateAttributes;\n//# sourceMappingURL=IncidentCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentCreateData = void 0;\n/**\n * Incident data for a create request.\n */\nvar IncidentCreateData = /** @class */ (function () {\n function IncidentCreateData() {\n }\n /**\n * @ignore\n */\n IncidentCreateData.getAttributeTypeMap = function () {\n return IncidentCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentCreateAttributes\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentCreateRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentType\",\n required: true,\n },\n };\n return IncidentCreateData;\n}());\nexports.IncidentCreateData = IncidentCreateData;\n//# sourceMappingURL=IncidentCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentCreateRelationships = void 0;\n/**\n * The relationships the incident will have with other resources once created.\n */\nvar IncidentCreateRelationships = /** @class */ (function () {\n function IncidentCreateRelationships() {\n }\n /**\n * @ignore\n */\n IncidentCreateRelationships.getAttributeTypeMap = function () {\n return IncidentCreateRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentCreateRelationships.attributeTypeMap = {\n commanderUser: {\n baseName: \"commander_user\",\n type: \"NullableRelationshipToUser\",\n required: true,\n },\n };\n return IncidentCreateRelationships;\n}());\nexports.IncidentCreateRelationships = IncidentCreateRelationships;\n//# sourceMappingURL=IncidentCreateRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentCreateRequest = void 0;\n/**\n * Create request for an incident.\n */\nvar IncidentCreateRequest = /** @class */ (function () {\n function IncidentCreateRequest() {\n }\n /**\n * @ignore\n */\n IncidentCreateRequest.getAttributeTypeMap = function () {\n return IncidentCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentCreateData\",\n required: true,\n },\n };\n return IncidentCreateRequest;\n}());\nexports.IncidentCreateRequest = IncidentCreateRequest;\n//# sourceMappingURL=IncidentCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentFieldAttributesMultipleValue = void 0;\n/**\n * A field with potentially multiple values selected.\n */\nvar IncidentFieldAttributesMultipleValue = /** @class */ (function () {\n function IncidentFieldAttributesMultipleValue() {\n }\n /**\n * @ignore\n */\n IncidentFieldAttributesMultipleValue.getAttributeTypeMap = function () {\n return IncidentFieldAttributesMultipleValue.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentFieldAttributesMultipleValue.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"IncidentFieldAttributesValueType\",\n },\n value: {\n baseName: \"value\",\n type: \"Array\",\n },\n };\n return IncidentFieldAttributesMultipleValue;\n}());\nexports.IncidentFieldAttributesMultipleValue = IncidentFieldAttributesMultipleValue;\n//# sourceMappingURL=IncidentFieldAttributesMultipleValue.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentFieldAttributesSingleValue = void 0;\n/**\n * A field with a single value selected.\n */\nvar IncidentFieldAttributesSingleValue = /** @class */ (function () {\n function IncidentFieldAttributesSingleValue() {\n }\n /**\n * @ignore\n */\n IncidentFieldAttributesSingleValue.getAttributeTypeMap = function () {\n return IncidentFieldAttributesSingleValue.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentFieldAttributesSingleValue.attributeTypeMap = {\n type: {\n baseName: \"type\",\n type: \"IncidentFieldAttributesSingleValueType\",\n },\n value: {\n baseName: \"value\",\n type: \"string\",\n },\n };\n return IncidentFieldAttributesSingleValue;\n}());\nexports.IncidentFieldAttributesSingleValue = IncidentFieldAttributesSingleValue;\n//# sourceMappingURL=IncidentFieldAttributesSingleValue.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentNotificationHandle = void 0;\n/**\n * A notification handle that will be notified at incident creation.\n */\nvar IncidentNotificationHandle = /** @class */ (function () {\n function IncidentNotificationHandle() {\n }\n /**\n * @ignore\n */\n IncidentNotificationHandle.getAttributeTypeMap = function () {\n return IncidentNotificationHandle.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentNotificationHandle.attributeTypeMap = {\n displayName: {\n baseName: \"display_name\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n };\n return IncidentNotificationHandle;\n}());\nexports.IncidentNotificationHandle = IncidentNotificationHandle;\n//# sourceMappingURL=IncidentNotificationHandle.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponse = void 0;\n/**\n * Response with an incident.\n */\nvar IncidentResponse = /** @class */ (function () {\n function IncidentResponse() {\n }\n /**\n * @ignore\n */\n IncidentResponse.getAttributeTypeMap = function () {\n return IncidentResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentResponseData\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return IncidentResponse;\n}());\nexports.IncidentResponse = IncidentResponse;\n//# sourceMappingURL=IncidentResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponseAttributes = void 0;\n/**\n * The incident's attributes from a response.\n */\nvar IncidentResponseAttributes = /** @class */ (function () {\n function IncidentResponseAttributes() {\n }\n /**\n * @ignore\n */\n IncidentResponseAttributes.getAttributeTypeMap = function () {\n return IncidentResponseAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponseAttributes.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n customerImpactDuration: {\n baseName: \"customer_impact_duration\",\n type: \"number\",\n format: \"int64\",\n },\n customerImpactEnd: {\n baseName: \"customer_impact_end\",\n type: \"Date\",\n format: \"date-time\",\n },\n customerImpactScope: {\n baseName: \"customer_impact_scope\",\n type: \"string\",\n },\n customerImpactStart: {\n baseName: \"customer_impact_start\",\n type: \"Date\",\n format: \"date-time\",\n },\n customerImpacted: {\n baseName: \"customer_impacted\",\n type: \"boolean\",\n },\n detected: {\n baseName: \"detected\",\n type: \"Date\",\n format: \"date-time\",\n },\n fields: {\n baseName: \"fields\",\n type: \"{ [key: string]: IncidentFieldAttributes; }\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n notificationHandles: {\n baseName: \"notification_handles\",\n type: \"Array\",\n },\n postmortemId: {\n baseName: \"postmortem_id\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"number\",\n format: \"int64\",\n },\n resolved: {\n baseName: \"resolved\",\n type: \"Date\",\n format: \"date-time\",\n },\n timeToDetect: {\n baseName: \"time_to_detect\",\n type: \"number\",\n format: \"int64\",\n },\n timeToInternalResponse: {\n baseName: \"time_to_internal_response\",\n type: \"number\",\n format: \"int64\",\n },\n timeToRepair: {\n baseName: \"time_to_repair\",\n type: \"number\",\n format: \"int64\",\n },\n timeToResolve: {\n baseName: \"time_to_resolve\",\n type: \"number\",\n format: \"int64\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentResponseAttributes;\n}());\nexports.IncidentResponseAttributes = IncidentResponseAttributes;\n//# sourceMappingURL=IncidentResponseAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponseData = void 0;\n/**\n * Incident data from a response.\n */\nvar IncidentResponseData = /** @class */ (function () {\n function IncidentResponseData() {\n }\n /**\n * @ignore\n */\n IncidentResponseData.getAttributeTypeMap = function () {\n return IncidentResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentResponseAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentResponseRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentType\",\n required: true,\n },\n };\n return IncidentResponseData;\n}());\nexports.IncidentResponseData = IncidentResponseData;\n//# sourceMappingURL=IncidentResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponseMeta = void 0;\n/**\n * The metadata object containing pagination metadata.\n */\nvar IncidentResponseMeta = /** @class */ (function () {\n function IncidentResponseMeta() {\n }\n /**\n * @ignore\n */\n IncidentResponseMeta.getAttributeTypeMap = function () {\n return IncidentResponseMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponseMeta.attributeTypeMap = {\n pagination: {\n baseName: \"pagination\",\n type: \"IncidentResponseMetaPagination\",\n },\n };\n return IncidentResponseMeta;\n}());\nexports.IncidentResponseMeta = IncidentResponseMeta;\n//# sourceMappingURL=IncidentResponseMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponseMetaPagination = void 0;\n/**\n * Pagination properties.\n */\nvar IncidentResponseMetaPagination = /** @class */ (function () {\n function IncidentResponseMetaPagination() {\n }\n /**\n * @ignore\n */\n IncidentResponseMetaPagination.getAttributeTypeMap = function () {\n return IncidentResponseMetaPagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponseMetaPagination.attributeTypeMap = {\n nextOffset: {\n baseName: \"next_offset\",\n type: \"number\",\n format: \"int64\",\n },\n offset: {\n baseName: \"offset\",\n type: \"number\",\n format: \"int64\",\n },\n size: {\n baseName: \"size\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return IncidentResponseMetaPagination;\n}());\nexports.IncidentResponseMetaPagination = IncidentResponseMetaPagination;\n//# sourceMappingURL=IncidentResponseMetaPagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentResponseRelationships = void 0;\n/**\n * The incident's relationships from a response.\n */\nvar IncidentResponseRelationships = /** @class */ (function () {\n function IncidentResponseRelationships() {\n }\n /**\n * @ignore\n */\n IncidentResponseRelationships.getAttributeTypeMap = function () {\n return IncidentResponseRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentResponseRelationships.attributeTypeMap = {\n commanderUser: {\n baseName: \"commander_user\",\n type: \"NullableRelationshipToUser\",\n },\n createdByUser: {\n baseName: \"created_by_user\",\n type: \"RelationshipToUser\",\n },\n integrations: {\n baseName: \"integrations\",\n type: \"RelationshipToIncidentIntegrationMetadatas\",\n },\n lastModifiedByUser: {\n baseName: \"last_modified_by_user\",\n type: \"RelationshipToUser\",\n },\n postmortem: {\n baseName: \"postmortem\",\n type: \"RelationshipToIncidentPostmortem\",\n },\n };\n return IncidentResponseRelationships;\n}());\nexports.IncidentResponseRelationships = IncidentResponseRelationships;\n//# sourceMappingURL=IncidentResponseRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceCreateAttributes = void 0;\n/**\n * The incident service's attributes for a create request.\n */\nvar IncidentServiceCreateAttributes = /** @class */ (function () {\n function IncidentServiceCreateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentServiceCreateAttributes.getAttributeTypeMap = function () {\n return IncidentServiceCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceCreateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentServiceCreateAttributes;\n}());\nexports.IncidentServiceCreateAttributes = IncidentServiceCreateAttributes;\n//# sourceMappingURL=IncidentServiceCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceCreateData = void 0;\n/**\n * Incident Service payload for create requests.\n */\nvar IncidentServiceCreateData = /** @class */ (function () {\n function IncidentServiceCreateData() {\n }\n /**\n * @ignore\n */\n IncidentServiceCreateData.getAttributeTypeMap = function () {\n return IncidentServiceCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentServiceCreateAttributes\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentServiceRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentServiceType\",\n required: true,\n },\n };\n return IncidentServiceCreateData;\n}());\nexports.IncidentServiceCreateData = IncidentServiceCreateData;\n//# sourceMappingURL=IncidentServiceCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceCreateRequest = void 0;\n/**\n * Create request with an incident service payload.\n */\nvar IncidentServiceCreateRequest = /** @class */ (function () {\n function IncidentServiceCreateRequest() {\n }\n /**\n * @ignore\n */\n IncidentServiceCreateRequest.getAttributeTypeMap = function () {\n return IncidentServiceCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentServiceCreateData\",\n required: true,\n },\n };\n return IncidentServiceCreateRequest;\n}());\nexports.IncidentServiceCreateRequest = IncidentServiceCreateRequest;\n//# sourceMappingURL=IncidentServiceCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceRelationships = void 0;\n/**\n * The incident service's relationships.\n */\nvar IncidentServiceRelationships = /** @class */ (function () {\n function IncidentServiceRelationships() {\n }\n /**\n * @ignore\n */\n IncidentServiceRelationships.getAttributeTypeMap = function () {\n return IncidentServiceRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceRelationships.attributeTypeMap = {\n createdBy: {\n baseName: \"created_by\",\n type: \"RelationshipToUser\",\n },\n lastModifiedBy: {\n baseName: \"last_modified_by\",\n type: \"RelationshipToUser\",\n },\n };\n return IncidentServiceRelationships;\n}());\nexports.IncidentServiceRelationships = IncidentServiceRelationships;\n//# sourceMappingURL=IncidentServiceRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceResponse = void 0;\n/**\n * Response with an incident service payload.\n */\nvar IncidentServiceResponse = /** @class */ (function () {\n function IncidentServiceResponse() {\n }\n /**\n * @ignore\n */\n IncidentServiceResponse.getAttributeTypeMap = function () {\n return IncidentServiceResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentServiceResponseData\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return IncidentServiceResponse;\n}());\nexports.IncidentServiceResponse = IncidentServiceResponse;\n//# sourceMappingURL=IncidentServiceResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceResponseAttributes = void 0;\n/**\n * The incident service's attributes from a response.\n */\nvar IncidentServiceResponseAttributes = /** @class */ (function () {\n function IncidentServiceResponseAttributes() {\n }\n /**\n * @ignore\n */\n IncidentServiceResponseAttributes.getAttributeTypeMap = function () {\n return IncidentServiceResponseAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceResponseAttributes.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return IncidentServiceResponseAttributes;\n}());\nexports.IncidentServiceResponseAttributes = IncidentServiceResponseAttributes;\n//# sourceMappingURL=IncidentServiceResponseAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceResponseData = void 0;\n/**\n * Incident Service data from responses.\n */\nvar IncidentServiceResponseData = /** @class */ (function () {\n function IncidentServiceResponseData() {\n }\n /**\n * @ignore\n */\n IncidentServiceResponseData.getAttributeTypeMap = function () {\n return IncidentServiceResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentServiceResponseAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentServiceRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentServiceType\",\n required: true,\n },\n };\n return IncidentServiceResponseData;\n}());\nexports.IncidentServiceResponseData = IncidentServiceResponseData;\n//# sourceMappingURL=IncidentServiceResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceUpdateAttributes = void 0;\n/**\n * The incident service's attributes for an update request.\n */\nvar IncidentServiceUpdateAttributes = /** @class */ (function () {\n function IncidentServiceUpdateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentServiceUpdateAttributes.getAttributeTypeMap = function () {\n return IncidentServiceUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceUpdateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentServiceUpdateAttributes;\n}());\nexports.IncidentServiceUpdateAttributes = IncidentServiceUpdateAttributes;\n//# sourceMappingURL=IncidentServiceUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceUpdateData = void 0;\n/**\n * Incident Service payload for update requests.\n */\nvar IncidentServiceUpdateData = /** @class */ (function () {\n function IncidentServiceUpdateData() {\n }\n /**\n * @ignore\n */\n IncidentServiceUpdateData.getAttributeTypeMap = function () {\n return IncidentServiceUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentServiceUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentServiceRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentServiceType\",\n required: true,\n },\n };\n return IncidentServiceUpdateData;\n}());\nexports.IncidentServiceUpdateData = IncidentServiceUpdateData;\n//# sourceMappingURL=IncidentServiceUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServiceUpdateRequest = void 0;\n/**\n * Update request with an incident service payload.\n */\nvar IncidentServiceUpdateRequest = /** @class */ (function () {\n function IncidentServiceUpdateRequest() {\n }\n /**\n * @ignore\n */\n IncidentServiceUpdateRequest.getAttributeTypeMap = function () {\n return IncidentServiceUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServiceUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentServiceUpdateData\",\n required: true,\n },\n };\n return IncidentServiceUpdateRequest;\n}());\nexports.IncidentServiceUpdateRequest = IncidentServiceUpdateRequest;\n//# sourceMappingURL=IncidentServiceUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentServicesResponse = void 0;\n/**\n * Response with a list of incident service payloads.\n */\nvar IncidentServicesResponse = /** @class */ (function () {\n function IncidentServicesResponse() {\n }\n /**\n * @ignore\n */\n IncidentServicesResponse.getAttributeTypeMap = function () {\n return IncidentServicesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentServicesResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"IncidentResponseMeta\",\n },\n };\n return IncidentServicesResponse;\n}());\nexports.IncidentServicesResponse = IncidentServicesResponse;\n//# sourceMappingURL=IncidentServicesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamCreateAttributes = void 0;\n/**\n * The incident team's attributes for a create request.\n */\nvar IncidentTeamCreateAttributes = /** @class */ (function () {\n function IncidentTeamCreateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentTeamCreateAttributes.getAttributeTypeMap = function () {\n return IncidentTeamCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamCreateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentTeamCreateAttributes;\n}());\nexports.IncidentTeamCreateAttributes = IncidentTeamCreateAttributes;\n//# sourceMappingURL=IncidentTeamCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamCreateData = void 0;\n/**\n * Incident Team data for a create request.\n */\nvar IncidentTeamCreateData = /** @class */ (function () {\n function IncidentTeamCreateData() {\n }\n /**\n * @ignore\n */\n IncidentTeamCreateData.getAttributeTypeMap = function () {\n return IncidentTeamCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentTeamCreateAttributes\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentTeamRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentTeamType\",\n required: true,\n },\n };\n return IncidentTeamCreateData;\n}());\nexports.IncidentTeamCreateData = IncidentTeamCreateData;\n//# sourceMappingURL=IncidentTeamCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamCreateRequest = void 0;\n/**\n * Create request with an incident team payload.\n */\nvar IncidentTeamCreateRequest = /** @class */ (function () {\n function IncidentTeamCreateRequest() {\n }\n /**\n * @ignore\n */\n IncidentTeamCreateRequest.getAttributeTypeMap = function () {\n return IncidentTeamCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentTeamCreateData\",\n required: true,\n },\n };\n return IncidentTeamCreateRequest;\n}());\nexports.IncidentTeamCreateRequest = IncidentTeamCreateRequest;\n//# sourceMappingURL=IncidentTeamCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamRelationships = void 0;\n/**\n * The incident team's relationships.\n */\nvar IncidentTeamRelationships = /** @class */ (function () {\n function IncidentTeamRelationships() {\n }\n /**\n * @ignore\n */\n IncidentTeamRelationships.getAttributeTypeMap = function () {\n return IncidentTeamRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamRelationships.attributeTypeMap = {\n createdBy: {\n baseName: \"created_by\",\n type: \"RelationshipToUser\",\n },\n lastModifiedBy: {\n baseName: \"last_modified_by\",\n type: \"RelationshipToUser\",\n },\n };\n return IncidentTeamRelationships;\n}());\nexports.IncidentTeamRelationships = IncidentTeamRelationships;\n//# sourceMappingURL=IncidentTeamRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamResponse = void 0;\n/**\n * Response with an incident team payload.\n */\nvar IncidentTeamResponse = /** @class */ (function () {\n function IncidentTeamResponse() {\n }\n /**\n * @ignore\n */\n IncidentTeamResponse.getAttributeTypeMap = function () {\n return IncidentTeamResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentTeamResponseData\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return IncidentTeamResponse;\n}());\nexports.IncidentTeamResponse = IncidentTeamResponse;\n//# sourceMappingURL=IncidentTeamResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamResponseAttributes = void 0;\n/**\n * The incident team's attributes from a response.\n */\nvar IncidentTeamResponseAttributes = /** @class */ (function () {\n function IncidentTeamResponseAttributes() {\n }\n /**\n * @ignore\n */\n IncidentTeamResponseAttributes.getAttributeTypeMap = function () {\n return IncidentTeamResponseAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamResponseAttributes.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n modified: {\n baseName: \"modified\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return IncidentTeamResponseAttributes;\n}());\nexports.IncidentTeamResponseAttributes = IncidentTeamResponseAttributes;\n//# sourceMappingURL=IncidentTeamResponseAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamResponseData = void 0;\n/**\n * Incident Team data from a response.\n */\nvar IncidentTeamResponseData = /** @class */ (function () {\n function IncidentTeamResponseData() {\n }\n /**\n * @ignore\n */\n IncidentTeamResponseData.getAttributeTypeMap = function () {\n return IncidentTeamResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentTeamResponseAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentTeamRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentTeamType\",\n },\n };\n return IncidentTeamResponseData;\n}());\nexports.IncidentTeamResponseData = IncidentTeamResponseData;\n//# sourceMappingURL=IncidentTeamResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamUpdateAttributes = void 0;\n/**\n * The incident team's attributes for an update request.\n */\nvar IncidentTeamUpdateAttributes = /** @class */ (function () {\n function IncidentTeamUpdateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentTeamUpdateAttributes.getAttributeTypeMap = function () {\n return IncidentTeamUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamUpdateAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return IncidentTeamUpdateAttributes;\n}());\nexports.IncidentTeamUpdateAttributes = IncidentTeamUpdateAttributes;\n//# sourceMappingURL=IncidentTeamUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamUpdateData = void 0;\n/**\n * Incident Team data for an update request.\n */\nvar IncidentTeamUpdateData = /** @class */ (function () {\n function IncidentTeamUpdateData() {\n }\n /**\n * @ignore\n */\n IncidentTeamUpdateData.getAttributeTypeMap = function () {\n return IncidentTeamUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentTeamUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentTeamRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentTeamType\",\n required: true,\n },\n };\n return IncidentTeamUpdateData;\n}());\nexports.IncidentTeamUpdateData = IncidentTeamUpdateData;\n//# sourceMappingURL=IncidentTeamUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamUpdateRequest = void 0;\n/**\n * Update request with an incident team payload.\n */\nvar IncidentTeamUpdateRequest = /** @class */ (function () {\n function IncidentTeamUpdateRequest() {\n }\n /**\n * @ignore\n */\n IncidentTeamUpdateRequest.getAttributeTypeMap = function () {\n return IncidentTeamUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentTeamUpdateData\",\n required: true,\n },\n };\n return IncidentTeamUpdateRequest;\n}());\nexports.IncidentTeamUpdateRequest = IncidentTeamUpdateRequest;\n//# sourceMappingURL=IncidentTeamUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTeamsResponse = void 0;\n/**\n * Response with a list of incident team payloads.\n */\nvar IncidentTeamsResponse = /** @class */ (function () {\n function IncidentTeamsResponse() {\n }\n /**\n * @ignore\n */\n IncidentTeamsResponse.getAttributeTypeMap = function () {\n return IncidentTeamsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTeamsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"IncidentResponseMeta\",\n },\n };\n return IncidentTeamsResponse;\n}());\nexports.IncidentTeamsResponse = IncidentTeamsResponse;\n//# sourceMappingURL=IncidentTeamsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTimelineCellMarkdownCreateAttributes = void 0;\n/**\n * Timeline cell data for Markdown timeline cells for a create request.\n */\nvar IncidentTimelineCellMarkdownCreateAttributes = /** @class */ (function () {\n function IncidentTimelineCellMarkdownCreateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentTimelineCellMarkdownCreateAttributes.getAttributeTypeMap = function () {\n return IncidentTimelineCellMarkdownCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTimelineCellMarkdownCreateAttributes.attributeTypeMap = {\n cellType: {\n baseName: \"cell_type\",\n type: \"IncidentTimelineCellMarkdownContentType\",\n required: true,\n },\n content: {\n baseName: \"content\",\n type: \"IncidentTimelineCellMarkdownCreateAttributesContent\",\n required: true,\n },\n important: {\n baseName: \"important\",\n type: \"boolean\",\n },\n };\n return IncidentTimelineCellMarkdownCreateAttributes;\n}());\nexports.IncidentTimelineCellMarkdownCreateAttributes = IncidentTimelineCellMarkdownCreateAttributes;\n//# sourceMappingURL=IncidentTimelineCellMarkdownCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentTimelineCellMarkdownCreateAttributesContent = void 0;\n/**\n * The Markdown timeline cell contents.\n */\nvar IncidentTimelineCellMarkdownCreateAttributesContent = /** @class */ (function () {\n function IncidentTimelineCellMarkdownCreateAttributesContent() {\n }\n /**\n * @ignore\n */\n IncidentTimelineCellMarkdownCreateAttributesContent.getAttributeTypeMap = function () {\n return IncidentTimelineCellMarkdownCreateAttributesContent.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentTimelineCellMarkdownCreateAttributesContent.attributeTypeMap = {\n content: {\n baseName: \"content\",\n type: \"string\",\n },\n };\n return IncidentTimelineCellMarkdownCreateAttributesContent;\n}());\nexports.IncidentTimelineCellMarkdownCreateAttributesContent = IncidentTimelineCellMarkdownCreateAttributesContent;\n//# sourceMappingURL=IncidentTimelineCellMarkdownCreateAttributesContent.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentUpdateAttributes = void 0;\n/**\n * The incident's attributes for an update request.\n */\nvar IncidentUpdateAttributes = /** @class */ (function () {\n function IncidentUpdateAttributes() {\n }\n /**\n * @ignore\n */\n IncidentUpdateAttributes.getAttributeTypeMap = function () {\n return IncidentUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentUpdateAttributes.attributeTypeMap = {\n customerImpactEnd: {\n baseName: \"customer_impact_end\",\n type: \"Date\",\n format: \"date-time\",\n },\n customerImpactScope: {\n baseName: \"customer_impact_scope\",\n type: \"string\",\n },\n customerImpactStart: {\n baseName: \"customer_impact_start\",\n type: \"Date\",\n format: \"date-time\",\n },\n customerImpacted: {\n baseName: \"customer_impacted\",\n type: \"boolean\",\n },\n detected: {\n baseName: \"detected\",\n type: \"Date\",\n format: \"date-time\",\n },\n fields: {\n baseName: \"fields\",\n type: \"{ [key: string]: IncidentFieldAttributes; }\",\n },\n notificationHandles: {\n baseName: \"notification_handles\",\n type: \"Array\",\n },\n resolved: {\n baseName: \"resolved\",\n type: \"Date\",\n format: \"date-time\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n };\n return IncidentUpdateAttributes;\n}());\nexports.IncidentUpdateAttributes = IncidentUpdateAttributes;\n//# sourceMappingURL=IncidentUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentUpdateData = void 0;\n/**\n * Incident data for an update request.\n */\nvar IncidentUpdateData = /** @class */ (function () {\n function IncidentUpdateData() {\n }\n /**\n * @ignore\n */\n IncidentUpdateData.getAttributeTypeMap = function () {\n return IncidentUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"IncidentUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"IncidentUpdateRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"IncidentType\",\n required: true,\n },\n };\n return IncidentUpdateData;\n}());\nexports.IncidentUpdateData = IncidentUpdateData;\n//# sourceMappingURL=IncidentUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentUpdateRelationships = void 0;\n/**\n * The incident's relationships for an update request.\n */\nvar IncidentUpdateRelationships = /** @class */ (function () {\n function IncidentUpdateRelationships() {\n }\n /**\n * @ignore\n */\n IncidentUpdateRelationships.getAttributeTypeMap = function () {\n return IncidentUpdateRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentUpdateRelationships.attributeTypeMap = {\n commanderUser: {\n baseName: \"commander_user\",\n type: \"NullableRelationshipToUser\",\n },\n integrations: {\n baseName: \"integrations\",\n type: \"RelationshipToIncidentIntegrationMetadatas\",\n },\n postmortem: {\n baseName: \"postmortem\",\n type: \"RelationshipToIncidentPostmortem\",\n },\n };\n return IncidentUpdateRelationships;\n}());\nexports.IncidentUpdateRelationships = IncidentUpdateRelationships;\n//# sourceMappingURL=IncidentUpdateRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentUpdateRequest = void 0;\n/**\n * Update request for an incident.\n */\nvar IncidentUpdateRequest = /** @class */ (function () {\n function IncidentUpdateRequest() {\n }\n /**\n * @ignore\n */\n IncidentUpdateRequest.getAttributeTypeMap = function () {\n return IncidentUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"IncidentUpdateData\",\n required: true,\n },\n };\n return IncidentUpdateRequest;\n}());\nexports.IncidentUpdateRequest = IncidentUpdateRequest;\n//# sourceMappingURL=IncidentUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.IncidentsResponse = void 0;\n/**\n * Response with a list of incidents.\n */\nvar IncidentsResponse = /** @class */ (function () {\n function IncidentsResponse() {\n }\n /**\n * @ignore\n */\n IncidentsResponse.getAttributeTypeMap = function () {\n return IncidentsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n IncidentsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"IncidentResponseMeta\",\n },\n };\n return IncidentsResponse;\n}());\nexports.IncidentsResponse = IncidentsResponse;\n//# sourceMappingURL=IncidentsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ListApplicationKeysResponse = void 0;\n/**\n * Response for a list of application keys.\n */\nvar ListApplicationKeysResponse = /** @class */ (function () {\n function ListApplicationKeysResponse() {\n }\n /**\n * @ignore\n */\n ListApplicationKeysResponse.getAttributeTypeMap = function () {\n return ListApplicationKeysResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ListApplicationKeysResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return ListApplicationKeysResponse;\n}());\nexports.ListApplicationKeysResponse = ListApplicationKeysResponse;\n//# sourceMappingURL=ListApplicationKeysResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Log = void 0;\n/**\n * Object description of a log after being processed and stored by Datadog.\n */\nvar Log = /** @class */ (function () {\n function Log() {\n }\n /**\n * @ignore\n */\n Log.getAttributeTypeMap = function () {\n return Log.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Log.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogType\",\n },\n };\n return Log;\n}());\nexports.Log = Log;\n//# sourceMappingURL=Log.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogAttributes = void 0;\n/**\n * JSON object containing all log attributes and their associated values.\n */\nvar LogAttributes = /** @class */ (function () {\n function LogAttributes() {\n }\n /**\n * @ignore\n */\n LogAttributes.getAttributeTypeMap = function () {\n return LogAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogAttributes.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"{ [key: string]: any; }\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n service: {\n baseName: \"service\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n timestamp: {\n baseName: \"timestamp\",\n type: \"Date\",\n format: \"date-time\",\n },\n };\n return LogAttributes;\n}());\nexports.LogAttributes = LogAttributes;\n//# sourceMappingURL=LogAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateBucket = void 0;\n/**\n * A bucket values\n */\nvar LogsAggregateBucket = /** @class */ (function () {\n function LogsAggregateBucket() {\n }\n /**\n * @ignore\n */\n LogsAggregateBucket.getAttributeTypeMap = function () {\n return LogsAggregateBucket.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateBucket.attributeTypeMap = {\n by: {\n baseName: \"by\",\n type: \"{ [key: string]: string; }\",\n },\n computes: {\n baseName: \"computes\",\n type: \"{ [key: string]: LogsAggregateBucketValue; }\",\n },\n };\n return LogsAggregateBucket;\n}());\nexports.LogsAggregateBucket = LogsAggregateBucket;\n//# sourceMappingURL=LogsAggregateBucket.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateBucketValueTimeseriesPoint = void 0;\n/**\n * A timeseries point\n */\nvar LogsAggregateBucketValueTimeseriesPoint = /** @class */ (function () {\n function LogsAggregateBucketValueTimeseriesPoint() {\n }\n /**\n * @ignore\n */\n LogsAggregateBucketValueTimeseriesPoint.getAttributeTypeMap = function () {\n return LogsAggregateBucketValueTimeseriesPoint.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateBucketValueTimeseriesPoint.attributeTypeMap = {\n time: {\n baseName: \"time\",\n type: \"string\",\n },\n value: {\n baseName: \"value\",\n type: \"number\",\n format: \"double\",\n },\n };\n return LogsAggregateBucketValueTimeseriesPoint;\n}());\nexports.LogsAggregateBucketValueTimeseriesPoint = LogsAggregateBucketValueTimeseriesPoint;\n//# sourceMappingURL=LogsAggregateBucketValueTimeseriesPoint.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateRequest = void 0;\n/**\n * The object sent with the request to retrieve a list of logs from your organization.\n */\nvar LogsAggregateRequest = /** @class */ (function () {\n function LogsAggregateRequest() {\n }\n /**\n * @ignore\n */\n LogsAggregateRequest.getAttributeTypeMap = function () {\n return LogsAggregateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateRequest.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"Array\",\n },\n filter: {\n baseName: \"filter\",\n type: \"LogsQueryFilter\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n options: {\n baseName: \"options\",\n type: \"LogsQueryOptions\",\n },\n page: {\n baseName: \"page\",\n type: \"LogsAggregateRequestPage\",\n },\n };\n return LogsAggregateRequest;\n}());\nexports.LogsAggregateRequest = LogsAggregateRequest;\n//# sourceMappingURL=LogsAggregateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateRequestPage = void 0;\n/**\n * Paging settings\n */\nvar LogsAggregateRequestPage = /** @class */ (function () {\n function LogsAggregateRequestPage() {\n }\n /**\n * @ignore\n */\n LogsAggregateRequestPage.getAttributeTypeMap = function () {\n return LogsAggregateRequestPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateRequestPage.attributeTypeMap = {\n cursor: {\n baseName: \"cursor\",\n type: \"string\",\n },\n };\n return LogsAggregateRequestPage;\n}());\nexports.LogsAggregateRequestPage = LogsAggregateRequestPage;\n//# sourceMappingURL=LogsAggregateRequestPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateResponse = void 0;\n/**\n * The response object for the logs aggregate API endpoint\n */\nvar LogsAggregateResponse = /** @class */ (function () {\n function LogsAggregateResponse() {\n }\n /**\n * @ignore\n */\n LogsAggregateResponse.getAttributeTypeMap = function () {\n return LogsAggregateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsAggregateResponseData\",\n },\n meta: {\n baseName: \"meta\",\n type: \"LogsResponseMetadata\",\n },\n };\n return LogsAggregateResponse;\n}());\nexports.LogsAggregateResponse = LogsAggregateResponse;\n//# sourceMappingURL=LogsAggregateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateResponseData = void 0;\n/**\n * The query results\n */\nvar LogsAggregateResponseData = /** @class */ (function () {\n function LogsAggregateResponseData() {\n }\n /**\n * @ignore\n */\n LogsAggregateResponseData.getAttributeTypeMap = function () {\n return LogsAggregateResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateResponseData.attributeTypeMap = {\n buckets: {\n baseName: \"buckets\",\n type: \"Array\",\n },\n };\n return LogsAggregateResponseData;\n}());\nexports.LogsAggregateResponseData = LogsAggregateResponseData;\n//# sourceMappingURL=LogsAggregateResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsAggregateSort = void 0;\n/**\n * A sort rule\n */\nvar LogsAggregateSort = /** @class */ (function () {\n function LogsAggregateSort() {\n }\n /**\n * @ignore\n */\n LogsAggregateSort.getAttributeTypeMap = function () {\n return LogsAggregateSort.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsAggregateSort.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"LogsAggregationFunction\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n order: {\n baseName: \"order\",\n type: \"LogsSortOrder\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsAggregateSortType\",\n },\n };\n return LogsAggregateSort;\n}());\nexports.LogsAggregateSort = LogsAggregateSort;\n//# sourceMappingURL=LogsAggregateSort.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchive = void 0;\n/**\n * The logs archive.\n */\nvar LogsArchive = /** @class */ (function () {\n function LogsArchive() {\n }\n /**\n * @ignore\n */\n LogsArchive.getAttributeTypeMap = function () {\n return LogsArchive.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchive.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsArchiveDefinition\",\n },\n };\n return LogsArchive;\n}());\nexports.LogsArchive = LogsArchive;\n//# sourceMappingURL=LogsArchive.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveAttributes = void 0;\n/**\n * The attributes associated with the archive.\n */\nvar LogsArchiveAttributes = /** @class */ (function () {\n function LogsArchiveAttributes() {\n }\n /**\n * @ignore\n */\n LogsArchiveAttributes.getAttributeTypeMap = function () {\n return LogsArchiveAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveAttributes.attributeTypeMap = {\n destination: {\n baseName: \"destination\",\n type: \"LogsArchiveDestination\",\n required: true,\n },\n includeTags: {\n baseName: \"include_tags\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n rehydrationTags: {\n baseName: \"rehydration_tags\",\n type: \"Array\",\n },\n state: {\n baseName: \"state\",\n type: \"LogsArchiveState\",\n },\n };\n return LogsArchiveAttributes;\n}());\nexports.LogsArchiveAttributes = LogsArchiveAttributes;\n//# sourceMappingURL=LogsArchiveAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveCreateRequest = void 0;\n/**\n * The logs archive.\n */\nvar LogsArchiveCreateRequest = /** @class */ (function () {\n function LogsArchiveCreateRequest() {\n }\n /**\n * @ignore\n */\n LogsArchiveCreateRequest.getAttributeTypeMap = function () {\n return LogsArchiveCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsArchiveCreateRequestDefinition\",\n },\n };\n return LogsArchiveCreateRequest;\n}());\nexports.LogsArchiveCreateRequest = LogsArchiveCreateRequest;\n//# sourceMappingURL=LogsArchiveCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveCreateRequestAttributes = void 0;\n/**\n * The attributes associated with the archive.\n */\nvar LogsArchiveCreateRequestAttributes = /** @class */ (function () {\n function LogsArchiveCreateRequestAttributes() {\n }\n /**\n * @ignore\n */\n LogsArchiveCreateRequestAttributes.getAttributeTypeMap = function () {\n return LogsArchiveCreateRequestAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveCreateRequestAttributes.attributeTypeMap = {\n destination: {\n baseName: \"destination\",\n type: \"LogsArchiveCreateRequestDestination\",\n required: true,\n },\n includeTags: {\n baseName: \"include_tags\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n rehydrationTags: {\n baseName: \"rehydration_tags\",\n type: \"Array\",\n },\n };\n return LogsArchiveCreateRequestAttributes;\n}());\nexports.LogsArchiveCreateRequestAttributes = LogsArchiveCreateRequestAttributes;\n//# sourceMappingURL=LogsArchiveCreateRequestAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveCreateRequestDefinition = void 0;\n/**\n * The definition of an archive.\n */\nvar LogsArchiveCreateRequestDefinition = /** @class */ (function () {\n function LogsArchiveCreateRequestDefinition() {\n }\n /**\n * @ignore\n */\n LogsArchiveCreateRequestDefinition.getAttributeTypeMap = function () {\n return LogsArchiveCreateRequestDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveCreateRequestDefinition.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsArchiveCreateRequestAttributes\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n required: true,\n },\n };\n return LogsArchiveCreateRequestDefinition;\n}());\nexports.LogsArchiveCreateRequestDefinition = LogsArchiveCreateRequestDefinition;\n//# sourceMappingURL=LogsArchiveCreateRequestDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveDefinition = void 0;\n/**\n * The definition of an archive.\n */\nvar LogsArchiveDefinition = /** @class */ (function () {\n function LogsArchiveDefinition() {\n }\n /**\n * @ignore\n */\n LogsArchiveDefinition.getAttributeTypeMap = function () {\n return LogsArchiveDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveDefinition.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsArchiveAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"string\",\n required: true,\n },\n };\n return LogsArchiveDefinition;\n}());\nexports.LogsArchiveDefinition = LogsArchiveDefinition;\n//# sourceMappingURL=LogsArchiveDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveDestinationAzure = void 0;\n/**\n * The Azure archive destination.\n */\nvar LogsArchiveDestinationAzure = /** @class */ (function () {\n function LogsArchiveDestinationAzure() {\n }\n /**\n * @ignore\n */\n LogsArchiveDestinationAzure.getAttributeTypeMap = function () {\n return LogsArchiveDestinationAzure.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveDestinationAzure.attributeTypeMap = {\n container: {\n baseName: \"container\",\n type: \"string\",\n required: true,\n },\n integration: {\n baseName: \"integration\",\n type: \"LogsArchiveIntegrationAzure\",\n required: true,\n },\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n region: {\n baseName: \"region\",\n type: \"string\",\n },\n storageAccount: {\n baseName: \"storage_account\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsArchiveDestinationAzureType\",\n required: true,\n },\n };\n return LogsArchiveDestinationAzure;\n}());\nexports.LogsArchiveDestinationAzure = LogsArchiveDestinationAzure;\n//# sourceMappingURL=LogsArchiveDestinationAzure.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveDestinationGCS = void 0;\n/**\n * The GCS archive destination.\n */\nvar LogsArchiveDestinationGCS = /** @class */ (function () {\n function LogsArchiveDestinationGCS() {\n }\n /**\n * @ignore\n */\n LogsArchiveDestinationGCS.getAttributeTypeMap = function () {\n return LogsArchiveDestinationGCS.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveDestinationGCS.attributeTypeMap = {\n bucket: {\n baseName: \"bucket\",\n type: \"string\",\n required: true,\n },\n integration: {\n baseName: \"integration\",\n type: \"LogsArchiveIntegrationGCS\",\n required: true,\n },\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsArchiveDestinationGCSType\",\n required: true,\n },\n };\n return LogsArchiveDestinationGCS;\n}());\nexports.LogsArchiveDestinationGCS = LogsArchiveDestinationGCS;\n//# sourceMappingURL=LogsArchiveDestinationGCS.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveDestinationS3 = void 0;\n/**\n * The S3 archive destination.\n */\nvar LogsArchiveDestinationS3 = /** @class */ (function () {\n function LogsArchiveDestinationS3() {\n }\n /**\n * @ignore\n */\n LogsArchiveDestinationS3.getAttributeTypeMap = function () {\n return LogsArchiveDestinationS3.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveDestinationS3.attributeTypeMap = {\n bucket: {\n baseName: \"bucket\",\n type: \"string\",\n required: true,\n },\n integration: {\n baseName: \"integration\",\n type: \"LogsArchiveIntegrationS3\",\n required: true,\n },\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsArchiveDestinationS3Type\",\n required: true,\n },\n };\n return LogsArchiveDestinationS3;\n}());\nexports.LogsArchiveDestinationS3 = LogsArchiveDestinationS3;\n//# sourceMappingURL=LogsArchiveDestinationS3.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveIntegrationAzure = void 0;\n/**\n * The Azure archive's integration destination.\n */\nvar LogsArchiveIntegrationAzure = /** @class */ (function () {\n function LogsArchiveIntegrationAzure() {\n }\n /**\n * @ignore\n */\n LogsArchiveIntegrationAzure.getAttributeTypeMap = function () {\n return LogsArchiveIntegrationAzure.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveIntegrationAzure.attributeTypeMap = {\n clientId: {\n baseName: \"client_id\",\n type: \"string\",\n required: true,\n },\n tenantId: {\n baseName: \"tenant_id\",\n type: \"string\",\n required: true,\n },\n };\n return LogsArchiveIntegrationAzure;\n}());\nexports.LogsArchiveIntegrationAzure = LogsArchiveIntegrationAzure;\n//# sourceMappingURL=LogsArchiveIntegrationAzure.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveIntegrationGCS = void 0;\n/**\n * The GCS archive's integration destination.\n */\nvar LogsArchiveIntegrationGCS = /** @class */ (function () {\n function LogsArchiveIntegrationGCS() {\n }\n /**\n * @ignore\n */\n LogsArchiveIntegrationGCS.getAttributeTypeMap = function () {\n return LogsArchiveIntegrationGCS.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveIntegrationGCS.attributeTypeMap = {\n clientEmail: {\n baseName: \"client_email\",\n type: \"string\",\n required: true,\n },\n projectId: {\n baseName: \"project_id\",\n type: \"string\",\n required: true,\n },\n };\n return LogsArchiveIntegrationGCS;\n}());\nexports.LogsArchiveIntegrationGCS = LogsArchiveIntegrationGCS;\n//# sourceMappingURL=LogsArchiveIntegrationGCS.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveIntegrationS3 = void 0;\n/**\n * The S3 Archive's integration destination.\n */\nvar LogsArchiveIntegrationS3 = /** @class */ (function () {\n function LogsArchiveIntegrationS3() {\n }\n /**\n * @ignore\n */\n LogsArchiveIntegrationS3.getAttributeTypeMap = function () {\n return LogsArchiveIntegrationS3.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveIntegrationS3.attributeTypeMap = {\n accountId: {\n baseName: \"account_id\",\n type: \"string\",\n required: true,\n },\n roleName: {\n baseName: \"role_name\",\n type: \"string\",\n required: true,\n },\n };\n return LogsArchiveIntegrationS3;\n}());\nexports.LogsArchiveIntegrationS3 = LogsArchiveIntegrationS3;\n//# sourceMappingURL=LogsArchiveIntegrationS3.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveOrder = void 0;\n/**\n * A ordered list of archive IDs.\n */\nvar LogsArchiveOrder = /** @class */ (function () {\n function LogsArchiveOrder() {\n }\n /**\n * @ignore\n */\n LogsArchiveOrder.getAttributeTypeMap = function () {\n return LogsArchiveOrder.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveOrder.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsArchiveOrderDefinition\",\n },\n };\n return LogsArchiveOrder;\n}());\nexports.LogsArchiveOrder = LogsArchiveOrder;\n//# sourceMappingURL=LogsArchiveOrder.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveOrderAttributes = void 0;\n/**\n * The attributes associated with the archive order.\n */\nvar LogsArchiveOrderAttributes = /** @class */ (function () {\n function LogsArchiveOrderAttributes() {\n }\n /**\n * @ignore\n */\n LogsArchiveOrderAttributes.getAttributeTypeMap = function () {\n return LogsArchiveOrderAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveOrderAttributes.attributeTypeMap = {\n archiveIds: {\n baseName: \"archive_ids\",\n type: \"Array\",\n required: true,\n },\n };\n return LogsArchiveOrderAttributes;\n}());\nexports.LogsArchiveOrderAttributes = LogsArchiveOrderAttributes;\n//# sourceMappingURL=LogsArchiveOrderAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchiveOrderDefinition = void 0;\n/**\n * The definition of an archive order.\n */\nvar LogsArchiveOrderDefinition = /** @class */ (function () {\n function LogsArchiveOrderDefinition() {\n }\n /**\n * @ignore\n */\n LogsArchiveOrderDefinition.getAttributeTypeMap = function () {\n return LogsArchiveOrderDefinition.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchiveOrderDefinition.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsArchiveOrderAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsArchiveOrderDefinitionType\",\n required: true,\n },\n };\n return LogsArchiveOrderDefinition;\n}());\nexports.LogsArchiveOrderDefinition = LogsArchiveOrderDefinition;\n//# sourceMappingURL=LogsArchiveOrderDefinition.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsArchives = void 0;\n/**\n * The available archives.\n */\nvar LogsArchives = /** @class */ (function () {\n function LogsArchives() {\n }\n /**\n * @ignore\n */\n LogsArchives.getAttributeTypeMap = function () {\n return LogsArchives.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsArchives.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return LogsArchives;\n}());\nexports.LogsArchives = LogsArchives;\n//# sourceMappingURL=LogsArchives.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsCompute = void 0;\n/**\n * A compute rule to compute metrics or timeseries\n */\nvar LogsCompute = /** @class */ (function () {\n function LogsCompute() {\n }\n /**\n * @ignore\n */\n LogsCompute.getAttributeTypeMap = function () {\n return LogsCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsCompute.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"LogsAggregationFunction\",\n required: true,\n },\n interval: {\n baseName: \"interval\",\n type: \"string\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsComputeType\",\n },\n };\n return LogsCompute;\n}());\nexports.LogsCompute = LogsCompute;\n//# sourceMappingURL=LogsCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsGroupBy = void 0;\n/**\n * A group by rule\n */\nvar LogsGroupBy = /** @class */ (function () {\n function LogsGroupBy() {\n }\n /**\n * @ignore\n */\n LogsGroupBy.getAttributeTypeMap = function () {\n return LogsGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsGroupBy.attributeTypeMap = {\n facet: {\n baseName: \"facet\",\n type: \"string\",\n required: true,\n },\n histogram: {\n baseName: \"histogram\",\n type: \"LogsGroupByHistogram\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int64\",\n },\n missing: {\n baseName: \"missing\",\n type: \"LogsGroupByMissing\",\n },\n sort: {\n baseName: \"sort\",\n type: \"LogsAggregateSort\",\n },\n total: {\n baseName: \"total\",\n type: \"LogsGroupByTotal\",\n },\n };\n return LogsGroupBy;\n}());\nexports.LogsGroupBy = LogsGroupBy;\n//# sourceMappingURL=LogsGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsGroupByHistogram = void 0;\n/**\n * Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.\n */\nvar LogsGroupByHistogram = /** @class */ (function () {\n function LogsGroupByHistogram() {\n }\n /**\n * @ignore\n */\n LogsGroupByHistogram.getAttributeTypeMap = function () {\n return LogsGroupByHistogram.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsGroupByHistogram.attributeTypeMap = {\n interval: {\n baseName: \"interval\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n max: {\n baseName: \"max\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n min: {\n baseName: \"min\",\n type: \"number\",\n required: true,\n format: \"double\",\n },\n };\n return LogsGroupByHistogram;\n}());\nexports.LogsGroupByHistogram = LogsGroupByHistogram;\n//# sourceMappingURL=LogsGroupByHistogram.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListRequest = void 0;\n/**\n * The request for a logs list.\n */\nvar LogsListRequest = /** @class */ (function () {\n function LogsListRequest() {\n }\n /**\n * @ignore\n */\n LogsListRequest.getAttributeTypeMap = function () {\n return LogsListRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListRequest.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsQueryFilter\",\n },\n options: {\n baseName: \"options\",\n type: \"LogsQueryOptions\",\n },\n page: {\n baseName: \"page\",\n type: \"LogsListRequestPage\",\n },\n sort: {\n baseName: \"sort\",\n type: \"LogsSort\",\n },\n };\n return LogsListRequest;\n}());\nexports.LogsListRequest = LogsListRequest;\n//# sourceMappingURL=LogsListRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListRequestPage = void 0;\n/**\n * Paging attributes for listing logs.\n */\nvar LogsListRequestPage = /** @class */ (function () {\n function LogsListRequestPage() {\n }\n /**\n * @ignore\n */\n LogsListRequestPage.getAttributeTypeMap = function () {\n return LogsListRequestPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListRequestPage.attributeTypeMap = {\n cursor: {\n baseName: \"cursor\",\n type: \"string\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return LogsListRequestPage;\n}());\nexports.LogsListRequestPage = LogsListRequestPage;\n//# sourceMappingURL=LogsListRequestPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListResponse = void 0;\n/**\n * Response object with all logs matching the request and pagination information.\n */\nvar LogsListResponse = /** @class */ (function () {\n function LogsListResponse() {\n }\n /**\n * @ignore\n */\n LogsListResponse.getAttributeTypeMap = function () {\n return LogsListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n links: {\n baseName: \"links\",\n type: \"LogsListResponseLinks\",\n },\n meta: {\n baseName: \"meta\",\n type: \"LogsResponseMetadata\",\n },\n };\n return LogsListResponse;\n}());\nexports.LogsListResponse = LogsListResponse;\n//# sourceMappingURL=LogsListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsListResponseLinks = void 0;\n/**\n * Links attributes.\n */\nvar LogsListResponseLinks = /** @class */ (function () {\n function LogsListResponseLinks() {\n }\n /**\n * @ignore\n */\n LogsListResponseLinks.getAttributeTypeMap = function () {\n return LogsListResponseLinks.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsListResponseLinks.attributeTypeMap = {\n next: {\n baseName: \"next\",\n type: \"string\",\n },\n };\n return LogsListResponseLinks;\n}());\nexports.LogsListResponseLinks = LogsListResponseLinks;\n//# sourceMappingURL=LogsListResponseLinks.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricCompute = void 0;\n/**\n * The compute rule to compute the log-based metric.\n */\nvar LogsMetricCompute = /** @class */ (function () {\n function LogsMetricCompute() {\n }\n /**\n * @ignore\n */\n LogsMetricCompute.getAttributeTypeMap = function () {\n return LogsMetricCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricCompute.attributeTypeMap = {\n aggregationType: {\n baseName: \"aggregation_type\",\n type: \"LogsMetricComputeAggregationType\",\n required: true,\n },\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n };\n return LogsMetricCompute;\n}());\nexports.LogsMetricCompute = LogsMetricCompute;\n//# sourceMappingURL=LogsMetricCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricCreateAttributes = void 0;\n/**\n * The object describing the Datadog log-based metric to create.\n */\nvar LogsMetricCreateAttributes = /** @class */ (function () {\n function LogsMetricCreateAttributes() {\n }\n /**\n * @ignore\n */\n LogsMetricCreateAttributes.getAttributeTypeMap = function () {\n return LogsMetricCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricCreateAttributes.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"LogsMetricCompute\",\n required: true,\n },\n filter: {\n baseName: \"filter\",\n type: \"LogsMetricFilter\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n };\n return LogsMetricCreateAttributes;\n}());\nexports.LogsMetricCreateAttributes = LogsMetricCreateAttributes;\n//# sourceMappingURL=LogsMetricCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricCreateData = void 0;\n/**\n * The new log-based metric properties.\n */\nvar LogsMetricCreateData = /** @class */ (function () {\n function LogsMetricCreateData() {\n }\n /**\n * @ignore\n */\n LogsMetricCreateData.getAttributeTypeMap = function () {\n return LogsMetricCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsMetricCreateAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsMetricType\",\n required: true,\n },\n };\n return LogsMetricCreateData;\n}());\nexports.LogsMetricCreateData = LogsMetricCreateData;\n//# sourceMappingURL=LogsMetricCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricCreateRequest = void 0;\n/**\n * The new log-based metric body.\n */\nvar LogsMetricCreateRequest = /** @class */ (function () {\n function LogsMetricCreateRequest() {\n }\n /**\n * @ignore\n */\n LogsMetricCreateRequest.getAttributeTypeMap = function () {\n return LogsMetricCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsMetricCreateData\",\n required: true,\n },\n };\n return LogsMetricCreateRequest;\n}());\nexports.LogsMetricCreateRequest = LogsMetricCreateRequest;\n//# sourceMappingURL=LogsMetricCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricFilter = void 0;\n/**\n * The log-based metric filter. Logs matching this filter will be aggregated in this metric.\n */\nvar LogsMetricFilter = /** @class */ (function () {\n function LogsMetricFilter() {\n }\n /**\n * @ignore\n */\n LogsMetricFilter.getAttributeTypeMap = function () {\n return LogsMetricFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricFilter.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return LogsMetricFilter;\n}());\nexports.LogsMetricFilter = LogsMetricFilter;\n//# sourceMappingURL=LogsMetricFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricGroupBy = void 0;\n/**\n * A group by rule.\n */\nvar LogsMetricGroupBy = /** @class */ (function () {\n function LogsMetricGroupBy() {\n }\n /**\n * @ignore\n */\n LogsMetricGroupBy.getAttributeTypeMap = function () {\n return LogsMetricGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricGroupBy.attributeTypeMap = {\n path: {\n baseName: \"path\",\n type: \"string\",\n required: true,\n },\n tagName: {\n baseName: \"tag_name\",\n type: \"string\",\n },\n };\n return LogsMetricGroupBy;\n}());\nexports.LogsMetricGroupBy = LogsMetricGroupBy;\n//# sourceMappingURL=LogsMetricGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponse = void 0;\n/**\n * The log-based metric object.\n */\nvar LogsMetricResponse = /** @class */ (function () {\n function LogsMetricResponse() {\n }\n /**\n * @ignore\n */\n LogsMetricResponse.getAttributeTypeMap = function () {\n return LogsMetricResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsMetricResponseData\",\n },\n };\n return LogsMetricResponse;\n}());\nexports.LogsMetricResponse = LogsMetricResponse;\n//# sourceMappingURL=LogsMetricResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponseAttributes = void 0;\n/**\n * The object describing a Datadog log-based metric.\n */\nvar LogsMetricResponseAttributes = /** @class */ (function () {\n function LogsMetricResponseAttributes() {\n }\n /**\n * @ignore\n */\n LogsMetricResponseAttributes.getAttributeTypeMap = function () {\n return LogsMetricResponseAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponseAttributes.attributeTypeMap = {\n compute: {\n baseName: \"compute\",\n type: \"LogsMetricResponseCompute\",\n },\n filter: {\n baseName: \"filter\",\n type: \"LogsMetricResponseFilter\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n };\n return LogsMetricResponseAttributes;\n}());\nexports.LogsMetricResponseAttributes = LogsMetricResponseAttributes;\n//# sourceMappingURL=LogsMetricResponseAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponseCompute = void 0;\n/**\n * The compute rule to compute the log-based metric.\n */\nvar LogsMetricResponseCompute = /** @class */ (function () {\n function LogsMetricResponseCompute() {\n }\n /**\n * @ignore\n */\n LogsMetricResponseCompute.getAttributeTypeMap = function () {\n return LogsMetricResponseCompute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponseCompute.attributeTypeMap = {\n aggregationType: {\n baseName: \"aggregation_type\",\n type: \"LogsMetricResponseComputeAggregationType\",\n },\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n };\n return LogsMetricResponseCompute;\n}());\nexports.LogsMetricResponseCompute = LogsMetricResponseCompute;\n//# sourceMappingURL=LogsMetricResponseCompute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponseData = void 0;\n/**\n * The log-based metric properties.\n */\nvar LogsMetricResponseData = /** @class */ (function () {\n function LogsMetricResponseData() {\n }\n /**\n * @ignore\n */\n LogsMetricResponseData.getAttributeTypeMap = function () {\n return LogsMetricResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsMetricResponseAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"LogsMetricType\",\n },\n };\n return LogsMetricResponseData;\n}());\nexports.LogsMetricResponseData = LogsMetricResponseData;\n//# sourceMappingURL=LogsMetricResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponseFilter = void 0;\n/**\n * The log-based metric filter. Logs matching this filter will be aggregated in this metric.\n */\nvar LogsMetricResponseFilter = /** @class */ (function () {\n function LogsMetricResponseFilter() {\n }\n /**\n * @ignore\n */\n LogsMetricResponseFilter.getAttributeTypeMap = function () {\n return LogsMetricResponseFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponseFilter.attributeTypeMap = {\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return LogsMetricResponseFilter;\n}());\nexports.LogsMetricResponseFilter = LogsMetricResponseFilter;\n//# sourceMappingURL=LogsMetricResponseFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricResponseGroupBy = void 0;\n/**\n * A group by rule.\n */\nvar LogsMetricResponseGroupBy = /** @class */ (function () {\n function LogsMetricResponseGroupBy() {\n }\n /**\n * @ignore\n */\n LogsMetricResponseGroupBy.getAttributeTypeMap = function () {\n return LogsMetricResponseGroupBy.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricResponseGroupBy.attributeTypeMap = {\n path: {\n baseName: \"path\",\n type: \"string\",\n },\n tagName: {\n baseName: \"tag_name\",\n type: \"string\",\n },\n };\n return LogsMetricResponseGroupBy;\n}());\nexports.LogsMetricResponseGroupBy = LogsMetricResponseGroupBy;\n//# sourceMappingURL=LogsMetricResponseGroupBy.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricUpdateAttributes = void 0;\n/**\n * The log-based metric properties that will be updated.\n */\nvar LogsMetricUpdateAttributes = /** @class */ (function () {\n function LogsMetricUpdateAttributes() {\n }\n /**\n * @ignore\n */\n LogsMetricUpdateAttributes.getAttributeTypeMap = function () {\n return LogsMetricUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricUpdateAttributes.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"LogsMetricFilter\",\n },\n groupBy: {\n baseName: \"group_by\",\n type: \"Array\",\n },\n };\n return LogsMetricUpdateAttributes;\n}());\nexports.LogsMetricUpdateAttributes = LogsMetricUpdateAttributes;\n//# sourceMappingURL=LogsMetricUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricUpdateData = void 0;\n/**\n * The new log-based metric properties.\n */\nvar LogsMetricUpdateData = /** @class */ (function () {\n function LogsMetricUpdateData() {\n }\n /**\n * @ignore\n */\n LogsMetricUpdateData.getAttributeTypeMap = function () {\n return LogsMetricUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"LogsMetricUpdateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"LogsMetricType\",\n required: true,\n },\n };\n return LogsMetricUpdateData;\n}());\nexports.LogsMetricUpdateData = LogsMetricUpdateData;\n//# sourceMappingURL=LogsMetricUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricUpdateRequest = void 0;\n/**\n * The new log-based metric body.\n */\nvar LogsMetricUpdateRequest = /** @class */ (function () {\n function LogsMetricUpdateRequest() {\n }\n /**\n * @ignore\n */\n LogsMetricUpdateRequest.getAttributeTypeMap = function () {\n return LogsMetricUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"LogsMetricUpdateData\",\n required: true,\n },\n };\n return LogsMetricUpdateRequest;\n}());\nexports.LogsMetricUpdateRequest = LogsMetricUpdateRequest;\n//# sourceMappingURL=LogsMetricUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsMetricsResponse = void 0;\n/**\n * All the available log-based metric objects.\n */\nvar LogsMetricsResponse = /** @class */ (function () {\n function LogsMetricsResponse() {\n }\n /**\n * @ignore\n */\n LogsMetricsResponse.getAttributeTypeMap = function () {\n return LogsMetricsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsMetricsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return LogsMetricsResponse;\n}());\nexports.LogsMetricsResponse = LogsMetricsResponse;\n//# sourceMappingURL=LogsMetricsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsQueryFilter = void 0;\n/**\n * The search and filter query settings\n */\nvar LogsQueryFilter = /** @class */ (function () {\n function LogsQueryFilter() {\n }\n /**\n * @ignore\n */\n LogsQueryFilter.getAttributeTypeMap = function () {\n return LogsQueryFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsQueryFilter.attributeTypeMap = {\n from: {\n baseName: \"from\",\n type: \"string\",\n },\n indexes: {\n baseName: \"indexes\",\n type: \"Array\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n to: {\n baseName: \"to\",\n type: \"string\",\n },\n };\n return LogsQueryFilter;\n}());\nexports.LogsQueryFilter = LogsQueryFilter;\n//# sourceMappingURL=LogsQueryFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsQueryOptions = void 0;\n/**\n * Global query options that are used during the query. Note: You should only supply timezone or time offset but not both otherwise the query will fail.\n */\nvar LogsQueryOptions = /** @class */ (function () {\n function LogsQueryOptions() {\n }\n /**\n * @ignore\n */\n LogsQueryOptions.getAttributeTypeMap = function () {\n return LogsQueryOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsQueryOptions.attributeTypeMap = {\n timeOffset: {\n baseName: \"timeOffset\",\n type: \"number\",\n format: \"int64\",\n },\n timezone: {\n baseName: \"timezone\",\n type: \"string\",\n },\n };\n return LogsQueryOptions;\n}());\nexports.LogsQueryOptions = LogsQueryOptions;\n//# sourceMappingURL=LogsQueryOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsResponseMetadata = void 0;\n/**\n * The metadata associated with a request\n */\nvar LogsResponseMetadata = /** @class */ (function () {\n function LogsResponseMetadata() {\n }\n /**\n * @ignore\n */\n LogsResponseMetadata.getAttributeTypeMap = function () {\n return LogsResponseMetadata.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsResponseMetadata.attributeTypeMap = {\n elapsed: {\n baseName: \"elapsed\",\n type: \"number\",\n format: \"int64\",\n },\n page: {\n baseName: \"page\",\n type: \"LogsResponseMetadataPage\",\n },\n requestId: {\n baseName: \"request_id\",\n type: \"string\",\n },\n status: {\n baseName: \"status\",\n type: \"LogsAggregateResponseStatus\",\n },\n warnings: {\n baseName: \"warnings\",\n type: \"Array\",\n },\n };\n return LogsResponseMetadata;\n}());\nexports.LogsResponseMetadata = LogsResponseMetadata;\n//# sourceMappingURL=LogsResponseMetadata.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsResponseMetadataPage = void 0;\n/**\n * Paging attributes.\n */\nvar LogsResponseMetadataPage = /** @class */ (function () {\n function LogsResponseMetadataPage() {\n }\n /**\n * @ignore\n */\n LogsResponseMetadataPage.getAttributeTypeMap = function () {\n return LogsResponseMetadataPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsResponseMetadataPage.attributeTypeMap = {\n after: {\n baseName: \"after\",\n type: \"string\",\n },\n };\n return LogsResponseMetadataPage;\n}());\nexports.LogsResponseMetadataPage = LogsResponseMetadataPage;\n//# sourceMappingURL=LogsResponseMetadataPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.LogsWarning = void 0;\n/**\n * A warning message indicating something that went wrong with the query\n */\nvar LogsWarning = /** @class */ (function () {\n function LogsWarning() {\n }\n /**\n * @ignore\n */\n LogsWarning.getAttributeTypeMap = function () {\n return LogsWarning.attributeTypeMap;\n };\n /**\n * @ignore\n */\n LogsWarning.attributeTypeMap = {\n code: {\n baseName: \"code\",\n type: \"string\",\n },\n detail: {\n baseName: \"detail\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n };\n return LogsWarning;\n}());\nexports.LogsWarning = LogsWarning;\n//# sourceMappingURL=LogsWarning.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Metric = void 0;\n/**\n * Object for a single metric tag configuration.\n */\nvar Metric = /** @class */ (function () {\n function Metric() {\n }\n /**\n * @ignore\n */\n Metric.getAttributeTypeMap = function () {\n return Metric.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Metric.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MetricType\",\n },\n };\n return Metric;\n}());\nexports.Metric = Metric;\n//# sourceMappingURL=Metric.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricAllTags = void 0;\n/**\n * Object for a single metric's indexed tags.\n */\nvar MetricAllTags = /** @class */ (function () {\n function MetricAllTags() {\n }\n /**\n * @ignore\n */\n MetricAllTags.getAttributeTypeMap = function () {\n return MetricAllTags.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricAllTags.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricAllTagsAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MetricType\",\n },\n };\n return MetricAllTags;\n}());\nexports.MetricAllTags = MetricAllTags;\n//# sourceMappingURL=MetricAllTags.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricAllTagsAttributes = void 0;\n/**\n * Object containing the definition of a metric's tags.\n */\nvar MetricAllTagsAttributes = /** @class */ (function () {\n function MetricAllTagsAttributes() {\n }\n /**\n * @ignore\n */\n MetricAllTagsAttributes.getAttributeTypeMap = function () {\n return MetricAllTagsAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricAllTagsAttributes.attributeTypeMap = {\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return MetricAllTagsAttributes;\n}());\nexports.MetricAllTagsAttributes = MetricAllTagsAttributes;\n//# sourceMappingURL=MetricAllTagsAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricAllTagsResponse = void 0;\n/**\n * Response object that includes a single metric's indexed tags.\n */\nvar MetricAllTagsResponse = /** @class */ (function () {\n function MetricAllTagsResponse() {\n }\n /**\n * @ignore\n */\n MetricAllTagsResponse.getAttributeTypeMap = function () {\n return MetricAllTagsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricAllTagsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricAllTags\",\n },\n };\n return MetricAllTagsResponse;\n}());\nexports.MetricAllTagsResponse = MetricAllTagsResponse;\n//# sourceMappingURL=MetricAllTagsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigCreate = void 0;\n/**\n * Request object to bulk configure tags for metrics matching the given prefix.\n */\nvar MetricBulkTagConfigCreate = /** @class */ (function () {\n function MetricBulkTagConfigCreate() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigCreate.getAttributeTypeMap = function () {\n return MetricBulkTagConfigCreate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigCreate.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricBulkTagConfigCreateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"MetricBulkConfigureTagsType\",\n required: true,\n },\n };\n return MetricBulkTagConfigCreate;\n}());\nexports.MetricBulkTagConfigCreate = MetricBulkTagConfigCreate;\n//# sourceMappingURL=MetricBulkTagConfigCreate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigCreateAttributes = void 0;\n/**\n * Optional parameters for bulk creating metric tag configurations.\n */\nvar MetricBulkTagConfigCreateAttributes = /** @class */ (function () {\n function MetricBulkTagConfigCreateAttributes() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigCreateAttributes.getAttributeTypeMap = function () {\n return MetricBulkTagConfigCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigCreateAttributes.attributeTypeMap = {\n emails: {\n baseName: \"emails\",\n type: \"Array\",\n format: \"email\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return MetricBulkTagConfigCreateAttributes;\n}());\nexports.MetricBulkTagConfigCreateAttributes = MetricBulkTagConfigCreateAttributes;\n//# sourceMappingURL=MetricBulkTagConfigCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigCreateRequest = void 0;\n/**\n * Wrapper object for a single bulk tag configuration request.\n */\nvar MetricBulkTagConfigCreateRequest = /** @class */ (function () {\n function MetricBulkTagConfigCreateRequest() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigCreateRequest.getAttributeTypeMap = function () {\n return MetricBulkTagConfigCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricBulkTagConfigCreate\",\n required: true,\n },\n };\n return MetricBulkTagConfigCreateRequest;\n}());\nexports.MetricBulkTagConfigCreateRequest = MetricBulkTagConfigCreateRequest;\n//# sourceMappingURL=MetricBulkTagConfigCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigDelete = void 0;\n/**\n * Request object to bulk delete all tag configurations for metrics matching the given prefix.\n */\nvar MetricBulkTagConfigDelete = /** @class */ (function () {\n function MetricBulkTagConfigDelete() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigDelete.getAttributeTypeMap = function () {\n return MetricBulkTagConfigDelete.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigDelete.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricBulkTagConfigDeleteAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"MetricBulkConfigureTagsType\",\n required: true,\n },\n };\n return MetricBulkTagConfigDelete;\n}());\nexports.MetricBulkTagConfigDelete = MetricBulkTagConfigDelete;\n//# sourceMappingURL=MetricBulkTagConfigDelete.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigDeleteAttributes = void 0;\n/**\n * Optional parameters for bulk deleting metric tag configurations.\n */\nvar MetricBulkTagConfigDeleteAttributes = /** @class */ (function () {\n function MetricBulkTagConfigDeleteAttributes() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigDeleteAttributes.getAttributeTypeMap = function () {\n return MetricBulkTagConfigDeleteAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigDeleteAttributes.attributeTypeMap = {\n emails: {\n baseName: \"emails\",\n type: \"Array\",\n format: \"email\",\n },\n };\n return MetricBulkTagConfigDeleteAttributes;\n}());\nexports.MetricBulkTagConfigDeleteAttributes = MetricBulkTagConfigDeleteAttributes;\n//# sourceMappingURL=MetricBulkTagConfigDeleteAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigDeleteRequest = void 0;\n/**\n * Wrapper object for a single bulk tag deletion request.\n */\nvar MetricBulkTagConfigDeleteRequest = /** @class */ (function () {\n function MetricBulkTagConfigDeleteRequest() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigDeleteRequest.getAttributeTypeMap = function () {\n return MetricBulkTagConfigDeleteRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigDeleteRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricBulkTagConfigDelete\",\n required: true,\n },\n };\n return MetricBulkTagConfigDeleteRequest;\n}());\nexports.MetricBulkTagConfigDeleteRequest = MetricBulkTagConfigDeleteRequest;\n//# sourceMappingURL=MetricBulkTagConfigDeleteRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigResponse = void 0;\n/**\n * Wrapper for a single bulk tag configuration status response.\n */\nvar MetricBulkTagConfigResponse = /** @class */ (function () {\n function MetricBulkTagConfigResponse() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigResponse.getAttributeTypeMap = function () {\n return MetricBulkTagConfigResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricBulkTagConfigStatus\",\n },\n };\n return MetricBulkTagConfigResponse;\n}());\nexports.MetricBulkTagConfigResponse = MetricBulkTagConfigResponse;\n//# sourceMappingURL=MetricBulkTagConfigResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigStatus = void 0;\n/**\n * The status of a request to bulk configure metric tags. It contains the fields from the original request for reference.\n */\nvar MetricBulkTagConfigStatus = /** @class */ (function () {\n function MetricBulkTagConfigStatus() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigStatus.getAttributeTypeMap = function () {\n return MetricBulkTagConfigStatus.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigStatus.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricBulkTagConfigStatusAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"MetricBulkConfigureTagsType\",\n required: true,\n },\n };\n return MetricBulkTagConfigStatus;\n}());\nexports.MetricBulkTagConfigStatus = MetricBulkTagConfigStatus;\n//# sourceMappingURL=MetricBulkTagConfigStatus.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricBulkTagConfigStatusAttributes = void 0;\n/**\n * Optional attributes for the status of a bulk tag configuration request.\n */\nvar MetricBulkTagConfigStatusAttributes = /** @class */ (function () {\n function MetricBulkTagConfigStatusAttributes() {\n }\n /**\n * @ignore\n */\n MetricBulkTagConfigStatusAttributes.getAttributeTypeMap = function () {\n return MetricBulkTagConfigStatusAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricBulkTagConfigStatusAttributes.attributeTypeMap = {\n emails: {\n baseName: \"emails\",\n type: \"Array\",\n format: \"email\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return MetricBulkTagConfigStatusAttributes;\n}());\nexports.MetricBulkTagConfigStatusAttributes = MetricBulkTagConfigStatusAttributes;\n//# sourceMappingURL=MetricBulkTagConfigStatusAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricCustomAggregation = void 0;\n/**\n * A time and space aggregation combination for use in query.\n */\nvar MetricCustomAggregation = /** @class */ (function () {\n function MetricCustomAggregation() {\n }\n /**\n * @ignore\n */\n MetricCustomAggregation.getAttributeTypeMap = function () {\n return MetricCustomAggregation.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricCustomAggregation.attributeTypeMap = {\n space: {\n baseName: \"space\",\n type: \"MetricCustomSpaceAggregation\",\n required: true,\n },\n time: {\n baseName: \"time\",\n type: \"MetricCustomTimeAggregation\",\n required: true,\n },\n };\n return MetricCustomAggregation;\n}());\nexports.MetricCustomAggregation = MetricCustomAggregation;\n//# sourceMappingURL=MetricCustomAggregation.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricDistinctVolume = void 0;\n/**\n * Object for a single metric's distinct volume.\n */\nvar MetricDistinctVolume = /** @class */ (function () {\n function MetricDistinctVolume() {\n }\n /**\n * @ignore\n */\n MetricDistinctVolume.getAttributeTypeMap = function () {\n return MetricDistinctVolume.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricDistinctVolume.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricDistinctVolumeAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MetricDistinctVolumeType\",\n },\n };\n return MetricDistinctVolume;\n}());\nexports.MetricDistinctVolume = MetricDistinctVolume;\n//# sourceMappingURL=MetricDistinctVolume.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricDistinctVolumeAttributes = void 0;\n/**\n * Object containing the definition of a metric's distinct volume.\n */\nvar MetricDistinctVolumeAttributes = /** @class */ (function () {\n function MetricDistinctVolumeAttributes() {\n }\n /**\n * @ignore\n */\n MetricDistinctVolumeAttributes.getAttributeTypeMap = function () {\n return MetricDistinctVolumeAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricDistinctVolumeAttributes.attributeTypeMap = {\n distinctVolume: {\n baseName: \"distinct_volume\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return MetricDistinctVolumeAttributes;\n}());\nexports.MetricDistinctVolumeAttributes = MetricDistinctVolumeAttributes;\n//# sourceMappingURL=MetricDistinctVolumeAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricIngestedIndexedVolume = void 0;\n/**\n * Object for a single metric's ingested and indexed volume.\n */\nvar MetricIngestedIndexedVolume = /** @class */ (function () {\n function MetricIngestedIndexedVolume() {\n }\n /**\n * @ignore\n */\n MetricIngestedIndexedVolume.getAttributeTypeMap = function () {\n return MetricIngestedIndexedVolume.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricIngestedIndexedVolume.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricIngestedIndexedVolumeAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MetricIngestedIndexedVolumeType\",\n },\n };\n return MetricIngestedIndexedVolume;\n}());\nexports.MetricIngestedIndexedVolume = MetricIngestedIndexedVolume;\n//# sourceMappingURL=MetricIngestedIndexedVolume.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricIngestedIndexedVolumeAttributes = void 0;\n/**\n * Object containing the definition of a metric's ingested and indexed volume.\n */\nvar MetricIngestedIndexedVolumeAttributes = /** @class */ (function () {\n function MetricIngestedIndexedVolumeAttributes() {\n }\n /**\n * @ignore\n */\n MetricIngestedIndexedVolumeAttributes.getAttributeTypeMap = function () {\n return MetricIngestedIndexedVolumeAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricIngestedIndexedVolumeAttributes.attributeTypeMap = {\n indexedVolume: {\n baseName: \"indexed_volume\",\n type: \"number\",\n format: \"int64\",\n },\n ingestedVolume: {\n baseName: \"ingested_volume\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return MetricIngestedIndexedVolumeAttributes;\n}());\nexports.MetricIngestedIndexedVolumeAttributes = MetricIngestedIndexedVolumeAttributes;\n//# sourceMappingURL=MetricIngestedIndexedVolumeAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfiguration = void 0;\n/**\n * Object for a single metric tag configuration.\n */\nvar MetricTagConfiguration = /** @class */ (function () {\n function MetricTagConfiguration() {\n }\n /**\n * @ignore\n */\n MetricTagConfiguration.getAttributeTypeMap = function () {\n return MetricTagConfiguration.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfiguration.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricTagConfigurationAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"MetricTagConfigurationType\",\n },\n };\n return MetricTagConfiguration;\n}());\nexports.MetricTagConfiguration = MetricTagConfiguration;\n//# sourceMappingURL=MetricTagConfiguration.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationAttributes = void 0;\n/**\n * Object containing the definition of a metric tag configuration attributes.\n */\nvar MetricTagConfigurationAttributes = /** @class */ (function () {\n function MetricTagConfigurationAttributes() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationAttributes.getAttributeTypeMap = function () {\n return MetricTagConfigurationAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationAttributes.attributeTypeMap = {\n aggregations: {\n baseName: \"aggregations\",\n type: \"Array\",\n },\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n includePercentiles: {\n baseName: \"include_percentiles\",\n type: \"boolean\",\n },\n metricType: {\n baseName: \"metric_type\",\n type: \"MetricTagConfigurationMetricTypes\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return MetricTagConfigurationAttributes;\n}());\nexports.MetricTagConfigurationAttributes = MetricTagConfigurationAttributes;\n//# sourceMappingURL=MetricTagConfigurationAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationCreateAttributes = void 0;\n/**\n * Object containing the definition of a metric tag configuration to be created.\n */\nvar MetricTagConfigurationCreateAttributes = /** @class */ (function () {\n function MetricTagConfigurationCreateAttributes() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationCreateAttributes.getAttributeTypeMap = function () {\n return MetricTagConfigurationCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationCreateAttributes.attributeTypeMap = {\n aggregations: {\n baseName: \"aggregations\",\n type: \"Array\",\n },\n includePercentiles: {\n baseName: \"include_percentiles\",\n type: \"boolean\",\n },\n metricType: {\n baseName: \"metric_type\",\n type: \"MetricTagConfigurationMetricTypes\",\n required: true,\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n required: true,\n },\n };\n return MetricTagConfigurationCreateAttributes;\n}());\nexports.MetricTagConfigurationCreateAttributes = MetricTagConfigurationCreateAttributes;\n//# sourceMappingURL=MetricTagConfigurationCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationCreateData = void 0;\n/**\n * Object for a single metric to be configure tags on.\n */\nvar MetricTagConfigurationCreateData = /** @class */ (function () {\n function MetricTagConfigurationCreateData() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationCreateData.getAttributeTypeMap = function () {\n return MetricTagConfigurationCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricTagConfigurationCreateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"MetricTagConfigurationType\",\n required: true,\n },\n };\n return MetricTagConfigurationCreateData;\n}());\nexports.MetricTagConfigurationCreateData = MetricTagConfigurationCreateData;\n//# sourceMappingURL=MetricTagConfigurationCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationCreateRequest = void 0;\n/**\n * Request object that includes the metric that you would like to configure tags for.\n */\nvar MetricTagConfigurationCreateRequest = /** @class */ (function () {\n function MetricTagConfigurationCreateRequest() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationCreateRequest.getAttributeTypeMap = function () {\n return MetricTagConfigurationCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricTagConfigurationCreateData\",\n required: true,\n },\n };\n return MetricTagConfigurationCreateRequest;\n}());\nexports.MetricTagConfigurationCreateRequest = MetricTagConfigurationCreateRequest;\n//# sourceMappingURL=MetricTagConfigurationCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationResponse = void 0;\n/**\n * Response object which includes a single metric's tag configuration.\n */\nvar MetricTagConfigurationResponse = /** @class */ (function () {\n function MetricTagConfigurationResponse() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationResponse.getAttributeTypeMap = function () {\n return MetricTagConfigurationResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricTagConfiguration\",\n },\n };\n return MetricTagConfigurationResponse;\n}());\nexports.MetricTagConfigurationResponse = MetricTagConfigurationResponse;\n//# sourceMappingURL=MetricTagConfigurationResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationUpdateAttributes = void 0;\n/**\n * Object containing the definition of a metric tag configuration to be updated.\n */\nvar MetricTagConfigurationUpdateAttributes = /** @class */ (function () {\n function MetricTagConfigurationUpdateAttributes() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateAttributes.getAttributeTypeMap = function () {\n return MetricTagConfigurationUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateAttributes.attributeTypeMap = {\n aggregations: {\n baseName: \"aggregations\",\n type: \"Array\",\n },\n includePercentiles: {\n baseName: \"include_percentiles\",\n type: \"boolean\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n };\n return MetricTagConfigurationUpdateAttributes;\n}());\nexports.MetricTagConfigurationUpdateAttributes = MetricTagConfigurationUpdateAttributes;\n//# sourceMappingURL=MetricTagConfigurationUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationUpdateData = void 0;\n/**\n * Object for a single tag configuration to be edited.\n */\nvar MetricTagConfigurationUpdateData = /** @class */ (function () {\n function MetricTagConfigurationUpdateData() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateData.getAttributeTypeMap = function () {\n return MetricTagConfigurationUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"MetricTagConfigurationUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"MetricTagConfigurationType\",\n required: true,\n },\n };\n return MetricTagConfigurationUpdateData;\n}());\nexports.MetricTagConfigurationUpdateData = MetricTagConfigurationUpdateData;\n//# sourceMappingURL=MetricTagConfigurationUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricTagConfigurationUpdateRequest = void 0;\n/**\n * Request object that includes the metric that you would like to edit the tag configuration on.\n */\nvar MetricTagConfigurationUpdateRequest = /** @class */ (function () {\n function MetricTagConfigurationUpdateRequest() {\n }\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateRequest.getAttributeTypeMap = function () {\n return MetricTagConfigurationUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricTagConfigurationUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricTagConfigurationUpdateData\",\n required: true,\n },\n };\n return MetricTagConfigurationUpdateRequest;\n}());\nexports.MetricTagConfigurationUpdateRequest = MetricTagConfigurationUpdateRequest;\n//# sourceMappingURL=MetricTagConfigurationUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricVolumesResponse = void 0;\n/**\n * Response object which includes a single metric's volume.\n */\nvar MetricVolumesResponse = /** @class */ (function () {\n function MetricVolumesResponse() {\n }\n /**\n * @ignore\n */\n MetricVolumesResponse.getAttributeTypeMap = function () {\n return MetricVolumesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricVolumesResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"MetricVolumes\",\n },\n };\n return MetricVolumesResponse;\n}());\nexports.MetricVolumesResponse = MetricVolumesResponse;\n//# sourceMappingURL=MetricVolumesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MetricsAndMetricTagConfigurationsResponse = void 0;\n/**\n * Response object that includes metrics and metric tag configurations.\n */\nvar MetricsAndMetricTagConfigurationsResponse = /** @class */ (function () {\n function MetricsAndMetricTagConfigurationsResponse() {\n }\n /**\n * @ignore\n */\n MetricsAndMetricTagConfigurationsResponse.getAttributeTypeMap = function () {\n return MetricsAndMetricTagConfigurationsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n MetricsAndMetricTagConfigurationsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return MetricsAndMetricTagConfigurationsResponse;\n}());\nexports.MetricsAndMetricTagConfigurationsResponse = MetricsAndMetricTagConfigurationsResponse;\n//# sourceMappingURL=MetricsAndMetricTagConfigurationsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NullableRelationshipToUser = void 0;\n/**\n * Relationship to user.\n */\nvar NullableRelationshipToUser = /** @class */ (function () {\n function NullableRelationshipToUser() {\n }\n /**\n * @ignore\n */\n NullableRelationshipToUser.getAttributeTypeMap = function () {\n return NullableRelationshipToUser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NullableRelationshipToUser.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"NullableRelationshipToUserData\",\n required: true,\n },\n };\n return NullableRelationshipToUser;\n}());\nexports.NullableRelationshipToUser = NullableRelationshipToUser;\n//# sourceMappingURL=NullableRelationshipToUser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.NullableRelationshipToUserData = void 0;\n/**\n * Relationship to user object.\n */\nvar NullableRelationshipToUserData = /** @class */ (function () {\n function NullableRelationshipToUserData() {\n }\n /**\n * @ignore\n */\n NullableRelationshipToUserData.getAttributeTypeMap = function () {\n return NullableRelationshipToUserData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n NullableRelationshipToUserData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n required: true,\n },\n };\n return NullableRelationshipToUserData;\n}());\nexports.NullableRelationshipToUserData = NullableRelationshipToUserData;\n//# sourceMappingURL=NullableRelationshipToUserData.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnparsedObject = exports.ObjectSerializer = void 0;\nvar APIErrorResponse_1 = require(\"./APIErrorResponse\");\nvar APIKeyCreateAttributes_1 = require(\"./APIKeyCreateAttributes\");\nvar APIKeyCreateData_1 = require(\"./APIKeyCreateData\");\nvar APIKeyCreateRequest_1 = require(\"./APIKeyCreateRequest\");\nvar APIKeyRelationships_1 = require(\"./APIKeyRelationships\");\nvar APIKeyResponse_1 = require(\"./APIKeyResponse\");\nvar APIKeyUpdateAttributes_1 = require(\"./APIKeyUpdateAttributes\");\nvar APIKeyUpdateData_1 = require(\"./APIKeyUpdateData\");\nvar APIKeyUpdateRequest_1 = require(\"./APIKeyUpdateRequest\");\nvar APIKeysResponse_1 = require(\"./APIKeysResponse\");\nvar ApplicationKeyCreateAttributes_1 = require(\"./ApplicationKeyCreateAttributes\");\nvar ApplicationKeyCreateData_1 = require(\"./ApplicationKeyCreateData\");\nvar ApplicationKeyCreateRequest_1 = require(\"./ApplicationKeyCreateRequest\");\nvar ApplicationKeyRelationships_1 = require(\"./ApplicationKeyRelationships\");\nvar ApplicationKeyResponse_1 = require(\"./ApplicationKeyResponse\");\nvar ApplicationKeyUpdateAttributes_1 = require(\"./ApplicationKeyUpdateAttributes\");\nvar ApplicationKeyUpdateData_1 = require(\"./ApplicationKeyUpdateData\");\nvar ApplicationKeyUpdateRequest_1 = require(\"./ApplicationKeyUpdateRequest\");\nvar AuthNMapping_1 = require(\"./AuthNMapping\");\nvar AuthNMappingAttributes_1 = require(\"./AuthNMappingAttributes\");\nvar AuthNMappingCreateAttributes_1 = require(\"./AuthNMappingCreateAttributes\");\nvar AuthNMappingCreateData_1 = require(\"./AuthNMappingCreateData\");\nvar AuthNMappingCreateRelationships_1 = require(\"./AuthNMappingCreateRelationships\");\nvar AuthNMappingCreateRequest_1 = require(\"./AuthNMappingCreateRequest\");\nvar AuthNMappingRelationships_1 = require(\"./AuthNMappingRelationships\");\nvar AuthNMappingResponse_1 = require(\"./AuthNMappingResponse\");\nvar AuthNMappingUpdateAttributes_1 = require(\"./AuthNMappingUpdateAttributes\");\nvar AuthNMappingUpdateData_1 = require(\"./AuthNMappingUpdateData\");\nvar AuthNMappingUpdateRelationships_1 = require(\"./AuthNMappingUpdateRelationships\");\nvar AuthNMappingUpdateRequest_1 = require(\"./AuthNMappingUpdateRequest\");\nvar AuthNMappingsResponse_1 = require(\"./AuthNMappingsResponse\");\nvar CloudWorkloadSecurityAgentRuleAttributes_1 = require(\"./CloudWorkloadSecurityAgentRuleAttributes\");\nvar CloudWorkloadSecurityAgentRuleCreateAttributes_1 = require(\"./CloudWorkloadSecurityAgentRuleCreateAttributes\");\nvar CloudWorkloadSecurityAgentRuleCreateData_1 = require(\"./CloudWorkloadSecurityAgentRuleCreateData\");\nvar CloudWorkloadSecurityAgentRuleCreateRequest_1 = require(\"./CloudWorkloadSecurityAgentRuleCreateRequest\");\nvar CloudWorkloadSecurityAgentRuleCreatorAttributes_1 = require(\"./CloudWorkloadSecurityAgentRuleCreatorAttributes\");\nvar CloudWorkloadSecurityAgentRuleData_1 = require(\"./CloudWorkloadSecurityAgentRuleData\");\nvar CloudWorkloadSecurityAgentRuleResponse_1 = require(\"./CloudWorkloadSecurityAgentRuleResponse\");\nvar CloudWorkloadSecurityAgentRuleUpdateAttributes_1 = require(\"./CloudWorkloadSecurityAgentRuleUpdateAttributes\");\nvar CloudWorkloadSecurityAgentRuleUpdateData_1 = require(\"./CloudWorkloadSecurityAgentRuleUpdateData\");\nvar CloudWorkloadSecurityAgentRuleUpdateRequest_1 = require(\"./CloudWorkloadSecurityAgentRuleUpdateRequest\");\nvar CloudWorkloadSecurityAgentRuleUpdaterAttributes_1 = require(\"./CloudWorkloadSecurityAgentRuleUpdaterAttributes\");\nvar CloudWorkloadSecurityAgentRulesListResponse_1 = require(\"./CloudWorkloadSecurityAgentRulesListResponse\");\nvar Creator_1 = require(\"./Creator\");\nvar DashboardListAddItemsRequest_1 = require(\"./DashboardListAddItemsRequest\");\nvar DashboardListAddItemsResponse_1 = require(\"./DashboardListAddItemsResponse\");\nvar DashboardListDeleteItemsRequest_1 = require(\"./DashboardListDeleteItemsRequest\");\nvar DashboardListDeleteItemsResponse_1 = require(\"./DashboardListDeleteItemsResponse\");\nvar DashboardListItem_1 = require(\"./DashboardListItem\");\nvar DashboardListItemRequest_1 = require(\"./DashboardListItemRequest\");\nvar DashboardListItemResponse_1 = require(\"./DashboardListItemResponse\");\nvar DashboardListItems_1 = require(\"./DashboardListItems\");\nvar DashboardListUpdateItemsRequest_1 = require(\"./DashboardListUpdateItemsRequest\");\nvar DashboardListUpdateItemsResponse_1 = require(\"./DashboardListUpdateItemsResponse\");\nvar FullAPIKey_1 = require(\"./FullAPIKey\");\nvar FullAPIKeyAttributes_1 = require(\"./FullAPIKeyAttributes\");\nvar FullApplicationKey_1 = require(\"./FullApplicationKey\");\nvar FullApplicationKeyAttributes_1 = require(\"./FullApplicationKeyAttributes\");\nvar HTTPLogError_1 = require(\"./HTTPLogError\");\nvar HTTPLogErrors_1 = require(\"./HTTPLogErrors\");\nvar HTTPLogItem_1 = require(\"./HTTPLogItem\");\nvar IncidentCreateAttributes_1 = require(\"./IncidentCreateAttributes\");\nvar IncidentCreateData_1 = require(\"./IncidentCreateData\");\nvar IncidentCreateRelationships_1 = require(\"./IncidentCreateRelationships\");\nvar IncidentCreateRequest_1 = require(\"./IncidentCreateRequest\");\nvar IncidentFieldAttributesMultipleValue_1 = require(\"./IncidentFieldAttributesMultipleValue\");\nvar IncidentFieldAttributesSingleValue_1 = require(\"./IncidentFieldAttributesSingleValue\");\nvar IncidentNotificationHandle_1 = require(\"./IncidentNotificationHandle\");\nvar IncidentResponse_1 = require(\"./IncidentResponse\");\nvar IncidentResponseAttributes_1 = require(\"./IncidentResponseAttributes\");\nvar IncidentResponseData_1 = require(\"./IncidentResponseData\");\nvar IncidentResponseMeta_1 = require(\"./IncidentResponseMeta\");\nvar IncidentResponseMetaPagination_1 = require(\"./IncidentResponseMetaPagination\");\nvar IncidentResponseRelationships_1 = require(\"./IncidentResponseRelationships\");\nvar IncidentServiceCreateAttributes_1 = require(\"./IncidentServiceCreateAttributes\");\nvar IncidentServiceCreateData_1 = require(\"./IncidentServiceCreateData\");\nvar IncidentServiceCreateRequest_1 = require(\"./IncidentServiceCreateRequest\");\nvar IncidentServiceRelationships_1 = require(\"./IncidentServiceRelationships\");\nvar IncidentServiceResponse_1 = require(\"./IncidentServiceResponse\");\nvar IncidentServiceResponseAttributes_1 = require(\"./IncidentServiceResponseAttributes\");\nvar IncidentServiceResponseData_1 = require(\"./IncidentServiceResponseData\");\nvar IncidentServiceUpdateAttributes_1 = require(\"./IncidentServiceUpdateAttributes\");\nvar IncidentServiceUpdateData_1 = require(\"./IncidentServiceUpdateData\");\nvar IncidentServiceUpdateRequest_1 = require(\"./IncidentServiceUpdateRequest\");\nvar IncidentServicesResponse_1 = require(\"./IncidentServicesResponse\");\nvar IncidentTeamCreateAttributes_1 = require(\"./IncidentTeamCreateAttributes\");\nvar IncidentTeamCreateData_1 = require(\"./IncidentTeamCreateData\");\nvar IncidentTeamCreateRequest_1 = require(\"./IncidentTeamCreateRequest\");\nvar IncidentTeamRelationships_1 = require(\"./IncidentTeamRelationships\");\nvar IncidentTeamResponse_1 = require(\"./IncidentTeamResponse\");\nvar IncidentTeamResponseAttributes_1 = require(\"./IncidentTeamResponseAttributes\");\nvar IncidentTeamResponseData_1 = require(\"./IncidentTeamResponseData\");\nvar IncidentTeamUpdateAttributes_1 = require(\"./IncidentTeamUpdateAttributes\");\nvar IncidentTeamUpdateData_1 = require(\"./IncidentTeamUpdateData\");\nvar IncidentTeamUpdateRequest_1 = require(\"./IncidentTeamUpdateRequest\");\nvar IncidentTeamsResponse_1 = require(\"./IncidentTeamsResponse\");\nvar IncidentTimelineCellMarkdownCreateAttributes_1 = require(\"./IncidentTimelineCellMarkdownCreateAttributes\");\nvar IncidentTimelineCellMarkdownCreateAttributesContent_1 = require(\"./IncidentTimelineCellMarkdownCreateAttributesContent\");\nvar IncidentUpdateAttributes_1 = require(\"./IncidentUpdateAttributes\");\nvar IncidentUpdateData_1 = require(\"./IncidentUpdateData\");\nvar IncidentUpdateRelationships_1 = require(\"./IncidentUpdateRelationships\");\nvar IncidentUpdateRequest_1 = require(\"./IncidentUpdateRequest\");\nvar IncidentsResponse_1 = require(\"./IncidentsResponse\");\nvar ListApplicationKeysResponse_1 = require(\"./ListApplicationKeysResponse\");\nvar Log_1 = require(\"./Log\");\nvar LogAttributes_1 = require(\"./LogAttributes\");\nvar LogsAggregateBucket_1 = require(\"./LogsAggregateBucket\");\nvar LogsAggregateBucketValueTimeseriesPoint_1 = require(\"./LogsAggregateBucketValueTimeseriesPoint\");\nvar LogsAggregateRequest_1 = require(\"./LogsAggregateRequest\");\nvar LogsAggregateRequestPage_1 = require(\"./LogsAggregateRequestPage\");\nvar LogsAggregateResponse_1 = require(\"./LogsAggregateResponse\");\nvar LogsAggregateResponseData_1 = require(\"./LogsAggregateResponseData\");\nvar LogsAggregateSort_1 = require(\"./LogsAggregateSort\");\nvar LogsArchive_1 = require(\"./LogsArchive\");\nvar LogsArchiveAttributes_1 = require(\"./LogsArchiveAttributes\");\nvar LogsArchiveCreateRequest_1 = require(\"./LogsArchiveCreateRequest\");\nvar LogsArchiveCreateRequestAttributes_1 = require(\"./LogsArchiveCreateRequestAttributes\");\nvar LogsArchiveCreateRequestDefinition_1 = require(\"./LogsArchiveCreateRequestDefinition\");\nvar LogsArchiveDefinition_1 = require(\"./LogsArchiveDefinition\");\nvar LogsArchiveDestinationAzure_1 = require(\"./LogsArchiveDestinationAzure\");\nvar LogsArchiveDestinationGCS_1 = require(\"./LogsArchiveDestinationGCS\");\nvar LogsArchiveDestinationS3_1 = require(\"./LogsArchiveDestinationS3\");\nvar LogsArchiveIntegrationAzure_1 = require(\"./LogsArchiveIntegrationAzure\");\nvar LogsArchiveIntegrationGCS_1 = require(\"./LogsArchiveIntegrationGCS\");\nvar LogsArchiveIntegrationS3_1 = require(\"./LogsArchiveIntegrationS3\");\nvar LogsArchiveOrder_1 = require(\"./LogsArchiveOrder\");\nvar LogsArchiveOrderAttributes_1 = require(\"./LogsArchiveOrderAttributes\");\nvar LogsArchiveOrderDefinition_1 = require(\"./LogsArchiveOrderDefinition\");\nvar LogsArchives_1 = require(\"./LogsArchives\");\nvar LogsCompute_1 = require(\"./LogsCompute\");\nvar LogsGroupBy_1 = require(\"./LogsGroupBy\");\nvar LogsGroupByHistogram_1 = require(\"./LogsGroupByHistogram\");\nvar LogsListRequest_1 = require(\"./LogsListRequest\");\nvar LogsListRequestPage_1 = require(\"./LogsListRequestPage\");\nvar LogsListResponse_1 = require(\"./LogsListResponse\");\nvar LogsListResponseLinks_1 = require(\"./LogsListResponseLinks\");\nvar LogsMetricCompute_1 = require(\"./LogsMetricCompute\");\nvar LogsMetricCreateAttributes_1 = require(\"./LogsMetricCreateAttributes\");\nvar LogsMetricCreateData_1 = require(\"./LogsMetricCreateData\");\nvar LogsMetricCreateRequest_1 = require(\"./LogsMetricCreateRequest\");\nvar LogsMetricFilter_1 = require(\"./LogsMetricFilter\");\nvar LogsMetricGroupBy_1 = require(\"./LogsMetricGroupBy\");\nvar LogsMetricResponse_1 = require(\"./LogsMetricResponse\");\nvar LogsMetricResponseAttributes_1 = require(\"./LogsMetricResponseAttributes\");\nvar LogsMetricResponseCompute_1 = require(\"./LogsMetricResponseCompute\");\nvar LogsMetricResponseData_1 = require(\"./LogsMetricResponseData\");\nvar LogsMetricResponseFilter_1 = require(\"./LogsMetricResponseFilter\");\nvar LogsMetricResponseGroupBy_1 = require(\"./LogsMetricResponseGroupBy\");\nvar LogsMetricUpdateAttributes_1 = require(\"./LogsMetricUpdateAttributes\");\nvar LogsMetricUpdateData_1 = require(\"./LogsMetricUpdateData\");\nvar LogsMetricUpdateRequest_1 = require(\"./LogsMetricUpdateRequest\");\nvar LogsMetricsResponse_1 = require(\"./LogsMetricsResponse\");\nvar LogsQueryFilter_1 = require(\"./LogsQueryFilter\");\nvar LogsQueryOptions_1 = require(\"./LogsQueryOptions\");\nvar LogsResponseMetadata_1 = require(\"./LogsResponseMetadata\");\nvar LogsResponseMetadataPage_1 = require(\"./LogsResponseMetadataPage\");\nvar LogsWarning_1 = require(\"./LogsWarning\");\nvar Metric_1 = require(\"./Metric\");\nvar MetricAllTags_1 = require(\"./MetricAllTags\");\nvar MetricAllTagsAttributes_1 = require(\"./MetricAllTagsAttributes\");\nvar MetricAllTagsResponse_1 = require(\"./MetricAllTagsResponse\");\nvar MetricBulkTagConfigCreate_1 = require(\"./MetricBulkTagConfigCreate\");\nvar MetricBulkTagConfigCreateAttributes_1 = require(\"./MetricBulkTagConfigCreateAttributes\");\nvar MetricBulkTagConfigCreateRequest_1 = require(\"./MetricBulkTagConfigCreateRequest\");\nvar MetricBulkTagConfigDelete_1 = require(\"./MetricBulkTagConfigDelete\");\nvar MetricBulkTagConfigDeleteAttributes_1 = require(\"./MetricBulkTagConfigDeleteAttributes\");\nvar MetricBulkTagConfigDeleteRequest_1 = require(\"./MetricBulkTagConfigDeleteRequest\");\nvar MetricBulkTagConfigResponse_1 = require(\"./MetricBulkTagConfigResponse\");\nvar MetricBulkTagConfigStatus_1 = require(\"./MetricBulkTagConfigStatus\");\nvar MetricBulkTagConfigStatusAttributes_1 = require(\"./MetricBulkTagConfigStatusAttributes\");\nvar MetricCustomAggregation_1 = require(\"./MetricCustomAggregation\");\nvar MetricDistinctVolume_1 = require(\"./MetricDistinctVolume\");\nvar MetricDistinctVolumeAttributes_1 = require(\"./MetricDistinctVolumeAttributes\");\nvar MetricIngestedIndexedVolume_1 = require(\"./MetricIngestedIndexedVolume\");\nvar MetricIngestedIndexedVolumeAttributes_1 = require(\"./MetricIngestedIndexedVolumeAttributes\");\nvar MetricTagConfiguration_1 = require(\"./MetricTagConfiguration\");\nvar MetricTagConfigurationAttributes_1 = require(\"./MetricTagConfigurationAttributes\");\nvar MetricTagConfigurationCreateAttributes_1 = require(\"./MetricTagConfigurationCreateAttributes\");\nvar MetricTagConfigurationCreateData_1 = require(\"./MetricTagConfigurationCreateData\");\nvar MetricTagConfigurationCreateRequest_1 = require(\"./MetricTagConfigurationCreateRequest\");\nvar MetricTagConfigurationResponse_1 = require(\"./MetricTagConfigurationResponse\");\nvar MetricTagConfigurationUpdateAttributes_1 = require(\"./MetricTagConfigurationUpdateAttributes\");\nvar MetricTagConfigurationUpdateData_1 = require(\"./MetricTagConfigurationUpdateData\");\nvar MetricTagConfigurationUpdateRequest_1 = require(\"./MetricTagConfigurationUpdateRequest\");\nvar MetricVolumesResponse_1 = require(\"./MetricVolumesResponse\");\nvar MetricsAndMetricTagConfigurationsResponse_1 = require(\"./MetricsAndMetricTagConfigurationsResponse\");\nvar NullableRelationshipToUser_1 = require(\"./NullableRelationshipToUser\");\nvar NullableRelationshipToUserData_1 = require(\"./NullableRelationshipToUserData\");\nvar Organization_1 = require(\"./Organization\");\nvar OrganizationAttributes_1 = require(\"./OrganizationAttributes\");\nvar Pagination_1 = require(\"./Pagination\");\nvar PartialAPIKey_1 = require(\"./PartialAPIKey\");\nvar PartialAPIKeyAttributes_1 = require(\"./PartialAPIKeyAttributes\");\nvar PartialApplicationKey_1 = require(\"./PartialApplicationKey\");\nvar PartialApplicationKeyAttributes_1 = require(\"./PartialApplicationKeyAttributes\");\nvar PartialApplicationKeyResponse_1 = require(\"./PartialApplicationKeyResponse\");\nvar Permission_1 = require(\"./Permission\");\nvar PermissionAttributes_1 = require(\"./PermissionAttributes\");\nvar PermissionsResponse_1 = require(\"./PermissionsResponse\");\nvar ProcessSummariesMeta_1 = require(\"./ProcessSummariesMeta\");\nvar ProcessSummariesMetaPage_1 = require(\"./ProcessSummariesMetaPage\");\nvar ProcessSummariesResponse_1 = require(\"./ProcessSummariesResponse\");\nvar ProcessSummary_1 = require(\"./ProcessSummary\");\nvar ProcessSummaryAttributes_1 = require(\"./ProcessSummaryAttributes\");\nvar RelationshipToIncidentIntegrationMetadataData_1 = require(\"./RelationshipToIncidentIntegrationMetadataData\");\nvar RelationshipToIncidentIntegrationMetadatas_1 = require(\"./RelationshipToIncidentIntegrationMetadatas\");\nvar RelationshipToIncidentPostmortem_1 = require(\"./RelationshipToIncidentPostmortem\");\nvar RelationshipToIncidentPostmortemData_1 = require(\"./RelationshipToIncidentPostmortemData\");\nvar RelationshipToOrganization_1 = require(\"./RelationshipToOrganization\");\nvar RelationshipToOrganizationData_1 = require(\"./RelationshipToOrganizationData\");\nvar RelationshipToOrganizations_1 = require(\"./RelationshipToOrganizations\");\nvar RelationshipToPermission_1 = require(\"./RelationshipToPermission\");\nvar RelationshipToPermissionData_1 = require(\"./RelationshipToPermissionData\");\nvar RelationshipToPermissions_1 = require(\"./RelationshipToPermissions\");\nvar RelationshipToRole_1 = require(\"./RelationshipToRole\");\nvar RelationshipToRoleData_1 = require(\"./RelationshipToRoleData\");\nvar RelationshipToRoles_1 = require(\"./RelationshipToRoles\");\nvar RelationshipToSAMLAssertionAttribute_1 = require(\"./RelationshipToSAMLAssertionAttribute\");\nvar RelationshipToSAMLAssertionAttributeData_1 = require(\"./RelationshipToSAMLAssertionAttributeData\");\nvar RelationshipToUser_1 = require(\"./RelationshipToUser\");\nvar RelationshipToUserData_1 = require(\"./RelationshipToUserData\");\nvar RelationshipToUsers_1 = require(\"./RelationshipToUsers\");\nvar ResponseMetaAttributes_1 = require(\"./ResponseMetaAttributes\");\nvar Role_1 = require(\"./Role\");\nvar RoleAttributes_1 = require(\"./RoleAttributes\");\nvar RoleClone_1 = require(\"./RoleClone\");\nvar RoleCloneAttributes_1 = require(\"./RoleCloneAttributes\");\nvar RoleCloneRequest_1 = require(\"./RoleCloneRequest\");\nvar RoleCreateAttributes_1 = require(\"./RoleCreateAttributes\");\nvar RoleCreateData_1 = require(\"./RoleCreateData\");\nvar RoleCreateRequest_1 = require(\"./RoleCreateRequest\");\nvar RoleCreateResponse_1 = require(\"./RoleCreateResponse\");\nvar RoleCreateResponseData_1 = require(\"./RoleCreateResponseData\");\nvar RoleRelationships_1 = require(\"./RoleRelationships\");\nvar RoleResponse_1 = require(\"./RoleResponse\");\nvar RoleResponseRelationships_1 = require(\"./RoleResponseRelationships\");\nvar RoleUpdateAttributes_1 = require(\"./RoleUpdateAttributes\");\nvar RoleUpdateData_1 = require(\"./RoleUpdateData\");\nvar RoleUpdateRequest_1 = require(\"./RoleUpdateRequest\");\nvar RoleUpdateResponse_1 = require(\"./RoleUpdateResponse\");\nvar RoleUpdateResponseData_1 = require(\"./RoleUpdateResponseData\");\nvar RolesResponse_1 = require(\"./RolesResponse\");\nvar SAMLAssertionAttribute_1 = require(\"./SAMLAssertionAttribute\");\nvar SAMLAssertionAttributeAttributes_1 = require(\"./SAMLAssertionAttributeAttributes\");\nvar SecurityFilter_1 = require(\"./SecurityFilter\");\nvar SecurityFilterAttributes_1 = require(\"./SecurityFilterAttributes\");\nvar SecurityFilterCreateAttributes_1 = require(\"./SecurityFilterCreateAttributes\");\nvar SecurityFilterCreateData_1 = require(\"./SecurityFilterCreateData\");\nvar SecurityFilterCreateRequest_1 = require(\"./SecurityFilterCreateRequest\");\nvar SecurityFilterExclusionFilter_1 = require(\"./SecurityFilterExclusionFilter\");\nvar SecurityFilterExclusionFilterResponse_1 = require(\"./SecurityFilterExclusionFilterResponse\");\nvar SecurityFilterMeta_1 = require(\"./SecurityFilterMeta\");\nvar SecurityFilterResponse_1 = require(\"./SecurityFilterResponse\");\nvar SecurityFilterUpdateAttributes_1 = require(\"./SecurityFilterUpdateAttributes\");\nvar SecurityFilterUpdateData_1 = require(\"./SecurityFilterUpdateData\");\nvar SecurityFilterUpdateRequest_1 = require(\"./SecurityFilterUpdateRequest\");\nvar SecurityFiltersResponse_1 = require(\"./SecurityFiltersResponse\");\nvar SecurityMonitoringFilter_1 = require(\"./SecurityMonitoringFilter\");\nvar SecurityMonitoringListRulesResponse_1 = require(\"./SecurityMonitoringListRulesResponse\");\nvar SecurityMonitoringRuleCase_1 = require(\"./SecurityMonitoringRuleCase\");\nvar SecurityMonitoringRuleCaseCreate_1 = require(\"./SecurityMonitoringRuleCaseCreate\");\nvar SecurityMonitoringRuleCreatePayload_1 = require(\"./SecurityMonitoringRuleCreatePayload\");\nvar SecurityMonitoringRuleNewValueOptions_1 = require(\"./SecurityMonitoringRuleNewValueOptions\");\nvar SecurityMonitoringRuleOptions_1 = require(\"./SecurityMonitoringRuleOptions\");\nvar SecurityMonitoringRuleQuery_1 = require(\"./SecurityMonitoringRuleQuery\");\nvar SecurityMonitoringRuleQueryCreate_1 = require(\"./SecurityMonitoringRuleQueryCreate\");\nvar SecurityMonitoringRuleResponse_1 = require(\"./SecurityMonitoringRuleResponse\");\nvar SecurityMonitoringRuleUpdatePayload_1 = require(\"./SecurityMonitoringRuleUpdatePayload\");\nvar SecurityMonitoringSignal_1 = require(\"./SecurityMonitoringSignal\");\nvar SecurityMonitoringSignalAttributes_1 = require(\"./SecurityMonitoringSignalAttributes\");\nvar SecurityMonitoringSignalListRequest_1 = require(\"./SecurityMonitoringSignalListRequest\");\nvar SecurityMonitoringSignalListRequestFilter_1 = require(\"./SecurityMonitoringSignalListRequestFilter\");\nvar SecurityMonitoringSignalListRequestPage_1 = require(\"./SecurityMonitoringSignalListRequestPage\");\nvar SecurityMonitoringSignalsListResponse_1 = require(\"./SecurityMonitoringSignalsListResponse\");\nvar SecurityMonitoringSignalsListResponseLinks_1 = require(\"./SecurityMonitoringSignalsListResponseLinks\");\nvar SecurityMonitoringSignalsListResponseMeta_1 = require(\"./SecurityMonitoringSignalsListResponseMeta\");\nvar SecurityMonitoringSignalsListResponseMetaPage_1 = require(\"./SecurityMonitoringSignalsListResponseMetaPage\");\nvar ServiceAccountCreateAttributes_1 = require(\"./ServiceAccountCreateAttributes\");\nvar ServiceAccountCreateData_1 = require(\"./ServiceAccountCreateData\");\nvar ServiceAccountCreateRequest_1 = require(\"./ServiceAccountCreateRequest\");\nvar User_1 = require(\"./User\");\nvar UserAttributes_1 = require(\"./UserAttributes\");\nvar UserCreateAttributes_1 = require(\"./UserCreateAttributes\");\nvar UserCreateData_1 = require(\"./UserCreateData\");\nvar UserCreateRequest_1 = require(\"./UserCreateRequest\");\nvar UserInvitationData_1 = require(\"./UserInvitationData\");\nvar UserInvitationDataAttributes_1 = require(\"./UserInvitationDataAttributes\");\nvar UserInvitationRelationships_1 = require(\"./UserInvitationRelationships\");\nvar UserInvitationResponse_1 = require(\"./UserInvitationResponse\");\nvar UserInvitationResponseData_1 = require(\"./UserInvitationResponseData\");\nvar UserInvitationsRequest_1 = require(\"./UserInvitationsRequest\");\nvar UserInvitationsResponse_1 = require(\"./UserInvitationsResponse\");\nvar UserRelationships_1 = require(\"./UserRelationships\");\nvar UserResponse_1 = require(\"./UserResponse\");\nvar UserResponseRelationships_1 = require(\"./UserResponseRelationships\");\nvar UserUpdateAttributes_1 = require(\"./UserUpdateAttributes\");\nvar UserUpdateData_1 = require(\"./UserUpdateData\");\nvar UserUpdateRequest_1 = require(\"./UserUpdateRequest\");\nvar UsersResponse_1 = require(\"./UsersResponse\");\nvar index_1 = require(\"../../../index\");\nvar primitives = [\n \"string\",\n \"boolean\",\n \"double\",\n \"integer\",\n \"long\",\n \"float\",\n \"number\",\n \"any\",\n];\nvar ARRAY_PREFIX = \"Array<\";\nvar MAP_PREFIX = \"{ [key: string]: \";\nvar supportedMediaTypes = {\n \"application/json\": Infinity,\n \"text/json\": 100,\n \"application/octet-stream\": 0,\n};\nvar enumsMap = {\n APIKeysSort: [\n \"created_at\",\n \"-created_at\",\n \"last4\",\n \"-last4\",\n \"modified_at\",\n \"-modified_at\",\n \"name\",\n \"-name\",\n ],\n APIKeysType: [\"api_keys\"],\n ApplicationKeysSort: [\n \"created_at\",\n \"-created_at\",\n \"last4\",\n \"-last4\",\n \"name\",\n \"-name\",\n ],\n ApplicationKeysType: [\"application_keys\"],\n AuthNMappingsSort: [\n \"created_at\",\n \"-created_at\",\n \"role_id\",\n \"-role_id\",\n \"saml_assertion_attribute_id\",\n \"-saml_assertion_attribute_id\",\n \"role.name\",\n \"-role.name\",\n \"saml_assertion_attribute.attribute_key\",\n \"-saml_assertion_attribute.attribute_key\",\n \"saml_assertion_attribute.attribute_value\",\n \"-saml_assertion_attribute.attribute_value\",\n ],\n AuthNMappingsType: [\"authn_mappings\"],\n CloudWorkloadSecurityAgentRuleType: [\"agent_rule\"],\n ContentEncoding: [\"gzip\", \"deflate\"],\n DashboardType: [\n \"custom_timeboard\",\n \"custom_screenboard\",\n \"integration_screenboard\",\n \"integration_timeboard\",\n \"host_timeboard\",\n ],\n IncidentFieldAttributesSingleValueType: [\"dropdown\", \"textbox\"],\n IncidentFieldAttributesValueType: [\n \"multiselect\",\n \"textarray\",\n \"metrictag\",\n \"autocomplete\",\n ],\n IncidentIntegrationMetadataType: [\"incident_integrations\"],\n IncidentPostmortemType: [\"incident_postmortems\"],\n IncidentRelatedObject: [\"users\"],\n IncidentServiceType: [\"services\"],\n IncidentTeamType: [\"teams\"],\n IncidentTimelineCellMarkdownContentType: [\"markdown\"],\n IncidentType: [\"incidents\"],\n LogType: [\"log\"],\n LogsAggregateResponseStatus: [\"done\", \"timeout\"],\n LogsAggregateSortType: [\"alphabetical\", \"measure\"],\n LogsAggregationFunction: [\n \"count\",\n \"cardinality\",\n \"pc75\",\n \"pc90\",\n \"pc95\",\n \"pc98\",\n \"pc99\",\n \"sum\",\n \"min\",\n \"max\",\n \"avg\",\n ],\n LogsArchiveDestinationAzureType: [\"azure\"],\n LogsArchiveDestinationGCSType: [\"gcs\"],\n LogsArchiveDestinationS3Type: [\"s3\"],\n LogsArchiveOrderDefinitionType: [\"archive_order\"],\n LogsArchiveState: [\"UNKNOWN\", \"WORKING\", \"FAILING\", \"WORKING_AUTH_LEGACY\"],\n LogsComputeType: [\"timeseries\", \"total\"],\n LogsMetricComputeAggregationType: [\"count\", \"distribution\"],\n LogsMetricResponseComputeAggregationType: [\"count\", \"distribution\"],\n LogsMetricType: [\"logs_metrics\"],\n LogsSort: [\"timestamp\", \"-timestamp\"],\n LogsSortOrder: [\"asc\", \"desc\"],\n MetricBulkConfigureTagsType: [\"metric_bulk_configure_tags\"],\n MetricCustomSpaceAggregation: [\"avg\", \"max\", \"min\", \"sum\"],\n MetricCustomTimeAggregation: [\"avg\", \"count\", \"max\", \"min\", \"sum\"],\n MetricDistinctVolumeType: [\"distinct_metric_volumes\"],\n MetricIngestedIndexedVolumeType: [\"metric_volumes\"],\n MetricTagConfigurationMetricTypes: [\"gauge\", \"count\", \"rate\", \"distribution\"],\n MetricTagConfigurationType: [\"manage_tags\"],\n MetricType: [\"metrics\"],\n OrganizationsType: [\"orgs\"],\n PermissionsType: [\"permissions\"],\n ProcessSummaryType: [\"process\"],\n QuerySortOrder: [\"asc\", \"desc\"],\n RolesSort: [\n \"name\",\n \"-name\",\n \"modified_at\",\n \"-modified_at\",\n \"user_count\",\n \"-user_count\",\n ],\n RolesType: [\"roles\"],\n SAMLAssertionAttributesType: [\"saml_assertion_attributes\"],\n SecurityFilterFilteredDataType: [\"logs\"],\n SecurityFilterType: [\"security_filters\"],\n SecurityMonitoringFilterAction: [\"require\", \"suppress\"],\n SecurityMonitoringRuleDetectionMethod: [\n \"threshold\",\n \"new_value\",\n \"anomaly_detection\",\n ],\n SecurityMonitoringRuleEvaluationWindow: [\n 0, 60, 300, 600, 900, 1800, 3600, 7200,\n ],\n SecurityMonitoringRuleKeepAlive: [\n 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600,\n ],\n SecurityMonitoringRuleMaxSignalDuration: [\n 0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400,\n ],\n SecurityMonitoringRuleNewValueOptionsForgetAfter: [1, 2, 7, 14, 21, 28],\n SecurityMonitoringRuleNewValueOptionsLearningDuration: [0, 1, 7],\n SecurityMonitoringRuleQueryAggregation: [\n \"count\",\n \"cardinality\",\n \"sum\",\n \"max\",\n \"new_value\",\n ],\n SecurityMonitoringRuleSeverity: [\"info\", \"low\", \"medium\", \"high\", \"critical\"],\n SecurityMonitoringRuleTypeCreate: [\"log_detection\", \"workload_security\"],\n SecurityMonitoringRuleTypeRead: [\n \"log_detection\",\n \"infrastructure_configuration\",\n \"workload_security\",\n \"cloud_configuration\",\n ],\n SecurityMonitoringSignalType: [\"signal\"],\n SecurityMonitoringSignalsSort: [\"timestamp\", \"-timestamp\"],\n UserInvitationsType: [\"user_invitations\"],\n UsersType: [\"users\"],\n};\nvar typeMap = {\n APIErrorResponse: APIErrorResponse_1.APIErrorResponse,\n APIKeyCreateAttributes: APIKeyCreateAttributes_1.APIKeyCreateAttributes,\n APIKeyCreateData: APIKeyCreateData_1.APIKeyCreateData,\n APIKeyCreateRequest: APIKeyCreateRequest_1.APIKeyCreateRequest,\n APIKeyRelationships: APIKeyRelationships_1.APIKeyRelationships,\n APIKeyResponse: APIKeyResponse_1.APIKeyResponse,\n APIKeyUpdateAttributes: APIKeyUpdateAttributes_1.APIKeyUpdateAttributes,\n APIKeyUpdateData: APIKeyUpdateData_1.APIKeyUpdateData,\n APIKeyUpdateRequest: APIKeyUpdateRequest_1.APIKeyUpdateRequest,\n APIKeysResponse: APIKeysResponse_1.APIKeysResponse,\n ApplicationKeyCreateAttributes: ApplicationKeyCreateAttributes_1.ApplicationKeyCreateAttributes,\n ApplicationKeyCreateData: ApplicationKeyCreateData_1.ApplicationKeyCreateData,\n ApplicationKeyCreateRequest: ApplicationKeyCreateRequest_1.ApplicationKeyCreateRequest,\n ApplicationKeyRelationships: ApplicationKeyRelationships_1.ApplicationKeyRelationships,\n ApplicationKeyResponse: ApplicationKeyResponse_1.ApplicationKeyResponse,\n ApplicationKeyUpdateAttributes: ApplicationKeyUpdateAttributes_1.ApplicationKeyUpdateAttributes,\n ApplicationKeyUpdateData: ApplicationKeyUpdateData_1.ApplicationKeyUpdateData,\n ApplicationKeyUpdateRequest: ApplicationKeyUpdateRequest_1.ApplicationKeyUpdateRequest,\n AuthNMapping: AuthNMapping_1.AuthNMapping,\n AuthNMappingAttributes: AuthNMappingAttributes_1.AuthNMappingAttributes,\n AuthNMappingCreateAttributes: AuthNMappingCreateAttributes_1.AuthNMappingCreateAttributes,\n AuthNMappingCreateData: AuthNMappingCreateData_1.AuthNMappingCreateData,\n AuthNMappingCreateRelationships: AuthNMappingCreateRelationships_1.AuthNMappingCreateRelationships,\n AuthNMappingCreateRequest: AuthNMappingCreateRequest_1.AuthNMappingCreateRequest,\n AuthNMappingRelationships: AuthNMappingRelationships_1.AuthNMappingRelationships,\n AuthNMappingResponse: AuthNMappingResponse_1.AuthNMappingResponse,\n AuthNMappingUpdateAttributes: AuthNMappingUpdateAttributes_1.AuthNMappingUpdateAttributes,\n AuthNMappingUpdateData: AuthNMappingUpdateData_1.AuthNMappingUpdateData,\n AuthNMappingUpdateRelationships: AuthNMappingUpdateRelationships_1.AuthNMappingUpdateRelationships,\n AuthNMappingUpdateRequest: AuthNMappingUpdateRequest_1.AuthNMappingUpdateRequest,\n AuthNMappingsResponse: AuthNMappingsResponse_1.AuthNMappingsResponse,\n CloudWorkloadSecurityAgentRuleAttributes: CloudWorkloadSecurityAgentRuleAttributes_1.CloudWorkloadSecurityAgentRuleAttributes,\n CloudWorkloadSecurityAgentRuleCreateAttributes: CloudWorkloadSecurityAgentRuleCreateAttributes_1.CloudWorkloadSecurityAgentRuleCreateAttributes,\n CloudWorkloadSecurityAgentRuleCreateData: CloudWorkloadSecurityAgentRuleCreateData_1.CloudWorkloadSecurityAgentRuleCreateData,\n CloudWorkloadSecurityAgentRuleCreateRequest: CloudWorkloadSecurityAgentRuleCreateRequest_1.CloudWorkloadSecurityAgentRuleCreateRequest,\n CloudWorkloadSecurityAgentRuleCreatorAttributes: CloudWorkloadSecurityAgentRuleCreatorAttributes_1.CloudWorkloadSecurityAgentRuleCreatorAttributes,\n CloudWorkloadSecurityAgentRuleData: CloudWorkloadSecurityAgentRuleData_1.CloudWorkloadSecurityAgentRuleData,\n CloudWorkloadSecurityAgentRuleResponse: CloudWorkloadSecurityAgentRuleResponse_1.CloudWorkloadSecurityAgentRuleResponse,\n CloudWorkloadSecurityAgentRuleUpdateAttributes: CloudWorkloadSecurityAgentRuleUpdateAttributes_1.CloudWorkloadSecurityAgentRuleUpdateAttributes,\n CloudWorkloadSecurityAgentRuleUpdateData: CloudWorkloadSecurityAgentRuleUpdateData_1.CloudWorkloadSecurityAgentRuleUpdateData,\n CloudWorkloadSecurityAgentRuleUpdateRequest: CloudWorkloadSecurityAgentRuleUpdateRequest_1.CloudWorkloadSecurityAgentRuleUpdateRequest,\n CloudWorkloadSecurityAgentRuleUpdaterAttributes: CloudWorkloadSecurityAgentRuleUpdaterAttributes_1.CloudWorkloadSecurityAgentRuleUpdaterAttributes,\n CloudWorkloadSecurityAgentRulesListResponse: CloudWorkloadSecurityAgentRulesListResponse_1.CloudWorkloadSecurityAgentRulesListResponse,\n Creator: Creator_1.Creator,\n DashboardListAddItemsRequest: DashboardListAddItemsRequest_1.DashboardListAddItemsRequest,\n DashboardListAddItemsResponse: DashboardListAddItemsResponse_1.DashboardListAddItemsResponse,\n DashboardListDeleteItemsRequest: DashboardListDeleteItemsRequest_1.DashboardListDeleteItemsRequest,\n DashboardListDeleteItemsResponse: DashboardListDeleteItemsResponse_1.DashboardListDeleteItemsResponse,\n DashboardListItem: DashboardListItem_1.DashboardListItem,\n DashboardListItemRequest: DashboardListItemRequest_1.DashboardListItemRequest,\n DashboardListItemResponse: DashboardListItemResponse_1.DashboardListItemResponse,\n DashboardListItems: DashboardListItems_1.DashboardListItems,\n DashboardListUpdateItemsRequest: DashboardListUpdateItemsRequest_1.DashboardListUpdateItemsRequest,\n DashboardListUpdateItemsResponse: DashboardListUpdateItemsResponse_1.DashboardListUpdateItemsResponse,\n FullAPIKey: FullAPIKey_1.FullAPIKey,\n FullAPIKeyAttributes: FullAPIKeyAttributes_1.FullAPIKeyAttributes,\n FullApplicationKey: FullApplicationKey_1.FullApplicationKey,\n FullApplicationKeyAttributes: FullApplicationKeyAttributes_1.FullApplicationKeyAttributes,\n HTTPLogError: HTTPLogError_1.HTTPLogError,\n HTTPLogErrors: HTTPLogErrors_1.HTTPLogErrors,\n HTTPLogItem: HTTPLogItem_1.HTTPLogItem,\n IncidentCreateAttributes: IncidentCreateAttributes_1.IncidentCreateAttributes,\n IncidentCreateData: IncidentCreateData_1.IncidentCreateData,\n IncidentCreateRelationships: IncidentCreateRelationships_1.IncidentCreateRelationships,\n IncidentCreateRequest: IncidentCreateRequest_1.IncidentCreateRequest,\n IncidentFieldAttributesMultipleValue: IncidentFieldAttributesMultipleValue_1.IncidentFieldAttributesMultipleValue,\n IncidentFieldAttributesSingleValue: IncidentFieldAttributesSingleValue_1.IncidentFieldAttributesSingleValue,\n IncidentNotificationHandle: IncidentNotificationHandle_1.IncidentNotificationHandle,\n IncidentResponse: IncidentResponse_1.IncidentResponse,\n IncidentResponseAttributes: IncidentResponseAttributes_1.IncidentResponseAttributes,\n IncidentResponseData: IncidentResponseData_1.IncidentResponseData,\n IncidentResponseMeta: IncidentResponseMeta_1.IncidentResponseMeta,\n IncidentResponseMetaPagination: IncidentResponseMetaPagination_1.IncidentResponseMetaPagination,\n IncidentResponseRelationships: IncidentResponseRelationships_1.IncidentResponseRelationships,\n IncidentServiceCreateAttributes: IncidentServiceCreateAttributes_1.IncidentServiceCreateAttributes,\n IncidentServiceCreateData: IncidentServiceCreateData_1.IncidentServiceCreateData,\n IncidentServiceCreateRequest: IncidentServiceCreateRequest_1.IncidentServiceCreateRequest,\n IncidentServiceRelationships: IncidentServiceRelationships_1.IncidentServiceRelationships,\n IncidentServiceResponse: IncidentServiceResponse_1.IncidentServiceResponse,\n IncidentServiceResponseAttributes: IncidentServiceResponseAttributes_1.IncidentServiceResponseAttributes,\n IncidentServiceResponseData: IncidentServiceResponseData_1.IncidentServiceResponseData,\n IncidentServiceUpdateAttributes: IncidentServiceUpdateAttributes_1.IncidentServiceUpdateAttributes,\n IncidentServiceUpdateData: IncidentServiceUpdateData_1.IncidentServiceUpdateData,\n IncidentServiceUpdateRequest: IncidentServiceUpdateRequest_1.IncidentServiceUpdateRequest,\n IncidentServicesResponse: IncidentServicesResponse_1.IncidentServicesResponse,\n IncidentTeamCreateAttributes: IncidentTeamCreateAttributes_1.IncidentTeamCreateAttributes,\n IncidentTeamCreateData: IncidentTeamCreateData_1.IncidentTeamCreateData,\n IncidentTeamCreateRequest: IncidentTeamCreateRequest_1.IncidentTeamCreateRequest,\n IncidentTeamRelationships: IncidentTeamRelationships_1.IncidentTeamRelationships,\n IncidentTeamResponse: IncidentTeamResponse_1.IncidentTeamResponse,\n IncidentTeamResponseAttributes: IncidentTeamResponseAttributes_1.IncidentTeamResponseAttributes,\n IncidentTeamResponseData: IncidentTeamResponseData_1.IncidentTeamResponseData,\n IncidentTeamUpdateAttributes: IncidentTeamUpdateAttributes_1.IncidentTeamUpdateAttributes,\n IncidentTeamUpdateData: IncidentTeamUpdateData_1.IncidentTeamUpdateData,\n IncidentTeamUpdateRequest: IncidentTeamUpdateRequest_1.IncidentTeamUpdateRequest,\n IncidentTeamsResponse: IncidentTeamsResponse_1.IncidentTeamsResponse,\n IncidentTimelineCellMarkdownCreateAttributes: IncidentTimelineCellMarkdownCreateAttributes_1.IncidentTimelineCellMarkdownCreateAttributes,\n IncidentTimelineCellMarkdownCreateAttributesContent: IncidentTimelineCellMarkdownCreateAttributesContent_1.IncidentTimelineCellMarkdownCreateAttributesContent,\n IncidentUpdateAttributes: IncidentUpdateAttributes_1.IncidentUpdateAttributes,\n IncidentUpdateData: IncidentUpdateData_1.IncidentUpdateData,\n IncidentUpdateRelationships: IncidentUpdateRelationships_1.IncidentUpdateRelationships,\n IncidentUpdateRequest: IncidentUpdateRequest_1.IncidentUpdateRequest,\n IncidentsResponse: IncidentsResponse_1.IncidentsResponse,\n ListApplicationKeysResponse: ListApplicationKeysResponse_1.ListApplicationKeysResponse,\n Log: Log_1.Log,\n LogAttributes: LogAttributes_1.LogAttributes,\n LogsAggregateBucket: LogsAggregateBucket_1.LogsAggregateBucket,\n LogsAggregateBucketValueTimeseriesPoint: LogsAggregateBucketValueTimeseriesPoint_1.LogsAggregateBucketValueTimeseriesPoint,\n LogsAggregateRequest: LogsAggregateRequest_1.LogsAggregateRequest,\n LogsAggregateRequestPage: LogsAggregateRequestPage_1.LogsAggregateRequestPage,\n LogsAggregateResponse: LogsAggregateResponse_1.LogsAggregateResponse,\n LogsAggregateResponseData: LogsAggregateResponseData_1.LogsAggregateResponseData,\n LogsAggregateSort: LogsAggregateSort_1.LogsAggregateSort,\n LogsArchive: LogsArchive_1.LogsArchive,\n LogsArchiveAttributes: LogsArchiveAttributes_1.LogsArchiveAttributes,\n LogsArchiveCreateRequest: LogsArchiveCreateRequest_1.LogsArchiveCreateRequest,\n LogsArchiveCreateRequestAttributes: LogsArchiveCreateRequestAttributes_1.LogsArchiveCreateRequestAttributes,\n LogsArchiveCreateRequestDefinition: LogsArchiveCreateRequestDefinition_1.LogsArchiveCreateRequestDefinition,\n LogsArchiveDefinition: LogsArchiveDefinition_1.LogsArchiveDefinition,\n LogsArchiveDestinationAzure: LogsArchiveDestinationAzure_1.LogsArchiveDestinationAzure,\n LogsArchiveDestinationGCS: LogsArchiveDestinationGCS_1.LogsArchiveDestinationGCS,\n LogsArchiveDestinationS3: LogsArchiveDestinationS3_1.LogsArchiveDestinationS3,\n LogsArchiveIntegrationAzure: LogsArchiveIntegrationAzure_1.LogsArchiveIntegrationAzure,\n LogsArchiveIntegrationGCS: LogsArchiveIntegrationGCS_1.LogsArchiveIntegrationGCS,\n LogsArchiveIntegrationS3: LogsArchiveIntegrationS3_1.LogsArchiveIntegrationS3,\n LogsArchiveOrder: LogsArchiveOrder_1.LogsArchiveOrder,\n LogsArchiveOrderAttributes: LogsArchiveOrderAttributes_1.LogsArchiveOrderAttributes,\n LogsArchiveOrderDefinition: LogsArchiveOrderDefinition_1.LogsArchiveOrderDefinition,\n LogsArchives: LogsArchives_1.LogsArchives,\n LogsCompute: LogsCompute_1.LogsCompute,\n LogsGroupBy: LogsGroupBy_1.LogsGroupBy,\n LogsGroupByHistogram: LogsGroupByHistogram_1.LogsGroupByHistogram,\n LogsListRequest: LogsListRequest_1.LogsListRequest,\n LogsListRequestPage: LogsListRequestPage_1.LogsListRequestPage,\n LogsListResponse: LogsListResponse_1.LogsListResponse,\n LogsListResponseLinks: LogsListResponseLinks_1.LogsListResponseLinks,\n LogsMetricCompute: LogsMetricCompute_1.LogsMetricCompute,\n LogsMetricCreateAttributes: LogsMetricCreateAttributes_1.LogsMetricCreateAttributes,\n LogsMetricCreateData: LogsMetricCreateData_1.LogsMetricCreateData,\n LogsMetricCreateRequest: LogsMetricCreateRequest_1.LogsMetricCreateRequest,\n LogsMetricFilter: LogsMetricFilter_1.LogsMetricFilter,\n LogsMetricGroupBy: LogsMetricGroupBy_1.LogsMetricGroupBy,\n LogsMetricResponse: LogsMetricResponse_1.LogsMetricResponse,\n LogsMetricResponseAttributes: LogsMetricResponseAttributes_1.LogsMetricResponseAttributes,\n LogsMetricResponseCompute: LogsMetricResponseCompute_1.LogsMetricResponseCompute,\n LogsMetricResponseData: LogsMetricResponseData_1.LogsMetricResponseData,\n LogsMetricResponseFilter: LogsMetricResponseFilter_1.LogsMetricResponseFilter,\n LogsMetricResponseGroupBy: LogsMetricResponseGroupBy_1.LogsMetricResponseGroupBy,\n LogsMetricUpdateAttributes: LogsMetricUpdateAttributes_1.LogsMetricUpdateAttributes,\n LogsMetricUpdateData: LogsMetricUpdateData_1.LogsMetricUpdateData,\n LogsMetricUpdateRequest: LogsMetricUpdateRequest_1.LogsMetricUpdateRequest,\n LogsMetricsResponse: LogsMetricsResponse_1.LogsMetricsResponse,\n LogsQueryFilter: LogsQueryFilter_1.LogsQueryFilter,\n LogsQueryOptions: LogsQueryOptions_1.LogsQueryOptions,\n LogsResponseMetadata: LogsResponseMetadata_1.LogsResponseMetadata,\n LogsResponseMetadataPage: LogsResponseMetadataPage_1.LogsResponseMetadataPage,\n LogsWarning: LogsWarning_1.LogsWarning,\n Metric: Metric_1.Metric,\n MetricAllTags: MetricAllTags_1.MetricAllTags,\n MetricAllTagsAttributes: MetricAllTagsAttributes_1.MetricAllTagsAttributes,\n MetricAllTagsResponse: MetricAllTagsResponse_1.MetricAllTagsResponse,\n MetricBulkTagConfigCreate: MetricBulkTagConfigCreate_1.MetricBulkTagConfigCreate,\n MetricBulkTagConfigCreateAttributes: MetricBulkTagConfigCreateAttributes_1.MetricBulkTagConfigCreateAttributes,\n MetricBulkTagConfigCreateRequest: MetricBulkTagConfigCreateRequest_1.MetricBulkTagConfigCreateRequest,\n MetricBulkTagConfigDelete: MetricBulkTagConfigDelete_1.MetricBulkTagConfigDelete,\n MetricBulkTagConfigDeleteAttributes: MetricBulkTagConfigDeleteAttributes_1.MetricBulkTagConfigDeleteAttributes,\n MetricBulkTagConfigDeleteRequest: MetricBulkTagConfigDeleteRequest_1.MetricBulkTagConfigDeleteRequest,\n MetricBulkTagConfigResponse: MetricBulkTagConfigResponse_1.MetricBulkTagConfigResponse,\n MetricBulkTagConfigStatus: MetricBulkTagConfigStatus_1.MetricBulkTagConfigStatus,\n MetricBulkTagConfigStatusAttributes: MetricBulkTagConfigStatusAttributes_1.MetricBulkTagConfigStatusAttributes,\n MetricCustomAggregation: MetricCustomAggregation_1.MetricCustomAggregation,\n MetricDistinctVolume: MetricDistinctVolume_1.MetricDistinctVolume,\n MetricDistinctVolumeAttributes: MetricDistinctVolumeAttributes_1.MetricDistinctVolumeAttributes,\n MetricIngestedIndexedVolume: MetricIngestedIndexedVolume_1.MetricIngestedIndexedVolume,\n MetricIngestedIndexedVolumeAttributes: MetricIngestedIndexedVolumeAttributes_1.MetricIngestedIndexedVolumeAttributes,\n MetricTagConfiguration: MetricTagConfiguration_1.MetricTagConfiguration,\n MetricTagConfigurationAttributes: MetricTagConfigurationAttributes_1.MetricTagConfigurationAttributes,\n MetricTagConfigurationCreateAttributes: MetricTagConfigurationCreateAttributes_1.MetricTagConfigurationCreateAttributes,\n MetricTagConfigurationCreateData: MetricTagConfigurationCreateData_1.MetricTagConfigurationCreateData,\n MetricTagConfigurationCreateRequest: MetricTagConfigurationCreateRequest_1.MetricTagConfigurationCreateRequest,\n MetricTagConfigurationResponse: MetricTagConfigurationResponse_1.MetricTagConfigurationResponse,\n MetricTagConfigurationUpdateAttributes: MetricTagConfigurationUpdateAttributes_1.MetricTagConfigurationUpdateAttributes,\n MetricTagConfigurationUpdateData: MetricTagConfigurationUpdateData_1.MetricTagConfigurationUpdateData,\n MetricTagConfigurationUpdateRequest: MetricTagConfigurationUpdateRequest_1.MetricTagConfigurationUpdateRequest,\n MetricVolumesResponse: MetricVolumesResponse_1.MetricVolumesResponse,\n MetricsAndMetricTagConfigurationsResponse: MetricsAndMetricTagConfigurationsResponse_1.MetricsAndMetricTagConfigurationsResponse,\n NullableRelationshipToUser: NullableRelationshipToUser_1.NullableRelationshipToUser,\n NullableRelationshipToUserData: NullableRelationshipToUserData_1.NullableRelationshipToUserData,\n Organization: Organization_1.Organization,\n OrganizationAttributes: OrganizationAttributes_1.OrganizationAttributes,\n Pagination: Pagination_1.Pagination,\n PartialAPIKey: PartialAPIKey_1.PartialAPIKey,\n PartialAPIKeyAttributes: PartialAPIKeyAttributes_1.PartialAPIKeyAttributes,\n PartialApplicationKey: PartialApplicationKey_1.PartialApplicationKey,\n PartialApplicationKeyAttributes: PartialApplicationKeyAttributes_1.PartialApplicationKeyAttributes,\n PartialApplicationKeyResponse: PartialApplicationKeyResponse_1.PartialApplicationKeyResponse,\n Permission: Permission_1.Permission,\n PermissionAttributes: PermissionAttributes_1.PermissionAttributes,\n PermissionsResponse: PermissionsResponse_1.PermissionsResponse,\n ProcessSummariesMeta: ProcessSummariesMeta_1.ProcessSummariesMeta,\n ProcessSummariesMetaPage: ProcessSummariesMetaPage_1.ProcessSummariesMetaPage,\n ProcessSummariesResponse: ProcessSummariesResponse_1.ProcessSummariesResponse,\n ProcessSummary: ProcessSummary_1.ProcessSummary,\n ProcessSummaryAttributes: ProcessSummaryAttributes_1.ProcessSummaryAttributes,\n RelationshipToIncidentIntegrationMetadataData: RelationshipToIncidentIntegrationMetadataData_1.RelationshipToIncidentIntegrationMetadataData,\n RelationshipToIncidentIntegrationMetadatas: RelationshipToIncidentIntegrationMetadatas_1.RelationshipToIncidentIntegrationMetadatas,\n RelationshipToIncidentPostmortem: RelationshipToIncidentPostmortem_1.RelationshipToIncidentPostmortem,\n RelationshipToIncidentPostmortemData: RelationshipToIncidentPostmortemData_1.RelationshipToIncidentPostmortemData,\n RelationshipToOrganization: RelationshipToOrganization_1.RelationshipToOrganization,\n RelationshipToOrganizationData: RelationshipToOrganizationData_1.RelationshipToOrganizationData,\n RelationshipToOrganizations: RelationshipToOrganizations_1.RelationshipToOrganizations,\n RelationshipToPermission: RelationshipToPermission_1.RelationshipToPermission,\n RelationshipToPermissionData: RelationshipToPermissionData_1.RelationshipToPermissionData,\n RelationshipToPermissions: RelationshipToPermissions_1.RelationshipToPermissions,\n RelationshipToRole: RelationshipToRole_1.RelationshipToRole,\n RelationshipToRoleData: RelationshipToRoleData_1.RelationshipToRoleData,\n RelationshipToRoles: RelationshipToRoles_1.RelationshipToRoles,\n RelationshipToSAMLAssertionAttribute: RelationshipToSAMLAssertionAttribute_1.RelationshipToSAMLAssertionAttribute,\n RelationshipToSAMLAssertionAttributeData: RelationshipToSAMLAssertionAttributeData_1.RelationshipToSAMLAssertionAttributeData,\n RelationshipToUser: RelationshipToUser_1.RelationshipToUser,\n RelationshipToUserData: RelationshipToUserData_1.RelationshipToUserData,\n RelationshipToUsers: RelationshipToUsers_1.RelationshipToUsers,\n ResponseMetaAttributes: ResponseMetaAttributes_1.ResponseMetaAttributes,\n Role: Role_1.Role,\n RoleAttributes: RoleAttributes_1.RoleAttributes,\n RoleClone: RoleClone_1.RoleClone,\n RoleCloneAttributes: RoleCloneAttributes_1.RoleCloneAttributes,\n RoleCloneRequest: RoleCloneRequest_1.RoleCloneRequest,\n RoleCreateAttributes: RoleCreateAttributes_1.RoleCreateAttributes,\n RoleCreateData: RoleCreateData_1.RoleCreateData,\n RoleCreateRequest: RoleCreateRequest_1.RoleCreateRequest,\n RoleCreateResponse: RoleCreateResponse_1.RoleCreateResponse,\n RoleCreateResponseData: RoleCreateResponseData_1.RoleCreateResponseData,\n RoleRelationships: RoleRelationships_1.RoleRelationships,\n RoleResponse: RoleResponse_1.RoleResponse,\n RoleResponseRelationships: RoleResponseRelationships_1.RoleResponseRelationships,\n RoleUpdateAttributes: RoleUpdateAttributes_1.RoleUpdateAttributes,\n RoleUpdateData: RoleUpdateData_1.RoleUpdateData,\n RoleUpdateRequest: RoleUpdateRequest_1.RoleUpdateRequest,\n RoleUpdateResponse: RoleUpdateResponse_1.RoleUpdateResponse,\n RoleUpdateResponseData: RoleUpdateResponseData_1.RoleUpdateResponseData,\n RolesResponse: RolesResponse_1.RolesResponse,\n SAMLAssertionAttribute: SAMLAssertionAttribute_1.SAMLAssertionAttribute,\n SAMLAssertionAttributeAttributes: SAMLAssertionAttributeAttributes_1.SAMLAssertionAttributeAttributes,\n SecurityFilter: SecurityFilter_1.SecurityFilter,\n SecurityFilterAttributes: SecurityFilterAttributes_1.SecurityFilterAttributes,\n SecurityFilterCreateAttributes: SecurityFilterCreateAttributes_1.SecurityFilterCreateAttributes,\n SecurityFilterCreateData: SecurityFilterCreateData_1.SecurityFilterCreateData,\n SecurityFilterCreateRequest: SecurityFilterCreateRequest_1.SecurityFilterCreateRequest,\n SecurityFilterExclusionFilter: SecurityFilterExclusionFilter_1.SecurityFilterExclusionFilter,\n SecurityFilterExclusionFilterResponse: SecurityFilterExclusionFilterResponse_1.SecurityFilterExclusionFilterResponse,\n SecurityFilterMeta: SecurityFilterMeta_1.SecurityFilterMeta,\n SecurityFilterResponse: SecurityFilterResponse_1.SecurityFilterResponse,\n SecurityFilterUpdateAttributes: SecurityFilterUpdateAttributes_1.SecurityFilterUpdateAttributes,\n SecurityFilterUpdateData: SecurityFilterUpdateData_1.SecurityFilterUpdateData,\n SecurityFilterUpdateRequest: SecurityFilterUpdateRequest_1.SecurityFilterUpdateRequest,\n SecurityFiltersResponse: SecurityFiltersResponse_1.SecurityFiltersResponse,\n SecurityMonitoringFilter: SecurityMonitoringFilter_1.SecurityMonitoringFilter,\n SecurityMonitoringListRulesResponse: SecurityMonitoringListRulesResponse_1.SecurityMonitoringListRulesResponse,\n SecurityMonitoringRuleCase: SecurityMonitoringRuleCase_1.SecurityMonitoringRuleCase,\n SecurityMonitoringRuleCaseCreate: SecurityMonitoringRuleCaseCreate_1.SecurityMonitoringRuleCaseCreate,\n SecurityMonitoringRuleCreatePayload: SecurityMonitoringRuleCreatePayload_1.SecurityMonitoringRuleCreatePayload,\n SecurityMonitoringRuleNewValueOptions: SecurityMonitoringRuleNewValueOptions_1.SecurityMonitoringRuleNewValueOptions,\n SecurityMonitoringRuleOptions: SecurityMonitoringRuleOptions_1.SecurityMonitoringRuleOptions,\n SecurityMonitoringRuleQuery: SecurityMonitoringRuleQuery_1.SecurityMonitoringRuleQuery,\n SecurityMonitoringRuleQueryCreate: SecurityMonitoringRuleQueryCreate_1.SecurityMonitoringRuleQueryCreate,\n SecurityMonitoringRuleResponse: SecurityMonitoringRuleResponse_1.SecurityMonitoringRuleResponse,\n SecurityMonitoringRuleUpdatePayload: SecurityMonitoringRuleUpdatePayload_1.SecurityMonitoringRuleUpdatePayload,\n SecurityMonitoringSignal: SecurityMonitoringSignal_1.SecurityMonitoringSignal,\n SecurityMonitoringSignalAttributes: SecurityMonitoringSignalAttributes_1.SecurityMonitoringSignalAttributes,\n SecurityMonitoringSignalListRequest: SecurityMonitoringSignalListRequest_1.SecurityMonitoringSignalListRequest,\n SecurityMonitoringSignalListRequestFilter: SecurityMonitoringSignalListRequestFilter_1.SecurityMonitoringSignalListRequestFilter,\n SecurityMonitoringSignalListRequestPage: SecurityMonitoringSignalListRequestPage_1.SecurityMonitoringSignalListRequestPage,\n SecurityMonitoringSignalsListResponse: SecurityMonitoringSignalsListResponse_1.SecurityMonitoringSignalsListResponse,\n SecurityMonitoringSignalsListResponseLinks: SecurityMonitoringSignalsListResponseLinks_1.SecurityMonitoringSignalsListResponseLinks,\n SecurityMonitoringSignalsListResponseMeta: SecurityMonitoringSignalsListResponseMeta_1.SecurityMonitoringSignalsListResponseMeta,\n SecurityMonitoringSignalsListResponseMetaPage: SecurityMonitoringSignalsListResponseMetaPage_1.SecurityMonitoringSignalsListResponseMetaPage,\n ServiceAccountCreateAttributes: ServiceAccountCreateAttributes_1.ServiceAccountCreateAttributes,\n ServiceAccountCreateData: ServiceAccountCreateData_1.ServiceAccountCreateData,\n ServiceAccountCreateRequest: ServiceAccountCreateRequest_1.ServiceAccountCreateRequest,\n User: User_1.User,\n UserAttributes: UserAttributes_1.UserAttributes,\n UserCreateAttributes: UserCreateAttributes_1.UserCreateAttributes,\n UserCreateData: UserCreateData_1.UserCreateData,\n UserCreateRequest: UserCreateRequest_1.UserCreateRequest,\n UserInvitationData: UserInvitationData_1.UserInvitationData,\n UserInvitationDataAttributes: UserInvitationDataAttributes_1.UserInvitationDataAttributes,\n UserInvitationRelationships: UserInvitationRelationships_1.UserInvitationRelationships,\n UserInvitationResponse: UserInvitationResponse_1.UserInvitationResponse,\n UserInvitationResponseData: UserInvitationResponseData_1.UserInvitationResponseData,\n UserInvitationsRequest: UserInvitationsRequest_1.UserInvitationsRequest,\n UserInvitationsResponse: UserInvitationsResponse_1.UserInvitationsResponse,\n UserRelationships: UserRelationships_1.UserRelationships,\n UserResponse: UserResponse_1.UserResponse,\n UserResponseRelationships: UserResponseRelationships_1.UserResponseRelationships,\n UserUpdateAttributes: UserUpdateAttributes_1.UserUpdateAttributes,\n UserUpdateData: UserUpdateData_1.UserUpdateData,\n UserUpdateRequest: UserUpdateRequest_1.UserUpdateRequest,\n UsersResponse: UsersResponse_1.UsersResponse,\n};\nvar oneOfMap = {\n APIKeyResponseIncludedItem: [\"User\"],\n ApplicationKeyResponseIncludedItem: [\"Role\", \"User\"],\n AuthNMappingIncluded: [\"Role\", \"SAMLAssertionAttribute\"],\n IncidentFieldAttributes: [\n \"IncidentFieldAttributesMultipleValue\",\n \"IncidentFieldAttributesSingleValue\",\n ],\n IncidentResponseIncludedItem: [\"User\"],\n IncidentServiceIncludedItems: [\"User\"],\n IncidentTeamIncludedItems: [\"User\"],\n IncidentTimelineCellCreateAttributes: [\n \"IncidentTimelineCellMarkdownCreateAttributes\",\n ],\n LogsAggregateBucketValue: [\n \"Array\",\n \"number\",\n \"string\",\n ],\n LogsArchiveCreateRequestDestination: [\n \"LogsArchiveDestinationAzure\",\n \"LogsArchiveDestinationGCS\",\n \"LogsArchiveDestinationS3\",\n ],\n LogsArchiveDestination: [\n \"LogsArchiveDestinationAzure\",\n \"LogsArchiveDestinationGCS\",\n \"LogsArchiveDestinationS3\",\n ],\n LogsGroupByMissing: [\"number\", \"string\"],\n LogsGroupByTotal: [\"boolean\", \"number\", \"string\"],\n MetricVolumes: [\"MetricDistinctVolume\", \"MetricIngestedIndexedVolume\"],\n MetricsAndMetricTagConfigurations: [\"Metric\", \"MetricTagConfiguration\"],\n UserResponseIncludedItem: [\"Organization\", \"Permission\", \"Role\"],\n};\nvar ObjectSerializer = /** @class */ (function () {\n function ObjectSerializer() {\n }\n ObjectSerializer.serialize = function (data, type, format) {\n if (data == undefined) {\n return data;\n }\n else if (primitives.includes(type.toLowerCase())) {\n return data;\n }\n else if (type.startsWith(ARRAY_PREFIX)) {\n // Array => Type\n var subType = type.substring(ARRAY_PREFIX.length, type.length - 1);\n var transformedData = [];\n for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {\n var element = data_1[_i];\n transformedData.push(ObjectSerializer.serialize(element, subType, format));\n }\n return transformedData;\n }\n else if (type.startsWith(MAP_PREFIX)) {\n // { [key: string]: Type; } => Type\n var subType = type.substring(MAP_PREFIX.length, type.length - 3);\n var transformedData = {};\n for (var key in data) {\n transformedData[key] = ObjectSerializer.serialize(data[key], subType, format);\n }\n return transformedData;\n }\n else if (type === \"Date\") {\n if (\"string\" == typeof data) {\n return data;\n }\n if (format == \"date\") {\n var month = data.getMonth() + 1;\n month = month < 10 ? \"0\" + month.toString() : month.toString();\n var day = data.getDate();\n day = day < 10 ? \"0\" + day.toString() : day.toString();\n return data.getFullYear() + \"-\" + month + \"-\" + day;\n }\n else {\n return data.toISOString();\n }\n }\n else {\n if (enumsMap[type]) {\n if (enumsMap[type].includes(data)) {\n return data;\n }\n throw new TypeError(\"unknown enum value '\".concat(data, \"'\"));\n }\n if (oneOfMap[type]) {\n var oneOfs = [];\n for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) {\n var oneOf = _b[_a];\n try {\n oneOfs.push(ObjectSerializer.serialize(data, oneOf, format));\n }\n catch (e) {\n index_1.logger.debug(\"could not serialize \".concat(oneOf, \" (\").concat(e, \")\"));\n }\n }\n if (oneOfs.length > 1) {\n throw new TypeError(\"\".concat(data, \" matches multiple types from \").concat(oneOfMap[type], \" \").concat(oneOfs));\n }\n if (oneOfs.length == 0) {\n throw new TypeError(\"\".concat(data, \" doesn't match any type from \").concat(oneOfMap[type], \" \").concat(oneOfs));\n }\n return oneOfs[0];\n }\n if (!typeMap[type]) {\n // dont know the type\n throw new TypeError(\"unknown type '\".concat(type, \"'\"));\n }\n // get the map for the correct type.\n var attributesMap = typeMap[type].getAttributeTypeMap();\n var instance = {};\n for (var attributeName in attributesMap) {\n var attributeObj = attributesMap[attributeName];\n instance[attributeObj.baseName] = ObjectSerializer.serialize(data[attributeName], attributeObj.type, attributeObj.format);\n // check for required properties\n if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) &&\n instance[attributeObj.baseName] === undefined) {\n throw new Error(\"missing required property '\".concat(attributeObj.baseName, \"'\"));\n }\n if (enumsMap[attributeObj.type] &&\n !enumsMap[attributeObj.type].includes(instance[attributeObj.baseName])) {\n instance.unparsedObject = instance[attributeObj.baseName];\n }\n }\n return instance;\n }\n };\n ObjectSerializer.deserialize = function (data, type, format) {\n if (format === void 0) { format = \"\"; }\n if (data == undefined) {\n return data;\n }\n else if (primitives.includes(type.toLowerCase())) {\n return data;\n }\n else if (type.startsWith(ARRAY_PREFIX)) {\n // Array => Type\n var subType = type.substring(ARRAY_PREFIX.length, type.length - 1);\n var transformedData = [];\n for (var _i = 0, data_2 = data; _i < data_2.length; _i++) {\n var element = data_2[_i];\n transformedData.push(ObjectSerializer.deserialize(element, subType, format));\n }\n return transformedData;\n }\n else if (type.startsWith(MAP_PREFIX)) {\n // { [key: string]: Type; } => Type\n var subType = type.substring(MAP_PREFIX.length, type.length - 3);\n var transformedData = {};\n for (var key in data) {\n transformedData[key] = ObjectSerializer.deserialize(data[key], subType, format);\n }\n return transformedData;\n }\n else if (type === \"Date\") {\n return new Date(data);\n }\n else {\n if (enumsMap[type]) {\n return data;\n }\n if (oneOfMap[type]) {\n var oneOfs = [];\n for (var _a = 0, _b = oneOfMap[type]; _a < _b.length; _a++) {\n var oneOf = _b[_a];\n try {\n var d = ObjectSerializer.deserialize(data, oneOf, format);\n if ((d === null || d === void 0 ? void 0 : d.unparsedObject) === undefined) {\n oneOfs.push(d);\n }\n }\n catch (e) {\n index_1.logger.debug(\"could not deserialize \".concat(oneOf, \" (\").concat(e, \")\"));\n }\n }\n if (oneOfs.length != 1) {\n return new UnparsedObject(data);\n }\n return oneOfs[0];\n }\n if (!typeMap[type]) {\n // dont know the type\n throw new TypeError(\"unknown type '\".concat(type, \"'\"));\n }\n var instance = new typeMap[type]();\n var attributesMap = typeMap[type].getAttributeTypeMap();\n for (var attributeName in attributesMap) {\n var attributeObj = attributesMap[attributeName];\n instance[attributeName] = ObjectSerializer.deserialize(data[attributeObj.baseName], attributeObj.type, attributeObj.format);\n // check for required properties\n if ((attributeObj === null || attributeObj === void 0 ? void 0 : attributeObj.required) && instance[attributeName] === undefined) {\n throw new Error(\"missing required property '\".concat(attributeName, \"'\"));\n }\n // check for enum values\n if (enumsMap[attributeObj.type] &&\n !enumsMap[attributeObj.type].includes(instance[attributeName])) {\n instance.unparsedObject = instance[attributeName];\n }\n }\n return instance;\n }\n };\n /**\n * Normalize media type\n *\n * We currently do not handle any media types attributes, i.e. anything\n * after a semicolon. All content is assumed to be UTF-8 compatible.\n */\n ObjectSerializer.normalizeMediaType = function (mediaType) {\n if (mediaType === undefined) {\n return undefined;\n }\n return mediaType.split(\";\")[0].trim().toLowerCase();\n };\n /**\n * From a list of possible media types, choose the one we can handle best.\n *\n * The order of the given media types does not have any impact on the choice\n * made.\n */\n ObjectSerializer.getPreferredMediaType = function (mediaTypes) {\n /** According to OAS 3 we should default to json */\n if (!mediaTypes) {\n return \"application/json\";\n }\n var normalMediaTypes = mediaTypes.map(this.normalizeMediaType);\n var selectedMediaType = undefined;\n var selectedRank = -Infinity;\n for (var _i = 0, normalMediaTypes_1 = normalMediaTypes; _i < normalMediaTypes_1.length; _i++) {\n var mediaType = normalMediaTypes_1[_i];\n if (mediaType === undefined) {\n continue;\n }\n var supported = supportedMediaTypes[mediaType];\n if (supported !== undefined && supported > selectedRank) {\n selectedMediaType = mediaType;\n selectedRank = supported;\n }\n }\n if (selectedMediaType === undefined) {\n throw new Error(\"None of the given media types are supported: \" + mediaTypes.join(\", \"));\n }\n return selectedMediaType;\n };\n /**\n * Convert data to a string according the given media type\n */\n ObjectSerializer.stringify = function (data, mediaType) {\n if (mediaType === \"application/json\" || mediaType === \"text/json\") {\n return JSON.stringify(data);\n }\n throw new Error(\"The mediaType \" +\n mediaType +\n \" is not supported by ObjectSerializer.stringify.\");\n };\n /**\n * Parse data from a string according to the given media type\n */\n ObjectSerializer.parse = function (rawData, mediaType) {\n try {\n return JSON.parse(rawData);\n }\n catch (error) {\n index_1.logger.debug(\"could not parse \".concat(mediaType, \": \").concat(error));\n return rawData;\n }\n };\n return ObjectSerializer;\n}());\nexports.ObjectSerializer = ObjectSerializer;\nvar UnparsedObject = /** @class */ (function () {\n function UnparsedObject(data) {\n this.unparsedObject = data;\n }\n return UnparsedObject;\n}());\nexports.UnparsedObject = UnparsedObject;\n//# sourceMappingURL=ObjectSerializer.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Organization = void 0;\n/**\n * Organization object.\n */\nvar Organization = /** @class */ (function () {\n function Organization() {\n }\n /**\n * @ignore\n */\n Organization.getAttributeTypeMap = function () {\n return Organization.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Organization.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"OrganizationAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"OrganizationsType\",\n required: true,\n },\n };\n return Organization;\n}());\nexports.Organization = Organization;\n//# sourceMappingURL=Organization.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OrganizationAttributes = void 0;\n/**\n * Attributes of the organization.\n */\nvar OrganizationAttributes = /** @class */ (function () {\n function OrganizationAttributes() {\n }\n /**\n * @ignore\n */\n OrganizationAttributes.getAttributeTypeMap = function () {\n return OrganizationAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n OrganizationAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n publicId: {\n baseName: \"public_id\",\n type: \"string\",\n },\n sharing: {\n baseName: \"sharing\",\n type: \"string\",\n },\n url: {\n baseName: \"url\",\n type: \"string\",\n },\n };\n return OrganizationAttributes;\n}());\nexports.OrganizationAttributes = OrganizationAttributes;\n//# sourceMappingURL=OrganizationAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Pagination = void 0;\n/**\n * Pagination object.\n */\nvar Pagination = /** @class */ (function () {\n function Pagination() {\n }\n /**\n * @ignore\n */\n Pagination.getAttributeTypeMap = function () {\n return Pagination.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Pagination.attributeTypeMap = {\n totalCount: {\n baseName: \"total_count\",\n type: \"number\",\n format: \"int64\",\n },\n totalFilteredCount: {\n baseName: \"total_filtered_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return Pagination;\n}());\nexports.Pagination = Pagination;\n//# sourceMappingURL=Pagination.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PartialAPIKey = void 0;\n/**\n * Partial Datadog API key.\n */\nvar PartialAPIKey = /** @class */ (function () {\n function PartialAPIKey() {\n }\n /**\n * @ignore\n */\n PartialAPIKey.getAttributeTypeMap = function () {\n return PartialAPIKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PartialAPIKey.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"PartialAPIKeyAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"APIKeyRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"APIKeysType\",\n },\n };\n return PartialAPIKey;\n}());\nexports.PartialAPIKey = PartialAPIKey;\n//# sourceMappingURL=PartialAPIKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PartialAPIKeyAttributes = void 0;\n/**\n * Attributes of a partial API key.\n */\nvar PartialAPIKeyAttributes = /** @class */ (function () {\n function PartialAPIKeyAttributes() {\n }\n /**\n * @ignore\n */\n PartialAPIKeyAttributes.getAttributeTypeMap = function () {\n return PartialAPIKeyAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PartialAPIKeyAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"string\",\n },\n last4: {\n baseName: \"last4\",\n type: \"string\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return PartialAPIKeyAttributes;\n}());\nexports.PartialAPIKeyAttributes = PartialAPIKeyAttributes;\n//# sourceMappingURL=PartialAPIKeyAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PartialApplicationKey = void 0;\n/**\n * Partial Datadog application key.\n */\nvar PartialApplicationKey = /** @class */ (function () {\n function PartialApplicationKey() {\n }\n /**\n * @ignore\n */\n PartialApplicationKey.getAttributeTypeMap = function () {\n return PartialApplicationKey.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PartialApplicationKey.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"PartialApplicationKeyAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"ApplicationKeyRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"ApplicationKeysType\",\n },\n };\n return PartialApplicationKey;\n}());\nexports.PartialApplicationKey = PartialApplicationKey;\n//# sourceMappingURL=PartialApplicationKey.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PartialApplicationKeyAttributes = void 0;\n/**\n * Attributes of a partial application key.\n */\nvar PartialApplicationKeyAttributes = /** @class */ (function () {\n function PartialApplicationKeyAttributes() {\n }\n /**\n * @ignore\n */\n PartialApplicationKeyAttributes.getAttributeTypeMap = function () {\n return PartialApplicationKeyAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PartialApplicationKeyAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"string\",\n },\n last4: {\n baseName: \"last4\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n scopes: {\n baseName: \"scopes\",\n type: \"Array\",\n },\n };\n return PartialApplicationKeyAttributes;\n}());\nexports.PartialApplicationKeyAttributes = PartialApplicationKeyAttributes;\n//# sourceMappingURL=PartialApplicationKeyAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PartialApplicationKeyResponse = void 0;\n/**\n * Response for retrieving a partial application key.\n */\nvar PartialApplicationKeyResponse = /** @class */ (function () {\n function PartialApplicationKeyResponse() {\n }\n /**\n * @ignore\n */\n PartialApplicationKeyResponse.getAttributeTypeMap = function () {\n return PartialApplicationKeyResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PartialApplicationKeyResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"PartialApplicationKey\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return PartialApplicationKeyResponse;\n}());\nexports.PartialApplicationKeyResponse = PartialApplicationKeyResponse;\n//# sourceMappingURL=PartialApplicationKeyResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Permission = void 0;\n/**\n * Permission object.\n */\nvar Permission = /** @class */ (function () {\n function Permission() {\n }\n /**\n * @ignore\n */\n Permission.getAttributeTypeMap = function () {\n return Permission.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Permission.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"PermissionAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"PermissionsType\",\n required: true,\n },\n };\n return Permission;\n}());\nexports.Permission = Permission;\n//# sourceMappingURL=Permission.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PermissionAttributes = void 0;\n/**\n * Attributes of a permission.\n */\nvar PermissionAttributes = /** @class */ (function () {\n function PermissionAttributes() {\n }\n /**\n * @ignore\n */\n PermissionAttributes.getAttributeTypeMap = function () {\n return PermissionAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PermissionAttributes.attributeTypeMap = {\n created: {\n baseName: \"created\",\n type: \"Date\",\n format: \"date-time\",\n },\n description: {\n baseName: \"description\",\n type: \"string\",\n },\n displayName: {\n baseName: \"display_name\",\n type: \"string\",\n },\n displayType: {\n baseName: \"display_type\",\n type: \"string\",\n },\n groupName: {\n baseName: \"group_name\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n restricted: {\n baseName: \"restricted\",\n type: \"boolean\",\n },\n };\n return PermissionAttributes;\n}());\nexports.PermissionAttributes = PermissionAttributes;\n//# sourceMappingURL=PermissionAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PermissionsResponse = void 0;\n/**\n * Payload with API-returned permissions.\n */\nvar PermissionsResponse = /** @class */ (function () {\n function PermissionsResponse() {\n }\n /**\n * @ignore\n */\n PermissionsResponse.getAttributeTypeMap = function () {\n return PermissionsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n PermissionsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return PermissionsResponse;\n}());\nexports.PermissionsResponse = PermissionsResponse;\n//# sourceMappingURL=PermissionsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessSummariesMeta = void 0;\n/**\n * Response metadata object.\n */\nvar ProcessSummariesMeta = /** @class */ (function () {\n function ProcessSummariesMeta() {\n }\n /**\n * @ignore\n */\n ProcessSummariesMeta.getAttributeTypeMap = function () {\n return ProcessSummariesMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessSummariesMeta.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"ProcessSummariesMetaPage\",\n },\n };\n return ProcessSummariesMeta;\n}());\nexports.ProcessSummariesMeta = ProcessSummariesMeta;\n//# sourceMappingURL=ProcessSummariesMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessSummariesMetaPage = void 0;\n/**\n * Paging attributes.\n */\nvar ProcessSummariesMetaPage = /** @class */ (function () {\n function ProcessSummariesMetaPage() {\n }\n /**\n * @ignore\n */\n ProcessSummariesMetaPage.getAttributeTypeMap = function () {\n return ProcessSummariesMetaPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessSummariesMetaPage.attributeTypeMap = {\n after: {\n baseName: \"after\",\n type: \"string\",\n },\n size: {\n baseName: \"size\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return ProcessSummariesMetaPage;\n}());\nexports.ProcessSummariesMetaPage = ProcessSummariesMetaPage;\n//# sourceMappingURL=ProcessSummariesMetaPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessSummariesResponse = void 0;\n/**\n * List of process summaries.\n */\nvar ProcessSummariesResponse = /** @class */ (function () {\n function ProcessSummariesResponse() {\n }\n /**\n * @ignore\n */\n ProcessSummariesResponse.getAttributeTypeMap = function () {\n return ProcessSummariesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessSummariesResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ProcessSummariesMeta\",\n },\n };\n return ProcessSummariesResponse;\n}());\nexports.ProcessSummariesResponse = ProcessSummariesResponse;\n//# sourceMappingURL=ProcessSummariesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessSummary = void 0;\n/**\n * Process summary object.\n */\nvar ProcessSummary = /** @class */ (function () {\n function ProcessSummary() {\n }\n /**\n * @ignore\n */\n ProcessSummary.getAttributeTypeMap = function () {\n return ProcessSummary.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessSummary.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"ProcessSummaryAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"ProcessSummaryType\",\n },\n };\n return ProcessSummary;\n}());\nexports.ProcessSummary = ProcessSummary;\n//# sourceMappingURL=ProcessSummary.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ProcessSummaryAttributes = void 0;\n/**\n * Attributes for a process summary.\n */\nvar ProcessSummaryAttributes = /** @class */ (function () {\n function ProcessSummaryAttributes() {\n }\n /**\n * @ignore\n */\n ProcessSummaryAttributes.getAttributeTypeMap = function () {\n return ProcessSummaryAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ProcessSummaryAttributes.attributeTypeMap = {\n cmdline: {\n baseName: \"cmdline\",\n type: \"string\",\n },\n host: {\n baseName: \"host\",\n type: \"string\",\n },\n pid: {\n baseName: \"pid\",\n type: \"number\",\n format: \"int64\",\n },\n ppid: {\n baseName: \"ppid\",\n type: \"number\",\n format: \"int64\",\n },\n start: {\n baseName: \"start\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n timestamp: {\n baseName: \"timestamp\",\n type: \"string\",\n },\n user: {\n baseName: \"user\",\n type: \"string\",\n },\n };\n return ProcessSummaryAttributes;\n}());\nexports.ProcessSummaryAttributes = ProcessSummaryAttributes;\n//# sourceMappingURL=ProcessSummaryAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToIncidentIntegrationMetadataData = void 0;\n/**\n * A relationship reference for an integration metadata object.\n */\nvar RelationshipToIncidentIntegrationMetadataData = /** @class */ (function () {\n function RelationshipToIncidentIntegrationMetadataData() {\n }\n /**\n * @ignore\n */\n RelationshipToIncidentIntegrationMetadataData.getAttributeTypeMap = function () {\n return RelationshipToIncidentIntegrationMetadataData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToIncidentIntegrationMetadataData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"IncidentIntegrationMetadataType\",\n required: true,\n },\n };\n return RelationshipToIncidentIntegrationMetadataData;\n}());\nexports.RelationshipToIncidentIntegrationMetadataData = RelationshipToIncidentIntegrationMetadataData;\n//# sourceMappingURL=RelationshipToIncidentIntegrationMetadataData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToIncidentIntegrationMetadatas = void 0;\n/**\n * A relationship reference for multiple integration metadata objects.\n */\nvar RelationshipToIncidentIntegrationMetadatas = /** @class */ (function () {\n function RelationshipToIncidentIntegrationMetadatas() {\n }\n /**\n * @ignore\n */\n RelationshipToIncidentIntegrationMetadatas.getAttributeTypeMap = function () {\n return RelationshipToIncidentIntegrationMetadatas.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToIncidentIntegrationMetadatas.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return RelationshipToIncidentIntegrationMetadatas;\n}());\nexports.RelationshipToIncidentIntegrationMetadatas = RelationshipToIncidentIntegrationMetadatas;\n//# sourceMappingURL=RelationshipToIncidentIntegrationMetadatas.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToIncidentPostmortem = void 0;\n/**\n * A relationship reference for postmortems.\n */\nvar RelationshipToIncidentPostmortem = /** @class */ (function () {\n function RelationshipToIncidentPostmortem() {\n }\n /**\n * @ignore\n */\n RelationshipToIncidentPostmortem.getAttributeTypeMap = function () {\n return RelationshipToIncidentPostmortem.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToIncidentPostmortem.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToIncidentPostmortemData\",\n required: true,\n },\n };\n return RelationshipToIncidentPostmortem;\n}());\nexports.RelationshipToIncidentPostmortem = RelationshipToIncidentPostmortem;\n//# sourceMappingURL=RelationshipToIncidentPostmortem.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToIncidentPostmortemData = void 0;\n/**\n * The postmortem relationship data.\n */\nvar RelationshipToIncidentPostmortemData = /** @class */ (function () {\n function RelationshipToIncidentPostmortemData() {\n }\n /**\n * @ignore\n */\n RelationshipToIncidentPostmortemData.getAttributeTypeMap = function () {\n return RelationshipToIncidentPostmortemData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToIncidentPostmortemData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"IncidentPostmortemType\",\n required: true,\n },\n };\n return RelationshipToIncidentPostmortemData;\n}());\nexports.RelationshipToIncidentPostmortemData = RelationshipToIncidentPostmortemData;\n//# sourceMappingURL=RelationshipToIncidentPostmortemData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToOrganization = void 0;\n/**\n * Relationship to an organization.\n */\nvar RelationshipToOrganization = /** @class */ (function () {\n function RelationshipToOrganization() {\n }\n /**\n * @ignore\n */\n RelationshipToOrganization.getAttributeTypeMap = function () {\n return RelationshipToOrganization.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToOrganization.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToOrganizationData\",\n required: true,\n },\n };\n return RelationshipToOrganization;\n}());\nexports.RelationshipToOrganization = RelationshipToOrganization;\n//# sourceMappingURL=RelationshipToOrganization.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToOrganizationData = void 0;\n/**\n * Relationship to organization object.\n */\nvar RelationshipToOrganizationData = /** @class */ (function () {\n function RelationshipToOrganizationData() {\n }\n /**\n * @ignore\n */\n RelationshipToOrganizationData.getAttributeTypeMap = function () {\n return RelationshipToOrganizationData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToOrganizationData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"OrganizationsType\",\n required: true,\n },\n };\n return RelationshipToOrganizationData;\n}());\nexports.RelationshipToOrganizationData = RelationshipToOrganizationData;\n//# sourceMappingURL=RelationshipToOrganizationData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToOrganizations = void 0;\n/**\n * Relationship to organizations.\n */\nvar RelationshipToOrganizations = /** @class */ (function () {\n function RelationshipToOrganizations() {\n }\n /**\n * @ignore\n */\n RelationshipToOrganizations.getAttributeTypeMap = function () {\n return RelationshipToOrganizations.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToOrganizations.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return RelationshipToOrganizations;\n}());\nexports.RelationshipToOrganizations = RelationshipToOrganizations;\n//# sourceMappingURL=RelationshipToOrganizations.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToPermission = void 0;\n/**\n * Relationship to a permissions object.\n */\nvar RelationshipToPermission = /** @class */ (function () {\n function RelationshipToPermission() {\n }\n /**\n * @ignore\n */\n RelationshipToPermission.getAttributeTypeMap = function () {\n return RelationshipToPermission.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToPermission.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToPermissionData\",\n },\n };\n return RelationshipToPermission;\n}());\nexports.RelationshipToPermission = RelationshipToPermission;\n//# sourceMappingURL=RelationshipToPermission.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToPermissionData = void 0;\n/**\n * Relationship to permission object.\n */\nvar RelationshipToPermissionData = /** @class */ (function () {\n function RelationshipToPermissionData() {\n }\n /**\n * @ignore\n */\n RelationshipToPermissionData.getAttributeTypeMap = function () {\n return RelationshipToPermissionData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToPermissionData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"PermissionsType\",\n },\n };\n return RelationshipToPermissionData;\n}());\nexports.RelationshipToPermissionData = RelationshipToPermissionData;\n//# sourceMappingURL=RelationshipToPermissionData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToPermissions = void 0;\n/**\n * Relationship to multiple permissions objects.\n */\nvar RelationshipToPermissions = /** @class */ (function () {\n function RelationshipToPermissions() {\n }\n /**\n * @ignore\n */\n RelationshipToPermissions.getAttributeTypeMap = function () {\n return RelationshipToPermissions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToPermissions.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return RelationshipToPermissions;\n}());\nexports.RelationshipToPermissions = RelationshipToPermissions;\n//# sourceMappingURL=RelationshipToPermissions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToRole = void 0;\n/**\n * Relationship to role.\n */\nvar RelationshipToRole = /** @class */ (function () {\n function RelationshipToRole() {\n }\n /**\n * @ignore\n */\n RelationshipToRole.getAttributeTypeMap = function () {\n return RelationshipToRole.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToRole.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToRoleData\",\n },\n };\n return RelationshipToRole;\n}());\nexports.RelationshipToRole = RelationshipToRole;\n//# sourceMappingURL=RelationshipToRole.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToRoleData = void 0;\n/**\n * Relationship to role object.\n */\nvar RelationshipToRoleData = /** @class */ (function () {\n function RelationshipToRoleData() {\n }\n /**\n * @ignore\n */\n RelationshipToRoleData.getAttributeTypeMap = function () {\n return RelationshipToRoleData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToRoleData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n },\n };\n return RelationshipToRoleData;\n}());\nexports.RelationshipToRoleData = RelationshipToRoleData;\n//# sourceMappingURL=RelationshipToRoleData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToRoles = void 0;\n/**\n * Relationship to roles.\n */\nvar RelationshipToRoles = /** @class */ (function () {\n function RelationshipToRoles() {\n }\n /**\n * @ignore\n */\n RelationshipToRoles.getAttributeTypeMap = function () {\n return RelationshipToRoles.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToRoles.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return RelationshipToRoles;\n}());\nexports.RelationshipToRoles = RelationshipToRoles;\n//# sourceMappingURL=RelationshipToRoles.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToSAMLAssertionAttribute = void 0;\n/**\n * AuthN Mapping relationship to SAML Assertion Attribute.\n */\nvar RelationshipToSAMLAssertionAttribute = /** @class */ (function () {\n function RelationshipToSAMLAssertionAttribute() {\n }\n /**\n * @ignore\n */\n RelationshipToSAMLAssertionAttribute.getAttributeTypeMap = function () {\n return RelationshipToSAMLAssertionAttribute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToSAMLAssertionAttribute.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToSAMLAssertionAttributeData\",\n required: true,\n },\n };\n return RelationshipToSAMLAssertionAttribute;\n}());\nexports.RelationshipToSAMLAssertionAttribute = RelationshipToSAMLAssertionAttribute;\n//# sourceMappingURL=RelationshipToSAMLAssertionAttribute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToSAMLAssertionAttributeData = void 0;\n/**\n * Data of AuthN Mapping relationship to SAML Assertion Attribute.\n */\nvar RelationshipToSAMLAssertionAttributeData = /** @class */ (function () {\n function RelationshipToSAMLAssertionAttributeData() {\n }\n /**\n * @ignore\n */\n RelationshipToSAMLAssertionAttributeData.getAttributeTypeMap = function () {\n return RelationshipToSAMLAssertionAttributeData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToSAMLAssertionAttributeData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"number\",\n required: true,\n format: \"int32\",\n },\n type: {\n baseName: \"type\",\n type: \"SAMLAssertionAttributesType\",\n required: true,\n },\n };\n return RelationshipToSAMLAssertionAttributeData;\n}());\nexports.RelationshipToSAMLAssertionAttributeData = RelationshipToSAMLAssertionAttributeData;\n//# sourceMappingURL=RelationshipToSAMLAssertionAttributeData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToUser = void 0;\n/**\n * Relationship to user.\n */\nvar RelationshipToUser = /** @class */ (function () {\n function RelationshipToUser() {\n }\n /**\n * @ignore\n */\n RelationshipToUser.getAttributeTypeMap = function () {\n return RelationshipToUser.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToUser.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RelationshipToUserData\",\n required: true,\n },\n };\n return RelationshipToUser;\n}());\nexports.RelationshipToUser = RelationshipToUser;\n//# sourceMappingURL=RelationshipToUser.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToUserData = void 0;\n/**\n * Relationship to user object.\n */\nvar RelationshipToUserData = /** @class */ (function () {\n function RelationshipToUserData() {\n }\n /**\n * @ignore\n */\n RelationshipToUserData.getAttributeTypeMap = function () {\n return RelationshipToUserData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToUserData.attributeTypeMap = {\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n required: true,\n },\n };\n return RelationshipToUserData;\n}());\nexports.RelationshipToUserData = RelationshipToUserData;\n//# sourceMappingURL=RelationshipToUserData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RelationshipToUsers = void 0;\n/**\n * Relationship to users.\n */\nvar RelationshipToUsers = /** @class */ (function () {\n function RelationshipToUsers() {\n }\n /**\n * @ignore\n */\n RelationshipToUsers.getAttributeTypeMap = function () {\n return RelationshipToUsers.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RelationshipToUsers.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return RelationshipToUsers;\n}());\nexports.RelationshipToUsers = RelationshipToUsers;\n//# sourceMappingURL=RelationshipToUsers.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ResponseMetaAttributes = void 0;\n/**\n * Object describing meta attributes of response.\n */\nvar ResponseMetaAttributes = /** @class */ (function () {\n function ResponseMetaAttributes() {\n }\n /**\n * @ignore\n */\n ResponseMetaAttributes.getAttributeTypeMap = function () {\n return ResponseMetaAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ResponseMetaAttributes.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"Pagination\",\n },\n };\n return ResponseMetaAttributes;\n}());\nexports.ResponseMetaAttributes = ResponseMetaAttributes;\n//# sourceMappingURL=ResponseMetaAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Role = void 0;\n/**\n * Role object returned by the API.\n */\nvar Role = /** @class */ (function () {\n function Role() {\n }\n /**\n * @ignore\n */\n Role.getAttributeTypeMap = function () {\n return Role.attributeTypeMap;\n };\n /**\n * @ignore\n */\n Role.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"RoleResponseRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n required: true,\n },\n };\n return Role;\n}());\nexports.Role = Role;\n//# sourceMappingURL=Role.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleAttributes = void 0;\n/**\n * Attributes of the role.\n */\nvar RoleAttributes = /** @class */ (function () {\n function RoleAttributes() {\n }\n /**\n * @ignore\n */\n RoleAttributes.getAttributeTypeMap = function () {\n return RoleAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n userCount: {\n baseName: \"user_count\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return RoleAttributes;\n}());\nexports.RoleAttributes = RoleAttributes;\n//# sourceMappingURL=RoleAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleClone = void 0;\n/**\n * Data for the clone role request.\n */\nvar RoleClone = /** @class */ (function () {\n function RoleClone() {\n }\n /**\n * @ignore\n */\n RoleClone.getAttributeTypeMap = function () {\n return RoleClone.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleClone.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleCloneAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n required: true,\n },\n };\n return RoleClone;\n}());\nexports.RoleClone = RoleClone;\n//# sourceMappingURL=RoleClone.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCloneAttributes = void 0;\n/**\n * Attributes required to create a new role by cloning an existing one.\n */\nvar RoleCloneAttributes = /** @class */ (function () {\n function RoleCloneAttributes() {\n }\n /**\n * @ignore\n */\n RoleCloneAttributes.getAttributeTypeMap = function () {\n return RoleCloneAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCloneAttributes.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return RoleCloneAttributes;\n}());\nexports.RoleCloneAttributes = RoleCloneAttributes;\n//# sourceMappingURL=RoleCloneAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCloneRequest = void 0;\n/**\n * Request to create a role by cloning an existing role.\n */\nvar RoleCloneRequest = /** @class */ (function () {\n function RoleCloneRequest() {\n }\n /**\n * @ignore\n */\n RoleCloneRequest.getAttributeTypeMap = function () {\n return RoleCloneRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCloneRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RoleClone\",\n required: true,\n },\n };\n return RoleCloneRequest;\n}());\nexports.RoleCloneRequest = RoleCloneRequest;\n//# sourceMappingURL=RoleCloneRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCreateAttributes = void 0;\n/**\n * Attributes of the created role.\n */\nvar RoleCreateAttributes = /** @class */ (function () {\n function RoleCreateAttributes() {\n }\n /**\n * @ignore\n */\n RoleCreateAttributes.getAttributeTypeMap = function () {\n return RoleCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCreateAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n };\n return RoleCreateAttributes;\n}());\nexports.RoleCreateAttributes = RoleCreateAttributes;\n//# sourceMappingURL=RoleCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCreateData = void 0;\n/**\n * Data related to the creation of a role.\n */\nvar RoleCreateData = /** @class */ (function () {\n function RoleCreateData() {\n }\n /**\n * @ignore\n */\n RoleCreateData.getAttributeTypeMap = function () {\n return RoleCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleCreateAttributes\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"RoleRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n },\n };\n return RoleCreateData;\n}());\nexports.RoleCreateData = RoleCreateData;\n//# sourceMappingURL=RoleCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCreateRequest = void 0;\n/**\n * Create a role.\n */\nvar RoleCreateRequest = /** @class */ (function () {\n function RoleCreateRequest() {\n }\n /**\n * @ignore\n */\n RoleCreateRequest.getAttributeTypeMap = function () {\n return RoleCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RoleCreateData\",\n required: true,\n },\n };\n return RoleCreateRequest;\n}());\nexports.RoleCreateRequest = RoleCreateRequest;\n//# sourceMappingURL=RoleCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCreateResponse = void 0;\n/**\n * Response containing information about a created role.\n */\nvar RoleCreateResponse = /** @class */ (function () {\n function RoleCreateResponse() {\n }\n /**\n * @ignore\n */\n RoleCreateResponse.getAttributeTypeMap = function () {\n return RoleCreateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCreateResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RoleCreateResponseData\",\n },\n };\n return RoleCreateResponse;\n}());\nexports.RoleCreateResponse = RoleCreateResponse;\n//# sourceMappingURL=RoleCreateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleCreateResponseData = void 0;\n/**\n * Role object returned by the API.\n */\nvar RoleCreateResponseData = /** @class */ (function () {\n function RoleCreateResponseData() {\n }\n /**\n * @ignore\n */\n RoleCreateResponseData.getAttributeTypeMap = function () {\n return RoleCreateResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleCreateResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleCreateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"RoleResponseRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n required: true,\n },\n };\n return RoleCreateResponseData;\n}());\nexports.RoleCreateResponseData = RoleCreateResponseData;\n//# sourceMappingURL=RoleCreateResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleRelationships = void 0;\n/**\n * Relationships of the role object.\n */\nvar RoleRelationships = /** @class */ (function () {\n function RoleRelationships() {\n }\n /**\n * @ignore\n */\n RoleRelationships.getAttributeTypeMap = function () {\n return RoleRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleRelationships.attributeTypeMap = {\n permissions: {\n baseName: \"permissions\",\n type: \"RelationshipToPermissions\",\n },\n users: {\n baseName: \"users\",\n type: \"RelationshipToUsers\",\n },\n };\n return RoleRelationships;\n}());\nexports.RoleRelationships = RoleRelationships;\n//# sourceMappingURL=RoleRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleResponse = void 0;\n/**\n * Response containing information about a single role.\n */\nvar RoleResponse = /** @class */ (function () {\n function RoleResponse() {\n }\n /**\n * @ignore\n */\n RoleResponse.getAttributeTypeMap = function () {\n return RoleResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Role\",\n },\n };\n return RoleResponse;\n}());\nexports.RoleResponse = RoleResponse;\n//# sourceMappingURL=RoleResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleResponseRelationships = void 0;\n/**\n * Relationships of the role object returned by the API.\n */\nvar RoleResponseRelationships = /** @class */ (function () {\n function RoleResponseRelationships() {\n }\n /**\n * @ignore\n */\n RoleResponseRelationships.getAttributeTypeMap = function () {\n return RoleResponseRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleResponseRelationships.attributeTypeMap = {\n permissions: {\n baseName: \"permissions\",\n type: \"RelationshipToPermissions\",\n },\n };\n return RoleResponseRelationships;\n}());\nexports.RoleResponseRelationships = RoleResponseRelationships;\n//# sourceMappingURL=RoleResponseRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleUpdateAttributes = void 0;\n/**\n * Attributes of the role.\n */\nvar RoleUpdateAttributes = /** @class */ (function () {\n function RoleUpdateAttributes() {\n }\n /**\n * @ignore\n */\n RoleUpdateAttributes.getAttributeTypeMap = function () {\n return RoleUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleUpdateAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return RoleUpdateAttributes;\n}());\nexports.RoleUpdateAttributes = RoleUpdateAttributes;\n//# sourceMappingURL=RoleUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleUpdateData = void 0;\n/**\n * Data related to the update of a role.\n */\nvar RoleUpdateData = /** @class */ (function () {\n function RoleUpdateData() {\n }\n /**\n * @ignore\n */\n RoleUpdateData.getAttributeTypeMap = function () {\n return RoleUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleUpdateAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n required: true,\n },\n };\n return RoleUpdateData;\n}());\nexports.RoleUpdateData = RoleUpdateData;\n//# sourceMappingURL=RoleUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleUpdateRequest = void 0;\n/**\n * Update a role.\n */\nvar RoleUpdateRequest = /** @class */ (function () {\n function RoleUpdateRequest() {\n }\n /**\n * @ignore\n */\n RoleUpdateRequest.getAttributeTypeMap = function () {\n return RoleUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RoleUpdateData\",\n required: true,\n },\n };\n return RoleUpdateRequest;\n}());\nexports.RoleUpdateRequest = RoleUpdateRequest;\n//# sourceMappingURL=RoleUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleUpdateResponse = void 0;\n/**\n * Response containing information about an updated role.\n */\nvar RoleUpdateResponse = /** @class */ (function () {\n function RoleUpdateResponse() {\n }\n /**\n * @ignore\n */\n RoleUpdateResponse.getAttributeTypeMap = function () {\n return RoleUpdateResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleUpdateResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"RoleUpdateResponseData\",\n },\n };\n return RoleUpdateResponse;\n}());\nexports.RoleUpdateResponse = RoleUpdateResponse;\n//# sourceMappingURL=RoleUpdateResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RoleUpdateResponseData = void 0;\n/**\n * Role object returned by the API.\n */\nvar RoleUpdateResponseData = /** @class */ (function () {\n function RoleUpdateResponseData() {\n }\n /**\n * @ignore\n */\n RoleUpdateResponseData.getAttributeTypeMap = function () {\n return RoleUpdateResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RoleUpdateResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"RoleUpdateAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"RoleResponseRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"RolesType\",\n required: true,\n },\n };\n return RoleUpdateResponseData;\n}());\nexports.RoleUpdateResponseData = RoleUpdateResponseData;\n//# sourceMappingURL=RoleUpdateResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RolesResponse = void 0;\n/**\n * Response containing information about multiple roles.\n */\nvar RolesResponse = /** @class */ (function () {\n function RolesResponse() {\n }\n /**\n * @ignore\n */\n RolesResponse.getAttributeTypeMap = function () {\n return RolesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n RolesResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ResponseMetaAttributes\",\n },\n };\n return RolesResponse;\n}());\nexports.RolesResponse = RolesResponse;\n//# sourceMappingURL=RolesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SAMLAssertionAttribute = void 0;\n/**\n * SAML assertion attribute.\n */\nvar SAMLAssertionAttribute = /** @class */ (function () {\n function SAMLAssertionAttribute() {\n }\n /**\n * @ignore\n */\n SAMLAssertionAttribute.getAttributeTypeMap = function () {\n return SAMLAssertionAttribute.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SAMLAssertionAttribute.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SAMLAssertionAttributeAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"number\",\n required: true,\n format: \"int32\",\n },\n type: {\n baseName: \"type\",\n type: \"SAMLAssertionAttributesType\",\n required: true,\n },\n };\n return SAMLAssertionAttribute;\n}());\nexports.SAMLAssertionAttribute = SAMLAssertionAttribute;\n//# sourceMappingURL=SAMLAssertionAttribute.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SAMLAssertionAttributeAttributes = void 0;\n/**\n * Key/Value pair of attributes used in SAML assertion attributes.\n */\nvar SAMLAssertionAttributeAttributes = /** @class */ (function () {\n function SAMLAssertionAttributeAttributes() {\n }\n /**\n * @ignore\n */\n SAMLAssertionAttributeAttributes.getAttributeTypeMap = function () {\n return SAMLAssertionAttributeAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SAMLAssertionAttributeAttributes.attributeTypeMap = {\n attributeKey: {\n baseName: \"attribute_key\",\n type: \"string\",\n },\n attributeValue: {\n baseName: \"attribute_value\",\n type: \"string\",\n },\n };\n return SAMLAssertionAttributeAttributes;\n}());\nexports.SAMLAssertionAttributeAttributes = SAMLAssertionAttributeAttributes;\n//# sourceMappingURL=SAMLAssertionAttributeAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilter = void 0;\n/**\n * The security filter's properties.\n */\nvar SecurityFilter = /** @class */ (function () {\n function SecurityFilter() {\n }\n /**\n * @ignore\n */\n SecurityFilter.getAttributeTypeMap = function () {\n return SecurityFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilter.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SecurityFilterAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SecurityFilterType\",\n },\n };\n return SecurityFilter;\n}());\nexports.SecurityFilter = SecurityFilter;\n//# sourceMappingURL=SecurityFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterAttributes = void 0;\n/**\n * The object describing a security filter.\n */\nvar SecurityFilterAttributes = /** @class */ (function () {\n function SecurityFilterAttributes() {\n }\n /**\n * @ignore\n */\n SecurityFilterAttributes.getAttributeTypeMap = function () {\n return SecurityFilterAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterAttributes.attributeTypeMap = {\n exclusionFilters: {\n baseName: \"exclusion_filters\",\n type: \"Array\",\n },\n filteredDataType: {\n baseName: \"filtered_data_type\",\n type: \"SecurityFilterFilteredDataType\",\n },\n isBuiltin: {\n baseName: \"is_builtin\",\n type: \"boolean\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return SecurityFilterAttributes;\n}());\nexports.SecurityFilterAttributes = SecurityFilterAttributes;\n//# sourceMappingURL=SecurityFilterAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterCreateAttributes = void 0;\n/**\n * Object containing the attributes of the security filter to be created.\n */\nvar SecurityFilterCreateAttributes = /** @class */ (function () {\n function SecurityFilterCreateAttributes() {\n }\n /**\n * @ignore\n */\n SecurityFilterCreateAttributes.getAttributeTypeMap = function () {\n return SecurityFilterCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterCreateAttributes.attributeTypeMap = {\n exclusionFilters: {\n baseName: \"exclusion_filters\",\n type: \"Array\",\n required: true,\n },\n filteredDataType: {\n baseName: \"filtered_data_type\",\n type: \"SecurityFilterFilteredDataType\",\n required: true,\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return SecurityFilterCreateAttributes;\n}());\nexports.SecurityFilterCreateAttributes = SecurityFilterCreateAttributes;\n//# sourceMappingURL=SecurityFilterCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterCreateData = void 0;\n/**\n * Object for a single security filter.\n */\nvar SecurityFilterCreateData = /** @class */ (function () {\n function SecurityFilterCreateData() {\n }\n /**\n * @ignore\n */\n SecurityFilterCreateData.getAttributeTypeMap = function () {\n return SecurityFilterCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SecurityFilterCreateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SecurityFilterType\",\n required: true,\n },\n };\n return SecurityFilterCreateData;\n}());\nexports.SecurityFilterCreateData = SecurityFilterCreateData;\n//# sourceMappingURL=SecurityFilterCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterCreateRequest = void 0;\n/**\n * Request object that includes the security filter that you would like to create.\n */\nvar SecurityFilterCreateRequest = /** @class */ (function () {\n function SecurityFilterCreateRequest() {\n }\n /**\n * @ignore\n */\n SecurityFilterCreateRequest.getAttributeTypeMap = function () {\n return SecurityFilterCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SecurityFilterCreateData\",\n required: true,\n },\n };\n return SecurityFilterCreateRequest;\n}());\nexports.SecurityFilterCreateRequest = SecurityFilterCreateRequest;\n//# sourceMappingURL=SecurityFilterCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterExclusionFilter = void 0;\n/**\n * Exclusion filter for the security filter.\n */\nvar SecurityFilterExclusionFilter = /** @class */ (function () {\n function SecurityFilterExclusionFilter() {\n }\n /**\n * @ignore\n */\n SecurityFilterExclusionFilter.getAttributeTypeMap = function () {\n return SecurityFilterExclusionFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterExclusionFilter.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return SecurityFilterExclusionFilter;\n}());\nexports.SecurityFilterExclusionFilter = SecurityFilterExclusionFilter;\n//# sourceMappingURL=SecurityFilterExclusionFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterExclusionFilterResponse = void 0;\n/**\n * A single exclusion filter.\n */\nvar SecurityFilterExclusionFilterResponse = /** @class */ (function () {\n function SecurityFilterExclusionFilterResponse() {\n }\n /**\n * @ignore\n */\n SecurityFilterExclusionFilterResponse.getAttributeTypeMap = function () {\n return SecurityFilterExclusionFilterResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterExclusionFilterResponse.attributeTypeMap = {\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return SecurityFilterExclusionFilterResponse;\n}());\nexports.SecurityFilterExclusionFilterResponse = SecurityFilterExclusionFilterResponse;\n//# sourceMappingURL=SecurityFilterExclusionFilterResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterMeta = void 0;\n/**\n * Optional metadata associated to the response.\n */\nvar SecurityFilterMeta = /** @class */ (function () {\n function SecurityFilterMeta() {\n }\n /**\n * @ignore\n */\n SecurityFilterMeta.getAttributeTypeMap = function () {\n return SecurityFilterMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterMeta.attributeTypeMap = {\n warning: {\n baseName: \"warning\",\n type: \"string\",\n },\n };\n return SecurityFilterMeta;\n}());\nexports.SecurityFilterMeta = SecurityFilterMeta;\n//# sourceMappingURL=SecurityFilterMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterResponse = void 0;\n/**\n * Response object which includes a single security filter.\n */\nvar SecurityFilterResponse = /** @class */ (function () {\n function SecurityFilterResponse() {\n }\n /**\n * @ignore\n */\n SecurityFilterResponse.getAttributeTypeMap = function () {\n return SecurityFilterResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SecurityFilter\",\n },\n meta: {\n baseName: \"meta\",\n type: \"SecurityFilterMeta\",\n },\n };\n return SecurityFilterResponse;\n}());\nexports.SecurityFilterResponse = SecurityFilterResponse;\n//# sourceMappingURL=SecurityFilterResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterUpdateAttributes = void 0;\n/**\n * The security filters properties to be updated.\n */\nvar SecurityFilterUpdateAttributes = /** @class */ (function () {\n function SecurityFilterUpdateAttributes() {\n }\n /**\n * @ignore\n */\n SecurityFilterUpdateAttributes.getAttributeTypeMap = function () {\n return SecurityFilterUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterUpdateAttributes.attributeTypeMap = {\n exclusionFilters: {\n baseName: \"exclusion_filters\",\n type: \"Array\",\n },\n filteredDataType: {\n baseName: \"filtered_data_type\",\n type: \"SecurityFilterFilteredDataType\",\n },\n isEnabled: {\n baseName: \"is_enabled\",\n type: \"boolean\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return SecurityFilterUpdateAttributes;\n}());\nexports.SecurityFilterUpdateAttributes = SecurityFilterUpdateAttributes;\n//# sourceMappingURL=SecurityFilterUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterUpdateData = void 0;\n/**\n * The new security filter properties.\n */\nvar SecurityFilterUpdateData = /** @class */ (function () {\n function SecurityFilterUpdateData() {\n }\n /**\n * @ignore\n */\n SecurityFilterUpdateData.getAttributeTypeMap = function () {\n return SecurityFilterUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SecurityFilterUpdateAttributes\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"SecurityFilterType\",\n required: true,\n },\n };\n return SecurityFilterUpdateData;\n}());\nexports.SecurityFilterUpdateData = SecurityFilterUpdateData;\n//# sourceMappingURL=SecurityFilterUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFilterUpdateRequest = void 0;\n/**\n * The new security filter body.\n */\nvar SecurityFilterUpdateRequest = /** @class */ (function () {\n function SecurityFilterUpdateRequest() {\n }\n /**\n * @ignore\n */\n SecurityFilterUpdateRequest.getAttributeTypeMap = function () {\n return SecurityFilterUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFilterUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"SecurityFilterUpdateData\",\n required: true,\n },\n };\n return SecurityFilterUpdateRequest;\n}());\nexports.SecurityFilterUpdateRequest = SecurityFilterUpdateRequest;\n//# sourceMappingURL=SecurityFilterUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityFiltersResponse = void 0;\n/**\n * All the available security filters objects.\n */\nvar SecurityFiltersResponse = /** @class */ (function () {\n function SecurityFiltersResponse() {\n }\n /**\n * @ignore\n */\n SecurityFiltersResponse.getAttributeTypeMap = function () {\n return SecurityFiltersResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityFiltersResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"SecurityFilterMeta\",\n },\n };\n return SecurityFiltersResponse;\n}());\nexports.SecurityFiltersResponse = SecurityFiltersResponse;\n//# sourceMappingURL=SecurityFiltersResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringFilter = void 0;\n/**\n * The rule's suppression filter.\n */\nvar SecurityMonitoringFilter = /** @class */ (function () {\n function SecurityMonitoringFilter() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringFilter.getAttributeTypeMap = function () {\n return SecurityMonitoringFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringFilter.attributeTypeMap = {\n action: {\n baseName: \"action\",\n type: \"SecurityMonitoringFilterAction\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return SecurityMonitoringFilter;\n}());\nexports.SecurityMonitoringFilter = SecurityMonitoringFilter;\n//# sourceMappingURL=SecurityMonitoringFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringListRulesResponse = void 0;\n/**\n * List of rules.\n */\nvar SecurityMonitoringListRulesResponse = /** @class */ (function () {\n function SecurityMonitoringListRulesResponse() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringListRulesResponse.getAttributeTypeMap = function () {\n return SecurityMonitoringListRulesResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringListRulesResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ResponseMetaAttributes\",\n },\n };\n return SecurityMonitoringListRulesResponse;\n}());\nexports.SecurityMonitoringListRulesResponse = SecurityMonitoringListRulesResponse;\n//# sourceMappingURL=SecurityMonitoringListRulesResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleCase = void 0;\n/**\n * Case when signal is generated.\n */\nvar SecurityMonitoringRuleCase = /** @class */ (function () {\n function SecurityMonitoringRuleCase() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleCase.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleCase.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleCase.attributeTypeMap = {\n condition: {\n baseName: \"condition\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n notifications: {\n baseName: \"notifications\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"SecurityMonitoringRuleSeverity\",\n },\n };\n return SecurityMonitoringRuleCase;\n}());\nexports.SecurityMonitoringRuleCase = SecurityMonitoringRuleCase;\n//# sourceMappingURL=SecurityMonitoringRuleCase.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleCaseCreate = void 0;\n/**\n * Case when signal is generated.\n */\nvar SecurityMonitoringRuleCaseCreate = /** @class */ (function () {\n function SecurityMonitoringRuleCaseCreate() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleCaseCreate.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleCaseCreate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleCaseCreate.attributeTypeMap = {\n condition: {\n baseName: \"condition\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n notifications: {\n baseName: \"notifications\",\n type: \"Array\",\n },\n status: {\n baseName: \"status\",\n type: \"SecurityMonitoringRuleSeverity\",\n required: true,\n },\n };\n return SecurityMonitoringRuleCaseCreate;\n}());\nexports.SecurityMonitoringRuleCaseCreate = SecurityMonitoringRuleCaseCreate;\n//# sourceMappingURL=SecurityMonitoringRuleCaseCreate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleCreatePayload = void 0;\n/**\n * Create a new rule.\n */\nvar SecurityMonitoringRuleCreatePayload = /** @class */ (function () {\n function SecurityMonitoringRuleCreatePayload() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleCreatePayload.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleCreatePayload.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleCreatePayload.attributeTypeMap = {\n cases: {\n baseName: \"cases\",\n type: \"Array\",\n required: true,\n },\n filters: {\n baseName: \"filters\",\n type: \"Array\",\n },\n hasExtendedTitle: {\n baseName: \"hasExtendedTitle\",\n type: \"boolean\",\n },\n isEnabled: {\n baseName: \"isEnabled\",\n type: \"boolean\",\n required: true,\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n required: true,\n },\n options: {\n baseName: \"options\",\n type: \"SecurityMonitoringRuleOptions\",\n required: true,\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n required: true,\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SecurityMonitoringRuleTypeCreate\",\n },\n };\n return SecurityMonitoringRuleCreatePayload;\n}());\nexports.SecurityMonitoringRuleCreatePayload = SecurityMonitoringRuleCreatePayload;\n//# sourceMappingURL=SecurityMonitoringRuleCreatePayload.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleNewValueOptions = void 0;\n/**\n * Options on new value rules.\n */\nvar SecurityMonitoringRuleNewValueOptions = /** @class */ (function () {\n function SecurityMonitoringRuleNewValueOptions() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleNewValueOptions.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleNewValueOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleNewValueOptions.attributeTypeMap = {\n forgetAfter: {\n baseName: \"forgetAfter\",\n type: \"SecurityMonitoringRuleNewValueOptionsForgetAfter\",\n },\n learningDuration: {\n baseName: \"learningDuration\",\n type: \"SecurityMonitoringRuleNewValueOptionsLearningDuration\",\n },\n };\n return SecurityMonitoringRuleNewValueOptions;\n}());\nexports.SecurityMonitoringRuleNewValueOptions = SecurityMonitoringRuleNewValueOptions;\n//# sourceMappingURL=SecurityMonitoringRuleNewValueOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleOptions = void 0;\n/**\n * Options on rules.\n */\nvar SecurityMonitoringRuleOptions = /** @class */ (function () {\n function SecurityMonitoringRuleOptions() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleOptions.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleOptions.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleOptions.attributeTypeMap = {\n detectionMethod: {\n baseName: \"detectionMethod\",\n type: \"SecurityMonitoringRuleDetectionMethod\",\n },\n evaluationWindow: {\n baseName: \"evaluationWindow\",\n type: \"SecurityMonitoringRuleEvaluationWindow\",\n },\n keepAlive: {\n baseName: \"keepAlive\",\n type: \"SecurityMonitoringRuleKeepAlive\",\n },\n maxSignalDuration: {\n baseName: \"maxSignalDuration\",\n type: \"SecurityMonitoringRuleMaxSignalDuration\",\n },\n newValueOptions: {\n baseName: \"newValueOptions\",\n type: \"SecurityMonitoringRuleNewValueOptions\",\n },\n };\n return SecurityMonitoringRuleOptions;\n}());\nexports.SecurityMonitoringRuleOptions = SecurityMonitoringRuleOptions;\n//# sourceMappingURL=SecurityMonitoringRuleOptions.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleQuery = void 0;\n/**\n * Query for matching rule.\n */\nvar SecurityMonitoringRuleQuery = /** @class */ (function () {\n function SecurityMonitoringRuleQuery() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleQuery.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleQuery.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleQuery.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"SecurityMonitoringRuleQueryAggregation\",\n },\n distinctFields: {\n baseName: \"distinctFields\",\n type: \"Array\",\n },\n groupByFields: {\n baseName: \"groupByFields\",\n type: \"Array\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n };\n return SecurityMonitoringRuleQuery;\n}());\nexports.SecurityMonitoringRuleQuery = SecurityMonitoringRuleQuery;\n//# sourceMappingURL=SecurityMonitoringRuleQuery.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleQueryCreate = void 0;\n/**\n * Query for matching rule.\n */\nvar SecurityMonitoringRuleQueryCreate = /** @class */ (function () {\n function SecurityMonitoringRuleQueryCreate() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleQueryCreate.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleQueryCreate.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleQueryCreate.attributeTypeMap = {\n aggregation: {\n baseName: \"aggregation\",\n type: \"SecurityMonitoringRuleQueryAggregation\",\n },\n distinctFields: {\n baseName: \"distinctFields\",\n type: \"Array\",\n },\n groupByFields: {\n baseName: \"groupByFields\",\n type: \"Array\",\n },\n metric: {\n baseName: \"metric\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n required: true,\n },\n };\n return SecurityMonitoringRuleQueryCreate;\n}());\nexports.SecurityMonitoringRuleQueryCreate = SecurityMonitoringRuleQueryCreate;\n//# sourceMappingURL=SecurityMonitoringRuleQueryCreate.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleResponse = void 0;\n/**\n * Rule.\n */\nvar SecurityMonitoringRuleResponse = /** @class */ (function () {\n function SecurityMonitoringRuleResponse() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleResponse.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleResponse.attributeTypeMap = {\n cases: {\n baseName: \"cases\",\n type: \"Array\",\n },\n createdAt: {\n baseName: \"createdAt\",\n type: \"number\",\n format: \"int64\",\n },\n creationAuthorId: {\n baseName: \"creationAuthorId\",\n type: \"number\",\n format: \"int64\",\n },\n filters: {\n baseName: \"filters\",\n type: \"Array\",\n },\n hasExtendedTitle: {\n baseName: \"hasExtendedTitle\",\n type: \"boolean\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n isDefault: {\n baseName: \"isDefault\",\n type: \"boolean\",\n },\n isDeleted: {\n baseName: \"isDeleted\",\n type: \"boolean\",\n },\n isEnabled: {\n baseName: \"isEnabled\",\n type: \"boolean\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n options: {\n baseName: \"options\",\n type: \"SecurityMonitoringRuleOptions\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n type: {\n baseName: \"type\",\n type: \"SecurityMonitoringRuleTypeRead\",\n },\n updateAuthorId: {\n baseName: \"updateAuthorId\",\n type: \"number\",\n format: \"int64\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int64\",\n },\n };\n return SecurityMonitoringRuleResponse;\n}());\nexports.SecurityMonitoringRuleResponse = SecurityMonitoringRuleResponse;\n//# sourceMappingURL=SecurityMonitoringRuleResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringRuleUpdatePayload = void 0;\n/**\n * Update an existing rule.\n */\nvar SecurityMonitoringRuleUpdatePayload = /** @class */ (function () {\n function SecurityMonitoringRuleUpdatePayload() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringRuleUpdatePayload.getAttributeTypeMap = function () {\n return SecurityMonitoringRuleUpdatePayload.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringRuleUpdatePayload.attributeTypeMap = {\n cases: {\n baseName: \"cases\",\n type: \"Array\",\n },\n filters: {\n baseName: \"filters\",\n type: \"Array\",\n },\n hasExtendedTitle: {\n baseName: \"hasExtendedTitle\",\n type: \"boolean\",\n },\n isEnabled: {\n baseName: \"isEnabled\",\n type: \"boolean\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n options: {\n baseName: \"options\",\n type: \"SecurityMonitoringRuleOptions\",\n },\n queries: {\n baseName: \"queries\",\n type: \"Array\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n version: {\n baseName: \"version\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return SecurityMonitoringRuleUpdatePayload;\n}());\nexports.SecurityMonitoringRuleUpdatePayload = SecurityMonitoringRuleUpdatePayload;\n//# sourceMappingURL=SecurityMonitoringRuleUpdatePayload.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignal = void 0;\n/**\n * Object description of a security signal.\n */\nvar SecurityMonitoringSignal = /** @class */ (function () {\n function SecurityMonitoringSignal() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignal.getAttributeTypeMap = function () {\n return SecurityMonitoringSignal.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignal.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"SecurityMonitoringSignalAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"SecurityMonitoringSignalType\",\n },\n };\n return SecurityMonitoringSignal;\n}());\nexports.SecurityMonitoringSignal = SecurityMonitoringSignal;\n//# sourceMappingURL=SecurityMonitoringSignal.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalAttributes = void 0;\n/**\n * The object containing all signal attributes and their associated values.\n */\nvar SecurityMonitoringSignalAttributes = /** @class */ (function () {\n function SecurityMonitoringSignalAttributes() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalAttributes.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalAttributes.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"{ [key: string]: any; }\",\n },\n message: {\n baseName: \"message\",\n type: \"string\",\n },\n tags: {\n baseName: \"tags\",\n type: \"Array\",\n },\n timestamp: {\n baseName: \"timestamp\",\n type: \"Date\",\n format: \"date-time\",\n },\n };\n return SecurityMonitoringSignalAttributes;\n}());\nexports.SecurityMonitoringSignalAttributes = SecurityMonitoringSignalAttributes;\n//# sourceMappingURL=SecurityMonitoringSignalAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalListRequest = void 0;\n/**\n * The request for a security signal list.\n */\nvar SecurityMonitoringSignalListRequest = /** @class */ (function () {\n function SecurityMonitoringSignalListRequest() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequest.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalListRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequest.attributeTypeMap = {\n filter: {\n baseName: \"filter\",\n type: \"SecurityMonitoringSignalListRequestFilter\",\n },\n page: {\n baseName: \"page\",\n type: \"SecurityMonitoringSignalListRequestPage\",\n },\n sort: {\n baseName: \"sort\",\n type: \"SecurityMonitoringSignalsSort\",\n },\n };\n return SecurityMonitoringSignalListRequest;\n}());\nexports.SecurityMonitoringSignalListRequest = SecurityMonitoringSignalListRequest;\n//# sourceMappingURL=SecurityMonitoringSignalListRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalListRequestFilter = void 0;\n/**\n * Search filters for listing security signals.\n */\nvar SecurityMonitoringSignalListRequestFilter = /** @class */ (function () {\n function SecurityMonitoringSignalListRequestFilter() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequestFilter.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalListRequestFilter.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequestFilter.attributeTypeMap = {\n from: {\n baseName: \"from\",\n type: \"Date\",\n format: \"date-time\",\n },\n query: {\n baseName: \"query\",\n type: \"string\",\n },\n to: {\n baseName: \"to\",\n type: \"Date\",\n format: \"date-time\",\n },\n };\n return SecurityMonitoringSignalListRequestFilter;\n}());\nexports.SecurityMonitoringSignalListRequestFilter = SecurityMonitoringSignalListRequestFilter;\n//# sourceMappingURL=SecurityMonitoringSignalListRequestFilter.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalListRequestPage = void 0;\n/**\n * The paging attributes for listing security signals.\n */\nvar SecurityMonitoringSignalListRequestPage = /** @class */ (function () {\n function SecurityMonitoringSignalListRequestPage() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequestPage.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalListRequestPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalListRequestPage.attributeTypeMap = {\n cursor: {\n baseName: \"cursor\",\n type: \"string\",\n },\n limit: {\n baseName: \"limit\",\n type: \"number\",\n format: \"int32\",\n },\n };\n return SecurityMonitoringSignalListRequestPage;\n}());\nexports.SecurityMonitoringSignalListRequestPage = SecurityMonitoringSignalListRequestPage;\n//# sourceMappingURL=SecurityMonitoringSignalListRequestPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalsListResponse = void 0;\n/**\n * The response object with all security signals matching the request and pagination information.\n */\nvar SecurityMonitoringSignalsListResponse = /** @class */ (function () {\n function SecurityMonitoringSignalsListResponse() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponse.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalsListResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n links: {\n baseName: \"links\",\n type: \"SecurityMonitoringSignalsListResponseLinks\",\n },\n meta: {\n baseName: \"meta\",\n type: \"SecurityMonitoringSignalsListResponseMeta\",\n },\n };\n return SecurityMonitoringSignalsListResponse;\n}());\nexports.SecurityMonitoringSignalsListResponse = SecurityMonitoringSignalsListResponse;\n//# sourceMappingURL=SecurityMonitoringSignalsListResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalsListResponseLinks = void 0;\n/**\n * Links attributes.\n */\nvar SecurityMonitoringSignalsListResponseLinks = /** @class */ (function () {\n function SecurityMonitoringSignalsListResponseLinks() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseLinks.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalsListResponseLinks.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseLinks.attributeTypeMap = {\n next: {\n baseName: \"next\",\n type: \"string\",\n },\n };\n return SecurityMonitoringSignalsListResponseLinks;\n}());\nexports.SecurityMonitoringSignalsListResponseLinks = SecurityMonitoringSignalsListResponseLinks;\n//# sourceMappingURL=SecurityMonitoringSignalsListResponseLinks.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalsListResponseMeta = void 0;\n/**\n * Meta attributes.\n */\nvar SecurityMonitoringSignalsListResponseMeta = /** @class */ (function () {\n function SecurityMonitoringSignalsListResponseMeta() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseMeta.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalsListResponseMeta.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseMeta.attributeTypeMap = {\n page: {\n baseName: \"page\",\n type: \"SecurityMonitoringSignalsListResponseMetaPage\",\n },\n };\n return SecurityMonitoringSignalsListResponseMeta;\n}());\nexports.SecurityMonitoringSignalsListResponseMeta = SecurityMonitoringSignalsListResponseMeta;\n//# sourceMappingURL=SecurityMonitoringSignalsListResponseMeta.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SecurityMonitoringSignalsListResponseMetaPage = void 0;\n/**\n * Paging attributes.\n */\nvar SecurityMonitoringSignalsListResponseMetaPage = /** @class */ (function () {\n function SecurityMonitoringSignalsListResponseMetaPage() {\n }\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseMetaPage.getAttributeTypeMap = function () {\n return SecurityMonitoringSignalsListResponseMetaPage.attributeTypeMap;\n };\n /**\n * @ignore\n */\n SecurityMonitoringSignalsListResponseMetaPage.attributeTypeMap = {\n after: {\n baseName: \"after\",\n type: \"string\",\n },\n };\n return SecurityMonitoringSignalsListResponseMetaPage;\n}());\nexports.SecurityMonitoringSignalsListResponseMetaPage = SecurityMonitoringSignalsListResponseMetaPage;\n//# sourceMappingURL=SecurityMonitoringSignalsListResponseMetaPage.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceAccountCreateAttributes = void 0;\n/**\n * Attributes of the created user.\n */\nvar ServiceAccountCreateAttributes = /** @class */ (function () {\n function ServiceAccountCreateAttributes() {\n }\n /**\n * @ignore\n */\n ServiceAccountCreateAttributes.getAttributeTypeMap = function () {\n return ServiceAccountCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceAccountCreateAttributes.attributeTypeMap = {\n email: {\n baseName: \"email\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n serviceAccount: {\n baseName: \"service_account\",\n type: \"boolean\",\n required: true,\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n };\n return ServiceAccountCreateAttributes;\n}());\nexports.ServiceAccountCreateAttributes = ServiceAccountCreateAttributes;\n//# sourceMappingURL=ServiceAccountCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceAccountCreateData = void 0;\n/**\n * Object to create a service account User.\n */\nvar ServiceAccountCreateData = /** @class */ (function () {\n function ServiceAccountCreateData() {\n }\n /**\n * @ignore\n */\n ServiceAccountCreateData.getAttributeTypeMap = function () {\n return ServiceAccountCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceAccountCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"ServiceAccountCreateAttributes\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"UserRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n required: true,\n },\n };\n return ServiceAccountCreateData;\n}());\nexports.ServiceAccountCreateData = ServiceAccountCreateData;\n//# sourceMappingURL=ServiceAccountCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceAccountCreateRequest = void 0;\n/**\n * Create a service account.\n */\nvar ServiceAccountCreateRequest = /** @class */ (function () {\n function ServiceAccountCreateRequest() {\n }\n /**\n * @ignore\n */\n ServiceAccountCreateRequest.getAttributeTypeMap = function () {\n return ServiceAccountCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n ServiceAccountCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"ServiceAccountCreateData\",\n required: true,\n },\n };\n return ServiceAccountCreateRequest;\n}());\nexports.ServiceAccountCreateRequest = ServiceAccountCreateRequest;\n//# sourceMappingURL=ServiceAccountCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.User = void 0;\n/**\n * User object returned by the API.\n */\nvar User = /** @class */ (function () {\n function User() {\n }\n /**\n * @ignore\n */\n User.getAttributeTypeMap = function () {\n return User.attributeTypeMap;\n };\n /**\n * @ignore\n */\n User.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UserAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n relationships: {\n baseName: \"relationships\",\n type: \"UserResponseRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n },\n };\n return User;\n}());\nexports.User = User;\n//# sourceMappingURL=User.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserAttributes = void 0;\n/**\n * Attributes of user object returned by the API.\n */\nvar UserAttributes = /** @class */ (function () {\n function UserAttributes() {\n }\n /**\n * @ignore\n */\n UserAttributes.getAttributeTypeMap = function () {\n return UserAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n handle: {\n baseName: \"handle\",\n type: \"string\",\n },\n icon: {\n baseName: \"icon\",\n type: \"string\",\n },\n modifiedAt: {\n baseName: \"modified_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n serviceAccount: {\n baseName: \"service_account\",\n type: \"boolean\",\n },\n status: {\n baseName: \"status\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n verified: {\n baseName: \"verified\",\n type: \"boolean\",\n },\n };\n return UserAttributes;\n}());\nexports.UserAttributes = UserAttributes;\n//# sourceMappingURL=UserAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserCreateAttributes = void 0;\n/**\n * Attributes of the created user.\n */\nvar UserCreateAttributes = /** @class */ (function () {\n function UserCreateAttributes() {\n }\n /**\n * @ignore\n */\n UserCreateAttributes.getAttributeTypeMap = function () {\n return UserCreateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserCreateAttributes.attributeTypeMap = {\n email: {\n baseName: \"email\",\n type: \"string\",\n required: true,\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n title: {\n baseName: \"title\",\n type: \"string\",\n },\n };\n return UserCreateAttributes;\n}());\nexports.UserCreateAttributes = UserCreateAttributes;\n//# sourceMappingURL=UserCreateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserCreateData = void 0;\n/**\n * Object to create a user.\n */\nvar UserCreateData = /** @class */ (function () {\n function UserCreateData() {\n }\n /**\n * @ignore\n */\n UserCreateData.getAttributeTypeMap = function () {\n return UserCreateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserCreateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UserCreateAttributes\",\n required: true,\n },\n relationships: {\n baseName: \"relationships\",\n type: \"UserRelationships\",\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n required: true,\n },\n };\n return UserCreateData;\n}());\nexports.UserCreateData = UserCreateData;\n//# sourceMappingURL=UserCreateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserCreateRequest = void 0;\n/**\n * Create a user.\n */\nvar UserCreateRequest = /** @class */ (function () {\n function UserCreateRequest() {\n }\n /**\n * @ignore\n */\n UserCreateRequest.getAttributeTypeMap = function () {\n return UserCreateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserCreateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"UserCreateData\",\n required: true,\n },\n };\n return UserCreateRequest;\n}());\nexports.UserCreateRequest = UserCreateRequest;\n//# sourceMappingURL=UserCreateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationData = void 0;\n/**\n * Object to create a user invitation.\n */\nvar UserInvitationData = /** @class */ (function () {\n function UserInvitationData() {\n }\n /**\n * @ignore\n */\n UserInvitationData.getAttributeTypeMap = function () {\n return UserInvitationData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationData.attributeTypeMap = {\n relationships: {\n baseName: \"relationships\",\n type: \"UserInvitationRelationships\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"UserInvitationsType\",\n required: true,\n },\n };\n return UserInvitationData;\n}());\nexports.UserInvitationData = UserInvitationData;\n//# sourceMappingURL=UserInvitationData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationDataAttributes = void 0;\n/**\n * Attributes of a user invitation.\n */\nvar UserInvitationDataAttributes = /** @class */ (function () {\n function UserInvitationDataAttributes() {\n }\n /**\n * @ignore\n */\n UserInvitationDataAttributes.getAttributeTypeMap = function () {\n return UserInvitationDataAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationDataAttributes.attributeTypeMap = {\n createdAt: {\n baseName: \"created_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n expiresAt: {\n baseName: \"expires_at\",\n type: \"Date\",\n format: \"date-time\",\n },\n inviteType: {\n baseName: \"invite_type\",\n type: \"string\",\n },\n uuid: {\n baseName: \"uuid\",\n type: \"string\",\n },\n };\n return UserInvitationDataAttributes;\n}());\nexports.UserInvitationDataAttributes = UserInvitationDataAttributes;\n//# sourceMappingURL=UserInvitationDataAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationRelationships = void 0;\n/**\n * Relationships data for user invitation.\n */\nvar UserInvitationRelationships = /** @class */ (function () {\n function UserInvitationRelationships() {\n }\n /**\n * @ignore\n */\n UserInvitationRelationships.getAttributeTypeMap = function () {\n return UserInvitationRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationRelationships.attributeTypeMap = {\n user: {\n baseName: \"user\",\n type: \"RelationshipToUser\",\n required: true,\n },\n };\n return UserInvitationRelationships;\n}());\nexports.UserInvitationRelationships = UserInvitationRelationships;\n//# sourceMappingURL=UserInvitationRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationResponse = void 0;\n/**\n * User invitation as returned by the API.\n */\nvar UserInvitationResponse = /** @class */ (function () {\n function UserInvitationResponse() {\n }\n /**\n * @ignore\n */\n UserInvitationResponse.getAttributeTypeMap = function () {\n return UserInvitationResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"UserInvitationResponseData\",\n },\n };\n return UserInvitationResponse;\n}());\nexports.UserInvitationResponse = UserInvitationResponse;\n//# sourceMappingURL=UserInvitationResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationResponseData = void 0;\n/**\n * Object of a user invitation returned by the API.\n */\nvar UserInvitationResponseData = /** @class */ (function () {\n function UserInvitationResponseData() {\n }\n /**\n * @ignore\n */\n UserInvitationResponseData.getAttributeTypeMap = function () {\n return UserInvitationResponseData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationResponseData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UserInvitationDataAttributes\",\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n },\n type: {\n baseName: \"type\",\n type: \"UserInvitationsType\",\n },\n };\n return UserInvitationResponseData;\n}());\nexports.UserInvitationResponseData = UserInvitationResponseData;\n//# sourceMappingURL=UserInvitationResponseData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationsRequest = void 0;\n/**\n * Object to invite users to join the organization.\n */\nvar UserInvitationsRequest = /** @class */ (function () {\n function UserInvitationsRequest() {\n }\n /**\n * @ignore\n */\n UserInvitationsRequest.getAttributeTypeMap = function () {\n return UserInvitationsRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationsRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n required: true,\n },\n };\n return UserInvitationsRequest;\n}());\nexports.UserInvitationsRequest = UserInvitationsRequest;\n//# sourceMappingURL=UserInvitationsRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserInvitationsResponse = void 0;\n/**\n * User invitations as returned by the API.\n */\nvar UserInvitationsResponse = /** @class */ (function () {\n function UserInvitationsResponse() {\n }\n /**\n * @ignore\n */\n UserInvitationsResponse.getAttributeTypeMap = function () {\n return UserInvitationsResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserInvitationsResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n };\n return UserInvitationsResponse;\n}());\nexports.UserInvitationsResponse = UserInvitationsResponse;\n//# sourceMappingURL=UserInvitationsResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserRelationships = void 0;\n/**\n * Relationships of the user object.\n */\nvar UserRelationships = /** @class */ (function () {\n function UserRelationships() {\n }\n /**\n * @ignore\n */\n UserRelationships.getAttributeTypeMap = function () {\n return UserRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserRelationships.attributeTypeMap = {\n roles: {\n baseName: \"roles\",\n type: \"RelationshipToRoles\",\n },\n };\n return UserRelationships;\n}());\nexports.UserRelationships = UserRelationships;\n//# sourceMappingURL=UserRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserResponse = void 0;\n/**\n * Response containing information about a single user.\n */\nvar UserResponse = /** @class */ (function () {\n function UserResponse() {\n }\n /**\n * @ignore\n */\n UserResponse.getAttributeTypeMap = function () {\n return UserResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"User\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n };\n return UserResponse;\n}());\nexports.UserResponse = UserResponse;\n//# sourceMappingURL=UserResponse.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserResponseRelationships = void 0;\n/**\n * Relationships of the user object returned by the API.\n */\nvar UserResponseRelationships = /** @class */ (function () {\n function UserResponseRelationships() {\n }\n /**\n * @ignore\n */\n UserResponseRelationships.getAttributeTypeMap = function () {\n return UserResponseRelationships.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserResponseRelationships.attributeTypeMap = {\n org: {\n baseName: \"org\",\n type: \"RelationshipToOrganization\",\n },\n otherOrgs: {\n baseName: \"other_orgs\",\n type: \"RelationshipToOrganizations\",\n },\n otherUsers: {\n baseName: \"other_users\",\n type: \"RelationshipToUsers\",\n },\n roles: {\n baseName: \"roles\",\n type: \"RelationshipToRoles\",\n },\n };\n return UserResponseRelationships;\n}());\nexports.UserResponseRelationships = UserResponseRelationships;\n//# sourceMappingURL=UserResponseRelationships.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserUpdateAttributes = void 0;\n/**\n * Attributes of the edited user.\n */\nvar UserUpdateAttributes = /** @class */ (function () {\n function UserUpdateAttributes() {\n }\n /**\n * @ignore\n */\n UserUpdateAttributes.getAttributeTypeMap = function () {\n return UserUpdateAttributes.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserUpdateAttributes.attributeTypeMap = {\n disabled: {\n baseName: \"disabled\",\n type: \"boolean\",\n },\n email: {\n baseName: \"email\",\n type: \"string\",\n },\n name: {\n baseName: \"name\",\n type: \"string\",\n },\n };\n return UserUpdateAttributes;\n}());\nexports.UserUpdateAttributes = UserUpdateAttributes;\n//# sourceMappingURL=UserUpdateAttributes.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserUpdateData = void 0;\n/**\n * Object to update a user.\n */\nvar UserUpdateData = /** @class */ (function () {\n function UserUpdateData() {\n }\n /**\n * @ignore\n */\n UserUpdateData.getAttributeTypeMap = function () {\n return UserUpdateData.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserUpdateData.attributeTypeMap = {\n attributes: {\n baseName: \"attributes\",\n type: \"UserUpdateAttributes\",\n required: true,\n },\n id: {\n baseName: \"id\",\n type: \"string\",\n required: true,\n },\n type: {\n baseName: \"type\",\n type: \"UsersType\",\n required: true,\n },\n };\n return UserUpdateData;\n}());\nexports.UserUpdateData = UserUpdateData;\n//# sourceMappingURL=UserUpdateData.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UserUpdateRequest = void 0;\n/**\n * Update a user.\n */\nvar UserUpdateRequest = /** @class */ (function () {\n function UserUpdateRequest() {\n }\n /**\n * @ignore\n */\n UserUpdateRequest.getAttributeTypeMap = function () {\n return UserUpdateRequest.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UserUpdateRequest.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"UserUpdateData\",\n required: true,\n },\n };\n return UserUpdateRequest;\n}());\nexports.UserUpdateRequest = UserUpdateRequest;\n//# sourceMappingURL=UserUpdateRequest.js.map","\"use strict\";\n/**\n * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.\n * This product includes software developed at Datadog (https://www.datadoghq.com/).\n * Copyright 2020-Present Datadog, Inc.\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsersResponse = void 0;\n/**\n * Response containing information about multiple users.\n */\nvar UsersResponse = /** @class */ (function () {\n function UsersResponse() {\n }\n /**\n * @ignore\n */\n UsersResponse.getAttributeTypeMap = function () {\n return UsersResponse.attributeTypeMap;\n };\n /**\n * @ignore\n */\n UsersResponse.attributeTypeMap = {\n data: {\n baseName: \"data\",\n type: \"Array\",\n },\n included: {\n baseName: \"included\",\n type: \"Array\",\n },\n meta: {\n baseName: \"meta\",\n type: \"ResponseMetaAttributes\",\n },\n };\n return UsersResponse;\n}());\nexports.UsersResponse = UsersResponse;\n//# sourceMappingURL=UsersResponse.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.operationServers = exports.servers = exports.server3 = exports.server2 = exports.server1 = exports.ServerConfiguration = exports.BaseServerConfiguration = void 0;\nvar http_1 = require(\"./http/http\");\n/**\n *\n * Represents the configuration of a server\n *\n */\nvar BaseServerConfiguration = /** @class */ (function () {\n function BaseServerConfiguration(url, variableConfiguration) {\n this.url = url;\n this.variableConfiguration = variableConfiguration;\n }\n /**\n * Sets the value of the variables of this server.\n *\n * @param variableConfiguration a partial variable configuration for the variables contained in the url\n */\n BaseServerConfiguration.prototype.setVariables = function (variableConfiguration) {\n Object.assign(this.variableConfiguration, variableConfiguration);\n };\n BaseServerConfiguration.prototype.getConfiguration = function () {\n return this.variableConfiguration;\n };\n BaseServerConfiguration.prototype.getUrl = function () {\n var replacedUrl = this.url;\n for (var key in this.variableConfiguration) {\n var re = new RegExp(\"{\" + key + \"}\", \"g\");\n replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);\n }\n return replacedUrl;\n };\n /**\n * Creates a new request context for this server using the url with variables\n * replaced with their respective values and the endpoint of the request appended.\n *\n * @param endpoint the endpoint to be queried on the server\n * @param httpMethod httpMethod to be used\n *\n */\n BaseServerConfiguration.prototype.makeRequestContext = function (endpoint, httpMethod) {\n return new http_1.RequestContext(this.getUrl() + endpoint, httpMethod);\n };\n return BaseServerConfiguration;\n}());\nexports.BaseServerConfiguration = BaseServerConfiguration;\n/**\n *\n * Represents the configuration of a server including its\n * url template and variable configuration based on the url.\n *\n */\nvar ServerConfiguration = /** @class */ (function (_super) {\n __extends(ServerConfiguration, _super);\n function ServerConfiguration() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n return ServerConfiguration;\n}(BaseServerConfiguration));\nexports.ServerConfiguration = ServerConfiguration;\nexports.server1 = new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"api\",\n});\nexports.server2 = new ServerConfiguration(\"{protocol}://{name}\", {\n name: \"api.datadoghq.com\",\n protocol: \"https\",\n});\nexports.server3 = new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"api\",\n});\nexports.servers = [exports.server1, exports.server2, exports.server3];\nexports.operationServers = {\n \"LogsApi.submitLog\": [\n new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"http-intake.logs\",\n }),\n new ServerConfiguration(\"{protocol}://{name}\", {\n name: \"http-intake.logs.datadoghq.com\",\n protocol: \"https\",\n }),\n new ServerConfiguration(\"https://{subdomain}.{site}\", {\n site: \"datadoghq.com\",\n subdomain: \"http-intake.logs\",\n }),\n ],\n};\n//# sourceMappingURL=servers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isCodeInRange = void 0;\n/**\n * Returns if a specific http code is in a given code range\n * where the code range is defined as a combination of digits\n * and \"X\" (the letter X) with a length of 3\n *\n * @param codeRange string with length 3 consisting of digits and \"X\" (the letter X)\n * @param code the http status code to be checked against the code range\n */\nfunction isCodeInRange(codeRange, code) {\n // This is how the default value is encoded in OAG\n if (codeRange === \"0\") {\n return true;\n }\n if (codeRange == code.toString()) {\n return true;\n }\n else {\n var codeString = code.toString();\n if (codeString.length != codeRange.length) {\n return false;\n }\n for (var i = 0; i < codeString.length; i++) {\n if (codeRange.charAt(i) != \"X\" &&\n codeRange.charAt(i) != codeString.charAt(i)) {\n return false;\n }\n }\n return true;\n }\n}\nexports.isCodeInRange = isCodeInRange;\n//# sourceMappingURL=util.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.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.userAgent = void 0;\nvar os = __importStar(require(\"os\"));\nvar version_1 = require(\"./version\");\nexports.userAgent = \"datadog-api-client-typescript/\".concat(version_1.version, \" (node \").concat(process.versions.node, \"; os \").concat(os.type(), \"; arch \").concat(os.arch(), \")\");\n//# sourceMappingURL=userAgent.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.version = void 0;\nexports.version = \"1.0.0-beta.8\";\n//# sourceMappingURL=version.js.map","/* eslint-disable node/no-deprecated-api */\n\nvar toString = Object.prototype.toString\n\nvar isModern = (\n typeof Buffer !== 'undefined' &&\n typeof Buffer.alloc === 'function' &&\n typeof Buffer.allocUnsafe === 'function' &&\n typeof Buffer.from === 'function'\n)\n\nfunction isArrayBuffer (input) {\n return toString.call(input).slice(8, -1) === 'ArrayBuffer'\n}\n\nfunction fromArrayBuffer (obj, byteOffset, length) {\n byteOffset >>>= 0\n\n var maxLength = obj.byteLength - byteOffset\n\n if (maxLength < 0) {\n throw new RangeError(\"'offset' is out of bounds\")\n }\n\n if (length === undefined) {\n length = maxLength\n } else {\n length >>>= 0\n\n if (length > maxLength) {\n throw new RangeError(\"'length' is out of bounds\")\n }\n }\n\n return isModern\n ? Buffer.from(obj.slice(byteOffset, byteOffset + length))\n : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)))\n}\n\nfunction fromString (string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n return isModern\n ? Buffer.from(string, encoding)\n : new Buffer(string, encoding)\n}\n\nfunction bufferFrom (value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (isArrayBuffer(value)) {\n return fromArrayBuffer(value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(value, encodingOrOffset)\n }\n\n return isModern\n ? Buffer.from(value)\n : new Buffer(value)\n}\n\nmodule.exports = bufferFrom\n","const nodeFetch = require('node-fetch')\nconst realFetch = nodeFetch.default || nodeFetch\n\nconst fetch = function (url, options) {\n // Support schemaless URIs on the server for parity with the browser.\n // Ex: //github.com/ -> https://github.com/\n if (/^\\/\\//.test(url)) {\n url = 'https:' + url\n }\n return realFetch.call(this, url, options)\n}\n\nfetch.ponyfill = true\n\nmodule.exports = exports = fetch\nexports.fetch = fetch\nexports.Headers = nodeFetch.Headers\nexports.Request = nodeFetch.Request\nexports.Response = nodeFetch.Response\n\n// Needed for TypeScript consumers without esModuleInterop.\nexports.default = fetch\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\nObject.defineProperty(exports, '__esModule', { value: true });\n\nasync function auth(token) {\n const tokenType = token.split(/\\./).length === 3 ? \"app\" : /^v\\d+\\./.test(token) ? \"installation\" : \"oauth\";\n return {\n type: \"token\",\n token: token,\n tokenType\n };\n}\n\n/**\n * Prefix token for usage in the Authorization header\n *\n * @param token OAuth token or JSON Web Token\n */\nfunction withAuthorizationPrefix(token) {\n if (token.split(/\\./).length === 3) {\n return `bearer ${token}`;\n }\n\n return `token ${token}`;\n}\n\nasync function hook(token, request, route, parameters) {\n const endpoint = request.endpoint.merge(route, parameters);\n endpoint.headers.authorization = withAuthorizationPrefix(token);\n return request(endpoint);\n}\n\nconst createTokenAuth = function createTokenAuth(token) {\n if (!token) {\n throw new Error(\"[@octokit/auth-token] No token passed to createTokenAuth\");\n }\n\n if (typeof token !== \"string\") {\n throw new Error(\"[@octokit/auth-token] Token passed to createTokenAuth is not a string\");\n }\n\n token = token.replace(/^(token|bearer) +/i, \"\");\n return Object.assign(auth.bind(null, token), {\n hook: hook.bind(null, token)\n });\n};\n\nexports.createTokenAuth = createTokenAuth;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar universalUserAgent = require('universal-user-agent');\nvar beforeAfterHook = require('before-after-hook');\nvar request = require('@octokit/request');\nvar graphql = require('@octokit/graphql');\nvar authToken = require('@octokit/auth-token');\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nconst VERSION = \"3.5.1\";\n\nconst _excluded = [\"authStrategy\"];\nclass Octokit {\n constructor(options = {}) {\n const hook = new beforeAfterHook.Collection();\n const requestDefaults = {\n baseUrl: request.request.endpoint.DEFAULTS.baseUrl,\n headers: {},\n request: Object.assign({}, options.request, {\n // @ts-ignore internal usage only, no need to type\n hook: hook.bind(null, \"request\")\n }),\n mediaType: {\n previews: [],\n format: \"\"\n }\n }; // prepend default user agent with `options.userAgent` if set\n\n requestDefaults.headers[\"user-agent\"] = [options.userAgent, `octokit-core.js/${VERSION} ${universalUserAgent.getUserAgent()}`].filter(Boolean).join(\" \");\n\n if (options.baseUrl) {\n requestDefaults.baseUrl = options.baseUrl;\n }\n\n if (options.previews) {\n requestDefaults.mediaType.previews = options.previews;\n }\n\n if (options.timeZone) {\n requestDefaults.headers[\"time-zone\"] = options.timeZone;\n }\n\n this.request = request.request.defaults(requestDefaults);\n this.graphql = graphql.withCustomRequest(this.request).defaults(requestDefaults);\n this.log = Object.assign({\n debug: () => {},\n info: () => {},\n warn: console.warn.bind(console),\n error: console.error.bind(console)\n }, options.log);\n this.hook = hook; // (1) If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance\n // is unauthenticated. The `this.auth()` method is a no-op and no request hook is registered.\n // (2) If only `options.auth` is set, use the default token authentication strategy.\n // (3) If `options.authStrategy` is set then use it and pass in `options.auth`. Always pass own request as many strategies accept a custom request instance.\n // TODO: type `options.auth` based on `options.authStrategy`.\n\n if (!options.authStrategy) {\n if (!options.auth) {\n // (1)\n this.auth = async () => ({\n type: \"unauthenticated\"\n });\n } else {\n // (2)\n const auth = authToken.createTokenAuth(options.auth); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n }\n } else {\n const {\n authStrategy\n } = options,\n otherOptions = _objectWithoutProperties(options, _excluded);\n\n const auth = authStrategy(Object.assign({\n request: this.request,\n log: this.log,\n // we pass the current octokit instance as well as its constructor options\n // to allow for authentication strategies that return a new octokit instance\n // that shares the same internal state as the current one. The original\n // requirement for this was the \"event-octokit\" authentication strategy\n // of https://github.com/probot/octokit-auth-probot.\n octokit: this,\n octokitOptions: otherOptions\n }, options.auth)); // @ts-ignore ¯\\_(ツ)_/¯\n\n hook.wrap(\"request\", auth.hook);\n this.auth = auth;\n } // apply plugins\n // https://stackoverflow.com/a/16345172\n\n\n const classConstructor = this.constructor;\n classConstructor.plugins.forEach(plugin => {\n Object.assign(this, plugin(this, options));\n });\n }\n\n static defaults(defaults) {\n const OctokitWithDefaults = class extends this {\n constructor(...args) {\n const options = args[0] || {};\n\n if (typeof defaults === \"function\") {\n super(defaults(options));\n return;\n }\n\n super(Object.assign({}, defaults, options, options.userAgent && defaults.userAgent ? {\n userAgent: `${options.userAgent} ${defaults.userAgent}`\n } : null));\n }\n\n };\n return OctokitWithDefaults;\n }\n /**\n * Attach a plugin (or many) to your Octokit instance.\n *\n * @example\n * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)\n */\n\n\n static plugin(...newPlugins) {\n var _a;\n\n const currentPlugins = this.plugins;\n const NewOctokit = (_a = class extends this {}, _a.plugins = currentPlugins.concat(newPlugins.filter(plugin => !currentPlugins.includes(plugin))), _a);\n return NewOctokit;\n }\n\n}\nOctokit.VERSION = VERSION;\nOctokit.plugins = [];\n\nexports.Octokit = Octokit;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar isPlainObject = require('is-plain-object');\nvar universalUserAgent = require('universal-user-agent');\n\nfunction lowercaseKeys(object) {\n if (!object) {\n return {};\n }\n\n return Object.keys(object).reduce((newObj, key) => {\n newObj[key.toLowerCase()] = object[key];\n return newObj;\n }, {});\n}\n\nfunction mergeDeep(defaults, options) {\n const result = Object.assign({}, defaults);\n Object.keys(options).forEach(key => {\n if (isPlainObject.isPlainObject(options[key])) {\n if (!(key in defaults)) Object.assign(result, {\n [key]: options[key]\n });else result[key] = mergeDeep(defaults[key], options[key]);\n } else {\n Object.assign(result, {\n [key]: options[key]\n });\n }\n });\n return result;\n}\n\nfunction removeUndefinedProperties(obj) {\n for (const key in obj) {\n if (obj[key] === undefined) {\n delete obj[key];\n }\n }\n\n return obj;\n}\n\nfunction merge(defaults, route, options) {\n if (typeof route === \"string\") {\n let [method, url] = route.split(\" \");\n options = Object.assign(url ? {\n method,\n url\n } : {\n url: method\n }, options);\n } else {\n options = Object.assign({}, route);\n } // lowercase header names before merging with defaults to avoid duplicates\n\n\n options.headers = lowercaseKeys(options.headers); // remove properties with undefined values before merging\n\n removeUndefinedProperties(options);\n removeUndefinedProperties(options.headers);\n const mergedOptions = mergeDeep(defaults || {}, options); // mediaType.previews arrays are merged, instead of overwritten\n\n if (defaults && defaults.mediaType.previews.length) {\n mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(preview => !mergedOptions.mediaType.previews.includes(preview)).concat(mergedOptions.mediaType.previews);\n }\n\n mergedOptions.mediaType.previews = mergedOptions.mediaType.previews.map(preview => preview.replace(/-preview/, \"\"));\n return mergedOptions;\n}\n\nfunction addQueryParameters(url, parameters) {\n const separator = /\\?/.test(url) ? \"&\" : \"?\";\n const names = Object.keys(parameters);\n\n if (names.length === 0) {\n return url;\n }\n\n return url + separator + names.map(name => {\n if (name === \"q\") {\n return \"q=\" + parameters.q.split(\"+\").map(encodeURIComponent).join(\"+\");\n }\n\n return `${name}=${encodeURIComponent(parameters[name])}`;\n }).join(\"&\");\n}\n\nconst urlVariableRegex = /\\{[^}]+\\}/g;\n\nfunction removeNonChars(variableName) {\n return variableName.replace(/^\\W+|\\W+$/g, \"\").split(/,/);\n}\n\nfunction extractUrlVariableNames(url) {\n const matches = url.match(urlVariableRegex);\n\n if (!matches) {\n return [];\n }\n\n return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);\n}\n\nfunction omit(object, keysToOmit) {\n return Object.keys(object).filter(option => !keysToOmit.includes(option)).reduce((obj, key) => {\n obj[key] = object[key];\n return obj;\n }, {});\n}\n\n// Based on https://github.com/bramstein/url-template, licensed under BSD\n// TODO: create separate package.\n//\n// Copyright (c) 2012-2014, Bram Stein\n// All rights reserved.\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions\n// are met:\n// 1. Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// 2. Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// 3. The name of the author may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n// THIS SOFTWARE IS PROVIDED BY THE AUTHOR \"AS IS\" AND ANY EXPRESS OR IMPLIED\n// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n// EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n// EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n/* istanbul ignore file */\nfunction encodeReserved(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\n return part;\n }).join(\"\");\n}\n\nfunction encodeUnreserved(str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return \"%\" + c.charCodeAt(0).toString(16).toUpperCase();\n });\n}\n\nfunction encodeValue(operator, value, key) {\n value = operator === \"+\" || operator === \"#\" ? encodeReserved(value) : encodeUnreserved(value);\n\n if (key) {\n return encodeUnreserved(key) + \"=\" + value;\n } else {\n return value;\n }\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isKeyOperator(operator) {\n return operator === \";\" || operator === \"&\" || operator === \"?\";\n}\n\nfunction getValues(context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (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(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n } else {\n if (modifier === \"*\") {\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n result.push(encodeValue(operator, value, isKeyOperator(operator) ? key : \"\"));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n result.push(encodeValue(operator, value[k], k));\n }\n });\n }\n } else {\n const tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(isDefined).forEach(function (value) {\n tmp.push(encodeValue(operator, value));\n });\n } else {\n Object.keys(value).forEach(function (k) {\n if (isDefined(value[k])) {\n tmp.push(encodeUnreserved(k));\n tmp.push(encodeValue(operator, value[k].toString()));\n }\n });\n }\n\n if (isKeyOperator(operator)) {\n result.push(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 (isDefined(value)) {\n result.push(encodeUnreserved(key));\n }\n } else if (value === \"\" && (operator === \"&\" || operator === \"?\")) {\n result.push(encodeUnreserved(key) + \"=\");\n } else if (value === \"\") {\n result.push(\"\");\n }\n }\n\n return result;\n}\n\nfunction parseUrl(template) {\n return {\n expand: expand.bind(null, template)\n };\n}\n\nfunction expand(template, context) {\n var operators = [\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"];\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n let operator = \"\";\n const 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(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\n return (values.length !== 0 ? operator : \"\") + values.join(separator);\n } else {\n return values.join(\",\");\n }\n } else {\n return encodeReserved(literal);\n }\n });\n}\n\nfunction parse(options) {\n // https://fetch.spec.whatwg.org/#methods\n let method = options.method.toUpperCase(); // replace :varname with {varname} to make it RFC 6570 compatible\n\n let url = (options.url || \"/\").replace(/:([a-z]\\w+)/g, \"{$1}\");\n let headers = Object.assign({}, options.headers);\n let body;\n let parameters = omit(options, [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"mediaType\"]); // extract variable names from URL to calculate remaining variables later\n\n const urlVariableNames = extractUrlVariableNames(url);\n url = parseUrl(url).expand(parameters);\n\n if (!/^http/.test(url)) {\n url = options.baseUrl + url;\n }\n\n const omittedParameters = Object.keys(options).filter(option => urlVariableNames.includes(option)).concat(\"baseUrl\");\n const remainingParameters = omit(parameters, omittedParameters);\n const isBinaryRequest = /application\\/octet-stream/i.test(headers.accept);\n\n if (!isBinaryRequest) {\n if (options.mediaType.format) {\n // e.g. application/vnd.github.v3+json => application/vnd.github.v3.raw\n headers.accept = headers.accept.split(/,/).map(preview => preview.replace(/application\\/vnd(\\.\\w+)(\\.v3)?(\\.\\w+)?(\\+json)?$/, `application/vnd$1$2.${options.mediaType.format}`)).join(\",\");\n }\n\n if (options.mediaType.previews.length) {\n const previewsFromAcceptHeader = headers.accept.match(/[\\w-]+(?=-preview)/g) || [];\n headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map(preview => {\n const format = options.mediaType.format ? `.${options.mediaType.format}` : \"+json\";\n return `application/vnd.github.${preview}-preview${format}`;\n }).join(\",\");\n }\n } // for GET/HEAD requests, set URL query parameters from remaining parameters\n // for PATCH/POST/PUT/DELETE requests, set request body from remaining parameters\n\n\n if ([\"GET\", \"HEAD\"].includes(method)) {\n url = addQueryParameters(url, remainingParameters);\n } else {\n if (\"data\" in remainingParameters) {\n body = remainingParameters.data;\n } else {\n if (Object.keys(remainingParameters).length) {\n body = remainingParameters;\n } else {\n headers[\"content-length\"] = 0;\n }\n }\n } // default content-type for JSON if body is set\n\n\n if (!headers[\"content-type\"] && typeof body !== \"undefined\") {\n headers[\"content-type\"] = \"application/json; charset=utf-8\";\n } // GitHub expects 'content-length: 0' header for PUT/PATCH requests without body.\n // fetch does not allow to set `content-length` header, but we can set body to an empty string\n\n\n if ([\"PATCH\", \"PUT\"].includes(method) && typeof body === \"undefined\") {\n body = \"\";\n } // Only return body/request keys if present\n\n\n return Object.assign({\n method,\n url,\n headers\n }, typeof body !== \"undefined\" ? {\n body\n } : null, options.request ? {\n request: options.request\n } : null);\n}\n\nfunction endpointWithDefaults(defaults, route, options) {\n return parse(merge(defaults, route, options));\n}\n\nfunction withDefaults(oldDefaults, newDefaults) {\n const DEFAULTS = merge(oldDefaults, newDefaults);\n const endpoint = endpointWithDefaults.bind(null, DEFAULTS);\n return Object.assign(endpoint, {\n DEFAULTS,\n defaults: withDefaults.bind(null, DEFAULTS),\n merge: merge.bind(null, DEFAULTS),\n parse\n });\n}\n\nconst VERSION = \"6.0.12\";\n\nconst userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url.\n// So we use RequestParameters and add method as additional required property.\n\nconst DEFAULTS = {\n method: \"GET\",\n baseUrl: \"https://api.github.com\",\n headers: {\n accept: \"application/vnd.github.v3+json\",\n \"user-agent\": userAgent\n },\n mediaType: {\n format: \"\",\n previews: []\n }\n};\n\nconst endpoint = withDefaults(null, DEFAULTS);\n\nexports.endpoint = endpoint;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar request = require('@octokit/request');\nvar universalUserAgent = require('universal-user-agent');\n\nconst VERSION = \"4.6.4\";\n\nclass GraphqlError extends Error {\n constructor(request, response) {\n const message = response.data.errors[0].message;\n super(message);\n Object.assign(this, response.data);\n Object.assign(this, {\n headers: response.headers\n });\n this.name = \"GraphqlError\";\n this.request = request; // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n\n}\n\nconst NON_VARIABLE_OPTIONS = [\"method\", \"baseUrl\", \"url\", \"headers\", \"request\", \"query\", \"mediaType\"];\nconst FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nconst GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`));\n }\n\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(new Error(`[@octokit/graphql] \"${key}\" cannot be used as variable name`));\n }\n }\n\n const parsedOptions = typeof query === \"string\" ? Object.assign({\n query\n }, options) : query;\n const requestOptions = Object.keys(parsedOptions).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n\n if (!result.variables) {\n result.variables = {};\n }\n\n result.variables[key] = parsedOptions[key];\n return result;\n }, {}); // workaround for GitHub Enterprise baseUrl set with /api/v3 suffix\n // https://github.com/octokit/auth-app.js/issues/111#issuecomment-657610451\n\n const baseUrl = parsedOptions.baseUrl || request.endpoint.DEFAULTS.baseUrl;\n\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n\n return request(requestOptions).then(response => {\n if (response.data.errors) {\n const headers = {};\n\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n\n throw new GraphqlError(requestOptions, {\n headers,\n data: response.data\n });\n }\n\n return response.data.data;\n });\n}\n\nfunction withDefaults(request$1, newDefaults) {\n const newRequest = request$1.defaults(newDefaults);\n\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: request.request.endpoint\n });\n}\n\nconst graphql$1 = withDefaults(request.request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\n\nexports.graphql = graphql$1;\nexports.withCustomRequest = withCustomRequest;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"2.14.0\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\n/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nfunction normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return _objectSpread2(_objectSpread2({}, response), {}, {\n data: []\n });\n }\n\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization) return response; // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n\n response.data.total_count = totalCount;\n return response;\n}\n\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url) return {\n done: true\n };\n\n try {\n const response = await requestMethod({\n method,\n url,\n headers\n });\n const normalizedResponse = normalizePaginatedListResponse(response); // `response.headers.link` format:\n // '; rel=\"next\", ; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return {\n value: normalizedResponse\n };\n } catch (error) {\n if (error.status !== 409) throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n\n })\n };\n}\n\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\n\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then(result => {\n if (result.done) {\n return results;\n }\n\n let earlyExit = false;\n\n function done() {\n earlyExit = true;\n }\n\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n\n if (earlyExit) {\n return results;\n }\n\n return gather(octokit, results, iterator, mapFn);\n });\n}\n\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\n\nconst paginatingEndpoints = [\"GET /app/hook/deliveries\", \"GET /app/installations\", \"GET /applications/grants\", \"GET /authorizations\", \"GET /enterprises/{enterprise}/actions/permissions/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\", \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\", \"GET /enterprises/{enterprise}/actions/runners\", \"GET /enterprises/{enterprise}/actions/runners/downloads\", \"GET /events\", \"GET /gists\", \"GET /gists/public\", \"GET /gists/starred\", \"GET /gists/{gist_id}/comments\", \"GET /gists/{gist_id}/commits\", \"GET /gists/{gist_id}/forks\", \"GET /installation/repositories\", \"GET /issues\", \"GET /marketplace_listing/plans\", \"GET /marketplace_listing/plans/{plan_id}/accounts\", \"GET /marketplace_listing/stubbed/plans\", \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\", \"GET /networks/{owner}/{repo}/events\", \"GET /notifications\", \"GET /organizations\", \"GET /orgs/{org}/actions/permissions/repositories\", \"GET /orgs/{org}/actions/runner-groups\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\", \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\", \"GET /orgs/{org}/actions/runners\", \"GET /orgs/{org}/actions/runners/downloads\", \"GET /orgs/{org}/actions/secrets\", \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\", \"GET /orgs/{org}/blocks\", \"GET /orgs/{org}/credential-authorizations\", \"GET /orgs/{org}/events\", \"GET /orgs/{org}/failed_invitations\", \"GET /orgs/{org}/hooks\", \"GET /orgs/{org}/hooks/{hook_id}/deliveries\", \"GET /orgs/{org}/installations\", \"GET /orgs/{org}/invitations\", \"GET /orgs/{org}/invitations/{invitation_id}/teams\", \"GET /orgs/{org}/issues\", \"GET /orgs/{org}/members\", \"GET /orgs/{org}/migrations\", \"GET /orgs/{org}/migrations/{migration_id}/repositories\", \"GET /orgs/{org}/outside_collaborators\", \"GET /orgs/{org}/projects\", \"GET /orgs/{org}/public_members\", \"GET /orgs/{org}/repos\", \"GET /orgs/{org}/team-sync/groups\", \"GET /orgs/{org}/teams\", \"GET /orgs/{org}/teams/{team_slug}/discussions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", \"GET /orgs/{org}/teams/{team_slug}/invitations\", \"GET /orgs/{org}/teams/{team_slug}/members\", \"GET /orgs/{org}/teams/{team_slug}/projects\", \"GET /orgs/{org}/teams/{team_slug}/repos\", \"GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings\", \"GET /orgs/{org}/teams/{team_slug}/teams\", \"GET /projects/columns/{column_id}/cards\", \"GET /projects/{project_id}/collaborators\", \"GET /projects/{project_id}/columns\", \"GET /repos/{owner}/{repo}/actions/artifacts\", \"GET /repos/{owner}/{repo}/actions/runners\", \"GET /repos/{owner}/{repo}/actions/runners/downloads\", \"GET /repos/{owner}/{repo}/actions/runs\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\", \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\", \"GET /repos/{owner}/{repo}/actions/secrets\", \"GET /repos/{owner}/{repo}/actions/workflows\", \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\", \"GET /repos/{owner}/{repo}/assignees\", \"GET /repos/{owner}/{repo}/branches\", \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\", \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\", \"GET /repos/{owner}/{repo}/code-scanning/alerts\", \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", \"GET /repos/{owner}/{repo}/code-scanning/analyses\", \"GET /repos/{owner}/{repo}/collaborators\", \"GET /repos/{owner}/{repo}/comments\", \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/commits\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\", \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\", \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\", \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\", \"GET /repos/{owner}/{repo}/contributors\", \"GET /repos/{owner}/{repo}/deployments\", \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\", \"GET /repos/{owner}/{repo}/events\", \"GET /repos/{owner}/{repo}/forks\", \"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\", \"GET /repos/{owner}/{repo}/hooks\", \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\", \"GET /repos/{owner}/{repo}/invitations\", \"GET /repos/{owner}/{repo}/issues\", \"GET /repos/{owner}/{repo}/issues/comments\", \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/issues/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", \"GET /repos/{owner}/{repo}/keys\", \"GET /repos/{owner}/{repo}/labels\", \"GET /repos/{owner}/{repo}/milestones\", \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\", \"GET /repos/{owner}/{repo}/notifications\", \"GET /repos/{owner}/{repo}/pages/builds\", \"GET /repos/{owner}/{repo}/projects\", \"GET /repos/{owner}/{repo}/pulls\", \"GET /repos/{owner}/{repo}/pulls/comments\", \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\", \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\", \"GET /repos/{owner}/{repo}/releases\", \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\", \"GET /repos/{owner}/{repo}/secret-scanning/alerts\", \"GET /repos/{owner}/{repo}/stargazers\", \"GET /repos/{owner}/{repo}/subscribers\", \"GET /repos/{owner}/{repo}/tags\", \"GET /repos/{owner}/{repo}/teams\", \"GET /repositories\", \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\", \"GET /scim/v2/enterprises/{enterprise}/Groups\", \"GET /scim/v2/enterprises/{enterprise}/Users\", \"GET /scim/v2/organizations/{org}/Users\", \"GET /search/code\", \"GET /search/commits\", \"GET /search/issues\", \"GET /search/labels\", \"GET /search/repositories\", \"GET /search/topics\", \"GET /search/users\", \"GET /teams/{team_id}/discussions\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments\", \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\", \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\", \"GET /teams/{team_id}/invitations\", \"GET /teams/{team_id}/members\", \"GET /teams/{team_id}/projects\", \"GET /teams/{team_id}/repos\", \"GET /teams/{team_id}/team-sync/group-mappings\", \"GET /teams/{team_id}/teams\", \"GET /user/blocks\", \"GET /user/emails\", \"GET /user/followers\", \"GET /user/following\", \"GET /user/gpg_keys\", \"GET /user/installations\", \"GET /user/installations/{installation_id}/repositories\", \"GET /user/issues\", \"GET /user/keys\", \"GET /user/marketplace_purchases\", \"GET /user/marketplace_purchases/stubbed\", \"GET /user/memberships/orgs\", \"GET /user/migrations\", \"GET /user/migrations/{migration_id}/repositories\", \"GET /user/orgs\", \"GET /user/public_emails\", \"GET /user/repos\", \"GET /user/repository_invitations\", \"GET /user/starred\", \"GET /user/subscriptions\", \"GET /user/teams\", \"GET /users\", \"GET /users/{username}/events\", \"GET /users/{username}/events/orgs/{org}\", \"GET /users/{username}/events/public\", \"GET /users/{username}/followers\", \"GET /users/{username}/following\", \"GET /users/{username}/gists\", \"GET /users/{username}/gpg_keys\", \"GET /users/{username}/keys\", \"GET /users/{username}/orgs\", \"GET /users/{username}/projects\", \"GET /users/{username}/received_events\", \"GET /users/{username}/received_events/public\", \"GET /users/{username}/repos\", \"GET /users/{username}/starred\", \"GET /users/{username}/subscriptions\"];\n\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\n\nexports.composePaginateRest = composePaginateRest;\nexports.isPaginatingEndpoint = isPaginatingEndpoint;\nexports.paginateRest = paginateRest;\nexports.paginatingEndpoints = paginatingEndpoints;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n\n if (enumerableOnly) {\n symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n }\n\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nconst Endpoints = {\n actions: {\n addSelectedRepoToOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n approveWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve\"],\n cancelWorkflowRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel\"],\n createOrUpdateEnvironmentSecret: [\"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n createOrUpdateOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}\"],\n createOrUpdateRepoSecret: [\"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n createRegistrationTokenForOrg: [\"POST /orgs/{org}/actions/runners/registration-token\"],\n createRegistrationTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/registration-token\"],\n createRemoveTokenForOrg: [\"POST /orgs/{org}/actions/runners/remove-token\"],\n createRemoveTokenForRepo: [\"POST /repos/{owner}/{repo}/actions/runners/remove-token\"],\n createWorkflowDispatch: [\"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches\"],\n deleteArtifact: [\"DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n deleteEnvironmentSecret: [\"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n deleteOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}\"],\n deleteRepoSecret: [\"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n deleteSelfHostedRunnerFromOrg: [\"DELETE /orgs/{org}/actions/runners/{runner_id}\"],\n deleteSelfHostedRunnerFromRepo: [\"DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n deleteWorkflowRun: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n deleteWorkflowRunLogs: [\"DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n disableSelectedRepositoryGithubActionsOrganization: [\"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n disableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable\"],\n downloadArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}\"],\n downloadJobLogsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs\"],\n downloadWorkflowRunLogs: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs\"],\n enableSelectedRepositoryGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories/{repository_id}\"],\n enableWorkflow: [\"PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable\"],\n getAllowedActionsOrganization: [\"GET /orgs/{org}/actions/permissions/selected-actions\"],\n getAllowedActionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n getArtifact: [\"GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}\"],\n getEnvironmentPublicKey: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key\"],\n getEnvironmentSecret: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}\"],\n getGithubActionsPermissionsOrganization: [\"GET /orgs/{org}/actions/permissions\"],\n getGithubActionsPermissionsRepository: [\"GET /repos/{owner}/{repo}/actions/permissions\"],\n getJobForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/jobs/{job_id}\"],\n getOrgPublicKey: [\"GET /orgs/{org}/actions/secrets/public-key\"],\n getOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}\"],\n getPendingDeploymentsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n getRepoPermissions: [\"GET /repos/{owner}/{repo}/actions/permissions\", {}, {\n renamed: [\"actions\", \"getGithubActionsPermissionsRepository\"]\n }],\n getRepoPublicKey: [\"GET /repos/{owner}/{repo}/actions/secrets/public-key\"],\n getRepoSecret: [\"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}\"],\n getReviewsForRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals\"],\n getSelfHostedRunnerForOrg: [\"GET /orgs/{org}/actions/runners/{runner_id}\"],\n getSelfHostedRunnerForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/{runner_id}\"],\n getWorkflow: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}\"],\n getWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}\"],\n getWorkflowRunUsage: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing\"],\n getWorkflowUsage: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing\"],\n listArtifactsForRepo: [\"GET /repos/{owner}/{repo}/actions/artifacts\"],\n listEnvironmentSecrets: [\"GET /repositories/{repository_id}/environments/{environment_name}/secrets\"],\n listJobsForWorkflowRun: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\"],\n listOrgSecrets: [\"GET /orgs/{org}/actions/secrets\"],\n listRepoSecrets: [\"GET /repos/{owner}/{repo}/actions/secrets\"],\n listRepoWorkflows: [\"GET /repos/{owner}/{repo}/actions/workflows\"],\n listRunnerApplicationsForOrg: [\"GET /orgs/{org}/actions/runners/downloads\"],\n listRunnerApplicationsForRepo: [\"GET /repos/{owner}/{repo}/actions/runners/downloads\"],\n listSelectedReposForOrgSecret: [\"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n listSelectedRepositoriesEnabledGithubActionsOrganization: [\"GET /orgs/{org}/actions/permissions/repositories\"],\n listSelfHostedRunnersForOrg: [\"GET /orgs/{org}/actions/runners\"],\n listSelfHostedRunnersForRepo: [\"GET /repos/{owner}/{repo}/actions/runners\"],\n listWorkflowRunArtifacts: [\"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\"],\n listWorkflowRuns: [\"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\"],\n listWorkflowRunsForRepo: [\"GET /repos/{owner}/{repo}/actions/runs\"],\n reRunWorkflow: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun\"],\n removeSelectedRepoFromOrgSecret: [\"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}\"],\n reviewPendingDeploymentsForRun: [\"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments\"],\n setAllowedActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/selected-actions\"],\n setAllowedActionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsOrganization: [\"PUT /orgs/{org}/actions/permissions\"],\n setGithubActionsPermissionsRepository: [\"PUT /repos/{owner}/{repo}/actions/permissions\"],\n setSelectedReposForOrgSecret: [\"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories\"],\n setSelectedRepositoriesEnabledGithubActionsOrganization: [\"PUT /orgs/{org}/actions/permissions/repositories\"]\n },\n activity: {\n checkRepoIsStarredByAuthenticatedUser: [\"GET /user/starred/{owner}/{repo}\"],\n deleteRepoSubscription: [\"DELETE /repos/{owner}/{repo}/subscription\"],\n deleteThreadSubscription: [\"DELETE /notifications/threads/{thread_id}/subscription\"],\n getFeeds: [\"GET /feeds\"],\n getRepoSubscription: [\"GET /repos/{owner}/{repo}/subscription\"],\n getThread: [\"GET /notifications/threads/{thread_id}\"],\n getThreadSubscriptionForAuthenticatedUser: [\"GET /notifications/threads/{thread_id}/subscription\"],\n listEventsForAuthenticatedUser: [\"GET /users/{username}/events\"],\n listNotificationsForAuthenticatedUser: [\"GET /notifications\"],\n listOrgEventsForAuthenticatedUser: [\"GET /users/{username}/events/orgs/{org}\"],\n listPublicEvents: [\"GET /events\"],\n listPublicEventsForRepoNetwork: [\"GET /networks/{owner}/{repo}/events\"],\n listPublicEventsForUser: [\"GET /users/{username}/events/public\"],\n listPublicOrgEvents: [\"GET /orgs/{org}/events\"],\n listReceivedEventsForUser: [\"GET /users/{username}/received_events\"],\n listReceivedPublicEventsForUser: [\"GET /users/{username}/received_events/public\"],\n listRepoEvents: [\"GET /repos/{owner}/{repo}/events\"],\n listRepoNotificationsForAuthenticatedUser: [\"GET /repos/{owner}/{repo}/notifications\"],\n listReposStarredByAuthenticatedUser: [\"GET /user/starred\"],\n listReposStarredByUser: [\"GET /users/{username}/starred\"],\n listReposWatchedByUser: [\"GET /users/{username}/subscriptions\"],\n listStargazersForRepo: [\"GET /repos/{owner}/{repo}/stargazers\"],\n listWatchedReposForAuthenticatedUser: [\"GET /user/subscriptions\"],\n listWatchersForRepo: [\"GET /repos/{owner}/{repo}/subscribers\"],\n markNotificationsAsRead: [\"PUT /notifications\"],\n markRepoNotificationsAsRead: [\"PUT /repos/{owner}/{repo}/notifications\"],\n markThreadAsRead: [\"PATCH /notifications/threads/{thread_id}\"],\n setRepoSubscription: [\"PUT /repos/{owner}/{repo}/subscription\"],\n setThreadSubscription: [\"PUT /notifications/threads/{thread_id}/subscription\"],\n starRepoForAuthenticatedUser: [\"PUT /user/starred/{owner}/{repo}\"],\n unstarRepoForAuthenticatedUser: [\"DELETE /user/starred/{owner}/{repo}\"]\n },\n apps: {\n addRepoToInstallation: [\"PUT /user/installations/{installation_id}/repositories/{repository_id}\"],\n checkToken: [\"POST /applications/{client_id}/token\"],\n createContentAttachment: [\"POST /content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createContentAttachmentForRepo: [\"POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments\", {\n mediaType: {\n previews: [\"corsair\"]\n }\n }],\n createFromManifest: [\"POST /app-manifests/{code}/conversions\"],\n createInstallationAccessToken: [\"POST /app/installations/{installation_id}/access_tokens\"],\n deleteAuthorization: [\"DELETE /applications/{client_id}/grant\"],\n deleteInstallation: [\"DELETE /app/installations/{installation_id}\"],\n deleteToken: [\"DELETE /applications/{client_id}/token\"],\n getAuthenticated: [\"GET /app\"],\n getBySlug: [\"GET /apps/{app_slug}\"],\n getInstallation: [\"GET /app/installations/{installation_id}\"],\n getOrgInstallation: [\"GET /orgs/{org}/installation\"],\n getRepoInstallation: [\"GET /repos/{owner}/{repo}/installation\"],\n getSubscriptionPlanForAccount: [\"GET /marketplace_listing/accounts/{account_id}\"],\n getSubscriptionPlanForAccountStubbed: [\"GET /marketplace_listing/stubbed/accounts/{account_id}\"],\n getUserInstallation: [\"GET /users/{username}/installation\"],\n getWebhookConfigForApp: [\"GET /app/hook/config\"],\n getWebhookDelivery: [\"GET /app/hook/deliveries/{delivery_id}\"],\n listAccountsForPlan: [\"GET /marketplace_listing/plans/{plan_id}/accounts\"],\n listAccountsForPlanStubbed: [\"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\"],\n listInstallationReposForAuthenticatedUser: [\"GET /user/installations/{installation_id}/repositories\"],\n listInstallations: [\"GET /app/installations\"],\n listInstallationsForAuthenticatedUser: [\"GET /user/installations\"],\n listPlans: [\"GET /marketplace_listing/plans\"],\n listPlansStubbed: [\"GET /marketplace_listing/stubbed/plans\"],\n listReposAccessibleToInstallation: [\"GET /installation/repositories\"],\n listSubscriptionsForAuthenticatedUser: [\"GET /user/marketplace_purchases\"],\n listSubscriptionsForAuthenticatedUserStubbed: [\"GET /user/marketplace_purchases/stubbed\"],\n listWebhookDeliveries: [\"GET /app/hook/deliveries\"],\n redeliverWebhookDelivery: [\"POST /app/hook/deliveries/{delivery_id}/attempts\"],\n removeRepoFromInstallation: [\"DELETE /user/installations/{installation_id}/repositories/{repository_id}\"],\n resetToken: [\"PATCH /applications/{client_id}/token\"],\n revokeInstallationAccessToken: [\"DELETE /installation/token\"],\n scopeToken: [\"POST /applications/{client_id}/token/scoped\"],\n suspendInstallation: [\"PUT /app/installations/{installation_id}/suspended\"],\n unsuspendInstallation: [\"DELETE /app/installations/{installation_id}/suspended\"],\n updateWebhookConfigForApp: [\"PATCH /app/hook/config\"]\n },\n billing: {\n getGithubActionsBillingOrg: [\"GET /orgs/{org}/settings/billing/actions\"],\n getGithubActionsBillingUser: [\"GET /users/{username}/settings/billing/actions\"],\n getGithubPackagesBillingOrg: [\"GET /orgs/{org}/settings/billing/packages\"],\n getGithubPackagesBillingUser: [\"GET /users/{username}/settings/billing/packages\"],\n getSharedStorageBillingOrg: [\"GET /orgs/{org}/settings/billing/shared-storage\"],\n getSharedStorageBillingUser: [\"GET /users/{username}/settings/billing/shared-storage\"]\n },\n checks: {\n create: [\"POST /repos/{owner}/{repo}/check-runs\"],\n createSuite: [\"POST /repos/{owner}/{repo}/check-suites\"],\n get: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}\"],\n getSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}\"],\n listAnnotations: [\"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\"],\n listForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\"],\n listForSuite: [\"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\"],\n listSuitesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\"],\n rerequestSuite: [\"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest\"],\n setSuitesPreferences: [\"PATCH /repos/{owner}/{repo}/check-suites/preferences\"],\n update: [\"PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}\"]\n },\n codeScanning: {\n deleteAnalysis: [\"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}\"],\n getAlert: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\", {}, {\n renamedParameters: {\n alert_id: \"alert_number\"\n }\n }],\n getAnalysis: [\"GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}\"],\n getSarif: [\"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}\"],\n listAlertInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/code-scanning/alerts\"],\n listAlertsInstances: [\"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\", {}, {\n renamed: [\"codeScanning\", \"listAlertInstances\"]\n }],\n listRecentAnalyses: [\"GET /repos/{owner}/{repo}/code-scanning/analyses\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}\"],\n uploadSarif: [\"POST /repos/{owner}/{repo}/code-scanning/sarifs\"]\n },\n codesOfConduct: {\n getAllCodesOfConduct: [\"GET /codes_of_conduct\"],\n getConductCode: [\"GET /codes_of_conduct/{key}\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/community/code_of_conduct\", {\n mediaType: {\n previews: [\"scarlet-witch\"]\n }\n }]\n },\n emojis: {\n get: [\"GET /emojis\"]\n },\n enterpriseAdmin: {\n disableSelectedOrganizationGithubActionsEnterprise: [\"DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n enableSelectedOrganizationGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}\"],\n getAllowedActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n getGithubActionsPermissionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions\"],\n listSelectedOrganizationsEnabledGithubActionsEnterprise: [\"GET /enterprises/{enterprise}/actions/permissions/organizations\"],\n setAllowedActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/selected-actions\"],\n setGithubActionsPermissionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions\"],\n setSelectedOrganizationsEnabledGithubActionsEnterprise: [\"PUT /enterprises/{enterprise}/actions/permissions/organizations\"]\n },\n gists: {\n checkIsStarred: [\"GET /gists/{gist_id}/star\"],\n create: [\"POST /gists\"],\n createComment: [\"POST /gists/{gist_id}/comments\"],\n delete: [\"DELETE /gists/{gist_id}\"],\n deleteComment: [\"DELETE /gists/{gist_id}/comments/{comment_id}\"],\n fork: [\"POST /gists/{gist_id}/forks\"],\n get: [\"GET /gists/{gist_id}\"],\n getComment: [\"GET /gists/{gist_id}/comments/{comment_id}\"],\n getRevision: [\"GET /gists/{gist_id}/{sha}\"],\n list: [\"GET /gists\"],\n listComments: [\"GET /gists/{gist_id}/comments\"],\n listCommits: [\"GET /gists/{gist_id}/commits\"],\n listForUser: [\"GET /users/{username}/gists\"],\n listForks: [\"GET /gists/{gist_id}/forks\"],\n listPublic: [\"GET /gists/public\"],\n listStarred: [\"GET /gists/starred\"],\n star: [\"PUT /gists/{gist_id}/star\"],\n unstar: [\"DELETE /gists/{gist_id}/star\"],\n update: [\"PATCH /gists/{gist_id}\"],\n updateComment: [\"PATCH /gists/{gist_id}/comments/{comment_id}\"]\n },\n git: {\n createBlob: [\"POST /repos/{owner}/{repo}/git/blobs\"],\n createCommit: [\"POST /repos/{owner}/{repo}/git/commits\"],\n createRef: [\"POST /repos/{owner}/{repo}/git/refs\"],\n createTag: [\"POST /repos/{owner}/{repo}/git/tags\"],\n createTree: [\"POST /repos/{owner}/{repo}/git/trees\"],\n deleteRef: [\"DELETE /repos/{owner}/{repo}/git/refs/{ref}\"],\n getBlob: [\"GET /repos/{owner}/{repo}/git/blobs/{file_sha}\"],\n getCommit: [\"GET /repos/{owner}/{repo}/git/commits/{commit_sha}\"],\n getRef: [\"GET /repos/{owner}/{repo}/git/ref/{ref}\"],\n getTag: [\"GET /repos/{owner}/{repo}/git/tags/{tag_sha}\"],\n getTree: [\"GET /repos/{owner}/{repo}/git/trees/{tree_sha}\"],\n listMatchingRefs: [\"GET /repos/{owner}/{repo}/git/matching-refs/{ref}\"],\n updateRef: [\"PATCH /repos/{owner}/{repo}/git/refs/{ref}\"]\n },\n gitignore: {\n getAllTemplates: [\"GET /gitignore/templates\"],\n getTemplate: [\"GET /gitignore/templates/{name}\"]\n },\n interactions: {\n getRestrictionsForAuthenticatedUser: [\"GET /user/interaction-limits\"],\n getRestrictionsForOrg: [\"GET /orgs/{org}/interaction-limits\"],\n getRestrictionsForRepo: [\"GET /repos/{owner}/{repo}/interaction-limits\"],\n getRestrictionsForYourPublicRepos: [\"GET /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"getRestrictionsForAuthenticatedUser\"]\n }],\n removeRestrictionsForAuthenticatedUser: [\"DELETE /user/interaction-limits\"],\n removeRestrictionsForOrg: [\"DELETE /orgs/{org}/interaction-limits\"],\n removeRestrictionsForRepo: [\"DELETE /repos/{owner}/{repo}/interaction-limits\"],\n removeRestrictionsForYourPublicRepos: [\"DELETE /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"removeRestrictionsForAuthenticatedUser\"]\n }],\n setRestrictionsForAuthenticatedUser: [\"PUT /user/interaction-limits\"],\n setRestrictionsForOrg: [\"PUT /orgs/{org}/interaction-limits\"],\n setRestrictionsForRepo: [\"PUT /repos/{owner}/{repo}/interaction-limits\"],\n setRestrictionsForYourPublicRepos: [\"PUT /user/interaction-limits\", {}, {\n renamed: [\"interactions\", \"setRestrictionsForAuthenticatedUser\"]\n }]\n },\n issues: {\n addAssignees: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n addLabels: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n checkUserCanBeAssigned: [\"GET /repos/{owner}/{repo}/assignees/{assignee}\"],\n create: [\"POST /repos/{owner}/{repo}/issues\"],\n createComment: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n createLabel: [\"POST /repos/{owner}/{repo}/labels\"],\n createMilestone: [\"POST /repos/{owner}/{repo}/milestones\"],\n deleteComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n deleteLabel: [\"DELETE /repos/{owner}/{repo}/labels/{name}\"],\n deleteMilestone: [\"DELETE /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n get: [\"GET /repos/{owner}/{repo}/issues/{issue_number}\"],\n getComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n getEvent: [\"GET /repos/{owner}/{repo}/issues/events/{event_id}\"],\n getLabel: [\"GET /repos/{owner}/{repo}/labels/{name}\"],\n getMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}\"],\n list: [\"GET /issues\"],\n listAssignees: [\"GET /repos/{owner}/{repo}/assignees\"],\n listComments: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\"],\n listCommentsForRepo: [\"GET /repos/{owner}/{repo}/issues/comments\"],\n listEvents: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/events\"],\n listEventsForRepo: [\"GET /repos/{owner}/{repo}/issues/events\"],\n listEventsForTimeline: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\", {\n mediaType: {\n previews: [\"mockingbird\"]\n }\n }],\n listForAuthenticatedUser: [\"GET /user/issues\"],\n listForOrg: [\"GET /orgs/{org}/issues\"],\n listForRepo: [\"GET /repos/{owner}/{repo}/issues\"],\n listLabelsForMilestone: [\"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\"],\n listLabelsForRepo: [\"GET /repos/{owner}/{repo}/labels\"],\n listLabelsOnIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n listMilestones: [\"GET /repos/{owner}/{repo}/milestones\"],\n lock: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n removeAllLabels: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n removeAssignees: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees\"],\n removeLabel: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}\"],\n setLabels: [\"PUT /repos/{owner}/{repo}/issues/{issue_number}/labels\"],\n unlock: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock\"],\n update: [\"PATCH /repos/{owner}/{repo}/issues/{issue_number}\"],\n updateComment: [\"PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}\"],\n updateLabel: [\"PATCH /repos/{owner}/{repo}/labels/{name}\"],\n updateMilestone: [\"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}\"]\n },\n licenses: {\n get: [\"GET /licenses/{license}\"],\n getAllCommonlyUsed: [\"GET /licenses\"],\n getForRepo: [\"GET /repos/{owner}/{repo}/license\"]\n },\n markdown: {\n render: [\"POST /markdown\"],\n renderRaw: [\"POST /markdown/raw\", {\n headers: {\n \"content-type\": \"text/plain; charset=utf-8\"\n }\n }]\n },\n meta: {\n get: [\"GET /meta\"],\n getOctocat: [\"GET /octocat\"],\n getZen: [\"GET /zen\"],\n root: [\"GET /\"]\n },\n migrations: {\n cancelImport: [\"DELETE /repos/{owner}/{repo}/import\"],\n deleteArchiveForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/archive\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n deleteArchiveForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/archive\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n downloadArchiveForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/archive\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n getArchiveForAuthenticatedUser: [\"GET /user/migrations/{migration_id}/archive\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n getCommitAuthors: [\"GET /repos/{owner}/{repo}/import/authors\"],\n getImportStatus: [\"GET /repos/{owner}/{repo}/import\"],\n getLargeFiles: [\"GET /repos/{owner}/{repo}/import/large_files\"],\n getStatusForAuthenticatedUser: [\"GET /user/migrations/{migration_id}\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n getStatusForOrg: [\"GET /orgs/{org}/migrations/{migration_id}\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n listForAuthenticatedUser: [\"GET /user/migrations\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n listForOrg: [\"GET /orgs/{org}/migrations\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n listReposForOrg: [\"GET /orgs/{org}/migrations/{migration_id}/repositories\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n listReposForUser: [\"GET /user/migrations/{migration_id}/repositories\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n mapCommitAuthor: [\"PATCH /repos/{owner}/{repo}/import/authors/{author_id}\"],\n setLfsPreference: [\"PATCH /repos/{owner}/{repo}/import/lfs\"],\n startForAuthenticatedUser: [\"POST /user/migrations\"],\n startForOrg: [\"POST /orgs/{org}/migrations\"],\n startImport: [\"PUT /repos/{owner}/{repo}/import\"],\n unlockRepoForAuthenticatedUser: [\"DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n unlockRepoForOrg: [\"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock\", {\n mediaType: {\n previews: [\"wyandotte\"]\n }\n }],\n updateImport: [\"PATCH /repos/{owner}/{repo}/import\"]\n },\n orgs: {\n blockUser: [\"PUT /orgs/{org}/blocks/{username}\"],\n cancelInvitation: [\"DELETE /orgs/{org}/invitations/{invitation_id}\"],\n checkBlockedUser: [\"GET /orgs/{org}/blocks/{username}\"],\n checkMembershipForUser: [\"GET /orgs/{org}/members/{username}\"],\n checkPublicMembershipForUser: [\"GET /orgs/{org}/public_members/{username}\"],\n convertMemberToOutsideCollaborator: [\"PUT /orgs/{org}/outside_collaborators/{username}\"],\n createInvitation: [\"POST /orgs/{org}/invitations\"],\n createWebhook: [\"POST /orgs/{org}/hooks\"],\n deleteWebhook: [\"DELETE /orgs/{org}/hooks/{hook_id}\"],\n get: [\"GET /orgs/{org}\"],\n getMembershipForAuthenticatedUser: [\"GET /user/memberships/orgs/{org}\"],\n getMembershipForUser: [\"GET /orgs/{org}/memberships/{username}\"],\n getWebhook: [\"GET /orgs/{org}/hooks/{hook_id}\"],\n getWebhookConfigForOrg: [\"GET /orgs/{org}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n list: [\"GET /organizations\"],\n listAppInstallations: [\"GET /orgs/{org}/installations\"],\n listBlockedUsers: [\"GET /orgs/{org}/blocks\"],\n listFailedInvitations: [\"GET /orgs/{org}/failed_invitations\"],\n listForAuthenticatedUser: [\"GET /user/orgs\"],\n listForUser: [\"GET /users/{username}/orgs\"],\n listInvitationTeams: [\"GET /orgs/{org}/invitations/{invitation_id}/teams\"],\n listMembers: [\"GET /orgs/{org}/members\"],\n listMembershipsForAuthenticatedUser: [\"GET /user/memberships/orgs\"],\n listOutsideCollaborators: [\"GET /orgs/{org}/outside_collaborators\"],\n listPendingInvitations: [\"GET /orgs/{org}/invitations\"],\n listPublicMembers: [\"GET /orgs/{org}/public_members\"],\n listWebhookDeliveries: [\"GET /orgs/{org}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /orgs/{org}/hooks\"],\n pingWebhook: [\"POST /orgs/{org}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeMember: [\"DELETE /orgs/{org}/members/{username}\"],\n removeMembershipForUser: [\"DELETE /orgs/{org}/memberships/{username}\"],\n removeOutsideCollaborator: [\"DELETE /orgs/{org}/outside_collaborators/{username}\"],\n removePublicMembershipForAuthenticatedUser: [\"DELETE /orgs/{org}/public_members/{username}\"],\n setMembershipForUser: [\"PUT /orgs/{org}/memberships/{username}\"],\n setPublicMembershipForAuthenticatedUser: [\"PUT /orgs/{org}/public_members/{username}\"],\n unblockUser: [\"DELETE /orgs/{org}/blocks/{username}\"],\n update: [\"PATCH /orgs/{org}\"],\n updateMembershipForAuthenticatedUser: [\"PATCH /user/memberships/orgs/{org}\"],\n updateWebhook: [\"PATCH /orgs/{org}/hooks/{hook_id}\"],\n updateWebhookConfigForOrg: [\"PATCH /orgs/{org}/hooks/{hook_id}/config\"]\n },\n packages: {\n deletePackageForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}\"],\n deletePackageForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}\"],\n deletePackageVersionForAuthenticatedUser: [\"DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n deletePackageVersionForOrg: [\"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getAllPackageVersionsForAPackageOwnedByAnOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByOrg\"]\n }],\n getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\", {}, {\n renamed: [\"packages\", \"getAllPackageVersionsForPackageOwnedByAuthenticatedUser\"]\n }],\n getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByOrg: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\"],\n getAllPackageVersionsForPackageOwnedByUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions\"],\n getPackageForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}\"],\n getPackageForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}\"],\n getPackageForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}\"],\n getPackageVersionForAuthenticatedUser: [\"GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForOrganization: [\"GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n getPackageVersionForUser: [\"GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}\"],\n restorePackageForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}\"],\n restorePackageVersionForAuthenticatedUser: [\"POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"],\n restorePackageVersionForOrg: [\"POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore\"]\n },\n projects: {\n addCollaborator: [\"PUT /projects/{project_id}/collaborators/{username}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n createCard: [\"POST /projects/columns/{column_id}/cards\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n createColumn: [\"POST /projects/{project_id}/columns\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n createForAuthenticatedUser: [\"POST /user/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n createForOrg: [\"POST /orgs/{org}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n createForRepo: [\"POST /repos/{owner}/{repo}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n delete: [\"DELETE /projects/{project_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n deleteCard: [\"DELETE /projects/columns/cards/{card_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n deleteColumn: [\"DELETE /projects/columns/{column_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n get: [\"GET /projects/{project_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n getCard: [\"GET /projects/columns/cards/{card_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n getColumn: [\"GET /projects/columns/{column_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n getPermissionForUser: [\"GET /projects/{project_id}/collaborators/{username}/permission\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listCards: [\"GET /projects/columns/{column_id}/cards\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listCollaborators: [\"GET /projects/{project_id}/collaborators\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listColumns: [\"GET /projects/{project_id}/columns\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listForOrg: [\"GET /orgs/{org}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listForRepo: [\"GET /repos/{owner}/{repo}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listForUser: [\"GET /users/{username}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n moveCard: [\"POST /projects/columns/cards/{card_id}/moves\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n moveColumn: [\"POST /projects/columns/{column_id}/moves\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n removeCollaborator: [\"DELETE /projects/{project_id}/collaborators/{username}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n update: [\"PATCH /projects/{project_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n updateCard: [\"PATCH /projects/columns/cards/{card_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n updateColumn: [\"PATCH /projects/columns/{column_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }]\n },\n pulls: {\n checkIfMerged: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n create: [\"POST /repos/{owner}/{repo}/pulls\"],\n createReplyForReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies\"],\n createReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n createReviewComment: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n deletePendingReview: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n deleteReviewComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n dismissReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals\"],\n get: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}\"],\n getReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n getReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}\"],\n list: [\"GET /repos/{owner}/{repo}/pulls\"],\n listCommentsForReview: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\"],\n listCommits: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\"],\n listFiles: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\"],\n listRequestedReviewers: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n listReviewComments: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\"],\n listReviewCommentsForRepo: [\"GET /repos/{owner}/{repo}/pulls/comments\"],\n listReviews: [\"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\"],\n merge: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge\"],\n removeRequestedReviewers: [\"DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n requestReviewers: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers\"],\n submitReview: [\"POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events\"],\n update: [\"PATCH /repos/{owner}/{repo}/pulls/{pull_number}\"],\n updateBranch: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch\", {\n mediaType: {\n previews: [\"lydian\"]\n }\n }],\n updateReview: [\"PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}\"],\n updateReviewComment: [\"PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}\"]\n },\n rateLimit: {\n get: [\"GET /rate_limit\"]\n },\n reactions: {\n createForCommitComment: [\"POST /repos/{owner}/{repo}/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForIssue: [\"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForIssueComment: [\"POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForPullRequestReviewComment: [\"POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForRelease: [\"POST /repos/{owner}/{repo}/releases/{release_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForTeamDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n createForTeamDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForIssue: [\"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForIssueComment: [\"DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForPullRequestComment: [\"DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForTeamDiscussion: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteForTeamDiscussionComment: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n deleteLegacy: [\"DELETE /reactions/{reaction_id}\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }, {\n deprecated: \"octokit.rest.reactions.deleteLegacy() is deprecated, see https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy\"\n }],\n listForCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n listForIssue: [\"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n listForIssueComment: [\"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n listForPullRequestReviewComment: [\"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n listForTeamDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }],\n listForTeamDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\", {\n mediaType: {\n previews: [\"squirrel-girl\"]\n }\n }]\n },\n repos: {\n acceptInvitation: [\"PATCH /user/repository_invitations/{invitation_id}\"],\n addAppAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n addCollaborator: [\"PUT /repos/{owner}/{repo}/collaborators/{username}\"],\n addStatusCheckContexts: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n addTeamAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n addUserAccessRestrictions: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n checkCollaborator: [\"GET /repos/{owner}/{repo}/collaborators/{username}\"],\n checkVulnerabilityAlerts: [\"GET /repos/{owner}/{repo}/vulnerability-alerts\", {\n mediaType: {\n previews: [\"dorian\"]\n }\n }],\n compareCommits: [\"GET /repos/{owner}/{repo}/compare/{base}...{head}\"],\n compareCommitsWithBasehead: [\"GET /repos/{owner}/{repo}/compare/{basehead}\"],\n createCommitComment: [\"POST /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n createCommitSignatureProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\", {\n mediaType: {\n previews: [\"zzzax\"]\n }\n }],\n createCommitStatus: [\"POST /repos/{owner}/{repo}/statuses/{sha}\"],\n createDeployKey: [\"POST /repos/{owner}/{repo}/keys\"],\n createDeployment: [\"POST /repos/{owner}/{repo}/deployments\"],\n createDeploymentStatus: [\"POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n createDispatchEvent: [\"POST /repos/{owner}/{repo}/dispatches\"],\n createForAuthenticatedUser: [\"POST /user/repos\"],\n createFork: [\"POST /repos/{owner}/{repo}/forks\"],\n createInOrg: [\"POST /orgs/{org}/repos\"],\n createOrUpdateEnvironment: [\"PUT /repos/{owner}/{repo}/environments/{environment_name}\"],\n createOrUpdateFileContents: [\"PUT /repos/{owner}/{repo}/contents/{path}\"],\n createPagesSite: [\"POST /repos/{owner}/{repo}/pages\", {\n mediaType: {\n previews: [\"switcheroo\"]\n }\n }],\n createRelease: [\"POST /repos/{owner}/{repo}/releases\"],\n createUsingTemplate: [\"POST /repos/{template_owner}/{template_repo}/generate\", {\n mediaType: {\n previews: [\"baptiste\"]\n }\n }],\n createWebhook: [\"POST /repos/{owner}/{repo}/hooks\"],\n declineInvitation: [\"DELETE /user/repository_invitations/{invitation_id}\"],\n delete: [\"DELETE /repos/{owner}/{repo}\"],\n deleteAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n deleteAdminBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n deleteAnEnvironment: [\"DELETE /repos/{owner}/{repo}/environments/{environment_name}\"],\n deleteBranchProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection\"],\n deleteCommitComment: [\"DELETE /repos/{owner}/{repo}/comments/{comment_id}\"],\n deleteCommitSignatureProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\", {\n mediaType: {\n previews: [\"zzzax\"]\n }\n }],\n deleteDeployKey: [\"DELETE /repos/{owner}/{repo}/keys/{key_id}\"],\n deleteDeployment: [\"DELETE /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n deleteFile: [\"DELETE /repos/{owner}/{repo}/contents/{path}\"],\n deleteInvitation: [\"DELETE /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n deletePagesSite: [\"DELETE /repos/{owner}/{repo}/pages\", {\n mediaType: {\n previews: [\"switcheroo\"]\n }\n }],\n deletePullRequestReviewProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n deleteRelease: [\"DELETE /repos/{owner}/{repo}/releases/{release_id}\"],\n deleteReleaseAsset: [\"DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n deleteWebhook: [\"DELETE /repos/{owner}/{repo}/hooks/{hook_id}\"],\n disableAutomatedSecurityFixes: [\"DELETE /repos/{owner}/{repo}/automated-security-fixes\", {\n mediaType: {\n previews: [\"london\"]\n }\n }],\n disableVulnerabilityAlerts: [\"DELETE /repos/{owner}/{repo}/vulnerability-alerts\", {\n mediaType: {\n previews: [\"dorian\"]\n }\n }],\n downloadArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\", {}, {\n renamed: [\"repos\", \"downloadZipballArchive\"]\n }],\n downloadTarballArchive: [\"GET /repos/{owner}/{repo}/tarball/{ref}\"],\n downloadZipballArchive: [\"GET /repos/{owner}/{repo}/zipball/{ref}\"],\n enableAutomatedSecurityFixes: [\"PUT /repos/{owner}/{repo}/automated-security-fixes\", {\n mediaType: {\n previews: [\"london\"]\n }\n }],\n enableVulnerabilityAlerts: [\"PUT /repos/{owner}/{repo}/vulnerability-alerts\", {\n mediaType: {\n previews: [\"dorian\"]\n }\n }],\n get: [\"GET /repos/{owner}/{repo}\"],\n getAccessRestrictions: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions\"],\n getAdminBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n getAllEnvironments: [\"GET /repos/{owner}/{repo}/environments\"],\n getAllStatusCheckContexts: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\"],\n getAllTopics: [\"GET /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n getAppsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\"],\n getBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}\"],\n getBranchProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection\"],\n getClones: [\"GET /repos/{owner}/{repo}/traffic/clones\"],\n getCodeFrequencyStats: [\"GET /repos/{owner}/{repo}/stats/code_frequency\"],\n getCollaboratorPermissionLevel: [\"GET /repos/{owner}/{repo}/collaborators/{username}/permission\"],\n getCombinedStatusForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/status\"],\n getCommit: [\"GET /repos/{owner}/{repo}/commits/{ref}\"],\n getCommitActivityStats: [\"GET /repos/{owner}/{repo}/stats/commit_activity\"],\n getCommitComment: [\"GET /repos/{owner}/{repo}/comments/{comment_id}\"],\n getCommitSignatureProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures\", {\n mediaType: {\n previews: [\"zzzax\"]\n }\n }],\n getCommunityProfileMetrics: [\"GET /repos/{owner}/{repo}/community/profile\"],\n getContent: [\"GET /repos/{owner}/{repo}/contents/{path}\"],\n getContributorsStats: [\"GET /repos/{owner}/{repo}/stats/contributors\"],\n getDeployKey: [\"GET /repos/{owner}/{repo}/keys/{key_id}\"],\n getDeployment: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}\"],\n getDeploymentStatus: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}\"],\n getEnvironment: [\"GET /repos/{owner}/{repo}/environments/{environment_name}\"],\n getLatestPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/latest\"],\n getLatestRelease: [\"GET /repos/{owner}/{repo}/releases/latest\"],\n getPages: [\"GET /repos/{owner}/{repo}/pages\"],\n getPagesBuild: [\"GET /repos/{owner}/{repo}/pages/builds/{build_id}\"],\n getPagesHealthCheck: [\"GET /repos/{owner}/{repo}/pages/health\"],\n getParticipationStats: [\"GET /repos/{owner}/{repo}/stats/participation\"],\n getPullRequestReviewProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n getPunchCardStats: [\"GET /repos/{owner}/{repo}/stats/punch_card\"],\n getReadme: [\"GET /repos/{owner}/{repo}/readme\"],\n getReadmeInDirectory: [\"GET /repos/{owner}/{repo}/readme/{dir}\"],\n getRelease: [\"GET /repos/{owner}/{repo}/releases/{release_id}\"],\n getReleaseAsset: [\"GET /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n getReleaseByTag: [\"GET /repos/{owner}/{repo}/releases/tags/{tag}\"],\n getStatusChecksProtection: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n getTeamsWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\"],\n getTopPaths: [\"GET /repos/{owner}/{repo}/traffic/popular/paths\"],\n getTopReferrers: [\"GET /repos/{owner}/{repo}/traffic/popular/referrers\"],\n getUsersWithAccessToProtectedBranch: [\"GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\"],\n getViews: [\"GET /repos/{owner}/{repo}/traffic/views\"],\n getWebhook: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}\"],\n getWebhookConfigForRepo: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n getWebhookDelivery: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}\"],\n listBranches: [\"GET /repos/{owner}/{repo}/branches\"],\n listBranchesForHeadCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head\", {\n mediaType: {\n previews: [\"groot\"]\n }\n }],\n listCollaborators: [\"GET /repos/{owner}/{repo}/collaborators\"],\n listCommentsForCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\"],\n listCommitCommentsForRepo: [\"GET /repos/{owner}/{repo}/comments\"],\n listCommitStatusesForRef: [\"GET /repos/{owner}/{repo}/commits/{ref}/statuses\"],\n listCommits: [\"GET /repos/{owner}/{repo}/commits\"],\n listContributors: [\"GET /repos/{owner}/{repo}/contributors\"],\n listDeployKeys: [\"GET /repos/{owner}/{repo}/keys\"],\n listDeploymentStatuses: [\"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\"],\n listDeployments: [\"GET /repos/{owner}/{repo}/deployments\"],\n listForAuthenticatedUser: [\"GET /user/repos\"],\n listForOrg: [\"GET /orgs/{org}/repos\"],\n listForUser: [\"GET /users/{username}/repos\"],\n listForks: [\"GET /repos/{owner}/{repo}/forks\"],\n listInvitations: [\"GET /repos/{owner}/{repo}/invitations\"],\n listInvitationsForAuthenticatedUser: [\"GET /user/repository_invitations\"],\n listLanguages: [\"GET /repos/{owner}/{repo}/languages\"],\n listPagesBuilds: [\"GET /repos/{owner}/{repo}/pages/builds\"],\n listPublic: [\"GET /repositories\"],\n listPullRequestsAssociatedWithCommit: [\"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\", {\n mediaType: {\n previews: [\"groot\"]\n }\n }],\n listReleaseAssets: [\"GET /repos/{owner}/{repo}/releases/{release_id}/assets\"],\n listReleases: [\"GET /repos/{owner}/{repo}/releases\"],\n listTags: [\"GET /repos/{owner}/{repo}/tags\"],\n listTeams: [\"GET /repos/{owner}/{repo}/teams\"],\n listWebhookDeliveries: [\"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\"],\n listWebhooks: [\"GET /repos/{owner}/{repo}/hooks\"],\n merge: [\"POST /repos/{owner}/{repo}/merges\"],\n pingWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/pings\"],\n redeliverWebhookDelivery: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts\"],\n removeAppAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n removeCollaborator: [\"DELETE /repos/{owner}/{repo}/collaborators/{username}\"],\n removeStatusCheckContexts: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n removeStatusCheckProtection: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n removeTeamAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n removeUserAccessRestrictions: [\"DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n renameBranch: [\"POST /repos/{owner}/{repo}/branches/{branch}/rename\"],\n replaceAllTopics: [\"PUT /repos/{owner}/{repo}/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n requestPagesBuild: [\"POST /repos/{owner}/{repo}/pages/builds\"],\n setAdminBranchProtection: [\"POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins\"],\n setAppAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps\", {}, {\n mapToData: \"apps\"\n }],\n setStatusCheckContexts: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts\", {}, {\n mapToData: \"contexts\"\n }],\n setTeamAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams\", {}, {\n mapToData: \"teams\"\n }],\n setUserAccessRestrictions: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users\", {}, {\n mapToData: \"users\"\n }],\n testPushWebhook: [\"POST /repos/{owner}/{repo}/hooks/{hook_id}/tests\"],\n transfer: [\"POST /repos/{owner}/{repo}/transfer\"],\n update: [\"PATCH /repos/{owner}/{repo}\"],\n updateBranchProtection: [\"PUT /repos/{owner}/{repo}/branches/{branch}/protection\"],\n updateCommitComment: [\"PATCH /repos/{owner}/{repo}/comments/{comment_id}\"],\n updateInformationAboutPagesSite: [\"PUT /repos/{owner}/{repo}/pages\"],\n updateInvitation: [\"PATCH /repos/{owner}/{repo}/invitations/{invitation_id}\"],\n updatePullRequestReviewProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews\"],\n updateRelease: [\"PATCH /repos/{owner}/{repo}/releases/{release_id}\"],\n updateReleaseAsset: [\"PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}\"],\n updateStatusCheckPotection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\", {}, {\n renamed: [\"repos\", \"updateStatusCheckProtection\"]\n }],\n updateStatusCheckProtection: [\"PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks\"],\n updateWebhook: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}\"],\n updateWebhookConfigForRepo: [\"PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config\"],\n uploadReleaseAsset: [\"POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}\", {\n baseUrl: \"https://uploads.github.com\"\n }]\n },\n search: {\n code: [\"GET /search/code\"],\n commits: [\"GET /search/commits\", {\n mediaType: {\n previews: [\"cloak\"]\n }\n }],\n issuesAndPullRequests: [\"GET /search/issues\"],\n labels: [\"GET /search/labels\"],\n repos: [\"GET /search/repositories\"],\n topics: [\"GET /search/topics\", {\n mediaType: {\n previews: [\"mercy\"]\n }\n }],\n users: [\"GET /search/users\"]\n },\n secretScanning: {\n getAlert: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"],\n listAlertsForRepo: [\"GET /repos/{owner}/{repo}/secret-scanning/alerts\"],\n updateAlert: [\"PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}\"]\n },\n teams: {\n addOrUpdateMembershipForUserInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n addOrUpdateProjectPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n addOrUpdateRepoPermissionsInOrg: [\"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n checkPermissionsForProjectInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n checkPermissionsForRepoInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n create: [\"POST /orgs/{org}/teams\"],\n createDiscussionCommentInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n createDiscussionInOrg: [\"POST /orgs/{org}/teams/{team_slug}/discussions\"],\n deleteDiscussionCommentInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n deleteDiscussionInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n deleteInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}\"],\n getByName: [\"GET /orgs/{org}/teams/{team_slug}\"],\n getDiscussionCommentInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n getDiscussionInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n getMembershipForUserInOrg: [\"GET /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n list: [\"GET /orgs/{org}/teams\"],\n listChildInOrg: [\"GET /orgs/{org}/teams/{team_slug}/teams\"],\n listDiscussionCommentsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\"],\n listDiscussionsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/discussions\"],\n listForAuthenticatedUser: [\"GET /user/teams\"],\n listMembersInOrg: [\"GET /orgs/{org}/teams/{team_slug}/members\"],\n listPendingInvitationsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/invitations\"],\n listProjectsInOrg: [\"GET /orgs/{org}/teams/{team_slug}/projects\", {\n mediaType: {\n previews: [\"inertia\"]\n }\n }],\n listReposInOrg: [\"GET /orgs/{org}/teams/{team_slug}/repos\"],\n removeMembershipForUserInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}\"],\n removeProjectInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}\"],\n removeRepoInOrg: [\"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}\"],\n updateDiscussionCommentInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}\"],\n updateDiscussionInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}\"],\n updateInOrg: [\"PATCH /orgs/{org}/teams/{team_slug}\"]\n },\n users: {\n addEmailForAuthenticated: [\"POST /user/emails\"],\n block: [\"PUT /user/blocks/{username}\"],\n checkBlocked: [\"GET /user/blocks/{username}\"],\n checkFollowingForUser: [\"GET /users/{username}/following/{target_user}\"],\n checkPersonIsFollowedByAuthenticated: [\"GET /user/following/{username}\"],\n createGpgKeyForAuthenticated: [\"POST /user/gpg_keys\"],\n createPublicSshKeyForAuthenticated: [\"POST /user/keys\"],\n deleteEmailForAuthenticated: [\"DELETE /user/emails\"],\n deleteGpgKeyForAuthenticated: [\"DELETE /user/gpg_keys/{gpg_key_id}\"],\n deletePublicSshKeyForAuthenticated: [\"DELETE /user/keys/{key_id}\"],\n follow: [\"PUT /user/following/{username}\"],\n getAuthenticated: [\"GET /user\"],\n getByUsername: [\"GET /users/{username}\"],\n getContextForUser: [\"GET /users/{username}/hovercard\"],\n getGpgKeyForAuthenticated: [\"GET /user/gpg_keys/{gpg_key_id}\"],\n getPublicSshKeyForAuthenticated: [\"GET /user/keys/{key_id}\"],\n list: [\"GET /users\"],\n listBlockedByAuthenticated: [\"GET /user/blocks\"],\n listEmailsForAuthenticated: [\"GET /user/emails\"],\n listFollowedByAuthenticated: [\"GET /user/following\"],\n listFollowersForAuthenticatedUser: [\"GET /user/followers\"],\n listFollowersForUser: [\"GET /users/{username}/followers\"],\n listFollowingForUser: [\"GET /users/{username}/following\"],\n listGpgKeysForAuthenticated: [\"GET /user/gpg_keys\"],\n listGpgKeysForUser: [\"GET /users/{username}/gpg_keys\"],\n listPublicEmailsForAuthenticated: [\"GET /user/public_emails\"],\n listPublicKeysForUser: [\"GET /users/{username}/keys\"],\n listPublicSshKeysForAuthenticated: [\"GET /user/keys\"],\n setPrimaryEmailVisibilityForAuthenticated: [\"PATCH /user/email/visibility\"],\n unblock: [\"DELETE /user/blocks/{username}\"],\n unfollow: [\"DELETE /user/following/{username}\"],\n updateAuthenticated: [\"PATCH /user\"]\n }\n};\n\nconst VERSION = \"5.4.2\";\n\nfunction endpointsToMethods(octokit, endpointsMap) {\n const newMethods = {};\n\n for (const [scope, endpoints] of Object.entries(endpointsMap)) {\n for (const [methodName, endpoint] of Object.entries(endpoints)) {\n const [route, defaults, decorations] = endpoint;\n const [method, url] = route.split(/ /);\n const endpointDefaults = Object.assign({\n method,\n url\n }, defaults);\n\n if (!newMethods[scope]) {\n newMethods[scope] = {};\n }\n\n const scopeMethods = newMethods[scope];\n\n if (decorations) {\n scopeMethods[methodName] = decorate(octokit, scope, methodName, endpointDefaults, decorations);\n continue;\n }\n\n scopeMethods[methodName] = octokit.request.defaults(endpointDefaults);\n }\n }\n\n return newMethods;\n}\n\nfunction decorate(octokit, scope, methodName, defaults, decorations) {\n const requestWithDefaults = octokit.request.defaults(defaults);\n /* istanbul ignore next */\n\n function withDecorations(...args) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n let options = requestWithDefaults.endpoint.merge(...args); // There are currently no other decorations than `.mapToData`\n\n if (decorations.mapToData) {\n options = Object.assign({}, options, {\n data: options[decorations.mapToData],\n [decorations.mapToData]: undefined\n });\n return requestWithDefaults(options);\n }\n\n if (decorations.renamed) {\n const [newScope, newMethodName] = decorations.renamed;\n octokit.log.warn(`octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()`);\n }\n\n if (decorations.deprecated) {\n octokit.log.warn(decorations.deprecated);\n }\n\n if (decorations.renamedParameters) {\n // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n const options = requestWithDefaults.endpoint.merge(...args);\n\n for (const [name, alias] of Object.entries(decorations.renamedParameters)) {\n if (name in options) {\n octokit.log.warn(`\"${name}\" parameter is deprecated for \"octokit.${scope}.${methodName}()\". Use \"${alias}\" instead`);\n\n if (!(alias in options)) {\n options[alias] = options[name];\n }\n\n delete options[name];\n }\n }\n\n return requestWithDefaults(options);\n } // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488\n\n\n return requestWithDefaults(...args);\n }\n\n return Object.assign(withDecorations, requestWithDefaults);\n}\n\nfunction restEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return {\n rest: api\n };\n}\nrestEndpointMethods.VERSION = VERSION;\nfunction legacyRestEndpointMethods(octokit) {\n const api = endpointsToMethods(octokit, Endpoints);\n return _objectSpread2(_objectSpread2({}, api), {}, {\n rest: api\n });\n}\nlegacyRestEndpointMethods.VERSION = VERSION;\n\nexports.legacyRestEndpointMethods = legacyRestEndpointMethods;\nexports.restEndpointMethods = restEndpointMethods;\n//# sourceMappingURL=index.js.map\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 deprecation = require('deprecation');\nvar once = _interopDefault(require('once'));\n\nconst logOnceCode = once(deprecation => console.warn(deprecation));\nconst logOnceHeaders = once(deprecation => console.warn(deprecation));\n/**\n * Error with extra properties to help with debugging\n */\n\nclass RequestError extends Error {\n constructor(message, statusCode, options) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = \"HttpError\";\n this.status = statusCode;\n let headers;\n\n if (\"headers\" in options && typeof options.headers !== \"undefined\") {\n headers = options.headers;\n }\n\n if (\"response\" in options) {\n this.response = options.response;\n headers = options.response.headers;\n } // redact request credentials without mutating original request options\n\n\n const requestCopy = Object.assign({}, options.request);\n\n if (options.request.headers.authorization) {\n requestCopy.headers = Object.assign({}, options.request.headers, {\n authorization: options.request.headers.authorization.replace(/ .*$/, \" [REDACTED]\")\n });\n }\n\n requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit\n // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications\n .replace(/\\bclient_secret=\\w+/g, \"client_secret=[REDACTED]\") // OAuth tokens can be passed as URL query parameters, although it is not recommended\n // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header\n .replace(/\\baccess_token=\\w+/g, \"access_token=[REDACTED]\");\n this.request = requestCopy; // deprecations\n\n Object.defineProperty(this, \"code\", {\n get() {\n logOnceCode(new deprecation.Deprecation(\"[@octokit/request-error] `error.code` is deprecated, use `error.status`.\"));\n return statusCode;\n }\n\n });\n Object.defineProperty(this, \"headers\", {\n get() {\n logOnceHeaders(new deprecation.Deprecation(\"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.\"));\n return headers || {};\n }\n\n });\n }\n\n}\n\nexports.RequestError = RequestError;\n//# sourceMappingURL=index.js.map\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 endpoint = require('@octokit/endpoint');\nvar universalUserAgent = require('universal-user-agent');\nvar isPlainObject = require('is-plain-object');\nvar nodeFetch = _interopDefault(require('node-fetch'));\nvar requestError = require('@octokit/request-error');\n\nconst VERSION = \"5.6.0\";\n\nfunction getBufferResponse(response) {\n return response.arrayBuffer();\n}\n\nfunction fetchWrapper(requestOptions) {\n const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;\n\n if (isPlainObject.isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {\n requestOptions.body = JSON.stringify(requestOptions.body);\n }\n\n let headers = {};\n let status;\n let url;\n const fetch = requestOptions.request && requestOptions.request.fetch || nodeFetch;\n return fetch(requestOptions.url, Object.assign({\n method: requestOptions.method,\n body: requestOptions.body,\n headers: requestOptions.headers,\n redirect: requestOptions.redirect\n }, // `requestOptions.request.agent` type is incompatible\n // see https://github.com/octokit/types.ts/pull/264\n requestOptions.request)).then(async response => {\n url = response.url;\n status = response.status;\n\n for (const keyAndValue of response.headers) {\n headers[keyAndValue[0]] = keyAndValue[1];\n }\n\n if (\"deprecation\" in headers) {\n const matches = headers.link && headers.link.match(/<([^>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(`[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`);\n }\n\n if (status === 204 || status === 205) {\n return;\n } // GitHub API returns 200 for HEAD requests\n\n\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return;\n }\n\n throw new requestError.RequestError(response.statusText, status, {\n response: {\n url,\n status,\n headers,\n data: undefined\n },\n request: requestOptions\n });\n }\n\n if (status === 304) {\n throw new requestError.RequestError(\"Not modified\", status, {\n response: {\n url,\n status,\n headers,\n data: await getResponseData(response)\n },\n request: requestOptions\n });\n }\n\n if (status >= 400) {\n const data = await getResponseData(response);\n const error = new requestError.RequestError(toErrorMessage(data), status, {\n response: {\n url,\n status,\n headers,\n data\n },\n request: requestOptions\n });\n throw error;\n }\n\n return getResponseData(response);\n }).then(data => {\n return {\n status,\n url,\n headers,\n data\n };\n }).catch(error => {\n if (error instanceof requestError.RequestError) throw error;\n throw new requestError.RequestError(error.message, 500, {\n request: requestOptions\n });\n });\n}\n\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n\n if (/application\\/json/.test(contentType)) {\n return response.json();\n }\n\n if (!contentType || /^text\\/|charset=utf-8$/.test(contentType)) {\n return response.text();\n }\n\n return getBufferResponse(response);\n}\n\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") return data; // istanbul ignore else - just in case\n\n if (\"message\" in data) {\n if (Array.isArray(data.errors)) {\n return `${data.message}: ${data.errors.map(JSON.stringify).join(\", \")}`;\n }\n\n return data.message;\n } // istanbul ignore next - just in case\n\n\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint = oldEndpoint.defaults(newDefaults);\n\n const newApi = function (route, parameters) {\n const endpointOptions = endpoint.merge(route, parameters);\n\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint.parse(endpointOptions));\n }\n\n const request = (route, parameters) => {\n return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters)));\n };\n\n Object.assign(request, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n return endpointOptions.request.hook(request, endpointOptions);\n };\n\n return Object.assign(newApi, {\n endpoint,\n defaults: withDefaults.bind(null, endpoint)\n });\n}\n\nconst request = withDefaults(endpoint.endpoint, {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${universalUserAgent.getUserAgent()}`\n }\n});\n\nexports.request = request;\n//# sourceMappingURL=index.js.map\n","module.exports =\n{\n parallel : require('./parallel.js'),\n serial : require('./serial.js'),\n serialOrdered : require('./serialOrdered.js')\n};\n","// API\nmodule.exports = abort;\n\n/**\n * Aborts leftover active jobs\n *\n * @param {object} state - current state object\n */\nfunction abort(state)\n{\n Object.keys(state.jobs).forEach(clean.bind(state));\n\n // reset leftover jobs\n state.jobs = {};\n}\n\n/**\n * Cleans up leftover job by invoking abort function for the provided job id\n *\n * @this state\n * @param {string|number} key - job id to abort\n */\nfunction clean(key)\n{\n if (typeof this.jobs[key] == 'function')\n {\n this.jobs[key]();\n }\n}\n","var defer = require('./defer.js');\n\n// API\nmodule.exports = async;\n\n/**\n * Runs provided callback asynchronously\n * even if callback itself is not\n *\n * @param {function} callback - callback to invoke\n * @returns {function} - augmented callback\n */\nfunction async(callback)\n{\n var isAsync = false;\n\n // check if async happened\n defer(function() { isAsync = true; });\n\n return function async_callback(err, result)\n {\n if (isAsync)\n {\n callback(err, result);\n }\n else\n {\n defer(function nextTick_callback()\n {\n callback(err, result);\n });\n }\n };\n}\n","module.exports = defer;\n\n/**\n * Runs provided function on next iteration of the event loop\n *\n * @param {function} fn - function to run\n */\nfunction defer(fn)\n{\n var nextTick = typeof setImmediate == 'function'\n ? setImmediate\n : (\n typeof process == 'object' && typeof process.nextTick == 'function'\n ? process.nextTick\n : null\n );\n\n if (nextTick)\n {\n nextTick(fn);\n }\n else\n {\n setTimeout(fn, 0);\n }\n}\n","var async = require('./async.js')\n , abort = require('./abort.js')\n ;\n\n// API\nmodule.exports = iterate;\n\n/**\n * Iterates over each job object\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {object} state - current job status\n * @param {function} callback - invoked when all elements processed\n */\nfunction iterate(list, iterator, state, callback)\n{\n // store current index\n var key = state['keyedList'] ? state['keyedList'][state.index] : state.index;\n\n state.jobs[key] = runJob(iterator, key, list[key], function(error, output)\n {\n // don't repeat yourself\n // skip secondary callbacks\n if (!(key in state.jobs))\n {\n return;\n }\n\n // clean up jobs\n delete state.jobs[key];\n\n if (error)\n {\n // don't process rest of the results\n // stop still active jobs\n // and reset the list\n abort(state);\n }\n else\n {\n state.results[key] = output;\n }\n\n // return salvaged results\n callback(error, state.results);\n });\n}\n\n/**\n * Runs iterator over provided job element\n *\n * @param {function} iterator - iterator to invoke\n * @param {string|number} key - key/index of the element in the list of jobs\n * @param {mixed} item - job description\n * @param {function} callback - invoked after iterator is done with the job\n * @returns {function|mixed} - job abort function or something else\n */\nfunction runJob(iterator, key, item, callback)\n{\n var aborter;\n\n // allow shortcut if iterator expects only two arguments\n if (iterator.length == 2)\n {\n aborter = iterator(item, async(callback));\n }\n // otherwise go with full three arguments\n else\n {\n aborter = iterator(item, key, async(callback));\n }\n\n return aborter;\n}\n","// API\nmodule.exports = state;\n\n/**\n * Creates initial state object\n * for iteration over list\n *\n * @param {array|object} list - list to iterate over\n * @param {function|null} sortMethod - function to use for keys sort,\n * or `null` to keep them as is\n * @returns {object} - initial state object\n */\nfunction state(list, sortMethod)\n{\n var isNamedList = !Array.isArray(list)\n , initState =\n {\n index : 0,\n keyedList: isNamedList || sortMethod ? Object.keys(list) : null,\n jobs : {},\n results : isNamedList ? {} : [],\n size : isNamedList ? Object.keys(list).length : list.length\n }\n ;\n\n if (sortMethod)\n {\n // sort array keys based on it's values\n // sort object's keys just on own merit\n initState.keyedList.sort(isNamedList ? sortMethod : function(a, b)\n {\n return sortMethod(list[a], list[b]);\n });\n }\n\n return initState;\n}\n","var abort = require('./abort.js')\n , async = require('./async.js')\n ;\n\n// API\nmodule.exports = terminator;\n\n/**\n * Terminates jobs in the attached state context\n *\n * @this AsyncKitState#\n * @param {function} callback - final callback to invoke after termination\n */\nfunction terminator(callback)\n{\n if (!Object.keys(this.jobs).length)\n {\n return;\n }\n\n // fast forward iteration index\n this.index = this.size;\n\n // abort jobs\n abort(this);\n\n // send back results we have so far\n async(callback)(null, this.results);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = parallel;\n\n/**\n * Runs iterator over provided array elements in parallel\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction parallel(list, iterator, callback)\n{\n var state = initState(list);\n\n while (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, function(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n // looks like it's the last one\n if (Object.keys(state.jobs).length === 0)\n {\n callback(null, state.results);\n return;\n }\n });\n\n state.index++;\n }\n\n return terminator.bind(state, callback);\n}\n","var serialOrdered = require('./serialOrdered.js');\n\n// Public API\nmodule.exports = serial;\n\n/**\n * Runs iterator over provided array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serial(list, iterator, callback)\n{\n return serialOrdered(list, iterator, null, callback);\n}\n","var iterate = require('./lib/iterate.js')\n , initState = require('./lib/state.js')\n , terminator = require('./lib/terminator.js')\n ;\n\n// Public API\nmodule.exports = serialOrdered;\n// sorting helpers\nmodule.exports.ascending = ascending;\nmodule.exports.descending = descending;\n\n/**\n * Runs iterator over provided sorted array elements in series\n *\n * @param {array|object} list - array or object (named list) to iterate over\n * @param {function} iterator - iterator to run\n * @param {function} sortMethod - custom sort function\n * @param {function} callback - invoked when all elements processed\n * @returns {function} - jobs terminator\n */\nfunction serialOrdered(list, iterator, sortMethod, callback)\n{\n var state = initState(list, sortMethod);\n\n iterate(list, iterator, state, function iteratorHandler(error, result)\n {\n if (error)\n {\n callback(error, result);\n return;\n }\n\n state.index++;\n\n // are we there yet?\n if (state.index < (state['keyedList'] || list).length)\n {\n iterate(list, iterator, state, iteratorHandler);\n return;\n }\n\n // done here\n callback(null, state.results);\n });\n\n return terminator.bind(state, callback);\n}\n\n/*\n * -- Sort methods\n */\n\n/**\n * sort helper to sort array elements in ascending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction ascending(a, b)\n{\n return a < b ? -1 : a > b ? 1 : 0;\n}\n\n/**\n * sort helper to sort array elements in descending order\n *\n * @param {mixed} a - an item to compare\n * @param {mixed} b - an item to compare\n * @returns {number} - comparison result\n */\nfunction descending(a, b)\n{\n return -1 * ascending(a, b);\n}\n","var register = require('./lib/register')\nvar addHook = require('./lib/add')\nvar removeHook = require('./lib/remove')\n\n// bind with array of arguments: https://stackoverflow.com/a/21792913\nvar bind = Function.bind\nvar bindable = bind.bind(bind)\n\nfunction bindApi (hook, state, name) {\n var removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state])\n hook.api = { remove: removeHookRef }\n hook.remove = removeHookRef\n\n ;['before', 'error', 'after', 'wrap'].forEach(function (kind) {\n var args = name ? [state, kind, name] : [state, kind]\n hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args)\n })\n}\n\nfunction HookSingular () {\n var singularHookName = 'h'\n var singularHookState = {\n registry: {}\n }\n var singularHook = register.bind(null, singularHookState, singularHookName)\n bindApi(singularHook, singularHookState, singularHookName)\n return singularHook\n}\n\nfunction HookCollection () {\n var state = {\n registry: {}\n }\n\n var hook = register.bind(null, state)\n bindApi(hook, state)\n\n return hook\n}\n\nvar collectionHookDeprecationMessageDisplayed = false\nfunction Hook () {\n if (!collectionHookDeprecationMessageDisplayed) {\n console.warn('[before-after-hook]: \"Hook()\" repurposing warning, use \"Hook.Collection()\". Read more: https://git.io/upgrade-before-after-hook-to-1.4')\n collectionHookDeprecationMessageDisplayed = true\n }\n return HookCollection()\n}\n\nHook.Singular = HookSingular.bind()\nHook.Collection = HookCollection.bind()\n\nmodule.exports = Hook\n// expose constructors as a named property for TypeScript\nmodule.exports.Hook = Hook\nmodule.exports.Singular = Hook.Singular\nmodule.exports.Collection = Hook.Collection\n","module.exports = addHook;\n\nfunction addHook(state, kind, name, hook) {\n var orig = hook;\n if (!state.registry[name]) {\n state.registry[name] = [];\n }\n\n if (kind === \"before\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(orig.bind(null, options))\n .then(method.bind(null, options));\n };\n }\n\n if (kind === \"after\") {\n hook = function (method, options) {\n var result;\n return Promise.resolve()\n .then(method.bind(null, options))\n .then(function (result_) {\n result = result_;\n return orig(result, options);\n })\n .then(function () {\n return result;\n });\n };\n }\n\n if (kind === \"error\") {\n hook = function (method, options) {\n return Promise.resolve()\n .then(method.bind(null, options))\n .catch(function (error) {\n return orig(error, options);\n });\n };\n }\n\n state.registry[name].push({\n hook: hook,\n orig: orig,\n });\n}\n","module.exports = register;\n\nfunction register(state, name, method, options) {\n if (typeof method !== \"function\") {\n throw new Error(\"method for before hook must be a function\");\n }\n\n if (!options) {\n options = {};\n }\n\n if (Array.isArray(name)) {\n return name.reverse().reduce(function (callback, name) {\n return register.bind(null, state, name, callback, options);\n }, method)();\n }\n\n return Promise.resolve().then(function () {\n if (!state.registry[name]) {\n return method(options);\n }\n\n return state.registry[name].reduce(function (method, registered) {\n return registered.hook.bind(null, method, options);\n }, method)();\n });\n}\n","module.exports = removeHook;\n\nfunction removeHook(state, name, method) {\n if (!state.registry[name]) {\n return;\n }\n\n var index = state.registry[name]\n .map(function (registered) {\n return registered.orig;\n })\n .indexOf(method);\n\n if (index === -1) {\n return;\n }\n\n state.registry[name].splice(index, 1);\n}\n","var util = require('util');\nvar Stream = require('stream').Stream;\nvar DelayedStream = require('delayed-stream');\n\nmodule.exports = CombinedStream;\nfunction CombinedStream() {\n this.writable = false;\n this.readable = true;\n this.dataSize = 0;\n this.maxDataSize = 2 * 1024 * 1024;\n this.pauseStreams = true;\n\n this._released = false;\n this._streams = [];\n this._currentStream = null;\n this._insideLoop = false;\n this._pendingNext = false;\n}\nutil.inherits(CombinedStream, Stream);\n\nCombinedStream.create = function(options) {\n var combinedStream = new this();\n\n options = options || {};\n for (var option in options) {\n combinedStream[option] = options[option];\n }\n\n return combinedStream;\n};\n\nCombinedStream.isStreamLike = function(stream) {\n return (typeof stream !== 'function')\n && (typeof stream !== 'string')\n && (typeof stream !== 'boolean')\n && (typeof stream !== 'number')\n && (!Buffer.isBuffer(stream));\n};\n\nCombinedStream.prototype.append = function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n\n if (isStreamLike) {\n if (!(stream instanceof DelayedStream)) {\n var newStream = DelayedStream.create(stream, {\n maxDataSize: Infinity,\n pauseStream: this.pauseStreams,\n });\n stream.on('data', this._checkDataSize.bind(this));\n stream = newStream;\n }\n\n this._handleErrors(stream);\n\n if (this.pauseStreams) {\n stream.pause();\n }\n }\n\n this._streams.push(stream);\n return this;\n};\n\nCombinedStream.prototype.pipe = function(dest, options) {\n Stream.prototype.pipe.call(this, dest, options);\n this.resume();\n return dest;\n};\n\nCombinedStream.prototype._getNext = function() {\n this._currentStream = null;\n\n if (this._insideLoop) {\n this._pendingNext = true;\n return; // defer call\n }\n\n this._insideLoop = true;\n try {\n do {\n this._pendingNext = false;\n this._realGetNext();\n } while (this._pendingNext);\n } finally {\n this._insideLoop = false;\n }\n};\n\nCombinedStream.prototype._realGetNext = function() {\n var stream = this._streams.shift();\n\n\n if (typeof stream == 'undefined') {\n this.end();\n return;\n }\n\n if (typeof stream !== 'function') {\n this._pipeNext(stream);\n return;\n }\n\n var getStream = stream;\n getStream(function(stream) {\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('data', this._checkDataSize.bind(this));\n this._handleErrors(stream);\n }\n\n this._pipeNext(stream);\n }.bind(this));\n};\n\nCombinedStream.prototype._pipeNext = function(stream) {\n this._currentStream = stream;\n\n var isStreamLike = CombinedStream.isStreamLike(stream);\n if (isStreamLike) {\n stream.on('end', this._getNext.bind(this));\n stream.pipe(this, {end: false});\n return;\n }\n\n var value = stream;\n this.write(value);\n this._getNext();\n};\n\nCombinedStream.prototype._handleErrors = function(stream) {\n var self = this;\n stream.on('error', function(err) {\n self._emitError(err);\n });\n};\n\nCombinedStream.prototype.write = function(data) {\n this.emit('data', data);\n};\n\nCombinedStream.prototype.pause = function() {\n if (!this.pauseStreams) {\n return;\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();\n this.emit('pause');\n};\n\nCombinedStream.prototype.resume = function() {\n if (!this._released) {\n this._released = true;\n this.writable = true;\n this._getNext();\n }\n\n if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();\n this.emit('resume');\n};\n\nCombinedStream.prototype.end = function() {\n this._reset();\n this.emit('end');\n};\n\nCombinedStream.prototype.destroy = function() {\n this._reset();\n this.emit('close');\n};\n\nCombinedStream.prototype._reset = function() {\n this.writable = false;\n this._streams = [];\n this._currentStream = null;\n};\n\nCombinedStream.prototype._checkDataSize = function() {\n this._updateDataSize();\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';\n this._emitError(new Error(message));\n};\n\nCombinedStream.prototype._updateDataSize = function() {\n this.dataSize = 0;\n\n var self = this;\n this._streams.forEach(function(stream) {\n if (!stream.dataSize) {\n return;\n }\n\n self.dataSize += stream.dataSize;\n });\n\n if (this._currentStream && this._currentStream.dataSize) {\n this.dataSize += this._currentStream.dataSize;\n }\n};\n\nCombinedStream.prototype._emitError = function(err) {\n this._reset();\n this.emit('error', err);\n};\n","var Stream = require('stream').Stream;\nvar util = require('util');\n\nmodule.exports = DelayedStream;\nfunction DelayedStream() {\n this.source = null;\n this.dataSize = 0;\n this.maxDataSize = 1024 * 1024;\n this.pauseStream = true;\n\n this._maxDataSizeExceeded = false;\n this._released = false;\n this._bufferedEvents = [];\n}\nutil.inherits(DelayedStream, Stream);\n\nDelayedStream.create = function(source, options) {\n var delayedStream = new this();\n\n options = options || {};\n for (var option in options) {\n delayedStream[option] = options[option];\n }\n\n delayedStream.source = source;\n\n var realEmit = source.emit;\n source.emit = function() {\n delayedStream._handleEmit(arguments);\n return realEmit.apply(source, arguments);\n };\n\n source.on('error', function() {});\n if (delayedStream.pauseStream) {\n source.pause();\n }\n\n return delayedStream;\n};\n\nObject.defineProperty(DelayedStream.prototype, 'readable', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.source.readable;\n }\n});\n\nDelayedStream.prototype.setEncoding = function() {\n return this.source.setEncoding.apply(this.source, arguments);\n};\n\nDelayedStream.prototype.resume = function() {\n if (!this._released) {\n this.release();\n }\n\n this.source.resume();\n};\n\nDelayedStream.prototype.pause = function() {\n this.source.pause();\n};\n\nDelayedStream.prototype.release = function() {\n this._released = true;\n\n this._bufferedEvents.forEach(function(args) {\n this.emit.apply(this, args);\n }.bind(this));\n this._bufferedEvents = [];\n};\n\nDelayedStream.prototype.pipe = function() {\n var r = Stream.prototype.pipe.apply(this, arguments);\n this.resume();\n return r;\n};\n\nDelayedStream.prototype._handleEmit = function(args) {\n if (this._released) {\n this.emit.apply(this, args);\n return;\n }\n\n if (args[0] === 'data') {\n this.dataSize += args[1].length;\n this._checkIfMaxDataSizeExceeded();\n }\n\n this._bufferedEvents.push(args);\n};\n\nDelayedStream.prototype._checkIfMaxDataSizeExceeded = function() {\n if (this._maxDataSizeExceeded) {\n return;\n }\n\n if (this.dataSize <= this.maxDataSize) {\n return;\n }\n\n this._maxDataSizeExceeded = true;\n var message =\n 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'\n this.emit('error', new Error(message));\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nclass Deprecation extends Error {\n constructor(message) {\n super(message); // Maintains proper stack trace (only available on V8)\n\n /* istanbul ignore next */\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n\n this.name = 'Deprecation';\n }\n\n}\n\nexports.Deprecation = Deprecation;\n","var CombinedStream = require('combined-stream');\nvar util = require('util');\nvar path = require('path');\nvar http = require('http');\nvar https = require('https');\nvar parseUrl = require('url').parse;\nvar fs = require('fs');\nvar mime = require('mime-types');\nvar asynckit = require('asynckit');\nvar populate = require('./populate.js');\n\n// Public API\nmodule.exports = FormData;\n\n// make it a Stream\nutil.inherits(FormData, CombinedStream);\n\n/**\n * Create readable \"multipart/form-data\" streams.\n * Can be used to submit forms\n * and file uploads to other web applications.\n *\n * @constructor\n * @param {Object} options - Properties to be added/overriden for FormData and CombinedStream\n */\nfunction FormData(options) {\n if (!(this instanceof FormData)) {\n return new FormData(options);\n }\n\n this._overheadLength = 0;\n this._valueLength = 0;\n this._valuesToMeasure = [];\n\n CombinedStream.call(this);\n\n options = options || {};\n for (var option in options) {\n this[option] = options[option];\n }\n}\n\nFormData.LINE_BREAK = '\\r\\n';\nFormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n\nFormData.prototype.append = function(field, value, options) {\n\n options = options || {};\n\n // allow filename as single option\n if (typeof options == 'string') {\n options = {filename: options};\n }\n\n var append = CombinedStream.prototype.append.bind(this);\n\n // all that streamy business can't handle numbers\n if (typeof value == 'number') {\n value = '' + value;\n }\n\n // https://github.com/felixge/node-form-data/issues/38\n if (util.isArray(value)) {\n // Please convert your array into string\n // the way web server expects it\n this._error(new Error('Arrays are not supported.'));\n return;\n }\n\n var header = this._multiPartHeader(field, value, options);\n var footer = this._multiPartFooter();\n\n append(header);\n append(value);\n append(footer);\n\n // pass along options.knownLength\n this._trackLength(header, value, options);\n};\n\nFormData.prototype._trackLength = function(header, value, options) {\n var valueLength = 0;\n\n // used w/ getLengthSync(), when length is known.\n // e.g. for streaming directly from a remote server,\n // w/ a known file a size, and not wanting to wait for\n // incoming file to finish to get its size.\n if (options.knownLength != null) {\n valueLength += +options.knownLength;\n } else if (Buffer.isBuffer(value)) {\n valueLength = value.length;\n } else if (typeof value === 'string') {\n valueLength = Buffer.byteLength(value);\n }\n\n this._valueLength += valueLength;\n\n // @check why add CRLF? does this account for custom/multiple CRLFs?\n this._overheadLength +=\n Buffer.byteLength(header) +\n FormData.LINE_BREAK.length;\n\n // empty or either doesn't have path or not an http response\n if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) )) {\n return;\n }\n\n // no need to bother with the length\n if (!options.knownLength) {\n this._valuesToMeasure.push(value);\n }\n};\n\nFormData.prototype._lengthRetriever = function(value, callback) {\n\n if (value.hasOwnProperty('fd')) {\n\n // take read range into a account\n // `end` = Infinity –> read file till the end\n //\n // TODO: Looks like there is bug in Node fs.createReadStream\n // it doesn't respect `end` options without `start` options\n // Fix it when node fixes it.\n // https://github.com/joyent/node/issues/7819\n if (value.end != undefined && value.end != Infinity && value.start != undefined) {\n\n // when end specified\n // no need to calculate range\n // inclusive, starts with 0\n callback(null, value.end + 1 - (value.start ? value.start : 0));\n\n // not that fast snoopy\n } else {\n // still need to fetch file size from fs\n fs.stat(value.path, function(err, stat) {\n\n var fileSize;\n\n if (err) {\n callback(err);\n return;\n }\n\n // update final size based on the range options\n fileSize = stat.size - (value.start ? value.start : 0);\n callback(null, fileSize);\n });\n }\n\n // or http response\n } else if (value.hasOwnProperty('httpVersion')) {\n callback(null, +value.headers['content-length']);\n\n // or request stream http://github.com/mikeal/request\n } else if (value.hasOwnProperty('httpModule')) {\n // wait till response come back\n value.on('response', function(response) {\n value.pause();\n callback(null, +response.headers['content-length']);\n });\n value.resume();\n\n // something else\n } else {\n callback('Unknown stream');\n }\n};\n\nFormData.prototype._multiPartHeader = function(field, value, options) {\n // custom header specified (as string)?\n // it becomes responsible for boundary\n // (e.g. to handle extra CRLFs on .NET servers)\n if (typeof options.header == 'string') {\n return options.header;\n }\n\n var contentDisposition = this._getContentDisposition(value, options);\n var contentType = this._getContentType(value, options);\n\n var contents = '';\n var headers = {\n // add custom disposition as third element or keep it two elements if not\n 'Content-Disposition': ['form-data', 'name=\"' + field + '\"'].concat(contentDisposition || []),\n // if no content type. allow it to be empty array\n 'Content-Type': [].concat(contentType || [])\n };\n\n // allow custom headers.\n if (typeof options.header == 'object') {\n populate(headers, options.header);\n }\n\n var header;\n for (var prop in headers) {\n if (!headers.hasOwnProperty(prop)) continue;\n header = headers[prop];\n\n // skip nullish headers.\n if (header == null) {\n continue;\n }\n\n // convert all headers to arrays.\n if (!Array.isArray(header)) {\n header = [header];\n }\n\n // add non-empty headers.\n if (header.length) {\n contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK;\n }\n }\n\n return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK;\n};\n\nFormData.prototype._getContentDisposition = function(value, options) {\n\n var filename\n , contentDisposition\n ;\n\n if (typeof options.filepath === 'string') {\n // custom filepath for relative paths\n filename = path.normalize(options.filepath).replace(/\\\\/g, '/');\n } else if (options.filename || value.name || value.path) {\n // custom filename take precedence\n // formidable and the browser add a name property\n // fs- and request- streams have path property\n filename = path.basename(options.filename || value.name || value.path);\n } else if (value.readable && value.hasOwnProperty('httpVersion')) {\n // or try http response\n filename = path.basename(value.client._httpMessage.path || '');\n }\n\n if (filename) {\n contentDisposition = 'filename=\"' + filename + '\"';\n }\n\n return contentDisposition;\n};\n\nFormData.prototype._getContentType = function(value, options) {\n\n // use custom content-type above all\n var contentType = options.contentType;\n\n // or try `name` from formidable, browser\n if (!contentType && value.name) {\n contentType = mime.lookup(value.name);\n }\n\n // or try `path` from fs-, request- streams\n if (!contentType && value.path) {\n contentType = mime.lookup(value.path);\n }\n\n // or if it's http-reponse\n if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) {\n contentType = value.headers['content-type'];\n }\n\n // or guess it from the filepath or filename\n if (!contentType && (options.filepath || options.filename)) {\n contentType = mime.lookup(options.filepath || options.filename);\n }\n\n // fallback to the default content type if `value` is not simple value\n if (!contentType && typeof value == 'object') {\n contentType = FormData.DEFAULT_CONTENT_TYPE;\n }\n\n return contentType;\n};\n\nFormData.prototype._multiPartFooter = function() {\n return function(next) {\n var footer = FormData.LINE_BREAK;\n\n var lastPart = (this._streams.length === 0);\n if (lastPart) {\n footer += this._lastBoundary();\n }\n\n next(footer);\n }.bind(this);\n};\n\nFormData.prototype._lastBoundary = function() {\n return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK;\n};\n\nFormData.prototype.getHeaders = function(userHeaders) {\n var header;\n var formHeaders = {\n 'content-type': 'multipart/form-data; boundary=' + this.getBoundary()\n };\n\n for (header in userHeaders) {\n if (userHeaders.hasOwnProperty(header)) {\n formHeaders[header.toLowerCase()] = userHeaders[header];\n }\n }\n\n return formHeaders;\n};\n\nFormData.prototype.setBoundary = function(boundary) {\n this._boundary = boundary;\n};\n\nFormData.prototype.getBoundary = function() {\n if (!this._boundary) {\n this._generateBoundary();\n }\n\n return this._boundary;\n};\n\nFormData.prototype.getBuffer = function() {\n var dataBuffer = new Buffer.alloc( 0 );\n var boundary = this.getBoundary();\n\n // Create the form content. Add Line breaks to the end of data.\n for (var i = 0, len = this._streams.length; i < len; i++) {\n if (typeof this._streams[i] !== 'function') {\n\n // Add content to the buffer.\n if(Buffer.isBuffer(this._streams[i])) {\n dataBuffer = Buffer.concat( [dataBuffer, this._streams[i]]);\n }else {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(this._streams[i])]);\n }\n\n // Add break after content.\n if (typeof this._streams[i] !== 'string' || this._streams[i].substring( 2, boundary.length + 2 ) !== boundary) {\n dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(FormData.LINE_BREAK)] );\n }\n }\n }\n\n // Add the footer and return the Buffer object.\n return Buffer.concat( [dataBuffer, Buffer.from(this._lastBoundary())] );\n};\n\nFormData.prototype._generateBoundary = function() {\n // This generates a 50 character boundary similar to those used by Firefox.\n // They are optimized for boyer-moore parsing.\n var boundary = '--------------------------';\n for (var i = 0; i < 24; i++) {\n boundary += Math.floor(Math.random() * 10).toString(16);\n }\n\n this._boundary = boundary;\n};\n\n// Note: getLengthSync DOESN'T calculate streams length\n// As workaround one can calculate file size manually\n// and add it as knownLength option\nFormData.prototype.getLengthSync = function() {\n var knownLength = this._overheadLength + this._valueLength;\n\n // Don't get confused, there are 3 \"internal\" streams for each keyval pair\n // so it basically checks if there is any value added to the form\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n // https://github.com/form-data/form-data/issues/40\n if (!this.hasKnownLength()) {\n // Some async length retrievers are present\n // therefore synchronous length calculation is false.\n // Please use getLength(callback) to get proper length\n this._error(new Error('Cannot calculate proper length in synchronous way.'));\n }\n\n return knownLength;\n};\n\n// Public API to check if length of added values is known\n// https://github.com/form-data/form-data/issues/196\n// https://github.com/form-data/form-data/issues/262\nFormData.prototype.hasKnownLength = function() {\n var hasKnownLength = true;\n\n if (this._valuesToMeasure.length) {\n hasKnownLength = false;\n }\n\n return hasKnownLength;\n};\n\nFormData.prototype.getLength = function(cb) {\n var knownLength = this._overheadLength + this._valueLength;\n\n if (this._streams.length) {\n knownLength += this._lastBoundary().length;\n }\n\n if (!this._valuesToMeasure.length) {\n process.nextTick(cb.bind(this, null, knownLength));\n return;\n }\n\n asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) {\n if (err) {\n cb(err);\n return;\n }\n\n values.forEach(function(length) {\n knownLength += length;\n });\n\n cb(null, knownLength);\n });\n};\n\nFormData.prototype.submit = function(params, cb) {\n var request\n , options\n , defaults = {method: 'post'}\n ;\n\n // parse provided url if it's string\n // or treat it as options object\n if (typeof params == 'string') {\n\n params = parseUrl(params);\n options = populate({\n port: params.port,\n path: params.pathname,\n host: params.hostname,\n protocol: params.protocol\n }, defaults);\n\n // use custom params\n } else {\n\n options = populate(params, defaults);\n // if no port provided use default one\n if (!options.port) {\n options.port = options.protocol == 'https:' ? 443 : 80;\n }\n }\n\n // put that good code in getHeaders to some use\n options.headers = this.getHeaders(params.headers);\n\n // https if specified, fallback to http in any other case\n if (options.protocol == 'https:') {\n request = https.request(options);\n } else {\n request = http.request(options);\n }\n\n // get content length and fire away\n this.getLength(function(err, length) {\n if (err) {\n this._error(err);\n return;\n }\n\n // add content length\n request.setHeader('Content-Length', length);\n\n this.pipe(request);\n if (cb) {\n var onResponse;\n\n var callback = function (error, responce) {\n request.removeListener('error', callback);\n request.removeListener('response', onResponse);\n\n return cb.call(this, error, responce);\n };\n\n onResponse = callback.bind(this, null);\n\n request.on('error', callback);\n request.on('response', onResponse);\n }\n }.bind(this));\n\n return request;\n};\n\nFormData.prototype._error = function(err) {\n if (!this.error) {\n this.error = err;\n this.pause();\n this.emit('error', err);\n }\n};\n\nFormData.prototype.toString = function () {\n return '[object FormData]';\n};\n","// populates missing values\nmodule.exports = function(dst, src) {\n\n Object.keys(src).forEach(function(prop)\n {\n dst[prop] = dst[prop] || src[prop];\n });\n\n return dst;\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n","'use strict';\n\n\nvar loader = require('./lib/loader');\nvar dumper = require('./lib/dumper');\n\n\nfunction renamed(from, to) {\n return function () {\n throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' +\n 'Use yaml.' + to + ' instead, which is now safe by default.');\n };\n}\n\n\nmodule.exports.Type = require('./lib/type');\nmodule.exports.Schema = require('./lib/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./lib/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./lib/schema/json');\nmodule.exports.CORE_SCHEMA = require('./lib/schema/core');\nmodule.exports.DEFAULT_SCHEMA = require('./lib/schema/default');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.YAMLException = require('./lib/exception');\n\n// Re-export all types in case user wants to create custom schema\nmodule.exports.types = {\n binary: require('./lib/type/binary'),\n float: require('./lib/type/float'),\n map: require('./lib/type/map'),\n null: require('./lib/type/null'),\n pairs: require('./lib/type/pairs'),\n set: require('./lib/type/set'),\n timestamp: require('./lib/type/timestamp'),\n bool: require('./lib/type/bool'),\n int: require('./lib/type/int'),\n merge: require('./lib/type/merge'),\n omap: require('./lib/type/omap'),\n seq: require('./lib/type/seq'),\n str: require('./lib/type/str')\n};\n\n// Removed functions from JS-YAML 3.0.x\nmodule.exports.safeLoad = renamed('safeLoad', 'load');\nmodule.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll');\nmodule.exports.safeDump = renamed('safeDump', 'dump');\n","'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","'use strict';\n\n/*eslint-disable no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_SCHEMA = require('./schema/default');\n\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar CHAR_BOM = 0xFEFF;\nvar CHAR_TAB = 0x09; /* Tab */\nvar CHAR_LINE_FEED = 0x0A; /* LF */\nvar CHAR_CARRIAGE_RETURN = 0x0D; /* CR */\nvar CHAR_SPACE = 0x20; /* Space */\nvar CHAR_EXCLAMATION = 0x21; /* ! */\nvar CHAR_DOUBLE_QUOTE = 0x22; /* \" */\nvar CHAR_SHARP = 0x23; /* # */\nvar CHAR_PERCENT = 0x25; /* % */\nvar CHAR_AMPERSAND = 0x26; /* & */\nvar CHAR_SINGLE_QUOTE = 0x27; /* ' */\nvar CHAR_ASTERISK = 0x2A; /* * */\nvar CHAR_COMMA = 0x2C; /* , */\nvar CHAR_MINUS = 0x2D; /* - */\nvar CHAR_COLON = 0x3A; /* : */\nvar CHAR_EQUALS = 0x3D; /* = */\nvar CHAR_GREATER_THAN = 0x3E; /* > */\nvar CHAR_QUESTION = 0x3F; /* ? */\nvar CHAR_COMMERCIAL_AT = 0x40; /* @ */\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */\nvar CHAR_GRAVE_ACCENT = 0x60; /* ` */\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */\nvar CHAR_VERTICAL_LINE = 0x7C; /* | */\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */\n\nvar ESCAPE_SEQUENCES = {};\n\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\n\nvar DEPRECATED_BOOLEANS_SYNTAX = [\n 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',\n 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'\n];\n\nvar DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;\n\nfunction compileStyleMap(schema, map) {\n var result, keys, index, length, tag, style, type;\n\n if (map === null) return {};\n\n result = {};\n keys = Object.keys(map);\n\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap['fallback'][tag];\n\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n\n result[tag] = style;\n }\n\n return result;\n}\n\nfunction encodeHex(character) {\n var string, handle, length;\n\n string = character.toString(16).toUpperCase();\n\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\n\n\nvar QUOTING_TYPE_SINGLE = 1,\n QUOTING_TYPE_DOUBLE = 2;\n\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.noArrayIndent = options['noArrayIndent'] || false;\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.condenseFlow = options['condenseFlow'] || false;\n this.quotingType = options['quotingType'] === '\"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;\n this.forceQuotes = options['forceQuotes'] || false;\n this.replacer = typeof options['replacer'] === 'function' ? options['replacer'] : null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n\n this.tag = null;\n this.result = '';\n\n this.duplicates = [];\n this.usedDuplicates = null;\n}\n\n// Indents every line in a string. Empty lines (\\n only) are not indented.\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n\n if (line.length && line !== '\\n') result += ind;\n\n result += line;\n }\n\n return result;\n}\n\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\n\nfunction testImplicitResolving(state, str) {\n var index, length, type;\n\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n\n if (type.resolve(str)) {\n return true;\n }\n }\n\n return false;\n}\n\n// [33] s-white ::= s-space | s-tab\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\n\n// Returns true if the character can be printed without escaping.\n// From YAML 1.2: \"any allowed characters known to be non-printable\n// should also be escaped. [However,] This isn’t mandatory\"\n// Derived from nb-char - \\t - #x85 - #xA0 - #x2028 - #x2029.\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E)\n || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)\n || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM)\n || (0x10000 <= c && c <= 0x10FFFF);\n}\n\n// [34] ns-char ::= nb-char - s-white\n// [27] nb-char ::= c-printable - b-char - c-byte-order-mark\n// [26] b-char ::= b-line-feed | b-carriage-return\n// Including s-white (for some reason, examples doesn't match specs in this aspect)\n// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark\nfunction isNsCharOrWhitespace(c) {\n return isPrintable(c)\n && c !== CHAR_BOM\n // - b-char\n && c !== CHAR_CARRIAGE_RETURN\n && c !== CHAR_LINE_FEED;\n}\n\n// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out\n// c = flow-in ⇒ ns-plain-safe-in\n// c = block-key ⇒ ns-plain-safe-out\n// c = flow-key ⇒ ns-plain-safe-in\n// [128] ns-plain-safe-out ::= ns-char\n// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator\n// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” )\n// | ( /* An ns-char preceding */ “#” )\n// | ( “:” /* Followed by an ns-plain-safe(c) */ )\nfunction isPlainSafe(c, prev, inblock) {\n var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);\n var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);\n return (\n // ns-plain-safe\n inblock ? // c = flow-in\n cIsNsCharOrWhitespace\n : cIsNsCharOrWhitespace\n // - c-flow-indicator\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n )\n // ns-plain-char\n && c !== CHAR_SHARP // false on '#'\n && !(prev === CHAR_COLON && !cIsNsChar) // false on ': '\n || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#'\n || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]'\n}\n\n// Simplified test for values allowed as the first character in plain style.\nfunction isPlainSafeFirst(c) {\n // Uses a subset of ns-char - c-indicator\n // where ns-char = nb-char - s-white.\n // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part\n return isPrintable(c) && c !== CHAR_BOM\n && !isWhitespace(c) // - s-white\n // - (c-indicator ::=\n // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”\n && c !== CHAR_MINUS\n && c !== CHAR_QUESTION\n && c !== CHAR_COLON\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “\"”\n && c !== CHAR_SHARP\n && c !== CHAR_AMPERSAND\n && c !== CHAR_ASTERISK\n && c !== CHAR_EXCLAMATION\n && c !== CHAR_VERTICAL_LINE\n && c !== CHAR_EQUALS\n && c !== CHAR_GREATER_THAN\n && c !== CHAR_SINGLE_QUOTE\n && c !== CHAR_DOUBLE_QUOTE\n // | “%” | “@” | “`”)\n && c !== CHAR_PERCENT\n && c !== CHAR_COMMERCIAL_AT\n && c !== CHAR_GRAVE_ACCENT;\n}\n\n// Simplified test for values allowed as the last character in plain style.\nfunction isPlainSafeLast(c) {\n // just not whitespace or colon, it will be checked to be plain character later\n return !isWhitespace(c) && c !== CHAR_COLON;\n}\n\n// Same as 'string'.codePointAt(pos), but works in older browsers.\nfunction codePointAt(string, pos) {\n var first = string.charCodeAt(pos), second;\n if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) {\n second = string.charCodeAt(pos + 1);\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;\n }\n }\n return first;\n}\n\n// Determines whether block indentation indicator is required.\nfunction needIndentIndicator(string) {\n var leadingSpaceRe = /^\\n* /;\n return leadingSpaceRe.test(string);\n}\n\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\n\n// Determines which scalar styles are possible and returns the preferred style.\n// lineWidth = -1 => no limit.\n// Pre-conditions: str.length > 0.\n// Post-conditions:\n// STYLE_PLAIN or STYLE_SINGLE => no \\n are in the string.\n// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).\n// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth,\n testAmbiguousType, quotingType, forceQuotes, inblock) {\n\n var i;\n var char = 0;\n var prevChar = null;\n var hasLineBreak = false;\n var hasFoldableLine = false; // only checked if shouldTrackWidth\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1; // count the first line correctly\n var plain = isPlainSafeFirst(codePointAt(string, 0))\n && isPlainSafeLast(codePointAt(string, string.length - 1));\n\n if (singleLineOnly || forceQuotes) {\n // Case: no block styles.\n // Check for disallowed characters to rule out plain and single.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n } else {\n // Case: block styles permitted.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n // Check if any line can be folded.\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine ||\n // Foldable line = too long, and not more-indented.\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n // in case the end is missing a \\n\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' '));\n }\n // Although every style can represent \\n without escaping, prefer block styles\n // for multiline, since they're more readable and they don't add empty lines.\n // Also prefer folding a super-long line.\n if (!hasLineBreak && !hasFoldableLine) {\n // Strings interpretable as another type have to be quoted;\n // e.g. the string 'true' vs. the boolean true.\n if (plain && !forceQuotes && !testAmbiguousType(string)) {\n return STYLE_PLAIN;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n }\n // Edge case: block indentation indicator can only have one digit.\n if (indentPerLevel > 9 && needIndentIndicator(string)) {\n return STYLE_DOUBLE;\n }\n // At this point we know block styles are valid.\n // Prefer literal style unless we want to fold.\n if (!forceQuotes) {\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n}\n\n// Note: line breaking/folding is implemented for only the folded style.\n// NB. We drop the last trailing newline (if any) of a returned block scalar\n// since the dumper adds its own newline. This always works:\n// • No ending newline => unaffected; already using strip \"-\" chomping.\n// • Ending newline => removed then restored.\n// Importantly, this keeps the \"+\" chomp indicator from gaining an extra line.\nfunction writeScalar(state, string, level, iskey, inblock) {\n state.dump = (function () {\n if (string.length === 0) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? '\"\"' : \"''\";\n }\n if (!state.noCompatMode) {\n if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? ('\"' + string + '\"') : (\"'\" + string + \"'\");\n }\n }\n\n var indent = state.indent * Math.max(1, level); // no 0-indent scalars\n // As indentation gets deeper, let the width decrease monotonically\n // to the lower bound min(state.lineWidth, 40).\n // Note that this implies\n // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.\n // state.lineWidth > 40 + state.indent: width decreases until the lower bound.\n // This behaves better than a constant minimum width which disallows narrower options,\n // or an indent threshold which causes the width to suddenly increase.\n var lineWidth = state.lineWidth === -1\n ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n\n // Without knowing if keys are implicit/explicit, assume implicit for safety.\n var singleLineOnly = iskey\n // No block styles in flow mode.\n || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth,\n testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) {\n\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\n\n// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';\n\n // note the special case: the string '\\n' counts as a \"trailing\" empty line.\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n\n return indentIndicator + chomp + '\\n';\n}\n\n// (See the note for writeScalar.)\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\n\n// Note: a long line without a suitable break point will exceed the width limit.\n// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.\nfunction foldString(string, width) {\n // In folded style, $k$ consecutive newlines output as $k+1$ newlines—\n // unless they're before or after a more-indented line, or at the very\n // beginning or end, in which case $k$ maps to $k$.\n // Therefore, parse each chunk as newline(s) followed by a content line.\n var lineRe = /(\\n+)([^\\n]*)/g;\n\n // first line (possibly an empty line)\n var result = (function () {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n // If we haven't reached the first content line yet, don't add an extra \\n.\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n\n // rest of the lines\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1], line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix\n + (!prevMoreIndented && !moreIndented && line !== ''\n ? '\\n' : '')\n + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n\n return result;\n}\n\n// Greedy line breaking.\n// Picks the longest line under the limit each time,\n// otherwise settles for the shortest line over the limit.\n// NB. More-indented lines *cannot* be folded, as that would add an extra \\n.\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ') return line;\n\n // Since a more-indented line adds a \\n, breaks can't be followed by a space.\n var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.\n var match;\n // start is an inclusive index. end, curr, and next are exclusive.\n var start = 0, end, curr = 0, next = 0;\n var result = '';\n\n // Invariants: 0 <= start <= length-1.\n // 0 <= curr <= next <= max(0, length-2). curr - start <= width.\n // Inside the loop:\n // A match implies length >= 2, so curr and next are <= length-2.\n while ((match = breakRe.exec(line))) {\n next = match.index;\n // maintain invariant: curr - start <= width\n if (next - start > width) {\n end = (curr > start) ? curr : next; // derive end <= length-2\n result += '\\n' + line.slice(start, end);\n // skip the space that was output as \\n\n start = end + 1; // derive start <= length-1\n }\n curr = next;\n }\n\n // By the invariants, start <= length-1, so there is something left over.\n // It is either the whole string or a part starting from non-whitespace.\n result += '\\n';\n // Insert a break if the remainder is too long and there is a break available.\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n\n return result.slice(1); // drop extra \\n joiner\n}\n\n// Escapes a double-quoted string.\nfunction escapeString(string) {\n var result = '';\n var char = 0;\n var escapeSeq;\n\n for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n escapeSeq = ESCAPE_SEQUENCES[char];\n\n if (!escapeSeq && isPrintable(char)) {\n result += string[i];\n if (char >= 0x10000) result += string[i + 1];\n } else {\n result += escapeSeq || encodeHex(char);\n }\n }\n\n return result;\n}\n\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level, value, false, false) ||\n (typeof value === 'undefined' &&\n writeNode(state, level, null, false, false))) {\n\n if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : '');\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\n\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level + 1, value, true, true, false, true) ||\n (typeof value === 'undefined' &&\n writeNode(state, level + 1, null, true, true, false, true))) {\n\n if (!compact || _result !== '') {\n _result += generateNextLine(state, level);\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n _result += '-';\n } else {\n _result += '- ';\n }\n\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = _result || '[]'; // Empty sequence if no valid values.\n}\n\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n\n pairBuffer = '';\n if (_result !== '') pairBuffer += ', ';\n\n if (state.condenseFlow) pairBuffer += '\"';\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level, objectKey, false, false)) {\n continue; // Skip this pair because of invalid key;\n }\n\n if (state.dump.length > 1024) pairBuffer += '? ';\n\n pairBuffer += state.dump + (state.condenseFlow ? '\"' : '') + ':' + (state.condenseFlow ? '' : ' ');\n\n if (!writeNode(state, level, objectValue, false, false)) {\n continue; // Skip this pair because of invalid value.\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\n\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n\n // Allow sorting keys so that the output file is deterministic\n if (state.sortKeys === true) {\n // Default sorting\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n // Custom sort function\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n // Something is wrong\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n\n if (!compact || _result !== '') {\n pairBuffer += generateNextLine(state, level);\n }\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue; // Skip this pair because of invalid key.\n }\n\n explicitPair = (state.tag !== null && state.tag !== '?') ||\n (state.dump && state.dump.length > 1024);\n\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n\n pairBuffer += state.dump;\n\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue; // Skip this pair because of invalid value.\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = _result || '{}'; // Empty mapping if no valid pairs.\n}\n\nfunction detectType(state, object, explicit) {\n var _result, typeList, index, length, type, style;\n\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n\n if ((type.instanceOf || type.predicate) &&\n (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&\n (!type.predicate || type.predicate(object))) {\n\n if (explicit) {\n if (type.multi && type.representName) {\n state.tag = type.representName(object);\n } else {\n state.tag = type.tag;\n }\n } else {\n state.tag = '?';\n }\n\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n\n state.dump = _result;\n }\n\n return true;\n }\n }\n\n return false;\n}\n\n// Serializes `object` and writes it to global `result`.\n// Returns true on success, or false on invalid object.\n//\nfunction writeNode(state, level, object, block, compact, iskey, isblockseq) {\n state.tag = null;\n state.dump = object;\n\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n\n var type = _toString.call(state.dump);\n var inblock = block;\n var tagStr;\n\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n if (block && (state.dump.length !== 0)) {\n if (state.noArrayIndent && !isblockseq && level > 0) {\n writeBlockSequence(state, level - 1, state.dump, compact);\n } else {\n writeBlockSequence(state, level, state.dump, compact);\n }\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey, inblock);\n }\n } else if (type === '[object Undefined]') {\n return false;\n } else {\n if (state.skipInvalid) return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n\n if (state.tag !== null && state.tag !== '?') {\n // Need to encode all characters except those allowed by the spec:\n //\n // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */\n // [36] ns-hex-digit ::= ns-dec-digit\n // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */\n // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */\n // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-”\n // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#”\n // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,”\n // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]”\n //\n // Also need to encode '!' because it has special meaning (end of tag prefix).\n //\n tagStr = encodeURI(\n state.tag[0] === '!' ? state.tag.slice(1) : state.tag\n ).replace(/!/g, '%21');\n\n if (state.tag[0] === '!') {\n tagStr = '!' + tagStr;\n } else if (tagStr.slice(0, 18) === 'tag:yaml.org,2002:') {\n tagStr = '!!' + tagStr.slice(18);\n } else {\n tagStr = '!<' + tagStr + '>';\n }\n\n state.dump = tagStr + ' ' + state.dump;\n }\n }\n\n return true;\n}\n\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n\n inspectNode(object, objects, duplicatesIndexes);\n\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\n\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\n\nfunction dump(input, options) {\n options = options || {};\n\n var state = new State(options);\n\n if (!state.noRefs) getDuplicateReferences(input, state);\n\n var value = input;\n\n if (state.replacer) {\n value = state.replacer.call({ '': value }, '', value);\n }\n\n if (writeNode(state, 0, value, true, true)) return state.dump + '\\n';\n\n return '';\n}\n\nmodule.exports.dump = dump;\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\n\nfunction formatError(exception, compact) {\n var where = '', message = exception.reason || '(unknown reason)';\n\n if (!exception.mark) return message;\n\n if (exception.mark.name) {\n where += 'in \"' + exception.mark.name + '\" ';\n }\n\n where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')';\n\n if (!compact && exception.mark.snippet) {\n where += '\\n\\n' + exception.mark.snippet;\n }\n\n return message + ' ' + where;\n}\n\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = formatError(this, false);\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n return this.name + ': ' + formatError(this, compact);\n};\n\n\nmodule.exports = YAMLException;\n","'use strict';\n\n/*eslint-disable max-len,no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar makeSnippet = require('./snippet');\nvar DEFAULT_SCHEMA = require('./schema/default');\n\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\n\n\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\n\n\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction is_EOL(c) {\n return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);\n}\n\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09/* Tab */) || (c === 0x20/* Space */);\n}\n\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09/* Tab */) ||\n (c === 0x20/* Space */) ||\n (c === 0x0A/* LF */) ||\n (c === 0x0D/* CR */);\n}\n\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C/* , */ ||\n c === 0x5B/* [ */ ||\n c === 0x5D/* ] */ ||\n c === 0x7B/* { */ ||\n c === 0x7D/* } */;\n}\n\nfunction fromHexCode(c) {\n var lc;\n\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n /*eslint-disable no-bitwise*/\n lc = c | 0x20;\n\n if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {\n return lc - 0x61 + 10;\n }\n\n return -1;\n}\n\nfunction escapedHexLen(c) {\n if (c === 0x78/* x */) { return 2; }\n if (c === 0x75/* u */) { return 4; }\n if (c === 0x55/* U */) { return 8; }\n return 0;\n}\n\nfunction fromDecimalCode(c) {\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n return -1;\n}\n\nfunction simpleEscapeSequence(c) {\n /* eslint-disable indent */\n return (c === 0x30/* 0 */) ? '\\x00' :\n (c === 0x61/* a */) ? '\\x07' :\n (c === 0x62/* b */) ? '\\x08' :\n (c === 0x74/* t */) ? '\\x09' :\n (c === 0x09/* Tab */) ? '\\x09' :\n (c === 0x6E/* n */) ? '\\x0A' :\n (c === 0x76/* v */) ? '\\x0B' :\n (c === 0x66/* f */) ? '\\x0C' :\n (c === 0x72/* r */) ? '\\x0D' :\n (c === 0x65/* e */) ? '\\x1B' :\n (c === 0x20/* Space */) ? ' ' :\n (c === 0x22/* \" */) ? '\\x22' :\n (c === 0x2F/* / */) ? '/' :\n (c === 0x5C/* \\ */) ? '\\x5C' :\n (c === 0x4E/* N */) ? '\\x85' :\n (c === 0x5F/* _ */) ? '\\xA0' :\n (c === 0x4C/* L */) ? '\\u2028' :\n (c === 0x50/* P */) ? '\\u2029' : '';\n}\n\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n // Encode UTF-16 surrogate pair\n // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF\n return String.fromCharCode(\n ((c - 0x010000) >> 10) + 0xD800,\n ((c - 0x010000) & 0x03FF) + 0xDC00\n );\n}\n\nvar simpleEscapeCheck = new Array(256); // integer, for fast access\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\n\n\nfunction State(input, options) {\n this.input = input;\n\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n // (Hidden) Remove? makes the loader to expect YAML 1.1 documents\n // if such documents have no explicit %YAML directive\n this.legacy = options['legacy'] || false;\n\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n\n // position of first leading tab in the current line,\n // used to make sure there are no tabs in the indentation\n this.firstTabInLine = -1;\n\n this.documents = [];\n\n /*\n this.version;\n this.checkLineBreaks;\n this.tagMap;\n this.anchorMap;\n this.tag;\n this.anchor;\n this.kind;\n this.result;*/\n\n}\n\n\nfunction generateError(state, message) {\n var mark = {\n name: state.filename,\n buffer: state.input.slice(0, -1), // omit trailing \\0\n position: state.position,\n line: state.line,\n column: state.position - state.lineStart\n };\n\n mark.snippet = makeSnippet(mark);\n\n return new YAMLException(message, mark);\n}\n\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\n\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\n\n\nvar directiveHandlers = {\n\n YAML: function handleYamlDirective(state, name, args) {\n\n var match, major, minor;\n\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n\n TAG: function handleTagDirective(state, name, args) {\n\n var handle, prefix;\n\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n\n handle = args[0];\n prefix = args[1];\n\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n\n try {\n prefix = decodeURIComponent(prefix);\n } catch (err) {\n throwError(state, 'tag prefix is malformed: ' + prefix);\n }\n\n state.tagMap[handle] = prefix;\n }\n};\n\n\nfunction captureSegment(state, start, end, checkJson) {\n var _position, _length, _character, _result;\n\n if (start < end) {\n _result = state.input.slice(start, end);\n\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 ||\n (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n\n state.result += _result;\n }\n}\n\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys, key, index, quantity;\n\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n\n sourceKeys = Object.keys(source);\n\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\n\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,\n startLine, startLineStart, startPos) {\n\n var index, quantity;\n\n // The output is a plain object here, so keys can only be strings.\n // We need to convert keyNode to a string, but doing so can hang the process\n // (deeply nested arrays that explode exponentially using aliases).\n if (Array.isArray(keyNode)) {\n keyNode = Array.prototype.slice.call(keyNode);\n\n for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {\n if (Array.isArray(keyNode[index])) {\n throwError(state, 'nested arrays are not supported inside keys');\n }\n\n if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {\n keyNode[index] = '[object Object]';\n }\n }\n }\n\n // Avoid code execution in load() via toString property\n // (still use its own toString for arrays, timestamps,\n // and whatever user schema extensions happen to have @@toStringTag)\n if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {\n keyNode = '[object Object]';\n }\n\n\n keyNode = String(keyNode);\n\n if (_result === null) {\n _result = {};\n }\n\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json &&\n !_hasOwnProperty.call(overridableKeys, keyNode) &&\n _hasOwnProperty.call(_result, keyNode)) {\n state.line = startLine || state.line;\n state.lineStart = startLineStart || state.lineStart;\n state.position = startPos || state.position;\n throwError(state, 'duplicated mapping key');\n }\n\n // used for this specific key only because Object.defineProperty is slow\n if (keyNode === '__proto__') {\n Object.defineProperty(_result, keyNode, {\n configurable: true,\n enumerable: true,\n writable: true,\n value: valueNode\n });\n } else {\n _result[keyNode] = valueNode;\n }\n delete overridableKeys[keyNode];\n }\n\n return _result;\n}\n\nfunction readLineBreak(state) {\n var ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x0A/* LF */) {\n state.position++;\n } else if (ch === 0x0D/* CR */) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n\n state.line += 1;\n state.lineStart = state.position;\n state.firstTabInLine = -1;\n}\n\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {\n state.firstTabInLine = state.position;\n }\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (allowComments && ch === 0x23/* # */) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);\n }\n\n if (is_EOL(ch)) {\n readLineBreak(state);\n\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n\n while (ch === 0x20/* Space */) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n\n return lineBreaks;\n}\n\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n\n ch = state.input.charCodeAt(_position);\n\n // Condition state.position === state.lineStart is tested\n // in parent on each call, for efficiency. No needs to test here again.\n if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&\n ch === state.input.charCodeAt(_position + 1) &&\n ch === state.input.charCodeAt(_position + 2)) {\n\n _position += 3;\n\n ch = state.input.charCodeAt(_position);\n\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\n\n\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (is_WS_OR_EOL(ch) ||\n is_FLOW_INDICATOR(ch) ||\n ch === 0x23/* # */ ||\n ch === 0x26/* & */ ||\n ch === 0x2A/* * */ ||\n ch === 0x21/* ! */ ||\n ch === 0x7C/* | */ ||\n ch === 0x3E/* > */ ||\n ch === 0x27/* ' */ ||\n ch === 0x22/* \" */ ||\n ch === 0x25/* % */ ||\n ch === 0x40/* @ */ ||\n ch === 0x60/* ` */) {\n return false;\n }\n\n if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n\n while (ch !== 0) {\n if (ch === 0x3A/* : */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n\n } else if (ch === 0x23/* # */) {\n preceding = state.input.charCodeAt(state.position - 1);\n\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||\n withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, captureEnd, false);\n\n if (state.result) {\n return true;\n }\n\n state.kind = _kind;\n state.result = _result;\n return false;\n}\n\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart, captureEnd;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x27/* ' */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27/* ' */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x27/* ' */) {\n captureStart = state.position;\n state.position++;\n captureEnd = state.position;\n } else {\n return true;\n }\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\n\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x22/* \" */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22/* \" */) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n\n } else if (ch === 0x5C/* \\ */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n\n // TODO: rework to inline fn with no type cast?\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n\n state.result += charFromCodepoint(hexResult);\n\n state.position++;\n\n } else {\n throwError(state, 'unknown escape sequence');\n }\n\n captureStart = captureEnd = state.position;\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\n\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _lineStart,\n _pos,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = Object.create(null),\n keyNode,\n keyTag,\n valueNode,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x5B/* [ */) {\n terminator = 0x5D;/* ] */\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B/* { */) {\n terminator = 0x7D;/* } */\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n } else if (ch === 0x2C/* , */) {\n // \"flow collection entries can never be completely empty\", as per YAML 1.2, section 7.4\n throwError(state, \"expected the node content, but found ','\");\n }\n\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n\n if (ch === 0x3F/* ? */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n\n _line = state.line; // Save the current line.\n _lineStart = state.lineStart;\n _pos = state.position;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));\n } else {\n _result.push(keyNode);\n }\n\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x2C/* , */) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\n\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x7C/* | */) {\n folding = false;\n } else if (ch === 0x3E/* > */) {\n folding = true;\n } else {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n\n } else {\n break;\n }\n }\n\n if (is_WHITE_SPACE(ch)) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (is_WHITE_SPACE(ch));\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (!is_EOL(ch) && (ch !== 0));\n }\n }\n\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n\n ch = state.input.charCodeAt(state.position);\n\n while ((!detectedIndent || state.lineIndent < textIndent) &&\n (ch === 0x20/* Space */)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n\n // End of the scalar.\n if (state.lineIndent < textIndent) {\n\n // Perform the chomping.\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) { // i.e. only if the scalar is not empty.\n state.result += '\\n';\n }\n }\n\n // Break this `while` cycle and go to the funciton's epilogue.\n break;\n }\n\n // Folded style: use fancy rules to handle line breaks.\n if (folding) {\n\n // Lines starting with white space characters (more-indented lines) are not folded.\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n // except for the first content line (cf. Example 8.1)\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n\n // End of more-indented block.\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n\n // Just one line break - perceive as the same line.\n } else if (emptyLines === 0) {\n if (didReadContent) { // i.e. only if we have already read some scalar content.\n state.result += ' ';\n }\n\n // Several line breaks - perceive as different lines.\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n\n // Literal style: just add exact number of line breaks between content lines.\n } else {\n // Keep all line breaks except the header line break.\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, state.position, false);\n }\n\n return true;\n}\n\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n if (ch !== 0x2D/* - */) {\n break;\n }\n\n following = state.input.charCodeAt(state.position + 1);\n\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n\n detected = true;\n state.position++;\n\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\n\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _keyLine,\n _keyLineStart,\n _keyPos,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = Object.create(null),\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (!atExplicitKey && state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line; // Save the current line.\n\n //\n // Explicit notation case. There are two separate blocks:\n // first for the key (denoted by \"?\") and second for the value (denoted by \":\")\n //\n if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {\n\n if (ch === 0x3F/* ? */) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n\n } else if (atExplicitKey) {\n // i.e. 0x3A/* : */ === character after the explicit key.\n atExplicitKey = false;\n allowCompact = true;\n\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');\n }\n\n state.position += 1;\n ch = following;\n\n //\n // Implicit notation case. Flow-style node as the key first, then \":\", and the value.\n //\n } else {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n\n if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n // Neither implicit nor explicit notation.\n // Reading is done. Go to the epilogue.\n break;\n }\n\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x3A/* : */) {\n ch = state.input.charCodeAt(++state.position);\n\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n }\n\n //\n // Common reading code for both explicit and implicit notations.\n //\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (atExplicitKey) {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n }\n\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n //\n // Epilogue.\n //\n\n // Special case: last mapping's node contains only the key in explicit notation.\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n }\n\n // Expose the resulting mapping.\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n\n return detected;\n}\n\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x21/* ! */) return false;\n\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x3C/* < */) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n\n } else if (ch === 0x21/* ! */) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n\n } else {\n tagHandle = '!';\n }\n\n _position = state.position;\n\n if (isVerbatim) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && ch !== 0x3E/* > */);\n\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n\n if (ch === 0x21/* ! */) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n tagName = state.input.slice(_position, state.position);\n\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n\n try {\n tagName = decodeURIComponent(tagName);\n } catch (err) {\n throwError(state, 'tag name is malformed: ' + tagName);\n }\n\n if (isVerbatim) {\n state.tag = tagName;\n\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n\n return true;\n}\n\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x26/* & */) return false;\n\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\n\nfunction readAlias(state) {\n var _position, alias,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x2A/* * */) return false;\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n\n alias = state.input.slice(_position, state.position);\n\n if (!_hasOwnProperty.call(state.anchorMap, alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\n\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n\n blockIndent = state.position - state.lineStart;\n\n if (indentStatus === 1) {\n if (allowBlockCollections &&\n (readBlockSequence(state, blockIndent) ||\n readBlockMapping(state, blockIndent, flowIndent)) ||\n readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||\n readSingleQuotedScalar(state, flowIndent) ||\n readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n\n } else if (readAlias(state)) {\n hasContent = true;\n\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n // Special case: block sequences are allowed to have same indentation level as the parent.\n // http://www.yaml.org/spec/1.2/spec.html#id2799784\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n\n if (state.tag === null) {\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n\n } else if (state.tag === '?') {\n // Implicit resolving is not allowed for non-scalar types, and '?'\n // non-specific tag is only automatically assigned to plain scalars.\n //\n // We only need to check kind conformity in case user explicitly assigns '?'\n // tag, for example like this: \"! [0]\"\n //\n if (state.result !== null && state.kind !== 'scalar') {\n throwError(state, 'unacceptable node kind for ! tag; it should be \"scalar\", not \"' + state.kind + '\"');\n }\n\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n\n if (type.resolve(state.result)) { // `state.result` updated in resolver if matched\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (state.tag !== '!') {\n if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {\n type = state.typeMap[state.kind || 'fallback'][state.tag];\n } else {\n // looking for multi type\n type = null;\n typeList = state.typeMap.multi[state.kind || 'fallback'];\n\n for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {\n if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {\n type = typeList[typeIndex];\n break;\n }\n }\n }\n\n if (!type) {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n\n if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result, state.tag);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n }\n\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\n\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = Object.create(null);\n state.anchorMap = Object.create(null);\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if (state.lineIndent > 0 || ch !== 0x25/* % */) {\n break;\n }\n\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && !is_EOL(ch));\n break;\n }\n\n if (is_EOL(ch)) break;\n\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n\n if (ch !== 0) readLineBreak(state);\n\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n\n skipSeparationSpace(state, true, -1);\n\n if (state.lineIndent === 0 &&\n state.input.charCodeAt(state.position) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n\n if (state.checkLineBreaks &&\n PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n\n state.documents.push(state.result);\n\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n\n if (state.input.charCodeAt(state.position) === 0x2E/* . */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\n\n\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n\n if (input.length !== 0) {\n\n // Add tailing `\\n` if not exists\n if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&\n input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {\n input += '\\n';\n }\n\n // Strip BOM\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n\n var state = new State(input, options);\n\n var nullpos = input.indexOf('\\0');\n\n if (nullpos !== -1) {\n state.position = nullpos;\n throwError(state, 'null byte is not allowed in input');\n }\n\n // Use 0 as string terminator. That significantly simplifies bounds check.\n state.input += '\\0';\n\n while (state.input.charCodeAt(state.position) === 0x20/* Space */) {\n state.lineIndent += 1;\n state.position += 1;\n }\n\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n\n return state.documents;\n}\n\n\nfunction loadAll(input, iterator, options) {\n if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n var documents = loadDocuments(input, options);\n\n if (typeof iterator !== 'function') {\n return documents;\n }\n\n for (var index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\n\n\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n\n if (documents.length === 0) {\n /*eslint-disable no-undefined*/\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\n\n\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\n","'use strict';\n\n/*eslint-disable max-len*/\n\nvar YAMLException = require('./exception');\nvar Type = require('./type');\n\n\nfunction compileList(schema, name) {\n var result = [];\n\n schema[name].forEach(function (currentType) {\n var newIndex = result.length;\n\n result.forEach(function (previousType, previousIndex) {\n if (previousType.tag === currentType.tag &&\n previousType.kind === currentType.kind &&\n previousType.multi === currentType.multi) {\n\n newIndex = previousIndex;\n }\n });\n\n result[newIndex] = currentType;\n });\n\n return result;\n}\n\n\nfunction compileMap(/* lists... */) {\n var result = {\n scalar: {},\n sequence: {},\n mapping: {},\n fallback: {},\n multi: {\n scalar: [],\n sequence: [],\n mapping: [],\n fallback: []\n }\n }, index, length;\n\n function collectType(type) {\n if (type.multi) {\n result.multi[type.kind].push(type);\n result.multi['fallback'].push(type);\n } else {\n result[type.kind][type.tag] = result['fallback'][type.tag] = type;\n }\n }\n\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\n\n\nfunction Schema(definition) {\n return this.extend(definition);\n}\n\n\nSchema.prototype.extend = function extend(definition) {\n var implicit = [];\n var explicit = [];\n\n if (definition instanceof Type) {\n // Schema.extend(type)\n explicit.push(definition);\n\n } else if (Array.isArray(definition)) {\n // Schema.extend([ type1, type2, ... ])\n explicit = explicit.concat(definition);\n\n } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {\n // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] })\n if (definition.implicit) implicit = implicit.concat(definition.implicit);\n if (definition.explicit) explicit = explicit.concat(definition.explicit);\n\n } else {\n throw new YAMLException('Schema.extend argument should be a Type, [ Type ], ' +\n 'or a schema definition ({ implicit: [...], explicit: [...] })');\n }\n\n implicit.forEach(function (type) {\n if (!(type instanceof Type)) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n\n if (type.multi) {\n throw new YAMLException('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.');\n }\n });\n\n explicit.forEach(function (type) {\n if (!(type instanceof Type)) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n });\n\n var result = Object.create(Schema.prototype);\n\n result.implicit = (this.implicit || []).concat(implicit);\n result.explicit = (this.explicit || []).concat(explicit);\n\n result.compiledImplicit = compileList(result, 'implicit');\n result.compiledExplicit = compileList(result, 'explicit');\n result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);\n\n return result;\n};\n\n\nmodule.exports = Schema;\n","// Standard YAML's Core schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2804923\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, Core schema has no distinctions from JSON schema is JS-YAML.\n\n\n'use strict';\n\n\nmodule.exports = require('./json');\n","// JS-YAML's default schema for `safeLoad` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on standard YAML's Core schema and includes most of\n// extra types described at YAML tag repository. (http://yaml.org/type/)\n\n\n'use strict';\n\n\nmodule.exports = require('./core').extend({\n implicit: [\n require('../type/timestamp'),\n require('../type/merge')\n ],\n explicit: [\n require('../type/binary'),\n require('../type/omap'),\n require('../type/pairs'),\n require('../type/set')\n ]\n});\n","// Standard YAML's Failsafe schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2802346\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n explicit: [\n require('../type/str'),\n require('../type/seq'),\n require('../type/map')\n ]\n});\n","// Standard YAML's JSON schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2803231\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, this schema is not such strict as defined in the YAML specification.\n// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.\n\n\n'use strict';\n\n\nmodule.exports = require('./failsafe').extend({\n implicit: [\n require('../type/null'),\n require('../type/bool'),\n require('../type/int'),\n require('../type/float')\n ]\n});\n","'use strict';\n\n\nvar common = require('./common');\n\n\n// get snippet for a single line, respecting maxLength\nfunction getLine(buffer, lineStart, lineEnd, position, maxLineLength) {\n var head = '';\n var tail = '';\n var maxHalfLength = Math.floor(maxLineLength / 2) - 1;\n\n if (position - lineStart > maxHalfLength) {\n head = ' ... ';\n lineStart = position - maxHalfLength + head.length;\n }\n\n if (lineEnd - position > maxHalfLength) {\n tail = ' ...';\n lineEnd = position + maxHalfLength - tail.length;\n }\n\n return {\n str: head + buffer.slice(lineStart, lineEnd).replace(/\\t/g, '→') + tail,\n pos: position - lineStart + head.length // relative position\n };\n}\n\n\nfunction padStart(string, max) {\n return common.repeat(' ', max - string.length) + string;\n}\n\n\nfunction makeSnippet(mark, options) {\n options = Object.create(options || null);\n\n if (!mark.buffer) return null;\n\n if (!options.maxLength) options.maxLength = 79;\n if (typeof options.indent !== 'number') options.indent = 1;\n if (typeof options.linesBefore !== 'number') options.linesBefore = 3;\n if (typeof options.linesAfter !== 'number') options.linesAfter = 2;\n\n var re = /\\r?\\n|\\r|\\0/g;\n var lineStarts = [ 0 ];\n var lineEnds = [];\n var match;\n var foundLineNo = -1;\n\n while ((match = re.exec(mark.buffer))) {\n lineEnds.push(match.index);\n lineStarts.push(match.index + match[0].length);\n\n if (mark.position <= match.index && foundLineNo < 0) {\n foundLineNo = lineStarts.length - 2;\n }\n }\n\n if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;\n\n var result = '', i, line;\n var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;\n var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);\n\n for (i = 1; i <= options.linesBefore; i++) {\n if (foundLineNo - i < 0) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo - i],\n lineEnds[foundLineNo - i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),\n maxLineLength\n );\n result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n' + result;\n }\n\n line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);\n result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\\n';\n\n for (i = 1; i <= options.linesAfter; i++) {\n if (foundLineNo + i >= lineEnds.length) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo + i],\n lineEnds[foundLineNo + i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),\n maxLineLength\n );\n result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n }\n\n return result.replace(/\\n$/, '');\n}\n\n\nmodule.exports = makeSnippet;\n","'use strict';\n\nvar YAMLException = require('./exception');\n\nvar TYPE_CONSTRUCTOR_OPTIONS = [\n 'kind',\n 'multi',\n 'resolve',\n 'construct',\n 'instanceOf',\n 'predicate',\n 'represent',\n 'representName',\n 'defaultStyle',\n 'styleAliases'\n];\n\nvar YAML_NODE_KINDS = [\n 'scalar',\n 'sequence',\n 'mapping'\n];\n\nfunction compileStyleAliases(map) {\n var result = {};\n\n if (map !== null) {\n Object.keys(map).forEach(function (style) {\n map[style].forEach(function (alias) {\n result[String(alias)] = style;\n });\n });\n }\n\n return result;\n}\n\nfunction Type(tag, options) {\n options = options || {};\n\n Object.keys(options).forEach(function (name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n\n // TODO: Add tag format check.\n this.options = options; // keep original options in case user wants to extend this type later\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function () { return true; };\n this.construct = options['construct'] || function (data) { return data; };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.representName = options['representName'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.multi = options['multi'] || false;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\n\nmodule.exports = Type;\n","'use strict';\n\n/*eslint-disable no-bitwise*/\n\n\nvar Type = require('../type');\n\n\n// [ 64, 65, 66 ] -> [ padding, CR, LF ]\nvar BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\r';\n\n\nfunction resolveYamlBinary(data) {\n if (data === null) return false;\n\n var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;\n\n // Convert one by one.\n for (idx = 0; idx < max; idx++) {\n code = map.indexOf(data.charAt(idx));\n\n // Skip CR/LF\n if (code > 64) continue;\n\n // Fail on illegal characters\n if (code < 0) return false;\n\n bitlen += 6;\n }\n\n // If there are any bits left, source was corrupted\n return (bitlen % 8) === 0;\n}\n\nfunction constructYamlBinary(data) {\n var idx, tailbits,\n input = data.replace(/[\\r\\n=]/g, ''), // remove CR/LF & padding to simplify scan\n max = input.length,\n map = BASE64_MAP,\n bits = 0,\n result = [];\n\n // Collect by 6*4 bits (3 bytes)\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 4 === 0) && idx) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n }\n\n bits = (bits << 6) | map.indexOf(input.charAt(idx));\n }\n\n // Dump tail\n\n tailbits = (max % 4) * 6;\n\n if (tailbits === 0) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n } else if (tailbits === 18) {\n result.push((bits >> 10) & 0xFF);\n result.push((bits >> 2) & 0xFF);\n } else if (tailbits === 12) {\n result.push((bits >> 4) & 0xFF);\n }\n\n return new Uint8Array(result);\n}\n\nfunction representYamlBinary(object /*, style*/) {\n var result = '', bits = 0, idx, tail,\n max = object.length,\n map = BASE64_MAP;\n\n // Convert every three bytes to 4 ASCII characters.\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 3 === 0) && idx) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n }\n\n bits = (bits << 8) + object[idx];\n }\n\n // Dump tail\n\n tail = max % 3;\n\n if (tail === 0) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n } else if (tail === 2) {\n result += map[(bits >> 10) & 0x3F];\n result += map[(bits >> 4) & 0x3F];\n result += map[(bits << 2) & 0x3F];\n result += map[64];\n } else if (tail === 1) {\n result += map[(bits >> 2) & 0x3F];\n result += map[(bits << 4) & 0x3F];\n result += map[64];\n result += map[64];\n }\n\n return result;\n}\n\nfunction isBinary(obj) {\n return Object.prototype.toString.call(obj) === '[object Uint8Array]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:binary', {\n kind: 'scalar',\n resolve: resolveYamlBinary,\n construct: constructYamlBinary,\n predicate: isBinary,\n represent: representYamlBinary\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlBoolean(data) {\n if (data === null) return false;\n\n var max = data.length;\n\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||\n (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\n\nfunction constructYamlBoolean(data) {\n return data === 'true' ||\n data === 'True' ||\n data === 'TRUE';\n}\n\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function (object) { return object ? 'true' : 'false'; },\n uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },\n camelcase: function (object) { return object ? 'True' : 'False'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nvar YAML_FLOAT_PATTERN = new RegExp(\n // 2.5e4, 2.5 and integers\n '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +\n // .2e4, .2\n // special case, seems not from spec\n '|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +\n // .inf\n '|[-+]?\\\\.(?:inf|Inf|INF)' +\n // .nan\n '|\\\\.(?:nan|NaN|NAN))$');\n\nfunction resolveYamlFloat(data) {\n if (data === null) return false;\n\n if (!YAML_FLOAT_PATTERN.test(data) ||\n // Quick hack to not allow integers end with `_`\n // Probably should update regexp & check speed\n data[data.length - 1] === '_') {\n return false;\n }\n\n return true;\n}\n\nfunction constructYamlFloat(data) {\n var value, sign;\n\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n\n } else if (value === '.nan') {\n return NaN;\n }\n return sign * parseFloat(value, 10);\n}\n\n\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\n\nfunction representYamlFloat(object, style) {\n var res;\n\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase': return '.nan';\n case 'uppercase': return '.NAN';\n case 'camelcase': return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '.inf';\n case 'uppercase': return '.INF';\n case 'camelcase': return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '-.inf';\n case 'uppercase': return '-.INF';\n case 'camelcase': return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n\n res = object.toString(10);\n\n // JS stringifier can build scientific format without dots: 5e-100,\n // while YAML requres dot: 5.e-100. Fix it with simple hack\n\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\n\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') &&\n (object % 1 !== 0 || common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nfunction isHexCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||\n ((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||\n ((0x61/* a */ <= c) && (c <= 0x66/* f */));\n}\n\nfunction isOctCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));\n}\n\nfunction isDecCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));\n}\n\nfunction resolveYamlInteger(data) {\n if (data === null) return false;\n\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n\n if (!max) return false;\n\n ch = data[index];\n\n // sign\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n\n if (ch === '0') {\n // 0\n if (index + 1 === max) return true;\n ch = data[++index];\n\n // base 2, base 8, base 16\n\n if (ch === 'b') {\n // base 2\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch !== '0' && ch !== '1') return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'x') {\n // base 16\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isHexCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'o') {\n // base 8\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isOctCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n }\n\n // base 10 (except 0)\n\n // value should not start with `_`;\n if (ch === '_') return false;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n\n // Should have digits and should not end with `_`\n if (!hasDigits || ch === '_') return false;\n\n return true;\n}\n\nfunction constructYamlInteger(data) {\n var value = data, sign = 1, ch;\n\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n\n ch = value[0];\n\n if (ch === '-' || ch === '+') {\n if (ch === '-') sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n\n if (value === '0') return 0;\n\n if (ch === '0') {\n if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x') return sign * parseInt(value.slice(2), 16);\n if (value[1] === 'o') return sign * parseInt(value.slice(2), 8);\n }\n\n return sign * parseInt(value, 10);\n}\n\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' &&\n (object % 1 === 0 && !common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },\n octal: function (obj) { return obj >= 0 ? '0o' + obj.toString(8) : '-0o' + obj.toString(8).slice(1); },\n decimal: function (obj) { return obj.toString(10); },\n /* eslint-disable max-len */\n hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [ 2, 'bin' ],\n octal: [ 8, 'oct' ],\n decimal: [ 10, 'dec' ],\n hexadecimal: [ 16, 'hex' ]\n }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function (data) { return data !== null ? data : {}; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlNull(data) {\n if (data === null) return true;\n\n var max = data.length;\n\n return (max === 1 && data === '~') ||\n (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\n\nfunction constructYamlNull() {\n return null;\n}\n\nfunction isNull(object) {\n return object === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function () { return '~'; },\n lowercase: function () { return 'null'; },\n uppercase: function () { return 'NULL'; },\n camelcase: function () { return 'Null'; },\n empty: function () { return ''; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlOmap(data) {\n if (data === null) return true;\n\n var objectKeys = [], index, length, pair, pairKey, pairHasKey,\n object = data;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey) pairHasKey = true;\n else return false;\n }\n }\n\n if (!pairHasKey) return false;\n\n if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);\n else return false;\n }\n\n return true;\n}\n\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlPairs(data) {\n if (data === null) return true;\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n keys = Object.keys(pair);\n\n if (keys.length !== 1) return false;\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return true;\n}\n\nfunction constructYamlPairs(data) {\n if (data === null) return [];\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n keys = Object.keys(pair);\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return result;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function (data) { return data !== null ? data : []; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction resolveYamlSet(data) {\n if (data === null) return true;\n\n var key, object = data;\n\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null) return false;\n }\n }\n\n return true;\n}\n\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function (data) { return data !== null ? data : ''; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar YAML_DATE_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9])' + // [2] month\n '-([0-9][0-9])$'); // [3] day\n\nvar YAML_TIMESTAMP_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9]?)' + // [2] month\n '-([0-9][0-9]?)' + // [3] day\n '(?:[Tt]|[ \\\\t]+)' + // ...\n '([0-9][0-9]?)' + // [4] hour\n ':([0-9][0-9])' + // [5] minute\n ':([0-9][0-9])' + // [6] second\n '(?:\\\\.([0-9]*))?' + // [7] fraction\n '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour\n '(?::([0-9][0-9]))?))?$'); // [11] tz_minute\n\nfunction resolveYamlTimestamp(data) {\n if (data === null) return false;\n if (YAML_DATE_REGEXP.exec(data) !== null) return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;\n return false;\n}\n\nfunction constructYamlTimestamp(data) {\n var match, year, month, day, hour, minute, second, fraction = 0,\n delta = null, tz_hour, tz_minute, date;\n\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);\n\n if (match === null) throw new Error('Date resolve error');\n\n // match: [1] year [2] month [3] day\n\n year = +(match[1]);\n month = +(match[2]) - 1; // JS month starts with 0\n day = +(match[3]);\n\n if (!match[4]) { // no hour\n return new Date(Date.UTC(year, month, day));\n }\n\n // match: [4] hour [5] minute [6] second [7] fraction\n\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) { // milli-seconds\n fraction += '0';\n }\n fraction = +fraction;\n }\n\n // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute\n\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds\n if (match[9] === '-') delta = -delta;\n }\n\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n\n if (delta) date.setTime(date.getTime() - delta);\n\n return date;\n}\n\nfunction representYamlTimestamp(object /*, style*/) {\n return object.toISOString();\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n","/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods(level, loggerName) {\n /*jshint validthis:true */\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, loggerName);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this, level, loggerName);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, level, loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, defaultLevel, factory) {\n var self = this;\n var currentLevel;\n defaultLevel = defaultLevel == null ? \"WARN\" : defaultLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var location = cookie.indexOf(\n encodeURIComponent(storageKey) + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n return currentLevel;\n };\n\n self.setLevel = function (level, persist) {\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n currentLevel = level;\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(level);\n }\n replaceLoggingMethods.call(self, level, name);\n if (typeof console === undefinedType && level < self.levels.SILENT) {\n return \"No console available for logging\";\n }\n } else {\n throw \"log.setLevel() called with invalid level: \" + level;\n }\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = level;\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n self.setLevel(defaultLevel, false);\n clearPersistedLevel();\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n // Initialize with the right level\n var initialLevel = getPersistedLevel();\n if (initialLevel == null) {\n initialLevel = defaultLevel;\n }\n self.setLevel(initialLevel, false);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n var defaultLogger = new Logger();\n\n var _loggersByName = {};\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name, defaultLogger.getLevel(), defaultLogger.methodFactory);\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n","/*!\n * mime-db\n * Copyright(c) 2014 Jonathan Ong\n * MIT Licensed\n */\n\n/**\n * Module exports.\n */\n\nmodule.exports = require('./db.json')\n","/*!\n * mime-types\n * Copyright(c) 2014 Jonathan Ong\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * Module dependencies.\n * @private\n */\n\nvar db = require('mime-db')\nvar extname = require('path').extname\n\n/**\n * Module variables.\n * @private\n */\n\nvar EXTRACT_TYPE_REGEXP = /^\\s*([^;\\s]*)(?:;|\\s|$)/\nvar TEXT_TYPE_REGEXP = /^text\\//i\n\n/**\n * Module exports.\n * @public\n */\n\nexports.charset = charset\nexports.charsets = { lookup: charset }\nexports.contentType = contentType\nexports.extension = extension\nexports.extensions = Object.create(null)\nexports.lookup = lookup\nexports.types = Object.create(null)\n\n// Populate the extensions/types maps\npopulateMaps(exports.extensions, exports.types)\n\n/**\n * Get the default charset for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction charset (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n var mime = match && db[match[1].toLowerCase()]\n\n if (mime && mime.charset) {\n return mime.charset\n }\n\n // default text/* to utf-8\n if (match && TEXT_TYPE_REGEXP.test(match[1])) {\n return 'UTF-8'\n }\n\n return false\n}\n\n/**\n * Create a full Content-Type header given a MIME type or extension.\n *\n * @param {string} str\n * @return {boolean|string}\n */\n\nfunction contentType (str) {\n // TODO: should this even be in this module?\n if (!str || typeof str !== 'string') {\n return false\n }\n\n var mime = str.indexOf('/') === -1\n ? exports.lookup(str)\n : str\n\n if (!mime) {\n return false\n }\n\n // TODO: use content-type or other module\n if (mime.indexOf('charset') === -1) {\n var charset = exports.charset(mime)\n if (charset) mime += '; charset=' + charset.toLowerCase()\n }\n\n return mime\n}\n\n/**\n * Get the default extension for a MIME type.\n *\n * @param {string} type\n * @return {boolean|string}\n */\n\nfunction extension (type) {\n if (!type || typeof type !== 'string') {\n return false\n }\n\n // TODO: use media-typer\n var match = EXTRACT_TYPE_REGEXP.exec(type)\n\n // get extensions\n var exts = match && exports.extensions[match[1].toLowerCase()]\n\n if (!exts || !exts.length) {\n return false\n }\n\n return exts[0]\n}\n\n/**\n * Lookup the MIME type for a file path/extension.\n *\n * @param {string} path\n * @return {boolean|string}\n */\n\nfunction lookup (path) {\n if (!path || typeof path !== 'string') {\n return false\n }\n\n // get the extension (\"ext\" or \".ext\" or full path)\n var extension = extname('x.' + path)\n .toLowerCase()\n .substr(1)\n\n if (!extension) {\n return false\n }\n\n return exports.types[extension] || false\n}\n\n/**\n * Populate the extensions and types maps.\n * @private\n */\n\nfunction populateMaps (extensions, types) {\n // source preference (least -> most)\n var preference = ['nginx', 'apache', undefined, 'iana']\n\n Object.keys(db).forEach(function forEachMimeType (type) {\n var mime = db[type]\n var exts = mime.extensions\n\n if (!exts || !exts.length) {\n return\n }\n\n // mime -> extensions\n extensions[type] = exts\n\n // extension -> mime\n for (var i = 0; i < exts.length; i++) {\n var extension = exts[i]\n\n if (types[extension]) {\n var from = preference.indexOf(db[types[extension]].source)\n var to = preference.indexOf(mime.source)\n\n if (types[extension] !== 'application/octet-stream' &&\n (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {\n // skip the remapping\n continue\n }\n }\n\n // set the extension -> mime\n types[extension] = type\n }\n })\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 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');\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\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 = parse_url(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 = parse_url(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parse_url(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\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\nconst resolve_url = Url.resolve;\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\tconst locationURL = location === null ? null : resolve_url(request.url, location);\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\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","var wrappy = require('wrappy')\nmodule.exports = wrappy(once)\nmodule.exports.strict = wrappy(onceStrict)\n\nonce.proto = once(function () {\n Object.defineProperty(Function.prototype, 'once', {\n value: function () {\n return once(this)\n },\n configurable: true\n })\n\n Object.defineProperty(Function.prototype, 'onceStrict', {\n value: function () {\n return onceStrict(this)\n },\n configurable: true\n })\n})\n\nfunction once (fn) {\n var f = function () {\n if (f.called) return f.value\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n f.called = false\n return f\n}\n\nfunction onceStrict (fn) {\n var f = function () {\n if (f.called)\n throw new Error(f.onceError)\n f.called = true\n return f.value = fn.apply(this, arguments)\n }\n var name = fn.name || 'Function wrapped with `once`'\n f.onceError = name + \" shouldn't be called more than once\"\n f.called = false\n return f\n}\n","// Top level file is just a mixin of submodules & constants\n'use strict';\n\nconst { Deflate, deflate, deflateRaw, gzip } = require('./lib/deflate');\n\nconst { Inflate, inflate, inflateRaw, ungzip } = require('./lib/inflate');\n\nconst constants = require('./lib/zlib/constants');\n\nmodule.exports.Deflate = Deflate;\nmodule.exports.deflate = deflate;\nmodule.exports.deflateRaw = deflateRaw;\nmodule.exports.gzip = gzip;\nmodule.exports.Inflate = Inflate;\nmodule.exports.inflate = inflate;\nmodule.exports.inflateRaw = inflateRaw;\nmodule.exports.ungzip = ungzip;\nmodule.exports.constants = constants;\n","'use strict';\n\n\nconst zlib_deflate = require('./zlib/deflate');\nconst utils = require('./utils/common');\nconst strings = require('./utils/strings');\nconst msg = require('./zlib/messages');\nconst ZStream = require('./zlib/zstream');\n\nconst toString = Object.prototype.toString;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH,\n Z_OK, Z_STREAM_END,\n Z_DEFAULT_COMPRESSION,\n Z_DEFAULT_STRATEGY,\n Z_DEFLATED\n} = require('./zlib/constants');\n\n/* ===========================================================================*/\n\n\n/**\n * class Deflate\n *\n * Generic JS-style wrapper for zlib calls. If you don't need\n * streaming behaviour - use more simple functions: [[deflate]],\n * [[deflateRaw]] and [[gzip]].\n **/\n\n/* internal\n * Deflate.chunks -> Array\n *\n * Chunks of output data, if [[Deflate#onData]] not overridden.\n **/\n\n/**\n * Deflate.result -> Uint8Array\n *\n * Compressed result, generated by default [[Deflate#onData]]\n * and [[Deflate#onEnd]] handlers. Filled after you push last chunk\n * (call [[Deflate#push]] with `Z_FINISH` / `true` param).\n **/\n\n/**\n * Deflate.err -> Number\n *\n * Error code after deflate finished. 0 (Z_OK) on success.\n * You will not need it in real life, because deflate errors\n * are possible only on wrong options or bad `onData` / `onEnd`\n * custom handlers.\n **/\n\n/**\n * Deflate.msg -> String\n *\n * Error message, if [[Deflate.err]] != 0\n **/\n\n\n/**\n * new Deflate(options)\n * - options (Object): zlib deflate options.\n *\n * Creates new deflator instance with specified params. Throws exception\n * on bad params. Supported options:\n *\n * - `level`\n * - `windowBits`\n * - `memLevel`\n * - `strategy`\n * - `dictionary`\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Additional options, for internal needs:\n *\n * - `chunkSize` - size of generated data chunks (16K by default)\n * - `raw` (Boolean) - do raw deflate\n * - `gzip` (Boolean) - create gzip wrapper\n * - `header` (Object) - custom header for gzip\n * - `text` (Boolean) - true if compressed data believed to be text\n * - `time` (Number) - modification time, unix timestamp\n * - `os` (Number) - operation system code\n * - `extra` (Array) - array of bytes with extra data (max 65536)\n * - `name` (String) - file name (binary string)\n * - `comment` (String) - comment (binary string)\n * - `hcrc` (Boolean) - true if header crc should be added\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * , chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\n * , chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\n *\n * const deflate = new pako.Deflate({ level: 3});\n *\n * deflate.push(chunk1, false);\n * deflate.push(chunk2, true); // true -> last chunk\n *\n * if (deflate.err) { throw new Error(deflate.err); }\n *\n * console.log(deflate.result);\n * ```\n **/\nfunction Deflate(options) {\n this.options = utils.assign({\n level: Z_DEFAULT_COMPRESSION,\n method: Z_DEFLATED,\n chunkSize: 16384,\n windowBits: 15,\n memLevel: 8,\n strategy: Z_DEFAULT_STRATEGY\n }, options || {});\n\n let opt = this.options;\n\n if (opt.raw && (opt.windowBits > 0)) {\n opt.windowBits = -opt.windowBits;\n }\n\n else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {\n opt.windowBits += 16;\n }\n\n this.err = 0; // error code, if happens (0 = Z_OK)\n this.msg = ''; // error message\n this.ended = false; // used to avoid multiple onEnd() calls\n this.chunks = []; // chunks of compressed data\n\n this.strm = new ZStream();\n this.strm.avail_out = 0;\n\n let status = zlib_deflate.deflateInit2(\n this.strm,\n opt.level,\n opt.method,\n opt.windowBits,\n opt.memLevel,\n opt.strategy\n );\n\n if (status !== Z_OK) {\n throw new Error(msg[status]);\n }\n\n if (opt.header) {\n zlib_deflate.deflateSetHeader(this.strm, opt.header);\n }\n\n if (opt.dictionary) {\n let dict;\n // Convert data if needed\n if (typeof opt.dictionary === 'string') {\n // If we need to compress text, change encoding to utf8.\n dict = strings.string2buf(opt.dictionary);\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\n dict = new Uint8Array(opt.dictionary);\n } else {\n dict = opt.dictionary;\n }\n\n status = zlib_deflate.deflateSetDictionary(this.strm, dict);\n\n if (status !== Z_OK) {\n throw new Error(msg[status]);\n }\n\n this._dict_set = true;\n }\n}\n\n/**\n * Deflate#push(data[, flush_mode]) -> Boolean\n * - data (Uint8Array|ArrayBuffer|String): input data. Strings will be\n * converted to utf8 byte sequence.\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\n *\n * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with\n * new compressed chunks. Returns `true` on success. The last data block must\n * have `flush_mode` Z_FINISH (or `true`). That will flush internal pending\n * buffers and call [[Deflate#onEnd]].\n *\n * On fail call [[Deflate#onEnd]] with error code and return false.\n *\n * ##### Example\n *\n * ```javascript\n * push(chunk, false); // push one of data chunks\n * ...\n * push(chunk, true); // push last chunk\n * ```\n **/\nDeflate.prototype.push = function (data, flush_mode) {\n const strm = this.strm;\n const chunkSize = this.options.chunkSize;\n let status, _flush_mode;\n\n if (this.ended) { return false; }\n\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\n\n // Convert data if needed\n if (typeof data === 'string') {\n // If we need to compress text, change encoding to utf8.\n strm.input = strings.string2buf(data);\n } else if (toString.call(data) === '[object ArrayBuffer]') {\n strm.input = new Uint8Array(data);\n } else {\n strm.input = data;\n }\n\n strm.next_in = 0;\n strm.avail_in = strm.input.length;\n\n for (;;) {\n if (strm.avail_out === 0) {\n strm.output = new Uint8Array(chunkSize);\n strm.next_out = 0;\n strm.avail_out = chunkSize;\n }\n\n // Make sure avail_out > 6 to avoid repeating markers\n if ((_flush_mode === Z_SYNC_FLUSH || _flush_mode === Z_FULL_FLUSH) && strm.avail_out <= 6) {\n this.onData(strm.output.subarray(0, strm.next_out));\n strm.avail_out = 0;\n continue;\n }\n\n status = zlib_deflate.deflate(strm, _flush_mode);\n\n // Ended => flush and finish\n if (status === Z_STREAM_END) {\n if (strm.next_out > 0) {\n this.onData(strm.output.subarray(0, strm.next_out));\n }\n status = zlib_deflate.deflateEnd(this.strm);\n this.onEnd(status);\n this.ended = true;\n return status === Z_OK;\n }\n\n // Flush if out buffer full\n if (strm.avail_out === 0) {\n this.onData(strm.output);\n continue;\n }\n\n // Flush if requested and has data\n if (_flush_mode > 0 && strm.next_out > 0) {\n this.onData(strm.output.subarray(0, strm.next_out));\n strm.avail_out = 0;\n continue;\n }\n\n if (strm.avail_in === 0) break;\n }\n\n return true;\n};\n\n\n/**\n * Deflate#onData(chunk) -> Void\n * - chunk (Uint8Array): output data.\n *\n * By default, stores data blocks in `chunks[]` property and glue\n * those in `onEnd`. Override this handler, if you need another behaviour.\n **/\nDeflate.prototype.onData = function (chunk) {\n this.chunks.push(chunk);\n};\n\n\n/**\n * Deflate#onEnd(status) -> Void\n * - status (Number): deflate status. 0 (Z_OK) on success,\n * other if not.\n *\n * Called once after you tell deflate that the input stream is\n * complete (Z_FINISH). By default - join collected chunks,\n * free memory and fill `results` / `err` properties.\n **/\nDeflate.prototype.onEnd = function (status) {\n // On success - join\n if (status === Z_OK) {\n this.result = utils.flattenChunks(this.chunks);\n }\n this.chunks = [];\n this.err = status;\n this.msg = this.strm.msg;\n};\n\n\n/**\n * deflate(data[, options]) -> Uint8Array\n * - data (Uint8Array|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * Compress `data` with deflate algorithm and `options`.\n *\n * Supported options are:\n *\n * - level\n * - windowBits\n * - memLevel\n * - strategy\n * - dictionary\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Sugar (options):\n *\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\n * negative windowBits implicitly.\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * const data = new Uint8Array([1,2,3,4,5,6,7,8,9]);\n *\n * console.log(pako.deflate(data));\n * ```\n **/\nfunction deflate(input, options) {\n const deflator = new Deflate(options);\n\n deflator.push(input, true);\n\n // That will never happens, if you don't cheat with options :)\n if (deflator.err) { throw deflator.msg || msg[deflator.err]; }\n\n return deflator.result;\n}\n\n\n/**\n * deflateRaw(data[, options]) -> Uint8Array\n * - data (Uint8Array|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * The same as [[deflate]], but creates raw data, without wrapper\n * (header and adler32 crc).\n **/\nfunction deflateRaw(input, options) {\n options = options || {};\n options.raw = true;\n return deflate(input, options);\n}\n\n\n/**\n * gzip(data[, options]) -> Uint8Array\n * - data (Uint8Array|String): input data to compress.\n * - options (Object): zlib deflate options.\n *\n * The same as [[deflate]], but create gzip wrapper instead of\n * deflate one.\n **/\nfunction gzip(input, options) {\n options = options || {};\n options.gzip = true;\n return deflate(input, options);\n}\n\n\nmodule.exports.Deflate = Deflate;\nmodule.exports.deflate = deflate;\nmodule.exports.deflateRaw = deflateRaw;\nmodule.exports.gzip = gzip;\nmodule.exports.constants = require('./zlib/constants');\n","'use strict';\n\n\nconst zlib_inflate = require('./zlib/inflate');\nconst utils = require('./utils/common');\nconst strings = require('./utils/strings');\nconst msg = require('./zlib/messages');\nconst ZStream = require('./zlib/zstream');\nconst GZheader = require('./zlib/gzheader');\n\nconst toString = Object.prototype.toString;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH, Z_FINISH,\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR\n} = require('./zlib/constants');\n\n/* ===========================================================================*/\n\n\n/**\n * class Inflate\n *\n * Generic JS-style wrapper for zlib calls. If you don't need\n * streaming behaviour - use more simple functions: [[inflate]]\n * and [[inflateRaw]].\n **/\n\n/* internal\n * inflate.chunks -> Array\n *\n * Chunks of output data, if [[Inflate#onData]] not overridden.\n **/\n\n/**\n * Inflate.result -> Uint8Array|String\n *\n * Uncompressed result, generated by default [[Inflate#onData]]\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param).\n **/\n\n/**\n * Inflate.err -> Number\n *\n * Error code after inflate finished. 0 (Z_OK) on success.\n * Should be checked if broken data possible.\n **/\n\n/**\n * Inflate.msg -> String\n *\n * Error message, if [[Inflate.err]] != 0\n **/\n\n\n/**\n * new Inflate(options)\n * - options (Object): zlib inflate options.\n *\n * Creates new inflator instance with specified params. Throws exception\n * on bad params. Supported options:\n *\n * - `windowBits`\n * - `dictionary`\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information on these.\n *\n * Additional options, for internal needs:\n *\n * - `chunkSize` - size of generated data chunks (16K by default)\n * - `raw` (Boolean) - do raw inflate\n * - `to` (String) - if equal to 'string', then result will be converted\n * from utf8 to utf16 (javascript) string. When string output requested,\n * chunk length can differ from `chunkSize`, depending on content.\n *\n * By default, when no options set, autodetect deflate/gzip data format via\n * wrapper header.\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako')\n * const chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\n * const chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\n *\n * const inflate = new pako.Inflate({ level: 3});\n *\n * inflate.push(chunk1, false);\n * inflate.push(chunk2, true); // true -> last chunk\n *\n * if (inflate.err) { throw new Error(inflate.err); }\n *\n * console.log(inflate.result);\n * ```\n **/\nfunction Inflate(options) {\n this.options = utils.assign({\n chunkSize: 1024 * 64,\n windowBits: 15,\n to: ''\n }, options || {});\n\n const opt = this.options;\n\n // Force window size for `raw` data, if not set directly,\n // because we have no header for autodetect.\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\n opt.windowBits = -opt.windowBits;\n if (opt.windowBits === 0) { opt.windowBits = -15; }\n }\n\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\n !(options && options.windowBits)) {\n opt.windowBits += 32;\n }\n\n // Gzip header has no info about windows size, we can do autodetect only\n // for deflate. So, if window size not set, force it to max when gzip possible\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\n // bit 3 (16) -> gzipped data\n // bit 4 (32) -> autodetect gzip/deflate\n if ((opt.windowBits & 15) === 0) {\n opt.windowBits |= 15;\n }\n }\n\n this.err = 0; // error code, if happens (0 = Z_OK)\n this.msg = ''; // error message\n this.ended = false; // used to avoid multiple onEnd() calls\n this.chunks = []; // chunks of compressed data\n\n this.strm = new ZStream();\n this.strm.avail_out = 0;\n\n let status = zlib_inflate.inflateInit2(\n this.strm,\n opt.windowBits\n );\n\n if (status !== Z_OK) {\n throw new Error(msg[status]);\n }\n\n this.header = new GZheader();\n\n zlib_inflate.inflateGetHeader(this.strm, this.header);\n\n // Setup dictionary\n if (opt.dictionary) {\n // Convert data if needed\n if (typeof opt.dictionary === 'string') {\n opt.dictionary = strings.string2buf(opt.dictionary);\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\n opt.dictionary = new Uint8Array(opt.dictionary);\n }\n if (opt.raw) { //In raw mode we need to set the dictionary early\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\n if (status !== Z_OK) {\n throw new Error(msg[status]);\n }\n }\n }\n}\n\n/**\n * Inflate#push(data[, flush_mode]) -> Boolean\n * - data (Uint8Array|ArrayBuffer): input data\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE\n * flush modes. See constants. Skipped or `false` means Z_NO_FLUSH,\n * `true` means Z_FINISH.\n *\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\n * new output chunks. Returns `true` on success. If end of stream detected,\n * [[Inflate#onEnd]] will be called.\n *\n * `flush_mode` is not needed for normal operation, because end of stream\n * detected automatically. You may try to use it for advanced things, but\n * this functionality was not tested.\n *\n * On fail call [[Inflate#onEnd]] with error code and return false.\n *\n * ##### Example\n *\n * ```javascript\n * push(chunk, false); // push one of data chunks\n * ...\n * push(chunk, true); // push last chunk\n * ```\n **/\nInflate.prototype.push = function (data, flush_mode) {\n const strm = this.strm;\n const chunkSize = this.options.chunkSize;\n const dictionary = this.options.dictionary;\n let status, _flush_mode, last_avail_out;\n\n if (this.ended) return false;\n\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\n\n // Convert data if needed\n if (toString.call(data) === '[object ArrayBuffer]') {\n strm.input = new Uint8Array(data);\n } else {\n strm.input = data;\n }\n\n strm.next_in = 0;\n strm.avail_in = strm.input.length;\n\n for (;;) {\n if (strm.avail_out === 0) {\n strm.output = new Uint8Array(chunkSize);\n strm.next_out = 0;\n strm.avail_out = chunkSize;\n }\n\n status = zlib_inflate.inflate(strm, _flush_mode);\n\n if (status === Z_NEED_DICT && dictionary) {\n status = zlib_inflate.inflateSetDictionary(strm, dictionary);\n\n if (status === Z_OK) {\n status = zlib_inflate.inflate(strm, _flush_mode);\n } else if (status === Z_DATA_ERROR) {\n // Replace code with more verbose\n status = Z_NEED_DICT;\n }\n }\n\n // Skip snyc markers if more data follows and not raw mode\n while (strm.avail_in > 0 &&\n status === Z_STREAM_END &&\n strm.state.wrap > 0 &&\n data[strm.next_in] !== 0)\n {\n zlib_inflate.inflateReset(strm);\n status = zlib_inflate.inflate(strm, _flush_mode);\n }\n\n switch (status) {\n case Z_STREAM_ERROR:\n case Z_DATA_ERROR:\n case Z_NEED_DICT:\n case Z_MEM_ERROR:\n this.onEnd(status);\n this.ended = true;\n return false;\n }\n\n // Remember real `avail_out` value, because we may patch out buffer content\n // to align utf8 strings boundaries.\n last_avail_out = strm.avail_out;\n\n if (strm.next_out) {\n if (strm.avail_out === 0 || status === Z_STREAM_END) {\n\n if (this.options.to === 'string') {\n\n let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\n\n let tail = strm.next_out - next_out_utf8;\n let utf8str = strings.buf2string(strm.output, next_out_utf8);\n\n // move tail & realign counters\n strm.next_out = tail;\n strm.avail_out = chunkSize - tail;\n if (tail) strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);\n\n this.onData(utf8str);\n\n } else {\n this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));\n }\n }\n }\n\n // Must repeat iteration if out buffer is full\n if (status === Z_OK && last_avail_out === 0) continue;\n\n // Finalize if end of stream reached.\n if (status === Z_STREAM_END) {\n status = zlib_inflate.inflateEnd(this.strm);\n this.onEnd(status);\n this.ended = true;\n return true;\n }\n\n if (strm.avail_in === 0) break;\n }\n\n return true;\n};\n\n\n/**\n * Inflate#onData(chunk) -> Void\n * - chunk (Uint8Array|String): output data. When string output requested,\n * each chunk will be string.\n *\n * By default, stores data blocks in `chunks[]` property and glue\n * those in `onEnd`. Override this handler, if you need another behaviour.\n **/\nInflate.prototype.onData = function (chunk) {\n this.chunks.push(chunk);\n};\n\n\n/**\n * Inflate#onEnd(status) -> Void\n * - status (Number): inflate status. 0 (Z_OK) on success,\n * other if not.\n *\n * Called either after you tell inflate that the input stream is\n * complete (Z_FINISH). By default - join collected chunks,\n * free memory and fill `results` / `err` properties.\n **/\nInflate.prototype.onEnd = function (status) {\n // On success - join\n if (status === Z_OK) {\n if (this.options.to === 'string') {\n this.result = this.chunks.join('');\n } else {\n this.result = utils.flattenChunks(this.chunks);\n }\n }\n this.chunks = [];\n this.err = status;\n this.msg = this.strm.msg;\n};\n\n\n/**\n * inflate(data[, options]) -> Uint8Array|String\n * - data (Uint8Array): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\n * format via wrapper header by default. That's why we don't provide\n * separate `ungzip` method.\n *\n * Supported options are:\n *\n * - windowBits\n *\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\n * for more information.\n *\n * Sugar (options):\n *\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\n * negative windowBits implicitly.\n * - `to` (String) - if equal to 'string', then result will be converted\n * from utf8 to utf16 (javascript) string. When string output requested,\n * chunk length can differ from `chunkSize`, depending on content.\n *\n *\n * ##### Example:\n *\n * ```javascript\n * const pako = require('pako');\n * const input = pako.deflate(new Uint8Array([1,2,3,4,5,6,7,8,9]));\n * let output;\n *\n * try {\n * output = pako.inflate(input);\n * } catch (err) {\n * console.log(err);\n * }\n * ```\n **/\nfunction inflate(input, options) {\n const inflator = new Inflate(options);\n\n inflator.push(input);\n\n // That will never happens, if you don't cheat with options :)\n if (inflator.err) throw inflator.msg || msg[inflator.err];\n\n return inflator.result;\n}\n\n\n/**\n * inflateRaw(data[, options]) -> Uint8Array|String\n * - data (Uint8Array): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * The same as [[inflate]], but creates raw data, without wrapper\n * (header and adler32 crc).\n **/\nfunction inflateRaw(input, options) {\n options = options || {};\n options.raw = true;\n return inflate(input, options);\n}\n\n\n/**\n * ungzip(data[, options]) -> Uint8Array|String\n * - data (Uint8Array): input data to decompress.\n * - options (Object): zlib inflate options.\n *\n * Just shortcut to [[inflate]], because it autodetects format\n * by header.content. Done for convenience.\n **/\n\n\nmodule.exports.Inflate = Inflate;\nmodule.exports.inflate = inflate;\nmodule.exports.inflateRaw = inflateRaw;\nmodule.exports.ungzip = inflate;\nmodule.exports.constants = require('./zlib/constants');\n","'use strict';\n\n\nconst _has = (obj, key) => {\n return Object.prototype.hasOwnProperty.call(obj, key);\n};\n\nmodule.exports.assign = function (obj /*from1, from2, from3, ...*/) {\n const sources = Array.prototype.slice.call(arguments, 1);\n while (sources.length) {\n const source = sources.shift();\n if (!source) { continue; }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be non-object');\n }\n\n for (const p in source) {\n if (_has(source, p)) {\n obj[p] = source[p];\n }\n }\n }\n\n return obj;\n};\n\n\n// Join array of chunks to single array.\nmodule.exports.flattenChunks = (chunks) => {\n // calculate data length\n let len = 0;\n\n for (let i = 0, l = chunks.length; i < l; i++) {\n len += chunks[i].length;\n }\n\n // join chunks\n const result = new Uint8Array(len);\n\n for (let i = 0, pos = 0, l = chunks.length; i < l; i++) {\n let chunk = chunks[i];\n result.set(chunk, pos);\n pos += chunk.length;\n }\n\n return result;\n};\n","// String encode/decode helpers\n'use strict';\n\n\n// Quick check if we can use fast array to bin string conversion\n//\n// - apply(Array) can fail on Android 2.2\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\n//\nlet STR_APPLY_UIA_OK = true;\n\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\n\n\n// Table with utf8 lengths (calculated by first byte of sequence)\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\n// because max possible codepoint is 0x10ffff\nconst _utf8len = new Uint8Array(256);\nfor (let q = 0; q < 256; q++) {\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\n}\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\n\n\n// convert string to array (typed, when possible)\nmodule.exports.string2buf = (str) => {\n if (typeof TextEncoder === 'function' && TextEncoder.prototype.encode) {\n return new TextEncoder().encode(str);\n }\n\n let buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\n\n // count binary size\n for (m_pos = 0; m_pos < str_len; m_pos++) {\n c = str.charCodeAt(m_pos);\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\n c2 = str.charCodeAt(m_pos + 1);\n if ((c2 & 0xfc00) === 0xdc00) {\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\n m_pos++;\n }\n }\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\n }\n\n // allocate buffer\n buf = new Uint8Array(buf_len);\n\n // convert\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\n c = str.charCodeAt(m_pos);\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\n c2 = str.charCodeAt(m_pos + 1);\n if ((c2 & 0xfc00) === 0xdc00) {\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\n m_pos++;\n }\n }\n if (c < 0x80) {\n /* one byte */\n buf[i++] = c;\n } else if (c < 0x800) {\n /* two bytes */\n buf[i++] = 0xC0 | (c >>> 6);\n buf[i++] = 0x80 | (c & 0x3f);\n } else if (c < 0x10000) {\n /* three bytes */\n buf[i++] = 0xE0 | (c >>> 12);\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\n buf[i++] = 0x80 | (c & 0x3f);\n } else {\n /* four bytes */\n buf[i++] = 0xf0 | (c >>> 18);\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\n buf[i++] = 0x80 | (c & 0x3f);\n }\n }\n\n return buf;\n};\n\n// Helper\nconst buf2binstring = (buf, len) => {\n // On Chrome, the arguments in a function call that are allowed is `65534`.\n // If the length of the buffer is smaller than that, we can use this optimization,\n // otherwise we will take a slower path.\n if (len < 65534) {\n if (buf.subarray && STR_APPLY_UIA_OK) {\n return String.fromCharCode.apply(null, buf.length === len ? buf : buf.subarray(0, len));\n }\n }\n\n let result = '';\n for (let i = 0; i < len; i++) {\n result += String.fromCharCode(buf[i]);\n }\n return result;\n};\n\n\n// convert array to string\nmodule.exports.buf2string = (buf, max) => {\n const len = max || buf.length;\n\n if (typeof TextDecoder === 'function' && TextDecoder.prototype.decode) {\n return new TextDecoder().decode(buf.subarray(0, max));\n }\n\n let i, out;\n\n // Reserve max possible length (2 words per char)\n // NB: by unknown reasons, Array is significantly faster for\n // String.fromCharCode.apply than Uint16Array.\n const utf16buf = new Array(len * 2);\n\n for (out = 0, i = 0; i < len;) {\n let c = buf[i++];\n // quick process ascii\n if (c < 0x80) { utf16buf[out++] = c; continue; }\n\n let c_len = _utf8len[c];\n // skip 5 & 6 byte codes\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\n\n // apply mask on first byte\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\n // join the rest\n while (c_len > 1 && i < len) {\n c = (c << 6) | (buf[i++] & 0x3f);\n c_len--;\n }\n\n // terminated by end of string?\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\n\n if (c < 0x10000) {\n utf16buf[out++] = c;\n } else {\n c -= 0x10000;\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\n }\n }\n\n return buf2binstring(utf16buf, out);\n};\n\n\n// Calculate max possible position in utf8 buffer,\n// that will not break sequence. If that's not possible\n// - (very small limits) return max size as is.\n//\n// buf[] - utf8 bytes array\n// max - length limit (mandatory);\nmodule.exports.utf8border = (buf, max) => {\n\n max = max || buf.length;\n if (max > buf.length) { max = buf.length; }\n\n // go back from last position, until start of sequence found\n let pos = max - 1;\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\n\n // Very small and broken sequence,\n // return max, because we should return something anyway.\n if (pos < 0) { return max; }\n\n // If we came to start of buffer - that means buffer is too small,\n // return max too.\n if (pos === 0) { return max; }\n\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\n};\n","'use strict';\n\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\n// It isn't worth it to make additional optimizations as in original.\n// Small size is preferable.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst adler32 = (adler, buf, len, pos) => {\n let s1 = (adler & 0xffff) |0,\n s2 = ((adler >>> 16) & 0xffff) |0,\n n = 0;\n\n while (len !== 0) {\n // Set limit ~ twice less than 5552, to keep\n // s2 in 31-bits, because we force signed ints.\n // in other case %= will fail.\n n = len > 2000 ? 2000 : len;\n len -= n;\n\n do {\n s1 = (s1 + buf[pos++]) |0;\n s2 = (s2 + s1) |0;\n } while (--n);\n\n s1 %= 65521;\n s2 %= 65521;\n }\n\n return (s1 | (s2 << 16)) |0;\n};\n\n\nmodule.exports = adler32;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nmodule.exports = {\n\n /* Allowed flush values; see deflate() and inflate() below for details */\n Z_NO_FLUSH: 0,\n Z_PARTIAL_FLUSH: 1,\n Z_SYNC_FLUSH: 2,\n Z_FULL_FLUSH: 3,\n Z_FINISH: 4,\n Z_BLOCK: 5,\n Z_TREES: 6,\n\n /* Return codes for the compression/decompression functions. Negative values\n * are errors, positive values are used for special but normal events.\n */\n Z_OK: 0,\n Z_STREAM_END: 1,\n Z_NEED_DICT: 2,\n Z_ERRNO: -1,\n Z_STREAM_ERROR: -2,\n Z_DATA_ERROR: -3,\n Z_MEM_ERROR: -4,\n Z_BUF_ERROR: -5,\n //Z_VERSION_ERROR: -6,\n\n /* compression levels */\n Z_NO_COMPRESSION: 0,\n Z_BEST_SPEED: 1,\n Z_BEST_COMPRESSION: 9,\n Z_DEFAULT_COMPRESSION: -1,\n\n\n Z_FILTERED: 1,\n Z_HUFFMAN_ONLY: 2,\n Z_RLE: 3,\n Z_FIXED: 4,\n Z_DEFAULT_STRATEGY: 0,\n\n /* Possible values of the data_type field (though see inflate()) */\n Z_BINARY: 0,\n Z_TEXT: 1,\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\n Z_UNKNOWN: 2,\n\n /* The deflate compression method */\n Z_DEFLATED: 8\n //Z_NULL: null // Use -1 or null inline, depending on var type\n};\n","'use strict';\n\n// Note: we can't get significant speed boost here.\n// So write code to minimize size - no pregenerated tables\n// and array tools dependencies.\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// Use ordinary array, since untyped makes no boost here\nconst makeTable = () => {\n let c, table = [];\n\n for (var n = 0; n < 256; n++) {\n c = n;\n for (var k = 0; k < 8; k++) {\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\n }\n table[n] = c;\n }\n\n return table;\n};\n\n// Create table on load. Just 255 signed longs. Not a problem.\nconst crcTable = new Uint32Array(makeTable());\n\n\nconst crc32 = (crc, buf, len, pos) => {\n const t = crcTable;\n const end = pos + len;\n\n crc ^= -1;\n\n for (let i = pos; i < end; i++) {\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\n }\n\n return (crc ^ (-1)); // >>> 0;\n};\n\n\nmodule.exports = crc32;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = require('./trees');\nconst adler32 = require('./adler32');\nconst crc32 = require('./crc32');\nconst msg = require('./messages');\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_FULL_FLUSH, Z_FINISH, Z_BLOCK,\n Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_DATA_ERROR, Z_BUF_ERROR,\n Z_DEFAULT_COMPRESSION,\n Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY,\n Z_UNKNOWN,\n Z_DEFLATED\n} = require('./constants');\n\n/*============================================================================*/\n\n\nconst MAX_MEM_LEVEL = 9;\n/* Maximum value for memLevel in deflateInit2 */\nconst MAX_WBITS = 15;\n/* 32K LZ77 window */\nconst DEF_MEM_LEVEL = 8;\n\n\nconst LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\nconst LITERALS = 256;\n/* number of literal bytes 0..255 */\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\nconst D_CODES = 30;\n/* number of distance codes */\nconst BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\nconst HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\nconst MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nconst MIN_MATCH = 3;\nconst MAX_MATCH = 258;\nconst MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);\n\nconst PRESET_DICT = 0x20;\n\nconst INIT_STATE = 42;\nconst EXTRA_STATE = 69;\nconst NAME_STATE = 73;\nconst COMMENT_STATE = 91;\nconst HCRC_STATE = 103;\nconst BUSY_STATE = 113;\nconst FINISH_STATE = 666;\n\nconst BS_NEED_MORE = 1; /* block not completed, need more input or more output */\nconst BS_BLOCK_DONE = 2; /* block flush performed */\nconst BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\nconst BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\n\nconst OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\n\nconst err = (strm, errorCode) => {\n strm.msg = msg[errorCode];\n return errorCode;\n};\n\nconst rank = (f) => {\n return ((f) << 1) - ((f) > 4 ? 9 : 0);\n};\n\nconst zero = (buf) => {\n let len = buf.length; while (--len >= 0) { buf[len] = 0; }\n};\n\n\n/* eslint-disable new-cap */\nlet HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask;\n// This hash causes less collisions, https://github.com/nodeca/pako/issues/135\n// But breaks binary compatibility\n//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask;\nlet HASH = HASH_ZLIB;\n\n/* =========================================================================\n * Flush as much pending output as possible. All deflate() output goes\n * through this function so some applications may wish to modify it\n * to avoid allocating a large strm->output buffer and copying into it.\n * (See also read_buf()).\n */\nconst flush_pending = (strm) => {\n const s = strm.state;\n\n //_tr_flush_bits(s);\n let len = s.pending;\n if (len > strm.avail_out) {\n len = strm.avail_out;\n }\n if (len === 0) { return; }\n\n strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);\n strm.next_out += len;\n s.pending_out += len;\n strm.total_out += len;\n strm.avail_out -= len;\n s.pending -= len;\n if (s.pending === 0) {\n s.pending_out = 0;\n }\n};\n\n\nconst flush_block_only = (s, last) => {\n _tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);\n s.block_start = s.strstart;\n flush_pending(s.strm);\n};\n\n\nconst put_byte = (s, b) => {\n s.pending_buf[s.pending++] = b;\n};\n\n\n/* =========================================================================\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\n * IN assertion: the stream state is correct and there is enough room in\n * pending_buf.\n */\nconst putShortMSB = (s, b) => {\n\n // put_byte(s, (Byte)(b >> 8));\n// put_byte(s, (Byte)(b & 0xff));\n s.pending_buf[s.pending++] = (b >>> 8) & 0xff;\n s.pending_buf[s.pending++] = b & 0xff;\n};\n\n\n/* ===========================================================================\n * Read a new buffer from the current input stream, update the adler32\n * and total number of bytes read. All deflate() input goes through\n * this function so some applications may wish to modify it to avoid\n * allocating a large strm->input buffer and copying from it.\n * (See also flush_pending()).\n */\nconst read_buf = (strm, buf, start, size) => {\n\n let len = strm.avail_in;\n\n if (len > size) { len = size; }\n if (len === 0) { return 0; }\n\n strm.avail_in -= len;\n\n // zmemcpy(buf, strm->next_in, len);\n buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);\n if (strm.state.wrap === 1) {\n strm.adler = adler32(strm.adler, buf, len, start);\n }\n\n else if (strm.state.wrap === 2) {\n strm.adler = crc32(strm.adler, buf, len, start);\n }\n\n strm.next_in += len;\n strm.total_in += len;\n\n return len;\n};\n\n\n/* ===========================================================================\n * Set match_start to the longest match starting at the given string and\n * return its length. Matches shorter or equal to prev_length are discarded,\n * in which case the result is equal to prev_length and match_start is\n * garbage.\n * IN assertions: cur_match is the head of the hash chain for the current\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\n * OUT assertion: the match length is not greater than s->lookahead.\n */\nconst longest_match = (s, cur_match) => {\n\n let chain_length = s.max_chain_length; /* max hash chain length */\n let scan = s.strstart; /* current string */\n let match; /* matched string */\n let len; /* length of current match */\n let best_len = s.prev_length; /* best match length so far */\n let nice_match = s.nice_match; /* stop if match long enough */\n const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?\n s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;\n\n const _win = s.window; // shortcut\n\n const wmask = s.w_mask;\n const prev = s.prev;\n\n /* Stop when cur_match becomes <= limit. To simplify the code,\n * we prevent matches with the string of window index 0.\n */\n\n const strend = s.strstart + MAX_MATCH;\n let scan_end1 = _win[scan + best_len - 1];\n let scan_end = _win[scan + best_len];\n\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\n * It is easy to get rid of this optimization if necessary.\n */\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \"Code too clever\");\n\n /* Do not waste too much time if we already have a good match: */\n if (s.prev_length >= s.good_match) {\n chain_length >>= 2;\n }\n /* Do not look for matches beyond the end of the input. This is necessary\n * to make deflate deterministic.\n */\n if (nice_match > s.lookahead) { nice_match = s.lookahead; }\n\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \"need lookahead\");\n\n do {\n // Assert(cur_match < s->strstart, \"no future\");\n match = cur_match;\n\n /* Skip to next match if the match length cannot increase\n * or if the match length is less than 2. Note that the checks below\n * for insufficient lookahead only occur occasionally for performance\n * reasons. Therefore uninitialized memory will be accessed, and\n * conditional jumps will be made that depend on those values.\n * However the length of the match is limited to the lookahead, so\n * the output of deflate is not affected by the uninitialized values.\n */\n\n if (_win[match + best_len] !== scan_end ||\n _win[match + best_len - 1] !== scan_end1 ||\n _win[match] !== _win[scan] ||\n _win[++match] !== _win[scan + 1]) {\n continue;\n }\n\n /* The check at best_len-1 can be removed because it will be made\n * again later. (This heuristic is not always a win.)\n * It is not necessary to compare scan[2] and match[2] since they\n * are always equal when the other bytes match, given that\n * the hash keys are equal and that HASH_BITS >= 8.\n */\n scan += 2;\n match++;\n // Assert(*scan == *match, \"match[2]?\");\n\n /* We check for insufficient lookahead only every 8th comparison;\n * the 256th check will be made at strstart+258.\n */\n do {\n /*jshint noempty:false*/\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\n scan < strend);\n\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \"wild scan\");\n\n len = MAX_MATCH - (strend - scan);\n scan = strend - MAX_MATCH;\n\n if (len > best_len) {\n s.match_start = cur_match;\n best_len = len;\n if (len >= nice_match) {\n break;\n }\n scan_end1 = _win[scan + best_len - 1];\n scan_end = _win[scan + best_len];\n }\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\n\n if (best_len <= s.lookahead) {\n return best_len;\n }\n return s.lookahead;\n};\n\n\n/* ===========================================================================\n * Fill the window when the lookahead becomes insufficient.\n * Updates strstart and lookahead.\n *\n * IN assertion: lookahead < MIN_LOOKAHEAD\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\n * At least one byte has been read, or avail_in == 0; reads are\n * performed for at least two bytes (required for the zip translate_eol\n * option -- not supported here).\n */\nconst fill_window = (s) => {\n\n const _w_size = s.w_size;\n let p, n, m, more, str;\n\n //Assert(s->lookahead < MIN_LOOKAHEAD, \"already enough lookahead\");\n\n do {\n more = s.window_size - s.lookahead - s.strstart;\n\n // JS ints have 32 bit, block below not needed\n /* Deal with !@#$% 64K limit: */\n //if (sizeof(int) <= 2) {\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\n // more = wsize;\n //\n // } else if (more == (unsigned)(-1)) {\n // /* Very unlikely, but possible on 16 bit machine if\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\n // */\n // more--;\n // }\n //}\n\n\n /* If the window is almost full and there is insufficient lookahead,\n * move the upper half to the lower one to make room in the upper half.\n */\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\n\n s.window.set(s.window.subarray(_w_size, _w_size + _w_size), 0);\n s.match_start -= _w_size;\n s.strstart -= _w_size;\n /* we now have strstart >= MAX_DIST */\n s.block_start -= _w_size;\n\n /* Slide the hash table (could be avoided with 32 bit values\n at the expense of memory usage). We slide even when level == 0\n to keep the hash table consistent if we switch back to level > 0\n later. (Using level 0 permanently is not an optimal usage of\n zlib, so we don't care about this pathological case.)\n */\n\n n = s.hash_size;\n p = n;\n\n do {\n m = s.head[--p];\n s.head[p] = (m >= _w_size ? m - _w_size : 0);\n } while (--n);\n\n n = _w_size;\n p = n;\n\n do {\n m = s.prev[--p];\n s.prev[p] = (m >= _w_size ? m - _w_size : 0);\n /* If n is not on any hash chain, prev[n] is garbage but\n * its value will never be used.\n */\n } while (--n);\n\n more += _w_size;\n }\n if (s.strm.avail_in === 0) {\n break;\n }\n\n /* If there was no sliding:\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\n * more == window_size - lookahead - strstart\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\n * => more >= window_size - 2*WSIZE + 2\n * In the BIG_MEM or MMAP case (not yet supported),\n * window_size == input_size + MIN_LOOKAHEAD &&\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\n * Otherwise, window_size == 2*WSIZE so more >= 2.\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\n */\n //Assert(more >= 2, \"more < 2\");\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\n s.lookahead += n;\n\n /* Initialize the hash value now that we have some input: */\n if (s.lookahead + s.insert >= MIN_MATCH) {\n str = s.strstart - s.insert;\n s.ins_h = s.window[str];\n\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);\n//#if MIN_MATCH != 3\n// Call update_hash() MIN_MATCH-3 more times\n//#endif\n while (s.insert) {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = str;\n str++;\n s.insert--;\n if (s.lookahead + s.insert < MIN_MATCH) {\n break;\n }\n }\n }\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\n * but this is not important since only literal bytes will be emitted.\n */\n\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\n\n /* If the WIN_INIT bytes after the end of the current data have never been\n * written, then zero those bytes in order to avoid memory check reports of\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\n * the longest match routines. Update the high water mark for the next\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\n */\n// if (s.high_water < s.window_size) {\n// const curr = s.strstart + s.lookahead;\n// let init = 0;\n//\n// if (s.high_water < curr) {\n// /* Previous high water mark below current data -- zero WIN_INIT\n// * bytes or up to end of window, whichever is less.\n// */\n// init = s.window_size - curr;\n// if (init > WIN_INIT)\n// init = WIN_INIT;\n// zmemzero(s->window + curr, (unsigned)init);\n// s->high_water = curr + init;\n// }\n// else if (s->high_water < (ulg)curr + WIN_INIT) {\n// /* High water mark at or above current data, but below current data\n// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\n// * to end of window, whichever is less.\n// */\n// init = (ulg)curr + WIN_INIT - s->high_water;\n// if (init > s->window_size - s->high_water)\n// init = s->window_size - s->high_water;\n// zmemzero(s->window + s->high_water, (unsigned)init);\n// s->high_water += init;\n// }\n// }\n//\n// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\n// \"not enough room for search\");\n};\n\n/* ===========================================================================\n * Copy without compression as much as possible from the input stream, return\n * the current block state.\n * This function does not insert new strings in the dictionary since\n * uncompressible data is probably not useful. This function is used\n * only for the level=0 compression option.\n * NOTE: this function should be optimized to avoid extra copying from\n * window to pending_buf.\n */\nconst deflate_stored = (s, flush) => {\n\n /* Stored blocks are limited to 0xffff bytes, pending_buf is limited\n * to pending_buf_size, and each stored block has a 5 byte header:\n */\n let max_block_size = 0xffff;\n\n if (max_block_size > s.pending_buf_size - 5) {\n max_block_size = s.pending_buf_size - 5;\n }\n\n /* Copy as much as possible from input to output: */\n for (;;) {\n /* Fill the window as much as possible: */\n if (s.lookahead <= 1) {\n\n //Assert(s->strstart < s->w_size+MAX_DIST(s) ||\n // s->block_start >= (long)s->w_size, \"slide too late\");\n// if (!(s.strstart < s.w_size + (s.w_size - MIN_LOOKAHEAD) ||\n// s.block_start >= s.w_size)) {\n// throw new Error(\"slide too late\");\n// }\n\n fill_window(s);\n if (s.lookahead === 0 && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n\n if (s.lookahead === 0) {\n break;\n }\n /* flush the current block */\n }\n //Assert(s->block_start >= 0L, \"block gone\");\n// if (s.block_start < 0) throw new Error(\"block gone\");\n\n s.strstart += s.lookahead;\n s.lookahead = 0;\n\n /* Emit a stored block if pending_buf will be full: */\n const max_start = s.block_start + max_block_size;\n\n if (s.strstart === 0 || s.strstart >= max_start) {\n /* strstart == 0 is possible when wraparound on 16-bit machine */\n s.lookahead = s.strstart - max_start;\n s.strstart = max_start;\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n\n\n }\n /* Flush if we may have to slide, otherwise block_start may become\n * negative and the data will be gone:\n */\n if (s.strstart - s.block_start >= (s.w_size - MIN_LOOKAHEAD)) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n\n s.insert = 0;\n\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n\n if (s.strstart > s.block_start) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n return BS_NEED_MORE;\n};\n\n/* ===========================================================================\n * Compress as much as possible from the input stream, return the current\n * block state.\n * This function does not perform lazy evaluation of matches and inserts\n * new strings in the dictionary only for unmatched strings or for short\n * matches. It is used only for the fast compression options.\n */\nconst deflate_fast = (s, flush) => {\n\n let hash_head; /* head of the hash chain */\n let bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) {\n break; /* flush the current block */\n }\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n * At this point we have always match_length < MIN_MATCH\n */\n if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n }\n if (s.match_length >= MIN_MATCH) {\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\n\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\n s.match_length - MIN_MATCH, bflush); ***/\n bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n\n /* Insert new strings in the hash table only if the match length\n * is not too large. This saves time but degrades compression.\n */\n if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\n s.match_length--; /* string at strstart already in table */\n do {\n s.strstart++;\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\n * always MIN_MATCH bytes ahead.\n */\n } while (--s.match_length !== 0);\n s.strstart++;\n } else\n {\n s.strstart += s.match_length;\n s.match_length = 0;\n s.ins_h = s.window[s.strstart];\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);\n\n//#if MIN_MATCH != 3\n// Call UPDATE_HASH() MIN_MATCH-3 more times\n//#endif\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\n * matter since it will be recomputed at next deflate call.\n */\n }\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s.window[s.strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* ===========================================================================\n * Same as above, but achieves better compression. We use a lazy\n * evaluation for matches: a match is finally adopted only if there is\n * no better match at the next window position.\n */\nconst deflate_slow = (s, flush) => {\n\n let hash_head; /* head of hash chain */\n let bflush; /* set if current block must be flushed */\n\n let max_insert;\n\n /* Process the input block. */\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the next match, plus MIN_MATCH bytes to insert the\n * string following the next match.\n */\n if (s.lookahead < MIN_LOOKAHEAD) {\n fill_window(s);\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* Insert the string window[strstart .. strstart+2] in the\n * dictionary, and set hash_head to the head of the hash chain:\n */\n hash_head = 0/*NIL*/;\n if (s.lookahead >= MIN_MATCH) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n\n /* Find the longest match, discarding those <= prev_length.\n */\n s.prev_length = s.match_length;\n s.prev_match = s.match_start;\n s.match_length = MIN_MATCH - 1;\n\n if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&\n s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {\n /* To simplify the code, we prevent matches with the string\n * of window index 0 (in particular we have to avoid a match\n * of the string with itself at the start of the input file).\n */\n s.match_length = longest_match(s, hash_head);\n /* longest_match() sets match_start */\n\n if (s.match_length <= 5 &&\n (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {\n\n /* If prev_match is also MIN_MATCH, match_start is garbage\n * but we will ignore the current match anyway.\n */\n s.match_length = MIN_MATCH - 1;\n }\n }\n /* If there was a match at the previous step and the current\n * match is not better, output the previous match:\n */\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\n /* Do not insert strings in hash table beyond this. */\n\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\n\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\n s.prev_length - MIN_MATCH, bflush);***/\n bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\n /* Insert in hash table all strings up to the end of the match.\n * strstart-1 and strstart are already inserted. If there is not\n * enough lookahead, the last two strings are not inserted in\n * the hash table.\n */\n s.lookahead -= s.prev_length - 1;\n s.prev_length -= 2;\n do {\n if (++s.strstart <= max_insert) {\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\n s.head[s.ins_h] = s.strstart;\n /***/\n }\n } while (--s.prev_length !== 0);\n s.match_available = 0;\n s.match_length = MIN_MATCH - 1;\n s.strstart++;\n\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n } else if (s.match_available) {\n /* If there was no match at the previous position, output a\n * single literal. If there was a match but the current match\n * is longer, truncate the previous match to a single literal.\n */\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\n\n if (bflush) {\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\n flush_block_only(s, false);\n /***/\n }\n s.strstart++;\n s.lookahead--;\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n } else {\n /* There is no previous match to compare with, wait for\n * the next step to decide.\n */\n s.match_available = 1;\n s.strstart++;\n s.lookahead--;\n }\n }\n //Assert (flush != Z_NO_FLUSH, \"no flush?\");\n if (s.match_available) {\n //Tracevv((stderr,\"%c\", s->window[s->strstart-1]));\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\n\n s.match_available = 0;\n }\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n\n return BS_BLOCK_DONE;\n};\n\n\n/* ===========================================================================\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\n * one. Do not maintain a hash table. (It will be regenerated if this run of\n * deflate switches away from Z_RLE.)\n */\nconst deflate_rle = (s, flush) => {\n\n let bflush; /* set if current block must be flushed */\n let prev; /* byte at distance one to match */\n let scan, strend; /* scan goes up to strend for length of run */\n\n const _win = s.window;\n\n for (;;) {\n /* Make sure that we always have enough lookahead, except\n * at the end of the input file. We need MAX_MATCH bytes\n * for the longest run, plus one for the unrolled loop.\n */\n if (s.lookahead <= MAX_MATCH) {\n fill_window(s);\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n if (s.lookahead === 0) { break; } /* flush the current block */\n }\n\n /* See how many times the previous byte repeats */\n s.match_length = 0;\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\n scan = s.strstart - 1;\n prev = _win[scan];\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\n strend = s.strstart + MAX_MATCH;\n do {\n /*jshint noempty:false*/\n } while (prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n prev === _win[++scan] && prev === _win[++scan] &&\n scan < strend);\n s.match_length = MAX_MATCH - (strend - scan);\n if (s.match_length > s.lookahead) {\n s.match_length = s.lookahead;\n }\n }\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \"wild scan\");\n }\n\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\n if (s.match_length >= MIN_MATCH) {\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\n\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\n bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH);\n\n s.lookahead -= s.match_length;\n s.strstart += s.match_length;\n s.match_length = 0;\n } else {\n /* No match, output a literal byte */\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n\n s.lookahead--;\n s.strstart++;\n }\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* ===========================================================================\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\n * (It will be regenerated if this run of deflate switches away from Huffman.)\n */\nconst deflate_huff = (s, flush) => {\n\n let bflush; /* set if current block must be flushed */\n\n for (;;) {\n /* Make sure that we have a literal to write. */\n if (s.lookahead === 0) {\n fill_window(s);\n if (s.lookahead === 0) {\n if (flush === Z_NO_FLUSH) {\n return BS_NEED_MORE;\n }\n break; /* flush the current block */\n }\n }\n\n /* Output a literal byte */\n s.match_length = 0;\n //Tracevv((stderr,\"%c\", s->window[s->strstart]));\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\n s.lookahead--;\n s.strstart++;\n if (bflush) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n }\n s.insert = 0;\n if (flush === Z_FINISH) {\n /*** FLUSH_BLOCK(s, 1); ***/\n flush_block_only(s, true);\n if (s.strm.avail_out === 0) {\n return BS_FINISH_STARTED;\n }\n /***/\n return BS_FINISH_DONE;\n }\n if (s.last_lit) {\n /*** FLUSH_BLOCK(s, 0); ***/\n flush_block_only(s, false);\n if (s.strm.avail_out === 0) {\n return BS_NEED_MORE;\n }\n /***/\n }\n return BS_BLOCK_DONE;\n};\n\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\n * the desired pack level (0..9). The values given below have been tuned to\n * exclude worst case performance for pathological files. Better values may be\n * found for specific files.\n */\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\n\n this.good_length = good_length;\n this.max_lazy = max_lazy;\n this.nice_length = nice_length;\n this.max_chain = max_chain;\n this.func = func;\n}\n\nconst configuration_table = [\n /* good lazy nice chain */\n new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\n new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\n new Config(4, 5, 16, 8, deflate_fast), /* 2 */\n new Config(4, 6, 32, 32, deflate_fast), /* 3 */\n\n new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\n new Config(8, 16, 32, 32, deflate_slow), /* 5 */\n new Config(8, 16, 128, 128, deflate_slow), /* 6 */\n new Config(8, 32, 128, 256, deflate_slow), /* 7 */\n new Config(32, 128, 258, 1024, deflate_slow), /* 8 */\n new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */\n];\n\n\n/* ===========================================================================\n * Initialize the \"longest match\" routines for a new zlib stream\n */\nconst lm_init = (s) => {\n\n s.window_size = 2 * s.w_size;\n\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n\n /* Set the default configuration parameters:\n */\n s.max_lazy_match = configuration_table[s.level].max_lazy;\n s.good_match = configuration_table[s.level].good_length;\n s.nice_match = configuration_table[s.level].nice_length;\n s.max_chain_length = configuration_table[s.level].max_chain;\n\n s.strstart = 0;\n s.block_start = 0;\n s.lookahead = 0;\n s.insert = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n s.ins_h = 0;\n};\n\n\nfunction DeflateState() {\n this.strm = null; /* pointer back to this zlib stream */\n this.status = 0; /* as the name implies */\n this.pending_buf = null; /* output still pending */\n this.pending_buf_size = 0; /* size of pending_buf */\n this.pending_out = 0; /* next pending byte to output to the stream */\n this.pending = 0; /* nb of bytes in the pending buffer */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.gzhead = null; /* gzip header information to write */\n this.gzindex = 0; /* where in extra, name, or comment */\n this.method = Z_DEFLATED; /* can only be DEFLATED */\n this.last_flush = -1; /* value of flush param for previous deflate call */\n\n this.w_size = 0; /* LZ77 window size (32K by default) */\n this.w_bits = 0; /* log2(w_size) (8..16) */\n this.w_mask = 0; /* w_size - 1 */\n\n this.window = null;\n /* Sliding window. Input bytes are read into the second half of the window,\n * and move to the first half later to keep a dictionary of at least wSize\n * bytes. With this organization, matches are limited to a distance of\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\n * performed with a length multiple of the block size.\n */\n\n this.window_size = 0;\n /* Actual size of window: 2*wSize, except when the user input buffer\n * is directly used as sliding window.\n */\n\n this.prev = null;\n /* Link to older string with same hash index. To limit the size of this\n * array to 64K, this link is maintained only for the last 32K strings.\n * An index in this array is thus a window index modulo 32K.\n */\n\n this.head = null; /* Heads of the hash chains or NIL. */\n\n this.ins_h = 0; /* hash index of string to be inserted */\n this.hash_size = 0; /* number of elements in hash table */\n this.hash_bits = 0; /* log2(hash_size) */\n this.hash_mask = 0; /* hash_size-1 */\n\n this.hash_shift = 0;\n /* Number of bits by which ins_h must be shifted at each input\n * step. It must be such that after MIN_MATCH steps, the oldest\n * byte no longer takes part in the hash key, that is:\n * hash_shift * MIN_MATCH >= hash_bits\n */\n\n this.block_start = 0;\n /* Window position at the beginning of the current output block. Gets\n * negative when the window is moved backwards.\n */\n\n this.match_length = 0; /* length of best match */\n this.prev_match = 0; /* previous match */\n this.match_available = 0; /* set if previous match exists */\n this.strstart = 0; /* start of string to insert */\n this.match_start = 0; /* start of matching string */\n this.lookahead = 0; /* number of valid bytes ahead in window */\n\n this.prev_length = 0;\n /* Length of the best match at previous step. Matches not greater than this\n * are discarded. This is used in the lazy match evaluation.\n */\n\n this.max_chain_length = 0;\n /* To speed up deflation, hash chains are never searched beyond this\n * length. A higher limit improves compression ratio but degrades the\n * speed.\n */\n\n this.max_lazy_match = 0;\n /* Attempt to find a better match only when the current match is strictly\n * smaller than this value. This mechanism is used only for compression\n * levels >= 4.\n */\n // That's alias to max_lazy_match, don't use directly\n //this.max_insert_length = 0;\n /* Insert new strings in the hash table only if the match length is not\n * greater than this length. This saves time but degrades compression.\n * max_insert_length is used only for compression levels <= 3.\n */\n\n this.level = 0; /* compression level (1..9) */\n this.strategy = 0; /* favor or force Huffman coding*/\n\n this.good_match = 0;\n /* Use a faster search when the previous match is longer than this */\n\n this.nice_match = 0; /* Stop searching when current match exceeds this */\n\n /* used by trees.c: */\n\n /* Didn't use ct_data typedef below to suppress compiler warning */\n\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\n\n // Use flat array of DOUBLE size, with interleaved fata,\n // because JS does not support effective\n this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2);\n this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2);\n this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2);\n zero(this.dyn_ltree);\n zero(this.dyn_dtree);\n zero(this.bl_tree);\n\n this.l_desc = null; /* desc. for literal tree */\n this.d_desc = null; /* desc. for distance tree */\n this.bl_desc = null; /* desc. for bit length tree */\n\n //ush bl_count[MAX_BITS+1];\n this.bl_count = new Uint16Array(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\n this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */\n zero(this.heap);\n\n this.heap_len = 0; /* number of elements in the heap */\n this.heap_max = 0; /* element of largest frequency */\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\n * The same heap array is used to build all trees.\n */\n\n this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\n zero(this.depth);\n /* Depth of each subtree used as tie breaker for trees of equal frequency\n */\n\n this.l_buf = 0; /* buffer index for literals or lengths */\n\n this.lit_bufsize = 0;\n /* Size of match buffer for literals/lengths. There are 4 reasons for\n * limiting lit_bufsize to 64K:\n * - frequencies can be kept in 16 bit counters\n * - if compression is not successful for the first block, all input\n * data is still in the window so we can still emit a stored block even\n * when input comes from standard input. (This can also be done for\n * all blocks if lit_bufsize is not greater than 32K.)\n * - if compression is not successful for a file smaller than 64K, we can\n * even emit a stored file instead of a stored block (saving 5 bytes).\n * This is applicable only for zip (not gzip or zlib).\n * - creating new Huffman trees less frequently may not provide fast\n * adaptation to changes in the input data statistics. (Take for\n * example a binary file with poorly compressible code followed by\n * a highly compressible string table.) Smaller buffer sizes give\n * fast adaptation but have of course the overhead of transmitting\n * trees more frequently.\n * - I can't count above 4\n */\n\n this.last_lit = 0; /* running index in l_buf */\n\n this.d_buf = 0;\n /* Buffer index for distances. To simplify the code, d_buf and l_buf have\n * the same number of elements. To use different lengths, an extra flag\n * array would be necessary.\n */\n\n this.opt_len = 0; /* bit length of current block with optimal trees */\n this.static_len = 0; /* bit length of current block with static trees */\n this.matches = 0; /* number of string matches in current block */\n this.insert = 0; /* bytes at end of window left to insert */\n\n\n this.bi_buf = 0;\n /* Output buffer. bits are inserted starting at the bottom (least\n * significant bits).\n */\n this.bi_valid = 0;\n /* Number of valid bits in bi_buf. All bits above the last valid bit\n * are always zero.\n */\n\n // Used for window memory init. We safely ignore it for JS. That makes\n // sense only for pointers and memory check tools.\n //this.high_water = 0;\n /* High water mark offset in window for initialized bytes -- bytes above\n * this are set to zero in order to avoid memory check warnings when\n * longest match routines access bytes past the input. This is then\n * updated to the new high water mark.\n */\n}\n\n\nconst deflateResetKeep = (strm) => {\n\n if (!strm || !strm.state) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n strm.total_in = strm.total_out = 0;\n strm.data_type = Z_UNKNOWN;\n\n const s = strm.state;\n s.pending = 0;\n s.pending_out = 0;\n\n if (s.wrap < 0) {\n s.wrap = -s.wrap;\n /* was made negative by deflate(..., Z_FINISH); */\n }\n s.status = (s.wrap ? INIT_STATE : BUSY_STATE);\n strm.adler = (s.wrap === 2) ?\n 0 // crc32(0, Z_NULL, 0)\n :\n 1; // adler32(0, Z_NULL, 0)\n s.last_flush = Z_NO_FLUSH;\n _tr_init(s);\n return Z_OK;\n};\n\n\nconst deflateReset = (strm) => {\n\n const ret = deflateResetKeep(strm);\n if (ret === Z_OK) {\n lm_init(strm.state);\n }\n return ret;\n};\n\n\nconst deflateSetHeader = (strm, head) => {\n\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n if (strm.state.wrap !== 2) { return Z_STREAM_ERROR; }\n strm.state.gzhead = head;\n return Z_OK;\n};\n\n\nconst deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => {\n\n if (!strm) { // === Z_NULL\n return Z_STREAM_ERROR;\n }\n let wrap = 1;\n\n if (level === Z_DEFAULT_COMPRESSION) {\n level = 6;\n }\n\n if (windowBits < 0) { /* suppress zlib wrapper */\n wrap = 0;\n windowBits = -windowBits;\n }\n\n else if (windowBits > 15) {\n wrap = 2; /* write gzip wrapper instead */\n windowBits -= 16;\n }\n\n\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||\n windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||\n strategy < 0 || strategy > Z_FIXED) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n\n if (windowBits === 8) {\n windowBits = 9;\n }\n /* until 256-byte window bug fixed */\n\n const s = new DeflateState();\n\n strm.state = s;\n s.strm = strm;\n\n s.wrap = wrap;\n s.gzhead = null;\n s.w_bits = windowBits;\n s.w_size = 1 << s.w_bits;\n s.w_mask = s.w_size - 1;\n\n s.hash_bits = memLevel + 7;\n s.hash_size = 1 << s.hash_bits;\n s.hash_mask = s.hash_size - 1;\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\n\n s.window = new Uint8Array(s.w_size * 2);\n s.head = new Uint16Array(s.hash_size);\n s.prev = new Uint16Array(s.w_size);\n\n // Don't need mem init magic for JS.\n //s.high_water = 0; /* nothing written to s->window yet */\n\n s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */\n\n s.pending_buf_size = s.lit_bufsize * 4;\n\n //overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);\n //s->pending_buf = (uchf *) overlay;\n s.pending_buf = new Uint8Array(s.pending_buf_size);\n\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\n //s->d_buf = overlay + s->lit_bufsize/sizeof(ush);\n s.d_buf = 1 * s.lit_bufsize;\n\n //s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;\n s.l_buf = (1 + 2) * s.lit_bufsize;\n\n s.level = level;\n s.strategy = strategy;\n s.method = method;\n\n return deflateReset(strm);\n};\n\nconst deflateInit = (strm, level) => {\n\n return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);\n};\n\n\nconst deflate = (strm, flush) => {\n\n let beg, val; // for gzip header write only\n\n if (!strm || !strm.state ||\n flush > Z_BLOCK || flush < 0) {\n return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;\n }\n\n const s = strm.state;\n\n if (!strm.output ||\n (!strm.input && strm.avail_in !== 0) ||\n (s.status === FINISH_STATE && flush !== Z_FINISH)) {\n return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);\n }\n\n s.strm = strm; /* just in case */\n const old_flush = s.last_flush;\n s.last_flush = flush;\n\n /* Write the header */\n if (s.status === INIT_STATE) {\n\n if (s.wrap === 2) { // GZIP header\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n put_byte(s, 31);\n put_byte(s, 139);\n put_byte(s, 8);\n if (!s.gzhead) { // s->gzhead == Z_NULL\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, 0);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, OS_CODE);\n s.status = BUSY_STATE;\n }\n else {\n put_byte(s, (s.gzhead.text ? 1 : 0) +\n (s.gzhead.hcrc ? 2 : 0) +\n (!s.gzhead.extra ? 0 : 4) +\n (!s.gzhead.name ? 0 : 8) +\n (!s.gzhead.comment ? 0 : 16)\n );\n put_byte(s, s.gzhead.time & 0xff);\n put_byte(s, (s.gzhead.time >> 8) & 0xff);\n put_byte(s, (s.gzhead.time >> 16) & 0xff);\n put_byte(s, (s.gzhead.time >> 24) & 0xff);\n put_byte(s, s.level === 9 ? 2 :\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\n 4 : 0));\n put_byte(s, s.gzhead.os & 0xff);\n if (s.gzhead.extra && s.gzhead.extra.length) {\n put_byte(s, s.gzhead.extra.length & 0xff);\n put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);\n }\n if (s.gzhead.hcrc) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);\n }\n s.gzindex = 0;\n s.status = EXTRA_STATE;\n }\n }\n else // DEFLATE header\n {\n let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;\n let level_flags = -1;\n\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\n level_flags = 0;\n } else if (s.level < 6) {\n level_flags = 1;\n } else if (s.level === 6) {\n level_flags = 2;\n } else {\n level_flags = 3;\n }\n header |= (level_flags << 6);\n if (s.strstart !== 0) { header |= PRESET_DICT; }\n header += 31 - (header % 31);\n\n s.status = BUSY_STATE;\n putShortMSB(s, header);\n\n /* Save the adler32 of the preset dictionary: */\n if (s.strstart !== 0) {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\n }\n }\n\n//#ifdef GZIP\n if (s.status === EXTRA_STATE) {\n if (s.gzhead.extra/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n\n while (s.gzindex < (s.gzhead.extra.length & 0xffff)) {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n break;\n }\n }\n put_byte(s, s.gzhead.extra[s.gzindex] & 0xff);\n s.gzindex++;\n }\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (s.gzindex === s.gzhead.extra.length) {\n s.gzindex = 0;\n s.status = NAME_STATE;\n }\n }\n else {\n s.status = NAME_STATE;\n }\n }\n if (s.status === NAME_STATE) {\n if (s.gzhead.name/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.name.length) {\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.gzindex = 0;\n s.status = COMMENT_STATE;\n }\n }\n else {\n s.status = COMMENT_STATE;\n }\n }\n if (s.status === COMMENT_STATE) {\n if (s.gzhead.comment/* != Z_NULL*/) {\n beg = s.pending; /* start of bytes to update crc */\n //int val;\n\n do {\n if (s.pending === s.pending_buf_size) {\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n flush_pending(strm);\n beg = s.pending;\n if (s.pending === s.pending_buf_size) {\n val = 1;\n break;\n }\n }\n // JS specific: little magic to add zero terminator to end of string\n if (s.gzindex < s.gzhead.comment.length) {\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\n } else {\n val = 0;\n }\n put_byte(s, val);\n } while (val !== 0);\n\n if (s.gzhead.hcrc && s.pending > beg) {\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\n }\n if (val === 0) {\n s.status = HCRC_STATE;\n }\n }\n else {\n s.status = HCRC_STATE;\n }\n }\n if (s.status === HCRC_STATE) {\n if (s.gzhead.hcrc) {\n if (s.pending + 2 > s.pending_buf_size) {\n flush_pending(strm);\n }\n if (s.pending + 2 <= s.pending_buf_size) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\n s.status = BUSY_STATE;\n }\n }\n else {\n s.status = BUSY_STATE;\n }\n }\n//#endif\n\n /* Flush as much pending output as possible */\n if (s.pending !== 0) {\n flush_pending(strm);\n if (strm.avail_out === 0) {\n /* Since avail_out is 0, deflate will be called again with\n * more output space, but possibly with both pending and\n * avail_in equal to zero. There won't be anything to do,\n * but this is not an error situation so make sure we\n * return OK instead of BUF_ERROR at next call of deflate:\n */\n s.last_flush = -1;\n return Z_OK;\n }\n\n /* Make sure there is something to do and avoid duplicate consecutive\n * flushes. For repeated and useless calls with Z_FINISH, we keep\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\n */\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&\n flush !== Z_FINISH) {\n return err(strm, Z_BUF_ERROR);\n }\n\n /* User must not provide more input after the first FINISH: */\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\n return err(strm, Z_BUF_ERROR);\n }\n\n /* Start a new block or continue the current one.\n */\n if (strm.avail_in !== 0 || s.lookahead !== 0 ||\n (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {\n let bstate = (s.strategy === Z_HUFFMAN_ONLY) ? deflate_huff(s, flush) :\n (s.strategy === Z_RLE ? deflate_rle(s, flush) :\n configuration_table[s.level].func(s, flush));\n\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\n s.status = FINISH_STATE;\n }\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\n if (strm.avail_out === 0) {\n s.last_flush = -1;\n /* avoid BUF_ERROR next call, see above */\n }\n return Z_OK;\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\n * of deflate should use the same flush parameter to make sure\n * that the flush is complete. So we don't have to output an\n * empty block here, this will be done at next call. This also\n * ensures that for a very small output buffer, we emit at most\n * one empty block.\n */\n }\n if (bstate === BS_BLOCK_DONE) {\n if (flush === Z_PARTIAL_FLUSH) {\n _tr_align(s);\n }\n else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */\n\n _tr_stored_block(s, 0, 0, false);\n /* For a full flush, this empty block will be recognized\n * as a special marker by inflate_sync().\n */\n if (flush === Z_FULL_FLUSH) {\n /*** CLEAR_HASH(s); ***/ /* forget history */\n zero(s.head); // Fill with NIL (= 0);\n\n if (s.lookahead === 0) {\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n }\n }\n flush_pending(strm);\n if (strm.avail_out === 0) {\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\n return Z_OK;\n }\n }\n }\n //Assert(strm->avail_out > 0, \"bug2\");\n //if (strm.avail_out <= 0) { throw new Error(\"bug2\");}\n\n if (flush !== Z_FINISH) { return Z_OK; }\n if (s.wrap <= 0) { return Z_STREAM_END; }\n\n /* Write the trailer */\n if (s.wrap === 2) {\n put_byte(s, strm.adler & 0xff);\n put_byte(s, (strm.adler >> 8) & 0xff);\n put_byte(s, (strm.adler >> 16) & 0xff);\n put_byte(s, (strm.adler >> 24) & 0xff);\n put_byte(s, strm.total_in & 0xff);\n put_byte(s, (strm.total_in >> 8) & 0xff);\n put_byte(s, (strm.total_in >> 16) & 0xff);\n put_byte(s, (strm.total_in >> 24) & 0xff);\n }\n else\n {\n putShortMSB(s, strm.adler >>> 16);\n putShortMSB(s, strm.adler & 0xffff);\n }\n\n flush_pending(strm);\n /* If avail_out is zero, the application will call deflate again\n * to flush the rest.\n */\n if (s.wrap > 0) { s.wrap = -s.wrap; }\n /* write the trailer only once! */\n return s.pending !== 0 ? Z_OK : Z_STREAM_END;\n};\n\n\nconst deflateEnd = (strm) => {\n\n if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {\n return Z_STREAM_ERROR;\n }\n\n const status = strm.state.status;\n if (status !== INIT_STATE &&\n status !== EXTRA_STATE &&\n status !== NAME_STATE &&\n status !== COMMENT_STATE &&\n status !== HCRC_STATE &&\n status !== BUSY_STATE &&\n status !== FINISH_STATE\n ) {\n return err(strm, Z_STREAM_ERROR);\n }\n\n strm.state = null;\n\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;\n};\n\n\n/* =========================================================================\n * Initializes the compression dictionary from the given byte\n * sequence without producing any compressed output.\n */\nconst deflateSetDictionary = (strm, dictionary) => {\n\n let dictLength = dictionary.length;\n\n if (!strm/*== Z_NULL*/ || !strm.state/*== Z_NULL*/) {\n return Z_STREAM_ERROR;\n }\n\n const s = strm.state;\n const wrap = s.wrap;\n\n if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {\n return Z_STREAM_ERROR;\n }\n\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\n if (wrap === 1) {\n /* adler32(strm->adler, dictionary, dictLength); */\n strm.adler = adler32(strm.adler, dictionary, dictLength, 0);\n }\n\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\n\n /* if dictionary would fill window, just replace the history */\n if (dictLength >= s.w_size) {\n if (wrap === 0) { /* already empty otherwise */\n /*** CLEAR_HASH(s); ***/\n zero(s.head); // Fill with NIL (= 0);\n s.strstart = 0;\n s.block_start = 0;\n s.insert = 0;\n }\n /* use the tail */\n // dictionary = dictionary.slice(dictLength - s.w_size);\n let tmpDict = new Uint8Array(s.w_size);\n tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);\n dictionary = tmpDict;\n dictLength = s.w_size;\n }\n /* insert dictionary into window and hash */\n const avail = strm.avail_in;\n const next = strm.next_in;\n const input = strm.input;\n strm.avail_in = dictLength;\n strm.next_in = 0;\n strm.input = dictionary;\n fill_window(s);\n while (s.lookahead >= MIN_MATCH) {\n let str = s.strstart;\n let n = s.lookahead - (MIN_MATCH - 1);\n do {\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\n\n s.prev[str & s.w_mask] = s.head[s.ins_h];\n\n s.head[s.ins_h] = str;\n str++;\n } while (--n);\n s.strstart = str;\n s.lookahead = MIN_MATCH - 1;\n fill_window(s);\n }\n s.strstart += s.lookahead;\n s.block_start = s.strstart;\n s.insert = s.lookahead;\n s.lookahead = 0;\n s.match_length = s.prev_length = MIN_MATCH - 1;\n s.match_available = 0;\n strm.next_in = next;\n strm.input = input;\n strm.avail_in = avail;\n s.wrap = wrap;\n return Z_OK;\n};\n\n\nmodule.exports.deflateInit = deflateInit;\nmodule.exports.deflateInit2 = deflateInit2;\nmodule.exports.deflateReset = deflateReset;\nmodule.exports.deflateResetKeep = deflateResetKeep;\nmodule.exports.deflateSetHeader = deflateSetHeader;\nmodule.exports.deflate = deflate;\nmodule.exports.deflateEnd = deflateEnd;\nmodule.exports.deflateSetDictionary = deflateSetDictionary;\nmodule.exports.deflateInfo = 'pako deflate (from Nodeca project)';\n\n/* Not implemented\nmodule.exports.deflateBound = deflateBound;\nmodule.exports.deflateCopy = deflateCopy;\nmodule.exports.deflateParams = deflateParams;\nmodule.exports.deflatePending = deflatePending;\nmodule.exports.deflatePrime = deflatePrime;\nmodule.exports.deflateTune = deflateTune;\n*/\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction GZheader() {\n /* true if compressed data believed to be text */\n this.text = 0;\n /* modification time */\n this.time = 0;\n /* extra flags (not used when writing a gzip file) */\n this.xflags = 0;\n /* operating system */\n this.os = 0;\n /* pointer to extra field or Z_NULL if none */\n this.extra = null;\n /* extra field length (valid if extra != Z_NULL) */\n this.extra_len = 0; // Actually, we don't need it in JS,\n // but leave for few code modifications\n\n //\n // Setup limits is not necessary because in js we should not preallocate memory\n // for inflate use constant limit in 65536 bytes\n //\n\n /* space at extra (only when reading header) */\n // this.extra_max = 0;\n /* pointer to zero-terminated file name or Z_NULL */\n this.name = '';\n /* space at name (only when reading header) */\n // this.name_max = 0;\n /* pointer to zero-terminated comment or Z_NULL */\n this.comment = '';\n /* space at comment (only when reading header) */\n // this.comm_max = 0;\n /* true if there was or will be a header crc */\n this.hcrc = 0;\n /* true when done reading gzip header (not used when writing a gzip file) */\n this.done = false;\n}\n\nmodule.exports = GZheader;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n// See state defs from inflate.js\nconst BAD = 30; /* got a data error -- remain here until reset */\nconst TYPE = 12; /* i: waiting for type bits, including last-flag bit */\n\n/*\n Decode literal, length, and distance codes and write out the resulting\n literal and match bytes until either not enough input or output is\n available, an end-of-block is encountered, or a data error is encountered.\n When large enough input and output buffers are supplied to inflate(), for\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\n inflate execution time is spent in this routine.\n\n Entry assumptions:\n\n state.mode === LEN\n strm.avail_in >= 6\n strm.avail_out >= 258\n start >= strm.avail_out\n state.bits < 8\n\n On return, state.mode is one of:\n\n LEN -- ran out of enough output space or enough available input\n TYPE -- reached end of block code, inflate() to interpret next block\n BAD -- error in block data\n\n Notes:\n\n - The maximum input bits used by a length/distance pair is 15 bits for the\n length code, 5 bits for the length extra, 15 bits for the distance code,\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\n checking for available input while decoding.\n\n - The maximum bytes that a single length/distance pair can output is 258\n bytes, which is the maximum length that can be coded. inflate_fast()\n requires strm.avail_out >= 258 for each loop to avoid checking for\n output space.\n */\nmodule.exports = function inflate_fast(strm, start) {\n let _in; /* local strm.input */\n let last; /* have enough input while in < last */\n let _out; /* local strm.output */\n let beg; /* inflate()'s initial strm.output */\n let end; /* while out < end, enough space available */\n//#ifdef INFLATE_STRICT\n let dmax; /* maximum distance from zlib header */\n//#endif\n let wsize; /* window size or zero if not using window */\n let whave; /* valid bytes in the window */\n let wnext; /* window write index */\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\n let s_window; /* allocated sliding window, if wsize != 0 */\n let hold; /* local strm.hold */\n let bits; /* local strm.bits */\n let lcode; /* local strm.lencode */\n let dcode; /* local strm.distcode */\n let lmask; /* mask for first level of length codes */\n let dmask; /* mask for first level of distance codes */\n let here; /* retrieved table entry */\n let op; /* code bits, operation, extra bits, or */\n /* window position, window bytes to copy */\n let len; /* match length, unused bytes */\n let dist; /* match distance */\n let from; /* where to copy match from */\n let from_source;\n\n\n let input, output; // JS specific, because we have no pointers\n\n /* copy state to local variables */\n const state = strm.state;\n //here = state.here;\n _in = strm.next_in;\n input = strm.input;\n last = _in + (strm.avail_in - 5);\n _out = strm.next_out;\n output = strm.output;\n beg = _out - (start - strm.avail_out);\n end = _out + (strm.avail_out - 257);\n//#ifdef INFLATE_STRICT\n dmax = state.dmax;\n//#endif\n wsize = state.wsize;\n whave = state.whave;\n wnext = state.wnext;\n s_window = state.window;\n hold = state.hold;\n bits = state.bits;\n lcode = state.lencode;\n dcode = state.distcode;\n lmask = (1 << state.lenbits) - 1;\n dmask = (1 << state.distbits) - 1;\n\n\n /* decode literals and length/distances until end-of-block or not enough\n input data or output space */\n\n top:\n do {\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n\n here = lcode[hold & lmask];\n\n dolen:\n for (;;) { // Goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n if (op === 0) { /* literal */\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n output[_out++] = here & 0xffff/*here.val*/;\n }\n else if (op & 16) { /* length base */\n len = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (op) {\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n len += hold & ((1 << op) - 1);\n hold >>>= op;\n bits -= op;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", len));\n if (bits < 15) {\n hold += input[_in++] << bits;\n bits += 8;\n hold += input[_in++] << bits;\n bits += 8;\n }\n here = dcode[hold & dmask];\n\n dodist:\n for (;;) { // goto emulation\n op = here >>> 24/*here.bits*/;\n hold >>>= op;\n bits -= op;\n op = (here >>> 16) & 0xff/*here.op*/;\n\n if (op & 16) { /* distance base */\n dist = here & 0xffff/*here.val*/;\n op &= 15; /* number of extra bits */\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n if (bits < op) {\n hold += input[_in++] << bits;\n bits += 8;\n }\n }\n dist += hold & ((1 << op) - 1);\n//#ifdef INFLATE_STRICT\n if (dist > dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break top;\n }\n//#endif\n hold >>>= op;\n bits -= op;\n //Tracevv((stderr, \"inflate: distance %u\\n\", dist));\n op = _out - beg; /* max distance in output */\n if (dist > op) { /* see if copy from window */\n op = dist - op; /* distance back in window */\n if (op > whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break top;\n }\n\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// if (len <= op - whave) {\n// do {\n// output[_out++] = 0;\n// } while (--len);\n// continue top;\n// }\n// len -= op - whave;\n// do {\n// output[_out++] = 0;\n// } while (--op > whave);\n// if (op === 0) {\n// from = _out - dist;\n// do {\n// output[_out++] = output[from++];\n// } while (--len);\n// continue top;\n// }\n//#endif\n }\n from = 0; // window index\n from_source = s_window;\n if (wnext === 0) { /* very common case */\n from += wsize - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n else if (wnext < op) { /* wrap around window */\n from += wsize + wnext - op;\n op -= wnext;\n if (op < len) { /* some from end of window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = 0;\n if (wnext < len) { /* some from start of window */\n op = wnext;\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n }\n else { /* contiguous in window */\n from += wnext - op;\n if (op < len) { /* some from window */\n len -= op;\n do {\n output[_out++] = s_window[from++];\n } while (--op);\n from = _out - dist; /* rest from output */\n from_source = output;\n }\n }\n while (len > 2) {\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n output[_out++] = from_source[from++];\n len -= 3;\n }\n if (len) {\n output[_out++] = from_source[from++];\n if (len > 1) {\n output[_out++] = from_source[from++];\n }\n }\n }\n else {\n from = _out - dist; /* copy direct from output */\n do { /* minimum length is three */\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n output[_out++] = output[from++];\n len -= 3;\n } while (len > 2);\n if (len) {\n output[_out++] = output[from++];\n if (len > 1) {\n output[_out++] = output[from++];\n }\n }\n }\n }\n else if ((op & 64) === 0) { /* 2nd level distance code */\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dodist;\n }\n else {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n }\n else if ((op & 64) === 0) { /* 2nd level length code */\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\n continue dolen;\n }\n else if (op & 32) { /* end-of-block */\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.mode = TYPE;\n break top;\n }\n else {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break top;\n }\n\n break; // need to emulate goto via \"continue\"\n }\n } while (_in < last && _out < end);\n\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\n len = bits >> 3;\n _in -= len;\n bits -= len << 3;\n hold &= (1 << bits) - 1;\n\n /* update state and return */\n strm.next_in = _in;\n strm.next_out = _out;\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\n state.hold = hold;\n state.bits = bits;\n return;\n};\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst adler32 = require('./adler32');\nconst crc32 = require('./crc32');\nconst inflate_fast = require('./inffast');\nconst inflate_table = require('./inftrees');\n\nconst CODES = 0;\nconst LENS = 1;\nconst DISTS = 2;\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\nconst {\n Z_FINISH, Z_BLOCK, Z_TREES,\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_BUF_ERROR,\n Z_DEFLATED\n} = require('./constants');\n\n\n/* STATES ====================================================================*/\n/* ===========================================================================*/\n\n\nconst HEAD = 1; /* i: waiting for magic header */\nconst FLAGS = 2; /* i: waiting for method and flags (gzip) */\nconst TIME = 3; /* i: waiting for modification time (gzip) */\nconst OS = 4; /* i: waiting for extra flags and operating system (gzip) */\nconst EXLEN = 5; /* i: waiting for extra length (gzip) */\nconst EXTRA = 6; /* i: waiting for extra bytes (gzip) */\nconst NAME = 7; /* i: waiting for end of file name (gzip) */\nconst COMMENT = 8; /* i: waiting for end of comment (gzip) */\nconst HCRC = 9; /* i: waiting for header crc (gzip) */\nconst DICTID = 10; /* i: waiting for dictionary check value */\nconst DICT = 11; /* waiting for inflateSetDictionary() call */\nconst TYPE = 12; /* i: waiting for type bits, including last-flag bit */\nconst TYPEDO = 13; /* i: same, but skip check to exit inflate on new block */\nconst STORED = 14; /* i: waiting for stored size (length and complement) */\nconst COPY_ = 15; /* i/o: same as COPY below, but only first time in */\nconst COPY = 16; /* i/o: waiting for input or output to copy stored block */\nconst TABLE = 17; /* i: waiting for dynamic block table lengths */\nconst LENLENS = 18; /* i: waiting for code length code lengths */\nconst CODELENS = 19; /* i: waiting for length/lit and distance code lengths */\nconst LEN_ = 20; /* i: same as LEN below, but only first time in */\nconst LEN = 21; /* i: waiting for length/lit/eob code */\nconst LENEXT = 22; /* i: waiting for length extra bits */\nconst DIST = 23; /* i: waiting for distance code */\nconst DISTEXT = 24; /* i: waiting for distance extra bits */\nconst MATCH = 25; /* o: waiting for output space to copy string */\nconst LIT = 26; /* o: waiting for output space to write literal */\nconst CHECK = 27; /* i: waiting for 32-bit check value */\nconst LENGTH = 28; /* i: waiting for 32-bit length (gzip) */\nconst DONE = 29; /* finished check, done -- remain here until reset */\nconst BAD = 30; /* got a data error -- remain here until reset */\nconst MEM = 31; /* got an inflate() memory error -- remain here until reset */\nconst SYNC = 32; /* looking for synchronization bytes to restart inflate() */\n\n/* ===========================================================================*/\n\n\n\nconst ENOUGH_LENS = 852;\nconst ENOUGH_DISTS = 592;\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nconst MAX_WBITS = 15;\n/* 32K LZ77 window */\nconst DEF_WBITS = MAX_WBITS;\n\n\nconst zswap32 = (q) => {\n\n return (((q >>> 24) & 0xff) +\n ((q >>> 8) & 0xff00) +\n ((q & 0xff00) << 8) +\n ((q & 0xff) << 24));\n};\n\n\nfunction InflateState() {\n this.mode = 0; /* current inflate mode */\n this.last = false; /* true if processing last block */\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\n this.havedict = false; /* true if dictionary provided */\n this.flags = 0; /* gzip header method and flags (0 if zlib) */\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\n this.check = 0; /* protected copy of check value */\n this.total = 0; /* protected copy of output count */\n // TODO: may be {}\n this.head = null; /* where to save gzip header information */\n\n /* sliding window */\n this.wbits = 0; /* log base 2 of requested window size */\n this.wsize = 0; /* window size or zero if not using window */\n this.whave = 0; /* valid bytes in the window */\n this.wnext = 0; /* window write index */\n this.window = null; /* allocated sliding window, if needed */\n\n /* bit accumulator */\n this.hold = 0; /* input bit accumulator */\n this.bits = 0; /* number of bits in \"in\" */\n\n /* for string and stored block copying */\n this.length = 0; /* literal or length of data to copy */\n this.offset = 0; /* distance back to copy string from */\n\n /* for table and code decoding */\n this.extra = 0; /* extra bits needed */\n\n /* fixed and dynamic code tables */\n this.lencode = null; /* starting table for length/literal codes */\n this.distcode = null; /* starting table for distance codes */\n this.lenbits = 0; /* index bits for lencode */\n this.distbits = 0; /* index bits for distcode */\n\n /* dynamic table building */\n this.ncode = 0; /* number of code length code lengths */\n this.nlen = 0; /* number of length code lengths */\n this.ndist = 0; /* number of distance code lengths */\n this.have = 0; /* number of code lengths in lens[] */\n this.next = null; /* next available space in codes[] */\n\n this.lens = new Uint16Array(320); /* temporary storage for code lengths */\n this.work = new Uint16Array(288); /* work area for code table building */\n\n /*\n because we don't have pointers in js, we use lencode and distcode directly\n as buffers so we don't need codes\n */\n //this.codes = new Int32Array(ENOUGH); /* space for code tables */\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\n this.sane = 0; /* if false, allow invalid distance too far */\n this.back = 0; /* bits back of last unprocessed length/lit */\n this.was = 0; /* initial length of match */\n}\n\n\nconst inflateResetKeep = (strm) => {\n\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n const state = strm.state;\n strm.total_in = strm.total_out = state.total = 0;\n strm.msg = ''; /*Z_NULL*/\n if (state.wrap) { /* to support ill-conceived Java test suite */\n strm.adler = state.wrap & 1;\n }\n state.mode = HEAD;\n state.last = 0;\n state.havedict = 0;\n state.dmax = 32768;\n state.head = null/*Z_NULL*/;\n state.hold = 0;\n state.bits = 0;\n //state.lencode = state.distcode = state.next = state.codes;\n state.lencode = state.lendyn = new Int32Array(ENOUGH_LENS);\n state.distcode = state.distdyn = new Int32Array(ENOUGH_DISTS);\n\n state.sane = 1;\n state.back = -1;\n //Tracev((stderr, \"inflate: reset\\n\"));\n return Z_OK;\n};\n\n\nconst inflateReset = (strm) => {\n\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n const state = strm.state;\n state.wsize = 0;\n state.whave = 0;\n state.wnext = 0;\n return inflateResetKeep(strm);\n\n};\n\n\nconst inflateReset2 = (strm, windowBits) => {\n let wrap;\n\n /* get the state */\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n const state = strm.state;\n\n /* extract wrap request from windowBits parameter */\n if (windowBits < 0) {\n wrap = 0;\n windowBits = -windowBits;\n }\n else {\n wrap = (windowBits >> 4) + 1;\n if (windowBits < 48) {\n windowBits &= 15;\n }\n }\n\n /* set number of window bits, free window if different */\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\n return Z_STREAM_ERROR;\n }\n if (state.window !== null && state.wbits !== windowBits) {\n state.window = null;\n }\n\n /* update state and reset the rest of it */\n state.wrap = wrap;\n state.wbits = windowBits;\n return inflateReset(strm);\n};\n\n\nconst inflateInit2 = (strm, windowBits) => {\n\n if (!strm) { return Z_STREAM_ERROR; }\n //strm.msg = Z_NULL; /* in case we return an error */\n\n const state = new InflateState();\n\n //if (state === Z_NULL) return Z_MEM_ERROR;\n //Tracev((stderr, \"inflate: allocated\\n\"));\n strm.state = state;\n state.window = null/*Z_NULL*/;\n const ret = inflateReset2(strm, windowBits);\n if (ret !== Z_OK) {\n strm.state = null/*Z_NULL*/;\n }\n return ret;\n};\n\n\nconst inflateInit = (strm) => {\n\n return inflateInit2(strm, DEF_WBITS);\n};\n\n\n/*\n Return state with length and distance decoding tables and index sizes set to\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\n If BUILDFIXED is defined, then instead this routine builds the tables the\n first time it's called, and returns those tables the first time and\n thereafter. This reduces the size of the code by about 2K bytes, in\n exchange for a little execution time. However, BUILDFIXED should not be\n used for threaded applications, since the rewriting of the tables and virgin\n may not be thread-safe.\n */\nlet virgin = true;\n\nlet lenfix, distfix; // We have no pointers in JS, so keep tables separate\n\n\nconst fixedtables = (state) => {\n\n /* build fixed huffman tables if first call (may not be thread safe) */\n if (virgin) {\n lenfix = new Int32Array(512);\n distfix = new Int32Array(32);\n\n /* literal/length table */\n let sym = 0;\n while (sym < 144) { state.lens[sym++] = 8; }\n while (sym < 256) { state.lens[sym++] = 9; }\n while (sym < 280) { state.lens[sym++] = 7; }\n while (sym < 288) { state.lens[sym++] = 8; }\n\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\n\n /* distance table */\n sym = 0;\n while (sym < 32) { state.lens[sym++] = 5; }\n\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\n\n /* do this just once */\n virgin = false;\n }\n\n state.lencode = lenfix;\n state.lenbits = 9;\n state.distcode = distfix;\n state.distbits = 5;\n};\n\n\n/*\n Update the window with the last wsize (normally 32K) bytes written before\n returning. If window does not exist yet, create it. This is only called\n when a window is already in use, or when output has been written during this\n inflate call, but the end of the deflate stream has not been reached yet.\n It is also called to create a window for dictionary data when a dictionary\n is loaded.\n\n Providing output buffers larger than 32K to inflate() should provide a speed\n advantage, since only the last 32K of output is copied to the sliding window\n upon return from inflate(), and since all distances after the first 32K of\n output will fall in the output data, making match copies simpler and faster.\n The advantage may be dependent on the size of the processor's data caches.\n */\nconst updatewindow = (strm, src, end, copy) => {\n\n let dist;\n const state = strm.state;\n\n /* if it hasn't been done already, allocate space for the window */\n if (state.window === null) {\n state.wsize = 1 << state.wbits;\n state.wnext = 0;\n state.whave = 0;\n\n state.window = new Uint8Array(state.wsize);\n }\n\n /* copy state->wsize or less output bytes into the circular window */\n if (copy >= state.wsize) {\n state.window.set(src.subarray(end - state.wsize, end), 0);\n state.wnext = 0;\n state.whave = state.wsize;\n }\n else {\n dist = state.wsize - state.wnext;\n if (dist > copy) {\n dist = copy;\n }\n //zmemcpy(state->window + state->wnext, end - copy, dist);\n state.window.set(src.subarray(end - copy, end - copy + dist), state.wnext);\n copy -= dist;\n if (copy) {\n //zmemcpy(state->window, end - copy, copy);\n state.window.set(src.subarray(end - copy, end), 0);\n state.wnext = copy;\n state.whave = state.wsize;\n }\n else {\n state.wnext += dist;\n if (state.wnext === state.wsize) { state.wnext = 0; }\n if (state.whave < state.wsize) { state.whave += dist; }\n }\n }\n return 0;\n};\n\n\nconst inflate = (strm, flush) => {\n\n let state;\n let input, output; // input/output buffers\n let next; /* next input INDEX */\n let put; /* next output INDEX */\n let have, left; /* available input and output */\n let hold; /* bit buffer */\n let bits; /* bits in bit buffer */\n let _in, _out; /* save starting available input and output */\n let copy; /* number of stored or match bytes to copy */\n let from; /* where to copy match bytes from */\n let from_source;\n let here = 0; /* current decoding table entry */\n let here_bits, here_op, here_val; // paked \"here\" denormalized (JS specific)\n //let last; /* parent table entry */\n let last_bits, last_op, last_val; // paked \"last\" denormalized (JS specific)\n let len; /* length to copy for repeats, bits to drop */\n let ret; /* return code */\n const hbuf = new Uint8Array(4); /* buffer for gzip header crc calculation */\n let opts;\n\n let n; // temporary variable for NEED_BITS\n\n const order = /* permutation of code lengths */\n new Uint8Array([ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ]);\n\n\n if (!strm || !strm.state || !strm.output ||\n (!strm.input && strm.avail_in !== 0)) {\n return Z_STREAM_ERROR;\n }\n\n state = strm.state;\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\n\n\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n _in = have;\n _out = left;\n ret = Z_OK;\n\n inf_leave: // goto emulation\n for (;;) {\n switch (state.mode) {\n case HEAD:\n if (state.wrap === 0) {\n state.mode = TYPEDO;\n break;\n }\n //=== NEEDBITS(16);\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = FLAGS;\n break;\n }\n state.flags = 0; /* expect zlib header */\n if (state.head) {\n state.head.done = false;\n }\n if (!(state.wrap & 1) || /* check if zlib header allowed */\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\n strm.msg = 'incorrect header check';\n state.mode = BAD;\n break;\n }\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\n if (state.wbits === 0) {\n state.wbits = len;\n }\n else if (len > state.wbits) {\n strm.msg = 'invalid window size';\n state.mode = BAD;\n break;\n }\n\n // !!! pako patch. Force use `options.windowBits` if passed.\n // Required to always use max window size by default.\n state.dmax = 1 << state.wbits;\n //state.dmax = 1 << len;\n\n //Tracev((stderr, \"inflate: zlib header ok\\n\"));\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = hold & 0x200 ? DICTID : TYPE;\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n break;\n case FLAGS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.flags = hold;\n if ((state.flags & 0xff) !== Z_DEFLATED) {\n strm.msg = 'unknown compression method';\n state.mode = BAD;\n break;\n }\n if (state.flags & 0xe000) {\n strm.msg = 'unknown header flags set';\n state.mode = BAD;\n break;\n }\n if (state.head) {\n state.head.text = ((hold >> 8) & 1);\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = TIME;\n /* falls through */\n case TIME:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.time = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC4(state.check, hold)\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n hbuf[2] = (hold >>> 16) & 0xff;\n hbuf[3] = (hold >>> 24) & 0xff;\n state.check = crc32(state.check, hbuf, 4, 0);\n //===\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = OS;\n /* falls through */\n case OS:\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (state.head) {\n state.head.xflags = (hold & 0xff);\n state.head.os = (hold >> 8);\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = EXLEN;\n /* falls through */\n case EXLEN:\n if (state.flags & 0x0400) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length = hold;\n if (state.head) {\n state.head.extra_len = hold;\n }\n if (state.flags & 0x0200) {\n //=== CRC2(state.check, hold);\n hbuf[0] = hold & 0xff;\n hbuf[1] = (hold >>> 8) & 0xff;\n state.check = crc32(state.check, hbuf, 2, 0);\n //===//\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n else if (state.head) {\n state.head.extra = null/*Z_NULL*/;\n }\n state.mode = EXTRA;\n /* falls through */\n case EXTRA:\n if (state.flags & 0x0400) {\n copy = state.length;\n if (copy > have) { copy = have; }\n if (copy) {\n if (state.head) {\n len = state.head.extra_len - state.length;\n if (!state.head.extra) {\n // Use untyped array for more convenient processing later\n state.head.extra = new Uint8Array(state.head.extra_len);\n }\n state.head.extra.set(\n input.subarray(\n next,\n // extra field is limited to 65536 bytes\n // - no need for additional size check\n next + copy\n ),\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\n len\n );\n //zmemcpy(state.head.extra + len, next,\n // len + copy > state.head.extra_max ?\n // state.head.extra_max - len : copy);\n }\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n state.length -= copy;\n }\n if (state.length) { break inf_leave; }\n }\n state.length = 0;\n state.mode = NAME;\n /* falls through */\n case NAME:\n if (state.flags & 0x0800) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n // TODO: 2 or 1 bytes?\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.name_max*/)) {\n state.head.name += String.fromCharCode(len);\n }\n } while (len && copy < have);\n\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.name = null;\n }\n state.length = 0;\n state.mode = COMMENT;\n /* falls through */\n case COMMENT:\n if (state.flags & 0x1000) {\n if (have === 0) { break inf_leave; }\n copy = 0;\n do {\n len = input[next + copy++];\n /* use constant limit because in js we should not preallocate memory */\n if (state.head && len &&\n (state.length < 65536 /*state.head.comm_max*/)) {\n state.head.comment += String.fromCharCode(len);\n }\n } while (len && copy < have);\n if (state.flags & 0x0200) {\n state.check = crc32(state.check, input, copy, next);\n }\n have -= copy;\n next += copy;\n if (len) { break inf_leave; }\n }\n else if (state.head) {\n state.head.comment = null;\n }\n state.mode = HCRC;\n /* falls through */\n case HCRC:\n if (state.flags & 0x0200) {\n //=== NEEDBITS(16); */\n while (bits < 16) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.check & 0xffff)) {\n strm.msg = 'header crc mismatch';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n }\n if (state.head) {\n state.head.hcrc = ((state.flags >> 9) & 1);\n state.head.done = true;\n }\n strm.adler = state.check = 0;\n state.mode = TYPE;\n break;\n case DICTID:\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n strm.adler = state.check = zswap32(hold);\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = DICT;\n /* falls through */\n case DICT:\n if (state.havedict === 0) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n return Z_NEED_DICT;\n }\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\n state.mode = TYPE;\n /* falls through */\n case TYPE:\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case TYPEDO:\n if (state.last) {\n //--- BYTEBITS() ---//\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n state.mode = CHECK;\n break;\n }\n //=== NEEDBITS(3); */\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.last = (hold & 0x01)/*BITS(1)*/;\n //--- DROPBITS(1) ---//\n hold >>>= 1;\n bits -= 1;\n //---//\n\n switch ((hold & 0x03)/*BITS(2)*/) {\n case 0: /* stored block */\n //Tracev((stderr, \"inflate: stored block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = STORED;\n break;\n case 1: /* fixed block */\n fixedtables(state);\n //Tracev((stderr, \"inflate: fixed codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = LEN_; /* decode codes */\n if (flush === Z_TREES) {\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break inf_leave;\n }\n break;\n case 2: /* dynamic block */\n //Tracev((stderr, \"inflate: dynamic codes block%s\\n\",\n // state.last ? \" (last)\" : \"\"));\n state.mode = TABLE;\n break;\n case 3:\n strm.msg = 'invalid block type';\n state.mode = BAD;\n }\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n break;\n case STORED:\n //--- BYTEBITS() ---// /* go to byte boundary */\n hold >>>= bits & 7;\n bits -= bits & 7;\n //---//\n //=== NEEDBITS(32); */\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\n strm.msg = 'invalid stored block lengths';\n state.mode = BAD;\n break;\n }\n state.length = hold & 0xffff;\n //Tracev((stderr, \"inflate: stored length %u\\n\",\n // state.length));\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n state.mode = COPY_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case COPY_:\n state.mode = COPY;\n /* falls through */\n case COPY:\n copy = state.length;\n if (copy) {\n if (copy > have) { copy = have; }\n if (copy > left) { copy = left; }\n if (copy === 0) { break inf_leave; }\n //--- zmemcpy(put, next, copy); ---\n output.set(input.subarray(next, next + copy), put);\n //---//\n have -= copy;\n next += copy;\n left -= copy;\n put += copy;\n state.length -= copy;\n break;\n }\n //Tracev((stderr, \"inflate: stored end\\n\"));\n state.mode = TYPE;\n break;\n case TABLE:\n //=== NEEDBITS(14); */\n while (bits < 14) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\n //--- DROPBITS(5) ---//\n hold >>>= 5;\n bits -= 5;\n //---//\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\n //--- DROPBITS(4) ---//\n hold >>>= 4;\n bits -= 4;\n //---//\n//#ifndef PKZIP_BUG_WORKAROUND\n if (state.nlen > 286 || state.ndist > 30) {\n strm.msg = 'too many length or distance symbols';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracev((stderr, \"inflate: table sizes ok\\n\"));\n state.have = 0;\n state.mode = LENLENS;\n /* falls through */\n case LENLENS:\n while (state.have < state.ncode) {\n //=== NEEDBITS(3);\n while (bits < 3) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n while (state.have < 19) {\n state.lens[order[state.have++]] = 0;\n }\n // We have separate tables & no pointers. 2 commented lines below not needed.\n //state.next = state.codes;\n //state.lencode = state.next;\n // Switch to use dynamic table\n state.lencode = state.lendyn;\n state.lenbits = 7;\n\n opts = { bits: state.lenbits };\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\n state.lenbits = opts.bits;\n\n if (ret) {\n strm.msg = 'invalid code lengths set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, \"inflate: code lengths ok\\n\"));\n state.have = 0;\n state.mode = CODELENS;\n /* falls through */\n case CODELENS:\n while (state.have < state.nlen + state.ndist) {\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_val < 16) {\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.lens[state.have++] = here_val;\n }\n else {\n if (here_val === 16) {\n //=== NEEDBITS(here.bits + 2);\n n = here_bits + 2;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n if (state.have === 0) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n len = state.lens[state.have - 1];\n copy = 3 + (hold & 0x03);//BITS(2);\n //--- DROPBITS(2) ---//\n hold >>>= 2;\n bits -= 2;\n //---//\n }\n else if (here_val === 17) {\n //=== NEEDBITS(here.bits + 3);\n n = here_bits + 3;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 3 + (hold & 0x07);//BITS(3);\n //--- DROPBITS(3) ---//\n hold >>>= 3;\n bits -= 3;\n //---//\n }\n else {\n //=== NEEDBITS(here.bits + 7);\n n = here_bits + 7;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n len = 0;\n copy = 11 + (hold & 0x7f);//BITS(7);\n //--- DROPBITS(7) ---//\n hold >>>= 7;\n bits -= 7;\n //---//\n }\n if (state.have + copy > state.nlen + state.ndist) {\n strm.msg = 'invalid bit length repeat';\n state.mode = BAD;\n break;\n }\n while (copy--) {\n state.lens[state.have++] = len;\n }\n }\n }\n\n /* handle error breaks in while */\n if (state.mode === BAD) { break; }\n\n /* check for end-of-block code (better have one) */\n if (state.lens[256] === 0) {\n strm.msg = 'invalid code -- missing end-of-block';\n state.mode = BAD;\n break;\n }\n\n /* build code tables -- note: do not change the lenbits or distbits\n values here (9 and 6) without reading the comments in inftrees.h\n concerning the ENOUGH constants, which depend on those values */\n state.lenbits = 9;\n\n opts = { bits: state.lenbits };\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.lenbits = opts.bits;\n // state.lencode = state.next;\n\n if (ret) {\n strm.msg = 'invalid literal/lengths set';\n state.mode = BAD;\n break;\n }\n\n state.distbits = 6;\n //state.distcode.copy(state.codes);\n // Switch to use dynamic table\n state.distcode = state.distdyn;\n opts = { bits: state.distbits };\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\n // We have separate tables & no pointers. 2 commented lines below not needed.\n // state.next_index = opts.table_index;\n state.distbits = opts.bits;\n // state.distcode = state.next;\n\n if (ret) {\n strm.msg = 'invalid distances set';\n state.mode = BAD;\n break;\n }\n //Tracev((stderr, 'inflate: codes ok\\n'));\n state.mode = LEN_;\n if (flush === Z_TREES) { break inf_leave; }\n /* falls through */\n case LEN_:\n state.mode = LEN;\n /* falls through */\n case LEN:\n if (have >= 6 && left >= 258) {\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n inflate_fast(strm, _out);\n //--- LOAD() ---\n put = strm.next_out;\n output = strm.output;\n left = strm.avail_out;\n next = strm.next_in;\n input = strm.input;\n have = strm.avail_in;\n hold = state.hold;\n bits = state.bits;\n //---\n\n if (state.mode === TYPE) {\n state.back = -1;\n }\n break;\n }\n state.back = 0;\n for (;;) {\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if (here_bits <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if (here_op && (here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.lencode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n state.length = here_val;\n if (here_op === 0) {\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\n // \"inflate: literal '%c'\\n\" :\n // \"inflate: literal 0x%02x\\n\", here.val));\n state.mode = LIT;\n break;\n }\n if (here_op & 32) {\n //Tracevv((stderr, \"inflate: end of block\\n\"));\n state.back = -1;\n state.mode = TYPE;\n break;\n }\n if (here_op & 64) {\n strm.msg = 'invalid literal/length code';\n state.mode = BAD;\n break;\n }\n state.extra = here_op & 15;\n state.mode = LENEXT;\n /* falls through */\n case LENEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n //Tracevv((stderr, \"inflate: length %u\\n\", state.length));\n state.was = state.length;\n state.mode = DIST;\n /* falls through */\n case DIST:\n for (;;) {\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n if ((here_op & 0xf0) === 0) {\n last_bits = here_bits;\n last_op = here_op;\n last_val = here_val;\n for (;;) {\n here = state.distcode[last_val +\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\n here_bits = here >>> 24;\n here_op = (here >>> 16) & 0xff;\n here_val = here & 0xffff;\n\n if ((last_bits + here_bits) <= bits) { break; }\n //--- PULLBYTE() ---//\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n //---//\n }\n //--- DROPBITS(last.bits) ---//\n hold >>>= last_bits;\n bits -= last_bits;\n //---//\n state.back += last_bits;\n }\n //--- DROPBITS(here.bits) ---//\n hold >>>= here_bits;\n bits -= here_bits;\n //---//\n state.back += here_bits;\n if (here_op & 64) {\n strm.msg = 'invalid distance code';\n state.mode = BAD;\n break;\n }\n state.offset = here_val;\n state.extra = (here_op) & 15;\n state.mode = DISTEXT;\n /* falls through */\n case DISTEXT:\n if (state.extra) {\n //=== NEEDBITS(state.extra);\n n = state.extra;\n while (bits < n) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\n //--- DROPBITS(state.extra) ---//\n hold >>>= state.extra;\n bits -= state.extra;\n //---//\n state.back += state.extra;\n }\n//#ifdef INFLATE_STRICT\n if (state.offset > state.dmax) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n//#endif\n //Tracevv((stderr, \"inflate: distance %u\\n\", state.offset));\n state.mode = MATCH;\n /* falls through */\n case MATCH:\n if (left === 0) { break inf_leave; }\n copy = _out - left;\n if (state.offset > copy) { /* copy from window */\n copy = state.offset - copy;\n if (copy > state.whave) {\n if (state.sane) {\n strm.msg = 'invalid distance too far back';\n state.mode = BAD;\n break;\n }\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\n// Trace((stderr, \"inflate.c too far\\n\"));\n// copy -= state.whave;\n// if (copy > state.length) { copy = state.length; }\n// if (copy > left) { copy = left; }\n// left -= copy;\n// state.length -= copy;\n// do {\n// output[put++] = 0;\n// } while (--copy);\n// if (state.length === 0) { state.mode = LEN; }\n// break;\n//#endif\n }\n if (copy > state.wnext) {\n copy -= state.wnext;\n from = state.wsize - copy;\n }\n else {\n from = state.wnext - copy;\n }\n if (copy > state.length) { copy = state.length; }\n from_source = state.window;\n }\n else { /* copy from output */\n from_source = output;\n from = put - state.offset;\n copy = state.length;\n }\n if (copy > left) { copy = left; }\n left -= copy;\n state.length -= copy;\n do {\n output[put++] = from_source[from++];\n } while (--copy);\n if (state.length === 0) { state.mode = LEN; }\n break;\n case LIT:\n if (left === 0) { break inf_leave; }\n output[put++] = state.length;\n left--;\n state.mode = LEN;\n break;\n case CHECK:\n if (state.wrap) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n // Use '|' instead of '+' to make sure that result is signed\n hold |= input[next++] << bits;\n bits += 8;\n }\n //===//\n _out -= left;\n strm.total_out += _out;\n state.total += _out;\n if (_out) {\n strm.adler = state.check =\n /*UPDATE(state.check, put - _out, _out);*/\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\n\n }\n _out = left;\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\n if ((state.flags ? hold : zswap32(hold)) !== state.check) {\n strm.msg = 'incorrect data check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: check matches trailer\\n\"));\n }\n state.mode = LENGTH;\n /* falls through */\n case LENGTH:\n if (state.wrap && state.flags) {\n //=== NEEDBITS(32);\n while (bits < 32) {\n if (have === 0) { break inf_leave; }\n have--;\n hold += input[next++] << bits;\n bits += 8;\n }\n //===//\n if (hold !== (state.total & 0xffffffff)) {\n strm.msg = 'incorrect length check';\n state.mode = BAD;\n break;\n }\n //=== INITBITS();\n hold = 0;\n bits = 0;\n //===//\n //Tracev((stderr, \"inflate: length matches trailer\\n\"));\n }\n state.mode = DONE;\n /* falls through */\n case DONE:\n ret = Z_STREAM_END;\n break inf_leave;\n case BAD:\n ret = Z_DATA_ERROR;\n break inf_leave;\n case MEM:\n return Z_MEM_ERROR;\n case SYNC:\n /* falls through */\n default:\n return Z_STREAM_ERROR;\n }\n }\n\n // inf_leave <- here is real place for \"goto inf_leave\", emulated via \"break inf_leave\"\n\n /*\n Return from inflate(), updating the total counts and the check value.\n If there was no progress during the inflate() call, return a buffer\n error. Call updatewindow() to create and/or update the window state.\n Note: a memory error from inflate() is non-recoverable.\n */\n\n //--- RESTORE() ---\n strm.next_out = put;\n strm.avail_out = left;\n strm.next_in = next;\n strm.avail_in = have;\n state.hold = hold;\n state.bits = bits;\n //---\n\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\n (state.mode < CHECK || flush !== Z_FINISH))) {\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\n state.mode = MEM;\n return Z_MEM_ERROR;\n }\n }\n _in -= strm.avail_in;\n _out -= strm.avail_out;\n strm.total_in += _in;\n strm.total_out += _out;\n state.total += _out;\n if (state.wrap && _out) {\n strm.adler = state.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\n }\n strm.data_type = state.bits + (state.last ? 64 : 0) +\n (state.mode === TYPE ? 128 : 0) +\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\n ret = Z_BUF_ERROR;\n }\n return ret;\n};\n\n\nconst inflateEnd = (strm) => {\n\n if (!strm || !strm.state /*|| strm->zfree == (free_func)0*/) {\n return Z_STREAM_ERROR;\n }\n\n let state = strm.state;\n if (state.window) {\n state.window = null;\n }\n strm.state = null;\n return Z_OK;\n};\n\n\nconst inflateGetHeader = (strm, head) => {\n\n /* check state */\n if (!strm || !strm.state) { return Z_STREAM_ERROR; }\n const state = strm.state;\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\n\n /* save header structure */\n state.head = head;\n head.done = false;\n return Z_OK;\n};\n\n\nconst inflateSetDictionary = (strm, dictionary) => {\n const dictLength = dictionary.length;\n\n let state;\n let dictid;\n let ret;\n\n /* check state */\n if (!strm /* == Z_NULL */ || !strm.state /* == Z_NULL */) { return Z_STREAM_ERROR; }\n state = strm.state;\n\n if (state.wrap !== 0 && state.mode !== DICT) {\n return Z_STREAM_ERROR;\n }\n\n /* check for correct dictionary identifier */\n if (state.mode === DICT) {\n dictid = 1; /* adler32(0, null, 0)*/\n /* dictid = adler32(dictid, dictionary, dictLength); */\n dictid = adler32(dictid, dictionary, dictLength, 0);\n if (dictid !== state.check) {\n return Z_DATA_ERROR;\n }\n }\n /* copy dictionary to window using updatewindow(), which will amend the\n existing dictionary if appropriate */\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\n if (ret) {\n state.mode = MEM;\n return Z_MEM_ERROR;\n }\n state.havedict = 1;\n // Tracev((stderr, \"inflate: dictionary set\\n\"));\n return Z_OK;\n};\n\n\nmodule.exports.inflateReset = inflateReset;\nmodule.exports.inflateReset2 = inflateReset2;\nmodule.exports.inflateResetKeep = inflateResetKeep;\nmodule.exports.inflateInit = inflateInit;\nmodule.exports.inflateInit2 = inflateInit2;\nmodule.exports.inflate = inflate;\nmodule.exports.inflateEnd = inflateEnd;\nmodule.exports.inflateGetHeader = inflateGetHeader;\nmodule.exports.inflateSetDictionary = inflateSetDictionary;\nmodule.exports.inflateInfo = 'pako inflate (from Nodeca project)';\n\n/* Not implemented\nmodule.exports.inflateCopy = inflateCopy;\nmodule.exports.inflateGetDictionary = inflateGetDictionary;\nmodule.exports.inflateMark = inflateMark;\nmodule.exports.inflatePrime = inflatePrime;\nmodule.exports.inflateSync = inflateSync;\nmodule.exports.inflateSyncPoint = inflateSyncPoint;\nmodule.exports.inflateUndermine = inflateUndermine;\n*/\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nconst MAXBITS = 15;\nconst ENOUGH_LENS = 852;\nconst ENOUGH_DISTS = 592;\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\n\nconst CODES = 0;\nconst LENS = 1;\nconst DISTS = 2;\n\nconst lbase = new Uint16Array([ /* Length codes 257..285 base */\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\n]);\n\nconst lext = new Uint8Array([ /* Length codes 257..285 extra */\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\n]);\n\nconst dbase = new Uint16Array([ /* Distance codes 0..29 base */\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\n 8193, 12289, 16385, 24577, 0, 0\n]);\n\nconst dext = new Uint8Array([ /* Distance codes 0..29 extra */\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\n 28, 28, 29, 29, 64, 64\n]);\n\nconst inflate_table = (type, lens, lens_index, codes, table, table_index, work, opts) =>\n{\n const bits = opts.bits;\n //here = opts.here; /* table entry for duplication */\n\n let len = 0; /* a code's length in bits */\n let sym = 0; /* index of code symbols */\n let min = 0, max = 0; /* minimum and maximum code lengths */\n let root = 0; /* number of index bits for root table */\n let curr = 0; /* number of index bits for current table */\n let drop = 0; /* code bits to drop for sub-table */\n let left = 0; /* number of prefix codes available */\n let used = 0; /* code entries in table used */\n let huff = 0; /* Huffman code */\n let incr; /* for incrementing code, index */\n let fill; /* index for replicating entries */\n let low; /* low bits for current root entry */\n let mask; /* mask for low root bits */\n let next; /* next available space in table */\n let base = null; /* base value table to use */\n let base_index = 0;\n// let shoextra; /* extra bits table to use */\n let end; /* use base and extra for symbol > end */\n const count = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\n const offs = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\n let extra = null;\n let extra_index = 0;\n\n let here_bits, here_op, here_val;\n\n /*\n Process a set of code lengths to create a canonical Huffman code. The\n code lengths are lens[0..codes-1]. Each length corresponds to the\n symbols 0..codes-1. The Huffman code is generated by first sorting the\n symbols by length from short to long, and retaining the symbol order\n for codes with equal lengths. Then the code starts with all zero bits\n for the first code of the shortest length, and the codes are integer\n increments for the same length, and zeros are appended as the length\n increases. For the deflate format, these bits are stored backwards\n from their more natural integer increment ordering, and so when the\n decoding tables are built in the large loop below, the integer codes\n are incremented backwards.\n\n This routine assumes, but does not check, that all of the entries in\n lens[] are in the range 0..MAXBITS. The caller must assure this.\n 1..MAXBITS is interpreted as that code length. zero means that that\n symbol does not occur in this code.\n\n The codes are sorted by computing a count of codes for each length,\n creating from that a table of starting indices for each length in the\n sorted table, and then entering the symbols in order in the sorted\n table. The sorted table is work[], with that space being provided by\n the caller.\n\n The length counts are used for other purposes as well, i.e. finding\n the minimum and maximum length codes, determining if there are any\n codes at all, checking for a valid set of lengths, and looking ahead\n at length counts to determine sub-table sizes when building the\n decoding tables.\n */\n\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\n for (len = 0; len <= MAXBITS; len++) {\n count[len] = 0;\n }\n for (sym = 0; sym < codes; sym++) {\n count[lens[lens_index + sym]]++;\n }\n\n /* bound code lengths, force root to be within code lengths */\n root = bits;\n for (max = MAXBITS; max >= 1; max--) {\n if (count[max] !== 0) { break; }\n }\n if (root > max) {\n root = max;\n }\n if (max === 0) { /* no symbols to code at all */\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n\n //table.op[opts.table_index] = 64;\n //table.bits[opts.table_index] = 1;\n //table.val[opts.table_index++] = 0;\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\n\n opts.bits = 1;\n return 0; /* no symbols, but wait for decoding to report error */\n }\n for (min = 1; min < max; min++) {\n if (count[min] !== 0) { break; }\n }\n if (root < min) {\n root = min;\n }\n\n /* check for an over-subscribed or incomplete set of lengths */\n left = 1;\n for (len = 1; len <= MAXBITS; len++) {\n left <<= 1;\n left -= count[len];\n if (left < 0) {\n return -1;\n } /* over-subscribed */\n }\n if (left > 0 && (type === CODES || max !== 1)) {\n return -1; /* incomplete set */\n }\n\n /* generate offsets into symbol table for each length for sorting */\n offs[1] = 0;\n for (len = 1; len < MAXBITS; len++) {\n offs[len + 1] = offs[len] + count[len];\n }\n\n /* sort symbols by length, by symbol order within each length */\n for (sym = 0; sym < codes; sym++) {\n if (lens[lens_index + sym] !== 0) {\n work[offs[lens[lens_index + sym]]++] = sym;\n }\n }\n\n /*\n Create and fill in decoding tables. In this loop, the table being\n filled is at next and has curr index bits. The code being used is huff\n with length len. That code is converted to an index by dropping drop\n bits off of the bottom. For codes where len is less than drop + curr,\n those top drop + curr - len bits are incremented through all values to\n fill the table with replicated entries.\n\n root is the number of index bits for the root table. When len exceeds\n root, sub-tables are created pointed to by the root entry with an index\n of the low root bits of huff. This is saved in low to check for when a\n new sub-table should be started. drop is zero when the root table is\n being filled, and drop is root when sub-tables are being filled.\n\n When a new sub-table is needed, it is necessary to look ahead in the\n code lengths to determine what size sub-table is needed. The length\n counts are used for this, and so count[] is decremented as codes are\n entered in the tables.\n\n used keeps track of how many table entries have been allocated from the\n provided *table space. It is checked for LENS and DIST tables against\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\n the initial root table size constants. See the comments in inftrees.h\n for more information.\n\n sym increments through all symbols, and the loop terminates when\n all codes of length max, i.e. all codes, have been processed. This\n routine permits incomplete codes, so another loop after this one fills\n in the rest of the decoding tables with invalid code markers.\n */\n\n /* set up for code type */\n // poor man optimization - use if-else instead of switch,\n // to avoid deopts in old v8\n if (type === CODES) {\n base = extra = work; /* dummy value--not used */\n end = 19;\n\n } else if (type === LENS) {\n base = lbase;\n base_index -= 257;\n extra = lext;\n extra_index -= 257;\n end = 256;\n\n } else { /* DISTS */\n base = dbase;\n extra = dext;\n end = -1;\n }\n\n /* initialize opts for loop */\n huff = 0; /* starting code */\n sym = 0; /* starting code symbol */\n len = min; /* starting code length */\n next = table_index; /* current table to fill in */\n curr = root; /* current table index bits */\n drop = 0; /* current bits to drop from code for index */\n low = -1; /* trigger new sub-table when len > root */\n used = 1 << root; /* use root table entries */\n mask = used - 1; /* mask for comparing low */\n\n /* check available table space */\n if ((type === LENS && used > ENOUGH_LENS) ||\n (type === DISTS && used > ENOUGH_DISTS)) {\n return 1;\n }\n\n /* process all codes and make table entries */\n for (;;) {\n /* create table entry */\n here_bits = len - drop;\n if (work[sym] < end) {\n here_op = 0;\n here_val = work[sym];\n }\n else if (work[sym] > end) {\n here_op = extra[extra_index + work[sym]];\n here_val = base[base_index + work[sym]];\n }\n else {\n here_op = 32 + 64; /* end of block */\n here_val = 0;\n }\n\n /* replicate for those indices with low len bits equal to huff */\n incr = 1 << (len - drop);\n fill = 1 << curr;\n min = fill; /* save offset to next table */\n do {\n fill -= incr;\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\n } while (fill !== 0);\n\n /* backwards increment the len-bit code huff */\n incr = 1 << (len - 1);\n while (huff & incr) {\n incr >>= 1;\n }\n if (incr !== 0) {\n huff &= incr - 1;\n huff += incr;\n } else {\n huff = 0;\n }\n\n /* go to next symbol, update count, len */\n sym++;\n if (--count[len] === 0) {\n if (len === max) { break; }\n len = lens[lens_index + work[sym]];\n }\n\n /* create new sub-table if needed */\n if (len > root && (huff & mask) !== low) {\n /* if first time, transition to sub-tables */\n if (drop === 0) {\n drop = root;\n }\n\n /* increment past last table */\n next += min; /* here min is 1 << curr */\n\n /* determine length of next table */\n curr = len - drop;\n left = 1 << curr;\n while (curr + drop < max) {\n left -= count[curr + drop];\n if (left <= 0) { break; }\n curr++;\n left <<= 1;\n }\n\n /* check for enough space */\n used += 1 << curr;\n if ((type === LENS && used > ENOUGH_LENS) ||\n (type === DISTS && used > ENOUGH_DISTS)) {\n return 1;\n }\n\n /* point entry in root table to sub-table */\n low = huff & mask;\n /*table.op[low] = curr;\n table.bits[low] = root;\n table.val[low] = next - opts.table_index;*/\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\n }\n }\n\n /* fill in remaining table entry if code is incomplete (guaranteed to have\n at most one remaining entry, since if the code is incomplete, the\n maximum code length that was allowed to get this far is one bit) */\n if (huff !== 0) {\n //table.op[next + huff] = 64; /* invalid code marker */\n //table.bits[next + huff] = len - drop;\n //table.val[next + huff] = 0;\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\n }\n\n /* set return parameters */\n //opts.table_index += used;\n opts.bits = root;\n return 0;\n};\n\n\nmodule.exports = inflate_table;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nmodule.exports = {\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\n 1: 'stream end', /* Z_STREAM_END 1 */\n 0: '', /* Z_OK 0 */\n '-1': 'file error', /* Z_ERRNO (-1) */\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\n};\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\n/* eslint-disable space-unary-ops */\n\n/* Public constants ==========================================================*/\n/* ===========================================================================*/\n\n\n//const Z_FILTERED = 1;\n//const Z_HUFFMAN_ONLY = 2;\n//const Z_RLE = 3;\nconst Z_FIXED = 4;\n//const Z_DEFAULT_STRATEGY = 0;\n\n/* Possible values of the data_type field (though see inflate()) */\nconst Z_BINARY = 0;\nconst Z_TEXT = 1;\n//const Z_ASCII = 1; // = Z_TEXT\nconst Z_UNKNOWN = 2;\n\n/*============================================================================*/\n\n\nfunction zero(buf) { let len = buf.length; while (--len >= 0) { buf[len] = 0; } }\n\n// From zutil.h\n\nconst STORED_BLOCK = 0;\nconst STATIC_TREES = 1;\nconst DYN_TREES = 2;\n/* The three kinds of block type */\n\nconst MIN_MATCH = 3;\nconst MAX_MATCH = 258;\n/* The minimum and maximum match lengths */\n\n// From deflate.h\n/* ===========================================================================\n * Internal compression state.\n */\n\nconst LENGTH_CODES = 29;\n/* number of length codes, not counting the special END_BLOCK code */\n\nconst LITERALS = 256;\n/* number of literal bytes 0..255 */\n\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\n/* number of Literal or Length codes, including the END_BLOCK code */\n\nconst D_CODES = 30;\n/* number of distance codes */\n\nconst BL_CODES = 19;\n/* number of codes used to transfer the bit lengths */\n\nconst HEAP_SIZE = 2 * L_CODES + 1;\n/* maximum heap size */\n\nconst MAX_BITS = 15;\n/* All codes must not exceed MAX_BITS bits */\n\nconst Buf_size = 16;\n/* size of bit buffer in bi_buf */\n\n\n/* ===========================================================================\n * Constants\n */\n\nconst MAX_BL_BITS = 7;\n/* Bit length codes must not exceed MAX_BL_BITS bits */\n\nconst END_BLOCK = 256;\n/* end of block literal code */\n\nconst REP_3_6 = 16;\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\n\nconst REPZ_3_10 = 17;\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\n\nconst REPZ_11_138 = 18;\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\n\n/* eslint-disable comma-spacing,array-bracket-spacing */\nconst extra_lbits = /* extra bits for each length code */\n new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);\n\nconst extra_dbits = /* extra bits for each distance code */\n new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);\n\nconst extra_blbits = /* extra bits for each bit length code */\n new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);\n\nconst bl_order =\n new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);\n/* eslint-enable comma-spacing,array-bracket-spacing */\n\n/* The lengths of the bit length codes are sent in order of decreasing\n * probability, to avoid transmitting the lengths for unused bit length codes.\n */\n\n/* ===========================================================================\n * Local data. These are initialized only once.\n */\n\n// We pre-fill arrays with 0 to avoid uninitialized gaps\n\nconst DIST_CODE_LEN = 512; /* see definition of array dist_code below */\n\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\nconst static_ltree = new Array((L_CODES + 2) * 2);\nzero(static_ltree);\n/* The static literal tree. Since the bit lengths are imposed, there is no\n * need for the L_CODES extra codes used during heap construction. However\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\n * below).\n */\n\nconst static_dtree = new Array(D_CODES * 2);\nzero(static_dtree);\n/* The static distance tree. (Actually a trivial tree since all codes use\n * 5 bits.)\n */\n\nconst _dist_code = new Array(DIST_CODE_LEN);\nzero(_dist_code);\n/* Distance codes. The first 256 values correspond to the distances\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\n * the 15 bit distances.\n */\n\nconst _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);\nzero(_length_code);\n/* length code for each normalized match length (0 == MIN_MATCH) */\n\nconst base_length = new Array(LENGTH_CODES);\nzero(base_length);\n/* First normalized length for each code (0 = MIN_MATCH) */\n\nconst base_dist = new Array(D_CODES);\nzero(base_dist);\n/* First normalized distance for each code (0 = distance of 1) */\n\n\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\n\n this.static_tree = static_tree; /* static tree or NULL */\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\n this.extra_base = extra_base; /* base index for extra_bits */\n this.elems = elems; /* max number of elements in the tree */\n this.max_length = max_length; /* max bit length for the codes */\n\n // show if `static_tree` has data or dummy - needed for monomorphic objects\n this.has_stree = static_tree && static_tree.length;\n}\n\n\nlet static_l_desc;\nlet static_d_desc;\nlet static_bl_desc;\n\n\nfunction TreeDesc(dyn_tree, stat_desc) {\n this.dyn_tree = dyn_tree; /* the dynamic tree */\n this.max_code = 0; /* largest code with non zero frequency */\n this.stat_desc = stat_desc; /* the corresponding static tree */\n}\n\n\n\nconst d_code = (dist) => {\n\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\n};\n\n\n/* ===========================================================================\n * Output a short LSB first on the stream.\n * IN assertion: there is enough room in pendingBuf.\n */\nconst put_short = (s, w) => {\n// put_byte(s, (uch)((w) & 0xff));\n// put_byte(s, (uch)((ush)(w) >> 8));\n s.pending_buf[s.pending++] = (w) & 0xff;\n s.pending_buf[s.pending++] = (w >>> 8) & 0xff;\n};\n\n\n/* ===========================================================================\n * Send a value on a given number of bits.\n * IN assertion: length <= 16 and value fits in length bits.\n */\nconst send_bits = (s, value, length) => {\n\n if (s.bi_valid > (Buf_size - length)) {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n put_short(s, s.bi_buf);\n s.bi_buf = value >> (Buf_size - s.bi_valid);\n s.bi_valid += length - Buf_size;\n } else {\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\n s.bi_valid += length;\n }\n};\n\n\nconst send_code = (s, c, tree) => {\n\n send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);\n};\n\n\n/* ===========================================================================\n * Reverse the first len bits of a code, using straightforward code (a faster\n * method would use a table)\n * IN assertion: 1 <= len <= 15\n */\nconst bi_reverse = (code, len) => {\n\n let res = 0;\n do {\n res |= code & 1;\n code >>>= 1;\n res <<= 1;\n } while (--len > 0);\n return res >>> 1;\n};\n\n\n/* ===========================================================================\n * Flush the bit buffer, keeping at most 7 bits in it.\n */\nconst bi_flush = (s) => {\n\n if (s.bi_valid === 16) {\n put_short(s, s.bi_buf);\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n } else if (s.bi_valid >= 8) {\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\n s.bi_buf >>= 8;\n s.bi_valid -= 8;\n }\n};\n\n\n/* ===========================================================================\n * Compute the optimal bit lengths for a tree and update the total bit length\n * for the current block.\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\n * above are the tree nodes sorted by increasing frequency.\n * OUT assertions: the field len is set to the optimal bit length, the\n * array bl_count contains the frequencies for each bit length.\n * The length opt_len is updated; static_len is also updated if stree is\n * not null.\n */\nconst gen_bitlen = (s, desc) =>\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n const tree = desc.dyn_tree;\n const max_code = desc.max_code;\n const stree = desc.stat_desc.static_tree;\n const has_stree = desc.stat_desc.has_stree;\n const extra = desc.stat_desc.extra_bits;\n const base = desc.stat_desc.extra_base;\n const max_length = desc.stat_desc.max_length;\n let h; /* heap index */\n let n, m; /* iterate over the tree elements */\n let bits; /* bit length */\n let xbits; /* extra bits */\n let f; /* frequency */\n let overflow = 0; /* number of elements with bit length too large */\n\n for (bits = 0; bits <= MAX_BITS; bits++) {\n s.bl_count[bits] = 0;\n }\n\n /* In a first pass, compute the optimal bit lengths (which may\n * overflow in the case of the bit length tree).\n */\n tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */\n\n for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {\n n = s.heap[h];\n bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;\n if (bits > max_length) {\n bits = max_length;\n overflow++;\n }\n tree[n * 2 + 1]/*.Len*/ = bits;\n /* We overwrite tree[n].Dad which is no longer needed */\n\n if (n > max_code) { continue; } /* not a leaf node */\n\n s.bl_count[bits]++;\n xbits = 0;\n if (n >= base) {\n xbits = extra[n - base];\n }\n f = tree[n * 2]/*.Freq*/;\n s.opt_len += f * (bits + xbits);\n if (has_stree) {\n s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);\n }\n }\n if (overflow === 0) { return; }\n\n // Trace((stderr,\"\\nbit length overflow\\n\"));\n /* This happens for example on obj2 and pic of the Calgary corpus */\n\n /* Find the first bit length which could increase: */\n do {\n bits = max_length - 1;\n while (s.bl_count[bits] === 0) { bits--; }\n s.bl_count[bits]--; /* move one leaf down the tree */\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\n s.bl_count[max_length]--;\n /* The brother of the overflow item also moves one step up,\n * but this does not affect bl_count[max_length]\n */\n overflow -= 2;\n } while (overflow > 0);\n\n /* Now recompute all bit lengths, scanning in increasing frequency.\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\n * lengths instead of fixing only the wrong ones. This idea is taken\n * from 'ar' written by Haruhiko Okumura.)\n */\n for (bits = max_length; bits !== 0; bits--) {\n n = s.bl_count[bits];\n while (n !== 0) {\n m = s.heap[--h];\n if (m > max_code) { continue; }\n if (tree[m * 2 + 1]/*.Len*/ !== bits) {\n // Trace((stderr,\"code %d bits %d->%d\\n\", m, tree[m].Len, bits));\n s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;\n tree[m * 2 + 1]/*.Len*/ = bits;\n }\n n--;\n }\n }\n};\n\n\n/* ===========================================================================\n * Generate the codes for a given tree and bit counts (which need not be\n * optimal).\n * IN assertion: the array bl_count contains the bit length statistics for\n * the given tree and the field len is set for all tree elements.\n * OUT assertion: the field code is set for all tree elements of non\n * zero code length.\n */\nconst gen_codes = (tree, max_code, bl_count) =>\n// ct_data *tree; /* the tree to decorate */\n// int max_code; /* largest code with non zero frequency */\n// ushf *bl_count; /* number of codes at each bit length */\n{\n const next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */\n let code = 0; /* running code value */\n let bits; /* bit index */\n let n; /* code index */\n\n /* The distribution counts are first used to generate the code values\n * without bit reversal.\n */\n for (bits = 1; bits <= MAX_BITS; bits++) {\n next_code[bits] = code = (code + bl_count[bits - 1]) << 1;\n }\n /* Check that the bit counts in bl_count are consistent. The last code\n * must be all ones.\n */\n //Assert (code + bl_count[MAX_BITS]-1 == (1< {\n\n let n; /* iterates over tree elements */\n let bits; /* bit counter */\n let length; /* length value */\n let code; /* code value */\n let dist; /* distance index */\n const bl_count = new Array(MAX_BITS + 1);\n /* number of codes at each bit length for an optimal tree */\n\n // do check in _tr_init()\n //if (static_init_done) return;\n\n /* For some embedded targets, global variables are not initialized: */\n/*#ifdef NO_INIT_GLOBAL_POINTERS\n static_l_desc.static_tree = static_ltree;\n static_l_desc.extra_bits = extra_lbits;\n static_d_desc.static_tree = static_dtree;\n static_d_desc.extra_bits = extra_dbits;\n static_bl_desc.extra_bits = extra_blbits;\n#endif*/\n\n /* Initialize the mapping length (0..255) -> length code (0..28) */\n length = 0;\n for (code = 0; code < LENGTH_CODES - 1; code++) {\n base_length[code] = length;\n for (n = 0; n < (1 << extra_lbits[code]); n++) {\n _length_code[length++] = code;\n }\n }\n //Assert (length == 256, \"tr_static_init: length != 256\");\n /* Note that the length 255 (match length 258) can be represented\n * in two different ways: code 284 + 5 bits or code 285, so we\n * overwrite length_code[255] to use the best encoding:\n */\n _length_code[length - 1] = code;\n\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\n dist = 0;\n for (code = 0; code < 16; code++) {\n base_dist[code] = dist;\n for (n = 0; n < (1 << extra_dbits[code]); n++) {\n _dist_code[dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: dist != 256\");\n dist >>= 7; /* from now on, all distances are divided by 128 */\n for (; code < D_CODES; code++) {\n base_dist[code] = dist << 7;\n for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {\n _dist_code[256 + dist++] = code;\n }\n }\n //Assert (dist == 256, \"tr_static_init: 256+dist != 512\");\n\n /* Construct the codes of the static literal tree */\n for (bits = 0; bits <= MAX_BITS; bits++) {\n bl_count[bits] = 0;\n }\n\n n = 0;\n while (n <= 143) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n while (n <= 255) {\n static_ltree[n * 2 + 1]/*.Len*/ = 9;\n n++;\n bl_count[9]++;\n }\n while (n <= 279) {\n static_ltree[n * 2 + 1]/*.Len*/ = 7;\n n++;\n bl_count[7]++;\n }\n while (n <= 287) {\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\n n++;\n bl_count[8]++;\n }\n /* Codes 286 and 287 do not exist, but we must include them in the\n * tree construction to get a canonical Huffman tree (longest code\n * all ones)\n */\n gen_codes(static_ltree, L_CODES + 1, bl_count);\n\n /* The static distance tree is trivial: */\n for (n = 0; n < D_CODES; n++) {\n static_dtree[n * 2 + 1]/*.Len*/ = 5;\n static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);\n }\n\n // Now data ready and we can init static trees\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);\n\n //static_init_done = true;\n};\n\n\n/* ===========================================================================\n * Initialize a new block.\n */\nconst init_block = (s) => {\n\n let n; /* iterates over tree elements */\n\n /* Initialize the trees. */\n for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }\n for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }\n\n s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;\n s.opt_len = s.static_len = 0;\n s.last_lit = s.matches = 0;\n};\n\n\n/* ===========================================================================\n * Flush the bit buffer and align the output on a byte boundary\n */\nconst bi_windup = (s) =>\n{\n if (s.bi_valid > 8) {\n put_short(s, s.bi_buf);\n } else if (s.bi_valid > 0) {\n //put_byte(s, (Byte)s->bi_buf);\n s.pending_buf[s.pending++] = s.bi_buf;\n }\n s.bi_buf = 0;\n s.bi_valid = 0;\n};\n\n/* ===========================================================================\n * Copy a stored block, storing first the length and its\n * one's complement if requested.\n */\nconst copy_block = (s, buf, len, header) =>\n//DeflateState *s;\n//charf *buf; /* the input data */\n//unsigned len; /* its length */\n//int header; /* true if block header must be written */\n{\n bi_windup(s); /* align on byte boundary */\n\n if (header) {\n put_short(s, len);\n put_short(s, ~len);\n }\n// while (len--) {\n// put_byte(s, *buf++);\n// }\n s.pending_buf.set(s.window.subarray(buf, buf + len), s.pending);\n s.pending += len;\n};\n\n/* ===========================================================================\n * Compares to subtrees, using the tree depth as tie breaker when\n * the subtrees have equal frequency. This minimizes the worst case length.\n */\nconst smaller = (tree, n, m, depth) => {\n\n const _n2 = n * 2;\n const _m2 = m * 2;\n return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||\n (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));\n};\n\n/* ===========================================================================\n * Restore the heap property by moving down the tree starting at node k,\n * exchanging a node with the smallest of its two sons if necessary, stopping\n * when the heap property is re-established (each father smaller than its\n * two sons).\n */\nconst pqdownheap = (s, tree, k) =>\n// deflate_state *s;\n// ct_data *tree; /* the tree to restore */\n// int k; /* node to move down */\n{\n const v = s.heap[k];\n let j = k << 1; /* left son of k */\n while (j <= s.heap_len) {\n /* Set j to the smallest of the two sons: */\n if (j < s.heap_len &&\n smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\n j++;\n }\n /* Exit if v is smaller than both sons */\n if (smaller(tree, v, s.heap[j], s.depth)) { break; }\n\n /* Exchange v with the smallest son */\n s.heap[k] = s.heap[j];\n k = j;\n\n /* And continue down the tree, setting j to the left son of k */\n j <<= 1;\n }\n s.heap[k] = v;\n};\n\n\n// inlined manually\n// const SMALLEST = 1;\n\n/* ===========================================================================\n * Send the block data compressed using the given Huffman trees\n */\nconst compress_block = (s, ltree, dtree) =>\n// deflate_state *s;\n// const ct_data *ltree; /* literal tree */\n// const ct_data *dtree; /* distance tree */\n{\n let dist; /* distance of matched string */\n let lc; /* match length or unmatched char (if dist == 0) */\n let lx = 0; /* running index in l_buf */\n let code; /* the code to send */\n let extra; /* number of extra bits to send */\n\n if (s.last_lit !== 0) {\n do {\n dist = (s.pending_buf[s.d_buf + lx * 2] << 8) | (s.pending_buf[s.d_buf + lx * 2 + 1]);\n lc = s.pending_buf[s.l_buf + lx];\n lx++;\n\n if (dist === 0) {\n send_code(s, lc, ltree); /* send a literal byte */\n //Tracecv(isgraph(lc), (stderr,\" '%c' \", lc));\n } else {\n /* Here, lc is the match length - MIN_MATCH */\n code = _length_code[lc];\n send_code(s, code + LITERALS + 1, ltree); /* send the length code */\n extra = extra_lbits[code];\n if (extra !== 0) {\n lc -= base_length[code];\n send_bits(s, lc, extra); /* send the extra length bits */\n }\n dist--; /* dist is now the match distance - 1 */\n code = d_code(dist);\n //Assert (code < D_CODES, \"bad d_code\");\n\n send_code(s, code, dtree); /* send the distance code */\n extra = extra_dbits[code];\n if (extra !== 0) {\n dist -= base_dist[code];\n send_bits(s, dist, extra); /* send the extra distance bits */\n }\n } /* literal or match pair ? */\n\n /* Check that the overlay between pending_buf and d_buf+l_buf is ok: */\n //Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,\n // \"pendingBuf overflow\");\n\n } while (lx < s.last_lit);\n }\n\n send_code(s, END_BLOCK, ltree);\n};\n\n\n/* ===========================================================================\n * Construct one Huffman tree and assigns the code bit strings and lengths.\n * Update the total bit length for the current block.\n * IN assertion: the field freq is set for all tree elements.\n * OUT assertions: the fields len and code are set to the optimal bit length\n * and corresponding code. The length opt_len is updated; static_len is\n * also updated if stree is not null. The field max_code is set.\n */\nconst build_tree = (s, desc) =>\n// deflate_state *s;\n// tree_desc *desc; /* the tree descriptor */\n{\n const tree = desc.dyn_tree;\n const stree = desc.stat_desc.static_tree;\n const has_stree = desc.stat_desc.has_stree;\n const elems = desc.stat_desc.elems;\n let n, m; /* iterate over heap elements */\n let max_code = -1; /* largest code with non zero frequency */\n let node; /* new node being created */\n\n /* Construct the initial heap, with least frequent element in\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\n * heap[0] is not used.\n */\n s.heap_len = 0;\n s.heap_max = HEAP_SIZE;\n\n for (n = 0; n < elems; n++) {\n if (tree[n * 2]/*.Freq*/ !== 0) {\n s.heap[++s.heap_len] = max_code = n;\n s.depth[n] = 0;\n\n } else {\n tree[n * 2 + 1]/*.Len*/ = 0;\n }\n }\n\n /* The pkzip format requires that at least one distance code exists,\n * and that at least one bit should be sent even if there is only one\n * possible code. So to avoid special checks later on we force at least\n * two codes of non zero frequency.\n */\n while (s.heap_len < 2) {\n node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);\n tree[node * 2]/*.Freq*/ = 1;\n s.depth[node] = 0;\n s.opt_len--;\n\n if (has_stree) {\n s.static_len -= stree[node * 2 + 1]/*.Len*/;\n }\n /* node is 0 or 1 so it does not have extra bits */\n }\n desc.max_code = max_code;\n\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\n * establish sub-heaps of increasing lengths:\n */\n for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }\n\n /* Construct the Huffman tree by repeatedly combining the least two\n * frequent nodes.\n */\n node = elems; /* next internal node of the tree */\n do {\n //pqremove(s, tree, n); /* n = node of least frequency */\n /*** pqremove ***/\n n = s.heap[1/*SMALLEST*/];\n s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];\n pqdownheap(s, tree, 1/*SMALLEST*/);\n /***/\n\n m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */\n\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\n s.heap[--s.heap_max] = m;\n\n /* Create a new node father of n and m */\n tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\n tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;\n\n /* and insert the new node in the heap */\n s.heap[1/*SMALLEST*/] = node++;\n pqdownheap(s, tree, 1/*SMALLEST*/);\n\n } while (s.heap_len >= 2);\n\n s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];\n\n /* At this point, the fields freq and dad are set. We can now\n * generate the bit lengths.\n */\n gen_bitlen(s, desc);\n\n /* The field len is now set, we can generate the bit codes */\n gen_codes(tree, max_code, s.bl_count);\n};\n\n\n/* ===========================================================================\n * Scan a literal or distance tree to determine the frequencies of the codes\n * in the bit length tree.\n */\nconst scan_tree = (s, tree, max_code) =>\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n let n; /* iterates over all tree elements */\n let prevlen = -1; /* last emitted length */\n let curlen; /* length of current code */\n\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n let count = 0; /* repeat count of the current code */\n let max_count = 7; /* max repeat count */\n let min_count = 4; /* min repeat count */\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n s.bl_tree[curlen * 2]/*.Freq*/ += count;\n\n } else if (curlen !== 0) {\n\n if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }\n s.bl_tree[REP_3_6 * 2]/*.Freq*/++;\n\n } else if (count <= 10) {\n s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;\n\n } else {\n s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;\n }\n\n count = 0;\n prevlen = curlen;\n\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n};\n\n\n/* ===========================================================================\n * Send a literal or distance tree in compressed form, using the codes in\n * bl_tree.\n */\nconst send_tree = (s, tree, max_code) =>\n// deflate_state *s;\n// ct_data *tree; /* the tree to be scanned */\n// int max_code; /* and its largest code of non zero frequency */\n{\n let n; /* iterates over all tree elements */\n let prevlen = -1; /* last emitted length */\n let curlen; /* length of current code */\n\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\n\n let count = 0; /* repeat count of the current code */\n let max_count = 7; /* max repeat count */\n let min_count = 4; /* min repeat count */\n\n /* tree[max_code+1].Len = -1; */ /* guard already set */\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n }\n\n for (n = 0; n <= max_code; n++) {\n curlen = nextlen;\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\n\n if (++count < max_count && curlen === nextlen) {\n continue;\n\n } else if (count < min_count) {\n do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);\n\n } else if (curlen !== 0) {\n if (curlen !== prevlen) {\n send_code(s, curlen, s.bl_tree);\n count--;\n }\n //Assert(count >= 3 && count <= 6, \" 3_6?\");\n send_code(s, REP_3_6, s.bl_tree);\n send_bits(s, count - 3, 2);\n\n } else if (count <= 10) {\n send_code(s, REPZ_3_10, s.bl_tree);\n send_bits(s, count - 3, 3);\n\n } else {\n send_code(s, REPZ_11_138, s.bl_tree);\n send_bits(s, count - 11, 7);\n }\n\n count = 0;\n prevlen = curlen;\n if (nextlen === 0) {\n max_count = 138;\n min_count = 3;\n\n } else if (curlen === nextlen) {\n max_count = 6;\n min_count = 3;\n\n } else {\n max_count = 7;\n min_count = 4;\n }\n }\n};\n\n\n/* ===========================================================================\n * Construct the Huffman tree for the bit lengths and return the index in\n * bl_order of the last bit length code to send.\n */\nconst build_bl_tree = (s) => {\n\n let max_blindex; /* index of last bit length code of non zero freq */\n\n /* Determine the bit length frequencies for literal and distance trees */\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\n\n /* Build the bit length tree: */\n build_tree(s, s.bl_desc);\n /* opt_len now includes the length of the tree representations, except\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\n */\n\n /* Determine the number of bit length codes to send. The pkzip format\n * requires that at least 4 bit length codes be sent. (appnote.txt says\n * 3 but the actual value used is 4.)\n */\n for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {\n break;\n }\n }\n /* Update opt_len to include the bit length tree and counts */\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\n //Tracev((stderr, \"\\ndyn trees: dyn %ld, stat %ld\",\n // s->opt_len, s->static_len));\n\n return max_blindex;\n};\n\n\n/* ===========================================================================\n * Send the header for a block using dynamic Huffman trees: the counts, the\n * lengths of the bit length codes, the literal tree and the distance tree.\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\n */\nconst send_all_trees = (s, lcodes, dcodes, blcodes) =>\n// deflate_state *s;\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\n{\n let rank; /* index in bl_order */\n\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \"not enough codes\");\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\n // \"too many codes\");\n //Tracev((stderr, \"\\nbl counts: \"));\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\n send_bits(s, dcodes - 1, 5);\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\n for (rank = 0; rank < blcodes; rank++) {\n //Tracev((stderr, \"\\nbl code %2d \", bl_order[rank]));\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);\n }\n //Tracev((stderr, \"\\nbl tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\n //Tracev((stderr, \"\\nlit tree: sent %ld\", s->bits_sent));\n\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\n //Tracev((stderr, \"\\ndist tree: sent %ld\", s->bits_sent));\n};\n\n\n/* ===========================================================================\n * Check if the data type is TEXT or BINARY, using the following algorithm:\n * - TEXT if the two conditions below are satisfied:\n * a) There are no non-portable control characters belonging to the\n * \"black list\" (0..6, 14..25, 28..31).\n * b) There is at least one printable character belonging to the\n * \"white list\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\n * - BINARY otherwise.\n * - The following partially-portable control characters form a\n * \"gray list\" that is ignored in this detection algorithm:\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\n * IN assertion: the fields Freq of dyn_ltree are set.\n */\nconst detect_data_type = (s) => {\n /* black_mask is the bit mask of black-listed bytes\n * set bits 0..6, 14..25, and 28..31\n * 0xf3ffc07f = binary 11110011111111111100000001111111\n */\n let black_mask = 0xf3ffc07f;\n let n;\n\n /* Check for non-textual (\"black-listed\") bytes. */\n for (n = 0; n <= 31; n++, black_mask >>>= 1) {\n if ((black_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {\n return Z_BINARY;\n }\n }\n\n /* Check for textual (\"white-listed\") bytes. */\n if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||\n s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n for (n = 32; n < LITERALS; n++) {\n if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {\n return Z_TEXT;\n }\n }\n\n /* There are no \"black-listed\" or \"white-listed\" bytes:\n * this stream either is empty or has tolerated (\"gray-listed\") bytes only.\n */\n return Z_BINARY;\n};\n\n\nlet static_init_done = false;\n\n/* ===========================================================================\n * Initialize the tree data structures for a new zlib stream.\n */\nconst _tr_init = (s) =>\n{\n\n if (!static_init_done) {\n tr_static_init();\n static_init_done = true;\n }\n\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\n\n s.bi_buf = 0;\n s.bi_valid = 0;\n\n /* Initialize the first block of the first file: */\n init_block(s);\n};\n\n\n/* ===========================================================================\n * Send a stored block\n */\nconst _tr_stored_block = (s, buf, stored_len, last) =>\n//DeflateState *s;\n//charf *buf; /* input block */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\n copy_block(s, buf, stored_len, true); /* with header */\n};\n\n\n/* ===========================================================================\n * Send one empty static block to give enough lookahead for inflate.\n * This takes 10 bits, of which 7 may remain in the bit buffer.\n */\nconst _tr_align = (s) => {\n send_bits(s, STATIC_TREES << 1, 3);\n send_code(s, END_BLOCK, static_ltree);\n bi_flush(s);\n};\n\n\n/* ===========================================================================\n * Determine the best encoding for the current block: dynamic trees, static\n * trees or store, and output the encoded block to the zip file.\n */\nconst _tr_flush_block = (s, buf, stored_len, last) =>\n//DeflateState *s;\n//charf *buf; /* input block, or NULL if too old */\n//ulg stored_len; /* length of input block */\n//int last; /* one if this is the last block for a file */\n{\n let opt_lenb, static_lenb; /* opt_len and static_len in bytes */\n let max_blindex = 0; /* index of last bit length code of non zero freq */\n\n /* Build the Huffman trees unless a stored block is forced */\n if (s.level > 0) {\n\n /* Check if the file is binary or text */\n if (s.strm.data_type === Z_UNKNOWN) {\n s.strm.data_type = detect_data_type(s);\n }\n\n /* Construct the literal and distance trees */\n build_tree(s, s.l_desc);\n // Tracev((stderr, \"\\nlit data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n\n build_tree(s, s.d_desc);\n // Tracev((stderr, \"\\ndist data: dyn %ld, stat %ld\", s->opt_len,\n // s->static_len));\n /* At this point, opt_len and static_len are the total bit lengths of\n * the compressed block data, excluding the tree representations.\n */\n\n /* Build the bit length tree for the above two trees, and get the index\n * in bl_order of the last bit length code to send.\n */\n max_blindex = build_bl_tree(s);\n\n /* Determine the best encoding. Compute the block lengths in bytes. */\n opt_lenb = (s.opt_len + 3 + 7) >>> 3;\n static_lenb = (s.static_len + 3 + 7) >>> 3;\n\n // Tracev((stderr, \"\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \",\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\n // s->last_lit));\n\n if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }\n\n } else {\n // Assert(buf != (char*)0, \"lost buf\");\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\n }\n\n if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {\n /* 4: two words for the lengths */\n\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\n * Otherwise we can't have processed more than WSIZE input bytes since\n * the last block flush, because compression would have been\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\n * transform a block into a stored block.\n */\n _tr_stored_block(s, buf, stored_len, last);\n\n } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {\n\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\n compress_block(s, static_ltree, static_dtree);\n\n } else {\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\n }\n // Assert (s->compressed_len == s->bits_sent, \"bad compressed size\");\n /* The above check is made mod 2^32, for files larger than 512 MB\n * and uLong implemented on 32 bits.\n */\n init_block(s);\n\n if (last) {\n bi_windup(s);\n }\n // Tracev((stderr,\"\\ncomprlen %lu(%lu) \", s->compressed_len>>3,\n // s->compressed_len-7*last));\n};\n\n/* ===========================================================================\n * Save the match info and tally the frequency counts. Return true if\n * the current block must be flushed.\n */\nconst _tr_tally = (s, dist, lc) =>\n// deflate_state *s;\n// unsigned dist; /* distance of matched string */\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\n{\n //let out_length, in_length, dcode;\n\n s.pending_buf[s.d_buf + s.last_lit * 2] = (dist >>> 8) & 0xff;\n s.pending_buf[s.d_buf + s.last_lit * 2 + 1] = dist & 0xff;\n\n s.pending_buf[s.l_buf + s.last_lit] = lc & 0xff;\n s.last_lit++;\n\n if (dist === 0) {\n /* lc is the unmatched char */\n s.dyn_ltree[lc * 2]/*.Freq*/++;\n } else {\n s.matches++;\n /* Here, lc is the match length - MIN_MATCH */\n dist--; /* dist = match distance - 1 */\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\n // (ush)d_code(dist) < (ush)D_CODES, \"_tr_tally: bad match\");\n\n s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;\n s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;\n }\n\n// (!) This block is disabled in zlib defaults,\n// don't enable it for binary compatibility\n\n//#ifdef TRUNCATE_BLOCK\n// /* Try to guess if it is profitable to stop the current block here */\n// if ((s.last_lit & 0x1fff) === 0 && s.level > 2) {\n// /* Compute an upper bound for the compressed length */\n// out_length = s.last_lit*8;\n// in_length = s.strstart - s.block_start;\n//\n// for (dcode = 0; dcode < D_CODES; dcode++) {\n// out_length += s.dyn_dtree[dcode*2]/*.Freq*/ * (5 + extra_dbits[dcode]);\n// }\n// out_length >>>= 3;\n// //Tracev((stderr,\"\\nlast_lit %u, in %ld, out ~%ld(%ld%%) \",\n// // s->last_lit, in_length, out_length,\n// // 100L - out_length*100L/in_length));\n// if (s.matches < (s.last_lit>>1)/*int /2*/ && out_length < (in_length>>1)/*int /2*/) {\n// return true;\n// }\n// }\n//#endif\n\n return (s.last_lit === s.lit_bufsize - 1);\n /* We avoid equality with lit_bufsize because of wraparound at 64K\n * on 16 bit machines and because stored blocks are restricted to\n * 64K-1 bytes.\n */\n};\n\nmodule.exports._tr_init = _tr_init;\nmodule.exports._tr_stored_block = _tr_stored_block;\nmodule.exports._tr_flush_block = _tr_flush_block;\nmodule.exports._tr_tally = _tr_tally;\nmodule.exports._tr_align = _tr_align;\n","'use strict';\n\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no event will the authors be held liable for any damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpose,\n// including commercial applications, and to alter it and redistribute it\n// freely, subject to the following restrictions:\n//\n// 1. The origin of this software must not be misrepresented; you must not\n// claim that you wrote the original software. If you use this software\n// in a product, an acknowledgment in the product documentation would be\n// appreciated but is not required.\n// 2. Altered source versions must be plainly marked as such, and must not be\n// misrepresented as being the original software.\n// 3. This notice may not be removed or altered from any source distribution.\n\nfunction ZStream() {\n /* next input byte */\n this.input = null; // JS specific, because we have no pointers\n this.next_in = 0;\n /* number of bytes available at input */\n this.avail_in = 0;\n /* total number of input bytes read so far */\n this.total_in = 0;\n /* next output byte should be put there */\n this.output = null; // JS specific, because we have no pointers\n this.next_out = 0;\n /* remaining free space at output */\n this.avail_out = 0;\n /* total number of bytes output so far */\n this.total_out = 0;\n /* last error message, NULL if no error */\n this.msg = ''/*Z_NULL*/;\n /* not visible by applications */\n this.state = null;\n /* best guess about the data type: binary or text */\n this.data_type = 2/*Z_UNKNOWN*/;\n /* adler32 value of the uncompressed data */\n this.adler = 0;\n}\n\nmodule.exports = ZStream;\n","'use strict';\n\nvar has = Object.prototype.hasOwnProperty\n , undef;\n\n/**\n * Decode a URI encoded string.\n *\n * @param {String} input The URI encoded string.\n * @returns {String|Null} The decoded string.\n * @api private\n */\nfunction decode(input) {\n try {\n return decodeURIComponent(input.replace(/\\+/g, ' '));\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Attempts to encode a given input.\n *\n * @param {String} input The string that needs to be encoded.\n * @returns {String|Null} The encoded string.\n * @api private\n */\nfunction encode(input) {\n try {\n return encodeURIComponent(input);\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Simple query string parser.\n *\n * @param {String} query The query string that needs to be parsed.\n * @returns {Object}\n * @api public\n */\nfunction querystring(query) {\n var parser = /([^=?#&]+)=?([^&]*)/g\n , result = {}\n , part;\n\n while (part = parser.exec(query)) {\n var key = decode(part[1])\n , value = decode(part[2]);\n\n //\n // Prevent overriding of existing properties. This ensures that build-in\n // methods like `toString` or __proto__ are not overriden by malicious\n // querystrings.\n //\n // In the case if failed decoding, we want to omit the key/value pairs\n // from the result.\n //\n if (key === null || value === null || key in result) continue;\n result[key] = value;\n }\n\n return result;\n}\n\n/**\n * Transform a query string to an object.\n *\n * @param {Object} obj Object that should be transformed.\n * @param {String} prefix Optional prefix.\n * @returns {String}\n * @api public\n */\nfunction querystringify(obj, prefix) {\n prefix = prefix || '';\n\n var pairs = []\n , value\n , key;\n\n //\n // Optionally prefix with a '?' if needed\n //\n if ('string' !== typeof prefix) prefix = '?';\n\n for (key in obj) {\n if (has.call(obj, key)) {\n value = obj[key];\n\n //\n // Edge cases where we actually want to encode the value to an empty\n // string instead of the stringified value.\n //\n if (!value && (value === null || value === undef || isNaN(value))) {\n value = '';\n }\n\n key = encode(key);\n value = encode(value);\n\n //\n // If we failed to encode the strings, we should bail out as we don't\n // want to add invalid strings to the query.\n //\n if (key === null || value === null) continue;\n pairs.push(key +'='+ value);\n }\n }\n\n return pairs.length ? prefix + pairs.join('&') : '';\n}\n\n//\n// Expose the module.\n//\nexports.stringify = querystringify;\nexports.parse = querystring;\n","'use strict';\n\n/**\n * Check if we're required to add a port number.\n *\n * @see https://url.spec.whatwg.org/#default-port\n * @param {Number|String} port Port number we need to check\n * @param {String} protocol Protocol we need to check against.\n * @returns {Boolean} Is it a default port for the given protocol\n * @api private\n */\nmodule.exports = function required(port, protocol) {\n protocol = protocol.split(':')[0];\n port = +port;\n\n if (!port) return false;\n\n switch (protocol) {\n case 'http':\n case 'ws':\n return port !== 80;\n\n case 'https':\n case 'wss':\n return port !== 443;\n\n case 'ftp':\n return port !== 21;\n\n case 'gopher':\n return port !== 70;\n\n case 'file':\n return false;\n }\n\n return port !== 0;\n};\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","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', { value: true });\n\nfunction getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n\n return \"\";\n}\n\nexports.getUserAgent = getUserAgent;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nvar required = require('requires-port')\n , qs = require('querystringify')\n , slashes = /^[A-Za-z][A-Za-z0-9+-.]*:[\\\\/]+/\n , protocolre = /^([a-z][a-z0-9.+-]*:)?([\\\\/]{1,})?([\\S\\s]*)/i\n , whitespace = '[\\\\x09\\\\x0A\\\\x0B\\\\x0C\\\\x0D\\\\x20\\\\xA0\\\\u1680\\\\u180E\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200A\\\\u202F\\\\u205F\\\\u3000\\\\u2028\\\\u2029\\\\uFEFF]'\n , left = new RegExp('^'+ whitespace +'+');\n\n/**\n * Trim a given string.\n *\n * @param {String} str String to trim.\n * @public\n */\nfunction trimLeft(str) {\n return (str ? str : '').toString().replace(left, '');\n}\n\n/**\n * These are the parse rules for the URL parser, it informs the parser\n * about:\n *\n * 0. The char it Needs to parse, if it's a string it should be done using\n * indexOf, RegExp using exec and NaN means set as current value.\n * 1. The property we should set when parsing this value.\n * 2. Indication if it's backwards or forward parsing, when set as number it's\n * the value of extra chars that should be split off.\n * 3. Inherit from location if non existing in the parser.\n * 4. `toLowerCase` the resulting value.\n */\nvar rules = [\n ['#', 'hash'], // Extract from the back.\n ['?', 'query'], // Extract from the back.\n function sanitize(address) { // Sanitize what is left of the address\n return address.replace('\\\\', '/');\n },\n ['/', 'pathname'], // Extract from the back.\n ['@', 'auth', 1], // Extract from the front.\n [NaN, 'host', undefined, 1, 1], // Set left over value.\n [/:(\\d+)$/, 'port', undefined, 1], // RegExp the back.\n [NaN, 'hostname', undefined, 1, 1] // Set left over.\n];\n\n/**\n * These properties should not be copied or inherited from. This is only needed\n * for all non blob URL's as a blob URL does not include a hash, only the\n * origin.\n *\n * @type {Object}\n * @private\n */\nvar ignore = { hash: 1, query: 1 };\n\n/**\n * The location object differs when your code is loaded through a normal page,\n * Worker or through a worker using a blob. And with the blobble begins the\n * trouble as the location object will contain the URL of the blob, not the\n * location of the page where our code is loaded in. The actual origin is\n * encoded in the `pathname` so we can thankfully generate a good \"default\"\n * location from it so we can generate proper relative URL's again.\n *\n * @param {Object|String} loc Optional default location object.\n * @returns {Object} lolcation object.\n * @public\n */\nfunction lolcation(loc) {\n var globalVar;\n\n if (typeof window !== 'undefined') globalVar = window;\n else if (typeof global !== 'undefined') globalVar = global;\n else if (typeof self !== 'undefined') globalVar = self;\n else globalVar = {};\n\n var location = globalVar.location || {};\n loc = loc || location;\n\n var finaldestination = {}\n , type = typeof loc\n , key;\n\n if ('blob:' === loc.protocol) {\n finaldestination = new Url(unescape(loc.pathname), {});\n } else if ('string' === type) {\n finaldestination = new Url(loc, {});\n for (key in ignore) delete finaldestination[key];\n } else if ('object' === type) {\n for (key in loc) {\n if (key in ignore) continue;\n finaldestination[key] = loc[key];\n }\n\n if (finaldestination.slashes === undefined) {\n finaldestination.slashes = slashes.test(loc.href);\n }\n }\n\n return finaldestination;\n}\n\n/**\n * @typedef ProtocolExtract\n * @type Object\n * @property {String} protocol Protocol matched in the URL, in lowercase.\n * @property {Boolean} slashes `true` if protocol is followed by \"//\", else `false`.\n * @property {String} rest Rest of the URL that is not part of the protocol.\n */\n\n/**\n * Extract protocol information from a URL with/without double slash (\"//\").\n *\n * @param {String} address URL we want to extract from.\n * @return {ProtocolExtract} Extracted information.\n * @private\n */\nfunction extractProtocol(address) {\n address = trimLeft(address);\n\n var match = protocolre.exec(address)\n , protocol = match[1] ? match[1].toLowerCase() : ''\n , slashes = !!(match[2] && match[2].length >= 2)\n , rest = match[2] && match[2].length === 1 ? '/' + match[3] : match[3];\n\n return {\n protocol: protocol,\n slashes: slashes,\n rest: rest\n };\n}\n\n/**\n * Resolve a relative URL pathname against a base URL pathname.\n *\n * @param {String} relative Pathname of the relative URL.\n * @param {String} base Pathname of the base URL.\n * @return {String} Resolved pathname.\n * @private\n */\nfunction resolve(relative, base) {\n if (relative === '') return base;\n\n var path = (base || '/').split('/').slice(0, -1).concat(relative.split('/'))\n , i = path.length\n , last = path[i - 1]\n , unshift = false\n , up = 0;\n\n while (i--) {\n if (path[i] === '.') {\n path.splice(i, 1);\n } else if (path[i] === '..') {\n path.splice(i, 1);\n up++;\n } else if (up) {\n if (i === 0) unshift = true;\n path.splice(i, 1);\n up--;\n }\n }\n\n if (unshift) path.unshift('');\n if (last === '.' || last === '..') path.push('');\n\n return path.join('/');\n}\n\n/**\n * The actual URL instance. Instead of returning an object we've opted-in to\n * create an actual constructor as it's much more memory efficient and\n * faster and it pleases my OCD.\n *\n * It is worth noting that we should not use `URL` as class name to prevent\n * clashes with the global URL instance that got introduced in browsers.\n *\n * @constructor\n * @param {String} address URL we want to parse.\n * @param {Object|String} [location] Location defaults for relative paths.\n * @param {Boolean|Function} [parser] Parser for the query string.\n * @private\n */\nfunction Url(address, location, parser) {\n address = trimLeft(address);\n\n if (!(this instanceof Url)) {\n return new Url(address, location, parser);\n }\n\n var relative, extracted, parse, instruction, index, key\n , instructions = rules.slice()\n , type = typeof location\n , url = this\n , i = 0;\n\n //\n // The following if statements allows this module two have compatibility with\n // 2 different API:\n //\n // 1. Node.js's `url.parse` api which accepts a URL, boolean as arguments\n // where the boolean indicates that the query string should also be parsed.\n //\n // 2. The `URL` interface of the browser which accepts a URL, object as\n // arguments. The supplied object will be used as default values / fall-back\n // for relative paths.\n //\n if ('object' !== type && 'string' !== type) {\n parser = location;\n location = null;\n }\n\n if (parser && 'function' !== typeof parser) parser = qs.parse;\n\n location = lolcation(location);\n\n //\n // Extract protocol information before running the instructions.\n //\n extracted = extractProtocol(address || '');\n relative = !extracted.protocol && !extracted.slashes;\n url.slashes = extracted.slashes || relative && location.slashes;\n url.protocol = extracted.protocol || location.protocol || '';\n address = extracted.rest;\n\n //\n // When the authority component is absent the URL starts with a path\n // component.\n //\n if (!extracted.slashes) instructions[3] = [/(.*)/, 'pathname'];\n\n for (; i < instructions.length; i++) {\n instruction = instructions[i];\n\n if (typeof instruction === 'function') {\n address = instruction(address);\n continue;\n }\n\n parse = instruction[0];\n key = instruction[1];\n\n if (parse !== parse) {\n url[key] = address;\n } else if ('string' === typeof parse) {\n if (~(index = address.indexOf(parse))) {\n if ('number' === typeof instruction[2]) {\n url[key] = address.slice(0, index);\n address = address.slice(index + instruction[2]);\n } else {\n url[key] = address.slice(index);\n address = address.slice(0, index);\n }\n }\n } else if ((index = parse.exec(address))) {\n url[key] = index[1];\n address = address.slice(0, index.index);\n }\n\n url[key] = url[key] || (\n relative && instruction[3] ? location[key] || '' : ''\n );\n\n //\n // Hostname, host and protocol should be lowercased so they can be used to\n // create a proper `origin`.\n //\n if (instruction[4]) url[key] = url[key].toLowerCase();\n }\n\n //\n // Also parse the supplied query string in to an object. If we're supplied\n // with a custom parser as function use that instead of the default build-in\n // parser.\n //\n if (parser) url.query = parser(url.query);\n\n //\n // If the URL is relative, resolve the pathname against the base URL.\n //\n if (\n relative\n && location.slashes\n && url.pathname.charAt(0) !== '/'\n && (url.pathname !== '' || location.pathname !== '')\n ) {\n url.pathname = resolve(url.pathname, location.pathname);\n }\n\n //\n // Default to a / for pathname if none exists. This normalizes the URL\n // to always have a /\n //\n if (url.pathname.charAt(0) !== '/' && url.hostname) {\n url.pathname = '/' + url.pathname;\n }\n\n //\n // We should not add port numbers if they are already the default port number\n // for a given protocol. As the host also contains the port number we're going\n // override it with the hostname which contains no port number.\n //\n if (!required(url.port, url.protocol)) {\n url.host = url.hostname;\n url.port = '';\n }\n\n //\n // Parse down the `auth` for the username and password.\n //\n url.username = url.password = '';\n if (url.auth) {\n instruction = url.auth.split(':');\n url.username = instruction[0] || '';\n url.password = instruction[1] || '';\n }\n\n url.origin = url.protocol && url.host && url.protocol !== 'file:'\n ? url.protocol +'//'+ url.host\n : 'null';\n\n //\n // The href is just the compiled result.\n //\n url.href = url.toString();\n}\n\n/**\n * This is convenience method for changing properties in the URL instance to\n * insure that they all propagate correctly.\n *\n * @param {String} part Property we need to adjust.\n * @param {Mixed} value The newly assigned value.\n * @param {Boolean|Function} fn When setting the query, it will be the function\n * used to parse the query.\n * When setting the protocol, double slash will be\n * removed from the final url if it is true.\n * @returns {URL} URL instance for chaining.\n * @public\n */\nfunction set(part, value, fn) {\n var url = this;\n\n switch (part) {\n case 'query':\n if ('string' === typeof value && value.length) {\n value = (fn || qs.parse)(value);\n }\n\n url[part] = value;\n break;\n\n case 'port':\n url[part] = value;\n\n if (!required(value, url.protocol)) {\n url.host = url.hostname;\n url[part] = '';\n } else if (value) {\n url.host = url.hostname +':'+ value;\n }\n\n break;\n\n case 'hostname':\n url[part] = value;\n\n if (url.port) value += ':'+ url.port;\n url.host = value;\n break;\n\n case 'host':\n url[part] = value;\n\n if (/:\\d+$/.test(value)) {\n value = value.split(':');\n url.port = value.pop();\n url.hostname = value.join(':');\n } else {\n url.hostname = value;\n url.port = '';\n }\n\n break;\n\n case 'protocol':\n url.protocol = value.toLowerCase();\n url.slashes = !fn;\n break;\n\n case 'pathname':\n case 'hash':\n if (value) {\n var char = part === 'pathname' ? '/' : '#';\n url[part] = value.charAt(0) !== char ? char + value : value;\n } else {\n url[part] = value;\n }\n break;\n\n default:\n url[part] = value;\n }\n\n for (var i = 0; i < rules.length; i++) {\n var ins = rules[i];\n\n if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase();\n }\n\n url.origin = url.protocol && url.host && url.protocol !== 'file:'\n ? url.protocol +'//'+ url.host\n : 'null';\n\n url.href = url.toString();\n\n return url;\n}\n\n/**\n * Transform the properties back in to a valid and full URL string.\n *\n * @param {Function} stringify Optional query stringify function.\n * @returns {String} Compiled version of the URL.\n * @public\n */\nfunction toString(stringify) {\n if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;\n\n var query\n , url = this\n , protocol = url.protocol;\n\n if (protocol && protocol.charAt(protocol.length - 1) !== ':') protocol += ':';\n\n var result = protocol + (url.slashes ? '//' : '');\n\n if (url.username) {\n result += url.username;\n if (url.password) result += ':'+ url.password;\n result += '@';\n }\n\n result += url.host + url.pathname;\n\n query = 'object' === typeof url.query ? stringify(url.query) : url.query;\n if (query) result += '?' !== query.charAt(0) ? '?'+ query : query;\n\n if (url.hash) result += url.hash;\n\n return result;\n}\n\nUrl.prototype = { set: set, toString: toString };\n\n//\n// Expose the URL parser and some additional properties that might be useful for\n// others or testing.\n//\nUrl.extractProtocol = extractProtocol;\nUrl.location = lolcation;\nUrl.trimLeft = trimLeft;\nUrl.qs = qs;\n\nmodule.exports = Url;\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","\"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","// Returns a wrapper function that returns a wrapped callback\n// The wrapper function should do some stuff, and return a\n// presumably different callback function.\n// This makes sure that own properties are retained, so that\n// decorations and such are not lost along the way.\nmodule.exports = wrappy\nfunction wrappy (fn, cb) {\n if (fn && cb) return wrappy(fn)(cb)\n\n if (typeof fn !== 'function')\n throw new TypeError('need wrapper function')\n\n Object.keys(fn).forEach(function (k) {\n wrapper[k] = fn[k]\n })\n\n return wrapper\n\n function wrapper() {\n var args = new Array(arguments.length)\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i]\n }\n var ret = fn.apply(this, args)\n var cb = args[args.length-1]\n if (typeof ret === 'function' && ret !== cb) {\n Object.keys(cb).forEach(function (k) {\n ret[k] = cb[k]\n })\n }\n return ret\n }\n}\n",null,"module.exports = require(\"assert\");","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(\"stream\");","module.exports = require(\"tls\");","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\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__(9536);\n",""],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/dist/licenses.txt b/dist/licenses.txt new file mode 100644 index 00000000..a6342823 --- /dev/null +++ b/dist/licenses.txt @@ -0,0 +1,1153 @@ +@actions/core +MIT +The MIT License (MIT) + +Copyright 2019 GitHub + +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. + +@actions/github +MIT +The MIT License (MIT) + +Copyright 2019 GitHub + +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. + +@actions/http-client +MIT +Actions Http Client for Node.js + +Copyright (c) GitHub, Inc. + +All rights reserved. + +MIT License + +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. + + +@datadog/datadog-api-client +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 + + +@octokit/auth-token +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@octokit/core +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@octokit/endpoint +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@octokit/graphql +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@octokit/plugin-paginate-rest +MIT +MIT License Copyright (c) 2019 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next paragraph) 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. + + +@octokit/plugin-rest-endpoint-methods +MIT +MIT License Copyright (c) 2019 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the next paragraph) 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. + + +@octokit/request +MIT +The MIT License + +Copyright (c) 2018 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@octokit/request-error +MIT +The MIT License + +Copyright (c) 2019 Octokit contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@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. + +asynckit +MIT +The MIT License (MIT) + +Copyright (c) 2016 Alex Indigo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +before-after-hook +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 2018 Gregor Martynus and other contributors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +buffer-from +MIT +MIT License + +Copyright (c) 2016, 2018 Linus Unnebäck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +combined-stream +MIT +Copyright (c) 2011 Debuggable Limited + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +cross-fetch +MIT +The MIT License (MIT) + +Copyright (c) 2017 Leonardo Quixadá + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +delayed-stream +MIT +Copyright (c) 2011 Debuggable Limited + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +deprecation +ISC +The ISC License + +Copyright (c) Gregor Martynus 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. + + +form-data +MIT +Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + +is-plain-object +MIT +The MIT License (MIT) + +Copyright (c) 2014-2017, Jon Schlinkert. + +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. + + +js-yaml +MIT +(The MIT License) + +Copyright (C) 2011-2015 by Vitaly Puzrin + +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. + + +loglevel +MIT +Copyright (c) 2013 Tim Perry + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +mime-db +MIT + +The MIT License (MIT) + +Copyright (c) 2014 Jonathan Ong me@jongleberry.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +mime-types +MIT +(The MIT License) + +Copyright (c) 2014 Jonathan Ong +Copyright (c) 2015 Douglas Christopher Wilson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +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. + + + +once +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. + + +pako +(MIT AND Zlib) +(The MIT License) + +Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn + +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. + + +querystringify +MIT +The MIT License (MIT) + +Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +requires-port +MIT +The MIT License (MIT) + +Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +tr46 +MIT + +tunnel +MIT +The MIT License (MIT) + +Copyright (c) 2012 Koichi Kobayashi + +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. + + +universal-user-agent +ISC +# [ISC License](https://spdx.org/licenses/ISC) + +Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) + +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. + + +url-parse +MIT +The MIT License (MIT) + +Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +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. + + +wrappy +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/dist/sourcemap-register.js b/dist/sourcemap-register.js new file mode 100644 index 00000000..b9d830e9 --- /dev/null +++ b/dist/sourcemap-register.js @@ -0,0 +1 @@ +(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(17);var i;try{i=n(147);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"")}}else if(u){o+="new "+(i||"")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var a=i.test(globalProcessVersion())?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||"Error";var t=e.message||"";var o=n+": "+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push("\n at "+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join("")}function getErrorSource(e){var r=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,"utf8")}catch(e){a=""}}if(a){var u=a.split(/(?:\r\n|\r|\n)/)[t-1];if(u){return n+":"+t+"\n"+u+"\n"+new Array(o).join(" ")+"^"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);var n=globalProcessStderr();if(n&&n._handle&&n._handle.setBlocking){n._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);globalProcessExit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r==="uncaughtException"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=h.slice(0);var _=d.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if(["node","browser","auto"].indexOf(c)===-1){throw new Error("environment "+c+" was unknown. Available options are {auto, browser, node}")}}if(r.retrieveFile){if(r.overrideRetrieveFile){h.length=0}h.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){d.length=0}d.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,"module");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,"worker_threads");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){h.length=0;d.length=0;h=S.slice(0);d=_.slice(0);v=handlerExec(d);m=handlerExec(h)}},837:(e,r,n)=>{var t=n(983);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var t=n(537);var o=5;var i=1<>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},740:(e,r,n)=>{var t=n(983);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},226:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n{var t;var o=n(983);var i=n(164);var a=n(837).I;var u=n(215);var s=n(226).U;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sources");var u=o.getArg(n,"names",[]);var s=o.getArg(n,"sourceRoot",null);var l=o.getArg(n,"sourcesContent",null);var c=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){d.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,"name",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t{var t=n(215);var o=n(983);var i=n(837).I;var a=n(740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s="";var l;var c;var p;var f;var g=this._mappings.toArray();for(var h=0,d=g.length;h0){if(!o.compareByGeneratedPositionsInflated(c,g[h-1])){continue}l+=","}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},990:(e,r,n)=>{var t;var o=n(341).h;var i=n(983);var a=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n0){r=[];for(n=0;n{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var t=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a==="."){i.splice(s,1)}else if(a===".."){u++}else if(u>0){if(a===""){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},596:(e,r,n)=>{n(341).h;r.SourceMapConsumer=n(327).SourceMapConsumer;n(990)},147:e=>{"use strict";e.exports=require("fs")},17:e=>{"use strict";e.exports=require("path")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var n={};(()=>{__webpack_require__(284).install()})();module.exports=n})(); \ No newline at end of file