Skip to content

Commit d97ccc7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e323bbe3 of spec repo
1 parent 1951218 commit d97ccc7

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-09-12 16:35:48.372067",
8-
"spec_repo_commit": "cbc99635"
7+
"regenerated": "2023-09-12 17:48:37.946200",
8+
"spec_repo_commit": "e323bbe3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-12 16:35:48.385573",
13-
"spec_repo_commit": "cbc99635"
12+
"regenerated": "2023-09-12 17:48:37.959125",
13+
"spec_repo_commit": "e323bbe3"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3422,6 +3422,11 @@ components:
34223422
$ref: '#/components/schemas/LogQueryDefinition'
34233423
event_query:
34243424
$ref: '#/components/schemas/EventQueryDefinition'
3425+
formulas:
3426+
description: List of formulas that operate on queries.
3427+
items:
3428+
$ref: '#/components/schemas/WidgetFormula'
3429+
type: array
34253430
log_query:
34263431
$ref: '#/components/schemas/LogQueryDefinition'
34273432
network_query:
@@ -3433,6 +3438,13 @@ components:
34333438
q:
34343439
description: Widget query.
34353440
type: string
3441+
queries:
3442+
description: List of queries that can be returned directly or used in formulas.
3443+
items:
3444+
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
3445+
type: array
3446+
response_format:
3447+
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
34363448
rum_query:
34373449
$ref: '#/components/schemas/LogQueryDefinition'
34383450
security_query:

packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { EventQueryDefinition } from "./EventQueryDefinition";
7+
import { FormulaAndFunctionQueryDefinition } from "./FormulaAndFunctionQueryDefinition";
8+
import { FormulaAndFunctionResponseFormat } from "./FormulaAndFunctionResponseFormat";
79
import { LogQueryDefinition } from "./LogQueryDefinition";
810
import { ProcessQueryDefinition } from "./ProcessQueryDefinition";
11+
import { WidgetFormula } from "./WidgetFormula";
912
import { WidgetStyle } from "./WidgetStyle";
1013

1114
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -22,6 +25,10 @@ export class HeatMapWidgetRequest {
2225
* The event query.
2326
*/
2427
"eventQuery"?: EventQueryDefinition;
28+
/**
29+
* List of formulas that operate on queries.
30+
*/
31+
"formulas"?: Array<WidgetFormula>;
2532
/**
2633
* The log query.
2734
*/
@@ -42,6 +49,14 @@ export class HeatMapWidgetRequest {
4249
* Widget query.
4350
*/
4451
"q"?: string;
52+
/**
53+
* List of queries that can be returned directly or used in formulas.
54+
*/
55+
"queries"?: Array<FormulaAndFunctionQueryDefinition>;
56+
/**
57+
* Timeseries, scalar, or event list response. Event list response formats are supported by Geomap widgets.
58+
*/
59+
"responseFormat"?: FormulaAndFunctionResponseFormat;
4560
/**
4661
* The log query.
4762
*/
@@ -72,6 +87,10 @@ export class HeatMapWidgetRequest {
7287
baseName: "event_query",
7388
type: "EventQueryDefinition",
7489
},
90+
formulas: {
91+
baseName: "formulas",
92+
type: "Array<WidgetFormula>",
93+
},
7594
logQuery: {
7695
baseName: "log_query",
7796
type: "LogQueryDefinition",
@@ -92,6 +111,14 @@ export class HeatMapWidgetRequest {
92111
baseName: "q",
93112
type: "string",
94113
},
114+
queries: {
115+
baseName: "queries",
116+
type: "Array<FormulaAndFunctionQueryDefinition>",
117+
},
118+
responseFormat: {
119+
baseName: "response_format",
120+
type: "FormulaAndFunctionResponseFormat",
121+
},
95122
rumQuery: {
96123
baseName: "rum_query",
97124
type: "LogQueryDefinition",

0 commit comments

Comments
 (0)