Skip to content

Commit 7796bf5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 47465fb of spec repo (#236)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent f1a37ce commit 7796bf5

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
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.4.1.dev11",
7-
"regenerated": "2021-08-06 09:08:17.522982",
8-
"spec_repo_commit": "772783e"
7+
"regenerated": "2021-08-06 09:28:23.037469",
8+
"spec_repo_commit": "47465fb"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-08-06 09:09:36.004124",
13-
"spec_repo_commit": "772783e"
12+
"regenerated": "2021-08-06 09:29:50.565498",
13+
"spec_repo_commit": "47465fb"
1414
}
1515
}
1616
}

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ export class ListStreamQuery {
6060
"missing required attribute 'data_source' on 'ListStreamQuery' object"
6161
);
6262
}
63-
if (["issue_stream", "logs_stream", undefined].includes(data.data_source)) {
63+
if (
64+
["issue_stream", "logs_stream", "audit_stream", undefined].includes(
65+
data.data_source
66+
)
67+
) {
6468
res.dataSource = data.data_source;
6569
} else {
6670
throw TypeError(`invalid enum value ${data.data_source} for data_source`);
@@ -99,7 +103,11 @@ export class ListStreamQuery {
99103
"missing required attribute 'data_source' on 'ListStreamQuery' object"
100104
);
101105
}
102-
if (["issue_stream", "logs_stream", undefined].includes(data.dataSource)) {
106+
if (
107+
["issue_stream", "logs_stream", "audit_stream", undefined].includes(
108+
data.dataSource
109+
)
110+
) {
103111
res.data_source = data.dataSource;
104112
} else {
105113
throw TypeError(`invalid enum value ${data.dataSource} for dataSource`);

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
* Do not edit the class manually.
99
*/
1010

11-
export type ListStreamSource = typeof ISSUE_STREAM | typeof LOGS_STREAM;
11+
export type ListStreamSource =
12+
| typeof ISSUE_STREAM
13+
| typeof LOGS_STREAM
14+
| typeof AUDIT_STREAM;
1215
export const ISSUE_STREAM = "issue_stream";
1316
export const LOGS_STREAM = "logs_stream";
17+
export const AUDIT_STREAM = "audit_stream";

0 commit comments

Comments
 (0)