Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
"jest-coverage": "jest --no-cache --coverage"
},
"dependencies": {
"@types/buffer-from": "^1.1.0",
"@types/node": "*",
"@types/pako": "^1.0.3",
"@types/buffer-from": "^1.1.3",
"@types/node": "18.19.130",
"@types/pako": "^1.0.7",
"buffer-from": "^1.1.2",
"cross-fetch": "^3.1.5",
"cross-fetch": "^3.1.8",
"es6-promise": "^4.2.8",
"form-data": "^4.0.4",
"form-data": "^4.0.5",
"loglevel": "^1.8.1",
"pako": "^2.0.4"
"pako": "^2.1.0"
},
"resolutions": {
"@pollyjs/adapter-node-http/nock": "^13.1.3"
Expand All @@ -83,24 +83,24 @@
"@pollyjs/adapter-node-http": "^6.0.5",
"@pollyjs/core": "^6.0.5",
"@pollyjs/persister-fs": "^6.0.5",
"@types/chai": "^4.3.4",
"@types/jest": "^29.5.2",
"@types/chai": "^4.3.20",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"chai": "^4.3.7",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^4.3.10",
"chai-quantifiers": "^1.0.17",
"dd-trace": "^4.3.0",
"dd-trace": "^4.55.0",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^29.5.0",
"nock": "^13.3.3",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.26",
"typescript": "4.8.4",
"jest": "^29.7.0",
"nock": "^13.2.9",
"prettier": "^3.0.3",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typedoc": "^0.23.28",
"typescript": "4.9.5",
"zstd.ts": "^1.1.3"
},
"engines": {
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v1/apis/DashboardsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1906,13 +1906,11 @@ export class DashboardsApi {
param.start,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listDashboards(
responseContext
);
const response =
await this.responseProcessor.listDashboards(responseContext);
const responseDashboards = response.dashboards;
if (responseDashboards === undefined) {
break;
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v1/apis/MonitorsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1771,13 +1771,11 @@ export class MonitorsApi {
param.pageSize,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listMonitors(
responseContext
);
const response =
await this.responseProcessor.listMonitors(responseContext);
const results = response;
for (const item of results) {
yield item;
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v1/apis/NotebooksApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -820,13 +820,11 @@ export class NotebooksApi {
param.type,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listNotebooks(
responseContext
);
const response =
await this.responseProcessor.listNotebooks(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -697,13 +697,11 @@ export class ServiceLevelObjectiveCorrectionsApi {
param.limit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listSLOCorrection(
responseContext
);
const response =
await this.responseProcessor.listSLOCorrection(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1556,9 +1556,8 @@ export class ServiceLevelObjectivesApi {
param.offset,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listSLOs(responseContext);
const responseData = response.data;
Expand Down
5 changes: 2 additions & 3 deletions packages/datadog-api-client-v1/apis/SyntheticsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4493,9 +4493,8 @@ export class SyntheticsApi {
param.pageNumber,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listTests(responseContext);
const responseTests = response.tests;
Expand Down
20 changes: 8 additions & 12 deletions packages/datadog-api-client-v2/apis/AuditApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,13 +368,11 @@ export class AuditApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listAuditLogs(
responseContext
);
const response =
await this.responseProcessor.listAuditLogs(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down Expand Up @@ -452,13 +450,11 @@ export class AuditApi {
param.body,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.searchAuditLogs(
responseContext
);
const response =
await this.responseProcessor.searchAuditLogs(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
20 changes: 8 additions & 12 deletions packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,13 +652,11 @@ export class CIVisibilityPipelinesApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listCIAppPipelineEvents(
responseContext
);
const response =
await this.responseProcessor.listCIAppPipelineEvents(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down Expand Up @@ -737,13 +735,11 @@ export class CIVisibilityPipelinesApi {
param.body,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.searchCIAppPipelineEvents(
responseContext
);
const response =
await this.responseProcessor.searchCIAppPipelineEvents(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
20 changes: 8 additions & 12 deletions packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,11 @@ export class CIVisibilityTestsApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listCIAppTestEvents(
responseContext
);
const response =
await this.responseProcessor.listCIAppTestEvents(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down Expand Up @@ -591,13 +589,11 @@ export class CIVisibilityTestsApi {
param.body,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.searchCIAppTestEvents(
responseContext
);
const response =
await this.responseProcessor.searchCIAppTestEvents(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v2/apis/CaseManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4595,13 +4595,11 @@ export class CaseManagementApi {
param.sortAsc,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.searchCases(
responseContext
);
const response =
await this.responseProcessor.searchCases(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v2/apis/ContainerImagesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,11 @@ export class ContainerImagesApi {
param.pageCursor,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listContainerImages(
responseContext
);
const response =
await this.responseProcessor.listContainerImages(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
10 changes: 4 additions & 6 deletions packages/datadog-api-client-v2/apis/ContainersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,11 @@ export class ContainersApi {
param.pageCursor,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listContainers(
responseContext
);
const response =
await this.responseProcessor.listContainers(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
20 changes: 8 additions & 12 deletions packages/datadog-api-client-v2/apis/DowntimesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,13 +879,11 @@ export class DowntimesApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listDowntimes(
responseContext
);
const response =
await this.responseProcessor.listDowntimes(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down Expand Up @@ -947,13 +945,11 @@ export class DowntimesApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listMonitorDowntimes(
responseContext
);
const response =
await this.responseProcessor.listMonitorDowntimes(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
15 changes: 6 additions & 9 deletions packages/datadog-api-client-v2/apis/EventsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,9 +658,8 @@ export class EventsApi {
param.pageLimit,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.listEvents(responseContext);
const responseData = response.data;
Expand Down Expand Up @@ -738,13 +737,11 @@ export class EventsApi {
param.body,
options
);
const responseContext = await this.configuration.httpApi.send(
requestContext
);
const responseContext =
await this.configuration.httpApi.send(requestContext);

const response = await this.responseProcessor.searchEvents(
responseContext
);
const response =
await this.responseProcessor.searchEvents(responseContext);
const responseData = response.data;
if (responseData === undefined) {
break;
Expand Down
Loading
Loading