Skip to content

Commit 1be054d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 5127274 of spec repo (#2399)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2834910 commit 1be054d

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7145,11 +7145,15 @@ components:
71457145
enum:
71467146
- user
71477147
- system
7148+
- api
7149+
- automation
71487150
example: user
71497151
type: string
71507152
x-enum-varnames:
71517153
- USER
71527154
- SYSTEM
7155+
- API
7156+
- AUTOMATION
71537157
ChangeEventCustomAttributesChangedResource:
71547158
additionalProperties: false
71557159
description: A uniquely identified resource.

services/events/src/v2/models/ChangeEventCustomAttributesAuthorType.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { UnparsedObject } from "@datadog/datadog-api-client";
66
export type ChangeEventCustomAttributesAuthorType =
77
| typeof USER
88
| typeof SYSTEM
9+
| typeof API
10+
| typeof AUTOMATION
911
| UnparsedObject;
1012
export const USER = "user";
1113
export const SYSTEM = "system";
14+
export const API = "api";
15+
export const AUTOMATION = "automation";

services/events/src/v2/models/TypingInfo.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ export const TypingInfo: ModelTypingInfo = {
4343
],
4444
AlertEventCustomAttributesPriority: ["1", "2", "3", "4", "5"],
4545
AlertEventCustomAttributesStatus: ["warn", "error", "ok"],
46-
ChangeEventCustomAttributesAuthorType: ["user", "system"],
46+
ChangeEventCustomAttributesAuthorType: [
47+
"user",
48+
"system",
49+
"api",
50+
"automation",
51+
],
4752
ChangeEventCustomAttributesChangedResourceType: [
4853
"feature_flag",
4954
"configuration",

0 commit comments

Comments
 (0)