@datadog/datadog-api-client 1.37.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/packages/datadog-api-client-common/configuration.js +7 -0
  3. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  4. package/dist/packages/datadog-api-client-common/servers.d.ts +2 -2
  5. package/dist/packages/datadog-api-client-common/servers.js +14 -0
  6. package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
  7. package/dist/packages/datadog-api-client-v1/index.d.ts +1 -0
  8. package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
  9. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +1 -0
  10. package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
  11. package/dist/packages/datadog-api-client-v1/models/SyntheticsMobileTest.d.ts +1 -1
  12. package/dist/packages/datadog-api-client-v1/models/SyntheticsMobileTest.js +1 -0
  13. package/dist/packages/datadog-api-client-v1/models/SyntheticsMobileTest.js.map +1 -1
  14. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequest.d.ts +2 -1
  15. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequest.js +1 -1
  16. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequest.js.map +1 -1
  17. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestDNSServerPort.d.ts +10 -0
  18. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestDNSServerPort.js +8 -0
  19. package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestDNSServerPort.js.map +1 -0
  20. package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.d.ts +96 -4
  21. package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.js +304 -4
  22. package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.js.map +1 -1
  23. package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.d.ts +8 -8
  24. package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js +8 -8
  25. package/dist/packages/datadog-api-client-v2/apis/EventsApi.d.ts +8 -4
  26. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js +8 -4
  27. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js.map +1 -1
  28. package/dist/packages/datadog-api-client-v2/apis/MonitorsApi.d.ts +156 -0
  29. package/dist/packages/datadog-api-client-v2/apis/MonitorsApi.js +576 -0
  30. package/dist/packages/datadog-api-client-v2/apis/MonitorsApi.js.map +1 -1
  31. package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.d.ts +8 -8
  32. package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.js +8 -8
  33. package/dist/packages/datadog-api-client-v2/index.d.ts +30 -2
  34. package/dist/packages/datadog-api-client-v2/index.js +84 -39
  35. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  36. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributes.d.ts +45 -0
  37. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributes.js +39 -0
  38. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributes.js.map +1 -0
  39. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItems.d.ts +37 -0
  40. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItems.js +36 -0
  41. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItems.js.map +1 -0
  42. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItemsCategory.d.ts +13 -0
  43. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItemsCategory.js +12 -0
  44. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesLinksItemsCategory.js.map +1 -0
  45. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesPriority.d.ts +15 -0
  46. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesPriority.js +14 -0
  47. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesPriority.js.map +1 -0
  48. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesStatus.d.ts +13 -0
  49. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesStatus.js +12 -0
  50. package/dist/packages/datadog-api-client-v2/models/AlertEventCustomAttributesStatus.js.map +1 -0
  51. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationData.d.ts +41 -0
  52. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationData.js +36 -0
  53. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationData.js.map +1 -0
  54. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationDataType.d.ts +11 -0
  55. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationDataType.js +10 -0
  56. package/dist/packages/datadog-api-client-v2/models/AppKeyRegistrationDataType.js.map +1 -0
  57. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.d.ts +7 -15
  58. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.js +1 -5
  59. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.js.map +1 -1
  60. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesAuthor.d.ts +2 -10
  61. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesAuthor.js +1 -5
  62. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesAuthor.js.map +1 -1
  63. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.d.ts +3 -11
  64. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.js +1 -5
  65. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.js.map +1 -1
  66. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResourceType.d.ts +1 -1
  67. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItems.d.ts +3 -11
  68. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItems.js +1 -5
  69. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItems.js.map +1 -1
  70. package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItemsType.d.ts +1 -1
  71. package/dist/packages/datadog-api-client-v2/models/EventCategory.d.ts +3 -2
  72. package/dist/packages/datadog-api-client-v2/models/EventCategory.js +2 -1
  73. package/dist/packages/datadog-api-client-v2/models/EventCategory.js.map +1 -1
  74. package/dist/packages/datadog-api-client-v2/models/EventCreateRequest.d.ts +3 -3
  75. package/dist/packages/datadog-api-client-v2/models/EventCreateRequest.js +3 -1
  76. package/dist/packages/datadog-api-client-v2/models/EventCreateRequest.js.map +1 -1
  77. package/dist/packages/datadog-api-client-v2/models/EventCreateRequestPayload.d.ts +2 -2
  78. package/dist/packages/datadog-api-client-v2/models/EventCreateRequestPayload.js +1 -0
  79. package/dist/packages/datadog-api-client-v2/models/EventCreateRequestPayload.js.map +1 -1
  80. package/dist/packages/datadog-api-client-v2/models/EventCreateResponse.d.ts +3 -3
  81. package/dist/packages/datadog-api-client-v2/models/EventCreateResponse.js +1 -1
  82. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributes.d.ts +2 -2
  83. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributes.js +1 -1
  84. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributes.d.ts +1 -1
  85. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributes.js +1 -1
  86. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributesEvt.d.ts +5 -1
  87. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributesEvt.js +4 -0
  88. package/dist/packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributesEvt.js.map +1 -1
  89. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayload.d.ts +7 -2
  90. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayload.js +5 -1
  91. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayload.js.map +1 -1
  92. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayloadLinks.d.ts +36 -0
  93. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayloadLinks.js +35 -0
  94. package/dist/packages/datadog-api-client-v2/models/EventCreateResponsePayloadLinks.js.map +1 -0
  95. package/dist/packages/datadog-api-client-v2/models/EventPayload.d.ts +11 -14
  96. package/dist/packages/datadog-api-client-v2/models/EventPayload.js +4 -4
  97. package/dist/packages/datadog-api-client-v2/models/EventPayload.js.map +1 -1
  98. package/dist/packages/datadog-api-client-v2/models/EventPayloadAttributes.d.ts +3 -2
  99. package/dist/packages/datadog-api-client-v2/models/EventPayloadIntegrationId.d.ts +11 -0
  100. package/dist/packages/datadog-api-client-v2/models/EventPayloadIntegrationId.js +10 -0
  101. package/dist/packages/datadog-api-client-v2/models/EventPayloadIntegrationId.js.map +1 -0
  102. package/dist/packages/datadog-api-client-v2/models/GetAppKeyRegistrationResponse.d.ts +37 -0
  103. package/dist/packages/datadog-api-client-v2/models/GetAppKeyRegistrationResponse.js +30 -0
  104. package/dist/packages/datadog-api-client-v2/models/GetAppKeyRegistrationResponse.js.map +1 -0
  105. package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.d.ts +4 -0
  106. package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.js +4 -0
  107. package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.js.map +1 -1
  108. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.d.ts +4 -0
  109. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.js +4 -0
  110. package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.js.map +1 -1
  111. package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.d.ts +0 -4
  112. package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.js +0 -6
  113. package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.js.map +1 -1
  114. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponse.d.ts +42 -0
  115. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponse.js +34 -0
  116. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponse.js.map +1 -0
  117. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponseMeta.d.ts +40 -0
  118. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponseMeta.js +41 -0
  119. package/dist/packages/datadog-api-client-v2/models/ListAppKeyRegistrationsResponseMeta.js.map +1 -0
  120. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplate.d.ts +72 -0
  121. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplate.js +65 -0
  122. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplate.js.map +1 -0
  123. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateData.d.ts +42 -0
  124. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateData.js +36 -0
  125. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateData.js.map +1 -0
  126. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateRequest.d.ts +37 -0
  127. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateRequest.js +31 -0
  128. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateRequest.js.map +1 -0
  129. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateResponse.d.ts +37 -0
  130. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateResponse.js +30 -0
  131. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateCreateResponse.js.map +1 -0
  132. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateListResponse.d.ts +37 -0
  133. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateListResponse.js +30 -0
  134. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateListResponse.js.map +1 -0
  135. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateRequestAttributes.d.ts +47 -0
  136. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateRequestAttributes.js +45 -0
  137. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateRequestAttributes.js.map +1 -0
  138. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResourceType.d.ts +11 -0
  139. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResourceType.js +10 -0
  140. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResourceType.js.map +1 -0
  141. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponse.d.ts +37 -0
  142. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponse.js +30 -0
  143. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponse.js.map +1 -0
  144. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseAttributes.d.ts +67 -0
  145. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseAttributes.js +61 -0
  146. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseAttributes.js.map +1 -0
  147. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseData.d.ts +46 -0
  148. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseData.js +38 -0
  149. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseData.js.map +1 -0
  150. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseDataWithVersions.d.ts +46 -0
  151. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseDataWithVersions.js +38 -0
  152. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateResponseDataWithVersions.js.map +1 -0
  153. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateTemplateVariablesItems.d.ts +40 -0
  154. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateTemplateVariablesItems.js +44 -0
  155. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateTemplateVariablesItems.js.map +1 -0
  156. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateData.d.ts +46 -0
  157. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateData.js +41 -0
  158. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateData.js.map +1 -0
  159. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateRequest.d.ts +37 -0
  160. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateRequest.js +31 -0
  161. package/dist/packages/datadog-api-client-v2/models/MonitorUserTemplateUpdateRequest.js.map +1 -0
  162. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +59 -2
  163. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  164. package/dist/packages/datadog-api-client-v2/models/RegisterAppKeyResponse.d.ts +37 -0
  165. package/dist/packages/datadog-api-client-v2/models/RegisterAppKeyResponse.js +30 -0
  166. package/dist/packages/datadog-api-client-v2/models/RegisterAppKeyResponse.js.map +1 -0
  167. package/dist/packages/datadog-api-client-v2/models/SimpleMonitorUserTemplate.d.ts +67 -0
  168. package/dist/packages/datadog-api-client-v2/models/SimpleMonitorUserTemplate.js +60 -0
  169. package/dist/packages/datadog-api-client-v2/models/SimpleMonitorUserTemplate.js.map +1 -0
  170. package/dist/version.d.ts +1 -1
  171. package/dist/version.js +1 -1
  172. package/package.json +1 -1
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3
+ * This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ * Copyright 2020-Present Datadog, Inc.
5
+ */
6
+ import { AppKeyRegistrationDataType } from "./AppKeyRegistrationDataType";
7
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
+ /**
9
+ * Data related to the app key registration.
10
+ */
11
+ export declare class AppKeyRegistrationData {
12
+ /**
13
+ * The app key registration identifier
14
+ */
15
+ "id"?: string;
16
+ /**
17
+ * The definition of `AppKeyRegistrationDataType` object.
18
+ */
19
+ "type": AppKeyRegistrationDataType;
20
+ /**
21
+ * A container for additional, undeclared properties.
22
+ * This is a holder for any undeclared properties as specified with
23
+ * the 'additionalProperties' keyword in the OAS document.
24
+ */
25
+ "additionalProperties"?: {
26
+ [key: string]: any;
27
+ };
28
+ /**
29
+ * @ignore
30
+ */
31
+ "_unparsed"?: boolean;
32
+ /**
33
+ * @ignore
34
+ */
35
+ static readonly attributeTypeMap: AttributeTypeMap;
36
+ /**
37
+ * @ignore
38
+ */
39
+ static getAttributeTypeMap(): AttributeTypeMap;
40
+ constructor();
41
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppKeyRegistrationData = void 0;
4
+ /**
5
+ * Data related to the app key registration.
6
+ */
7
+ class AppKeyRegistrationData {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return AppKeyRegistrationData.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.AppKeyRegistrationData = AppKeyRegistrationData;
17
+ /**
18
+ * @ignore
19
+ */
20
+ AppKeyRegistrationData.attributeTypeMap = {
21
+ id: {
22
+ baseName: "id",
23
+ type: "string",
24
+ format: "uuid",
25
+ },
26
+ type: {
27
+ baseName: "type",
28
+ type: "AppKeyRegistrationDataType",
29
+ required: true,
30
+ },
31
+ additionalProperties: {
32
+ baseName: "additionalProperties",
33
+ type: "any",
34
+ },
35
+ };
36
+ //# sourceMappingURL=AppKeyRegistrationData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppKeyRegistrationData.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/AppKeyRegistrationData.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,sBAAsB;IAiDjC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACjD,CAAC;;AA/CH,wDAkDC;AA5BC;;GAEG;AACa,uCAAgB,GAAqB;IACnD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,MAAM;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,4BAA4B;QAClC,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3
+ * This product includes software developed at Datadog (https://www.datadoghq.com/).
4
+ * Copyright 2020-Present Datadog, Inc.
5
+ */
6
+ import { UnparsedObject } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * The definition of `AppKeyRegistrationDataType` object.
9
+ */
10
+ export declare type AppKeyRegistrationDataType = typeof APP_KEY_REGISTRATION | UnparsedObject;
11
+ export declare const APP_KEY_REGISTRATION = "app_key_registration";
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
4
+ * This product includes software developed at Datadog (https://www.datadoghq.com/).
5
+ * Copyright 2020-Present Datadog, Inc.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.APP_KEY_REGISTRATION = void 0;
9
+ exports.APP_KEY_REGISTRATION = "app_key_registration";
10
+ //# sourceMappingURL=AppKeyRegistrationDataType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppKeyRegistrationDataType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/AppKeyRegistrationDataType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAWU,QAAA,oBAAoB,GAAG,sBAAsB,CAAC"}
@@ -8,48 +8,40 @@ import { ChangeEventCustomAttributesChangedResource } from "./ChangeEventCustomA
8
8
  import { ChangeEventCustomAttributesImpactedResourcesItems } from "./ChangeEventCustomAttributesImpactedResourcesItems";
9
9
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
10
10
  /**
11
- * Object representing custom change event attributes.
11
+ * Change event attributes.
12
12
  */
13
13
  export declare class ChangeEventCustomAttributes {
14
14
  /**
15
- * Object representing the entity which made the change. Optional field but if provided should include `type` and `name`.
15
+ * The entity that made the change. Optional, if provided it must include `type` and `name`.
16
16
  */
17
17
  "author"?: ChangeEventCustomAttributesAuthor;
18
18
  /**
19
- * Free form object with information related to the `change` event. Can be arbitrarily nested and contain any valid JSON.
19
+ * Free form JSON object with information related to the `change` event. Supports up to 100 properties per object and a maximum nesting depth of 10 levels.
20
20
  */
21
21
  "changeMetadata"?: {
22
22
  [key: string]: any;
23
23
  };
24
24
  /**
25
- * Object representing a uniquely identified resource.
25
+ * A uniquely identified resource.
26
26
  */
27
27
  "changedResource": ChangeEventCustomAttributesChangedResource;
28
28
  /**
29
29
  * A list of resources impacted by this change. It is recommended to provide an impacted resource to display
30
- * the change event at the right location. Only resources of type `service` are supported.
30
+ * the change event at the correct location. Only resources of type `service` are supported. Maximum of 100 impacted resources allowed.
31
31
  */
32
32
  "impactedResources"?: Array<ChangeEventCustomAttributesImpactedResourcesItems>;
33
33
  /**
34
- * Free form object to track new value of the changed resource.
34
+ * Free form JSON object representing the new state of the changed resource.
35
35
  */
36
36
  "newValue"?: {
37
37
  [key: string]: any;
38
38
  };
39
39
  /**
40
- * Free form object to track previous value of the changed resource.
40
+ * Free form JSON object representing the previous state of the changed resource.
41
41
  */
42
42
  "prevValue"?: {
43
43
  [key: string]: any;
44
44
  };
45
- /**
46
- * A container for additional, undeclared properties.
47
- * This is a holder for any undeclared properties as specified with
48
- * the 'additionalProperties' keyword in the OAS document.
49
- */
50
- "additionalProperties"?: {
51
- [key: string]: any;
52
- };
53
45
  /**
54
46
  * @ignore
55
47
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChangeEventCustomAttributes = void 0;
4
4
  /**
5
- * Object representing custom change event attributes.
5
+ * Change event attributes.
6
6
  */
7
7
  class ChangeEventCustomAttributes {
8
8
  constructor() { }
@@ -43,9 +43,5 @@ ChangeEventCustomAttributes.attributeTypeMap = {
43
43
  baseName: "prev_value",
44
44
  type: "{ [key: string]: any; }",
45
45
  },
46
- additionalProperties: {
47
- baseName: "additionalProperties",
48
- type: "any",
49
- },
50
46
  };
51
47
  //# sourceMappingURL=ChangeEventCustomAttributes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeEventCustomAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.ts"],"names":[],"mappings":";;;AAWA;;GAEG;AACH,MAAa,2BAA2B;IAiFtC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACtD,CAAC;;AA/EH,kEAkFC;AA3CC;;GAEG;AACa,4CAAgB,GAAqB;IACnD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,mCAAmC;KAC1C;IACD,cAAc,EAAE;QACd,QAAQ,EAAE,iBAAiB;QAC3B,IAAI,EAAE,yBAAyB;KAChC;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,4CAA4C;QAClD,QAAQ,EAAE,IAAI;KACf;IACD,iBAAiB,EAAE;QACjB,QAAQ,EAAE,oBAAoB;QAC9B,IAAI,EAAE,0DAA0D;KACjE;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,yBAAyB;KAChC;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,yBAAyB;KAChC;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"ChangeEventCustomAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.ts"],"names":[],"mappings":";;;AAWA;;GAEG;AACH,MAAa,2BAA2B;IAsEtC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACtD,CAAC;;AApEH,kEAuEC;AAvCC;;GAEG;AACa,4CAAgB,GAAqB;IACnD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,mCAAmC;KAC1C;IACD,cAAc,EAAE;QACd,QAAQ,EAAE,iBAAiB;QAC3B,IAAI,EAAE,yBAAyB;KAChC;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,4CAA4C;QAClD,QAAQ,EAAE,IAAI;KACf;IACD,iBAAiB,EAAE;QACjB,QAAQ,EAAE,oBAAoB;QAC9B,IAAI,EAAE,0DAA0D;KACjE;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,yBAAyB;KAChC;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -6,25 +6,17 @@
6
6
  import { ChangeEventCustomAttributesAuthorType } from "./ChangeEventCustomAttributesAuthorType";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * Object representing the entity which made the change. Optional field but if provided should include `type` and `name`.
9
+ * The entity that made the change. Optional, if provided it must include `type` and `name`.
10
10
  */
11
11
  export declare class ChangeEventCustomAttributesAuthor {
12
12
  /**
13
- * Author's name. Limited to 128 characters.
13
+ * The name of the user or system that made the change. Limited to 128 characters.
14
14
  */
15
15
  "name": string;
16
16
  /**
17
17
  * Author's type.
18
18
  */
19
19
  "type": ChangeEventCustomAttributesAuthorType;
20
- /**
21
- * A container for additional, undeclared properties.
22
- * This is a holder for any undeclared properties as specified with
23
- * the 'additionalProperties' keyword in the OAS document.
24
- */
25
- "additionalProperties"?: {
26
- [key: string]: any;
27
- };
28
20
  /**
29
21
  * @ignore
30
22
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChangeEventCustomAttributesAuthor = void 0;
4
4
  /**
5
- * Object representing the entity which made the change. Optional field but if provided should include `type` and `name`.
5
+ * The entity that made the change. Optional, if provided it must include `type` and `name`.
6
6
  */
7
7
  class ChangeEventCustomAttributesAuthor {
8
8
  constructor() { }
@@ -28,9 +28,5 @@ ChangeEventCustomAttributesAuthor.attributeTypeMap = {
28
28
  type: "ChangeEventCustomAttributesAuthorType",
29
29
  required: true,
30
30
  },
31
- additionalProperties: {
32
- baseName: "additionalProperties",
33
- type: "any",
34
- },
35
31
  };
36
32
  //# sourceMappingURL=ChangeEventCustomAttributesAuthor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeEventCustomAttributesAuthor.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesAuthor.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,iCAAiC;IAiD5C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC5D,CAAC;;AA/CH,8EAkDC;AA5BC;;GAEG;AACa,kDAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,uCAAuC;QAC7C,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"ChangeEventCustomAttributesAuthor.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesAuthor.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,iCAAiC;IAsC5C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC5D,CAAC;;AApCH,8EAuCC;AAxBC;;GAEG;AACa,kDAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,uCAAuC;QAC7C,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -6,25 +6,17 @@
6
6
  import { ChangeEventCustomAttributesChangedResourceType } from "./ChangeEventCustomAttributesChangedResourceType";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * Object representing a uniquely identified resource.
9
+ * A uniquely identified resource.
10
10
  */
11
11
  export declare class ChangeEventCustomAttributesChangedResource {
12
12
  /**
13
- * Resource's name.
13
+ * The name of the resource that was changed. Limited to 128 characters.
14
14
  */
15
15
  "name": string;
16
16
  /**
17
- * Resource's type.
17
+ * The type of the resource that was changed.
18
18
  */
19
19
  "type": ChangeEventCustomAttributesChangedResourceType;
20
- /**
21
- * A container for additional, undeclared properties.
22
- * This is a holder for any undeclared properties as specified with
23
- * the 'additionalProperties' keyword in the OAS document.
24
- */
25
- "additionalProperties"?: {
26
- [key: string]: any;
27
- };
28
20
  /**
29
21
  * @ignore
30
22
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChangeEventCustomAttributesChangedResource = void 0;
4
4
  /**
5
- * Object representing a uniquely identified resource.
5
+ * A uniquely identified resource.
6
6
  */
7
7
  class ChangeEventCustomAttributesChangedResource {
8
8
  constructor() { }
@@ -28,9 +28,5 @@ ChangeEventCustomAttributesChangedResource.attributeTypeMap = {
28
28
  type: "ChangeEventCustomAttributesChangedResourceType",
29
29
  required: true,
30
30
  },
31
- additionalProperties: {
32
- baseName: "additionalProperties",
33
- type: "any",
34
- },
35
31
  };
36
32
  //# sourceMappingURL=ChangeEventCustomAttributesChangedResource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeEventCustomAttributesChangedResource.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,0CAA0C;IAiDrD,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,0CAA0C,CAAC,gBAAgB,CAAC;IACrE,CAAC;;AA/CH,gGAkDC;AA5BC;;GAEG;AACa,2DAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,gDAAgD;QACtD,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"ChangeEventCustomAttributesChangedResource.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,0CAA0C;IAsCrD,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,0CAA0C,CAAC,gBAAgB,CAAC;IACrE,CAAC;;AApCH,gGAuCC;AAxBC;;GAEG;AACa,2DAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,gDAAgD;QACtD,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { UnparsedObject } from "../../datadog-api-client-common/util";
7
7
  /**
8
- * Resource's type.
8
+ * The type of the resource that was changed.
9
9
  */
10
10
  export declare type ChangeEventCustomAttributesChangedResourceType = typeof FEATURE_FLAG | typeof CONFIGURATION | UnparsedObject;
11
11
  export declare const FEATURE_FLAG = "feature_flag";
@@ -6,25 +6,17 @@
6
6
  import { ChangeEventCustomAttributesImpactedResourcesItemsType } from "./ChangeEventCustomAttributesImpactedResourcesItemsType";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * Object representing a uniquely identified resource. Only the resource type `service` is supported.
9
+ * Object representing a uniquely identified resource.
10
10
  */
11
11
  export declare class ChangeEventCustomAttributesImpactedResourcesItems {
12
12
  /**
13
- * Resource's name.
13
+ * The name of the impacted resource. Limited to 128 characters.
14
14
  */
15
15
  "name": string;
16
16
  /**
17
- * Resource's type.
17
+ * The type of the impacted resource.
18
18
  */
19
19
  "type": ChangeEventCustomAttributesImpactedResourcesItemsType;
20
- /**
21
- * A container for additional, undeclared properties.
22
- * This is a holder for any undeclared properties as specified with
23
- * the 'additionalProperties' keyword in the OAS document.
24
- */
25
- "additionalProperties"?: {
26
- [key: string]: any;
27
- };
28
20
  /**
29
21
  * @ignore
30
22
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChangeEventCustomAttributesImpactedResourcesItems = void 0;
4
4
  /**
5
- * Object representing a uniquely identified resource. Only the resource type `service` is supported.
5
+ * Object representing a uniquely identified resource.
6
6
  */
7
7
  class ChangeEventCustomAttributesImpactedResourcesItems {
8
8
  constructor() { }
@@ -28,9 +28,5 @@ ChangeEventCustomAttributesImpactedResourcesItems.attributeTypeMap = {
28
28
  type: "ChangeEventCustomAttributesImpactedResourcesItemsType",
29
29
  required: true,
30
30
  },
31
- additionalProperties: {
32
- baseName: "additionalProperties",
33
- type: "any",
34
- },
35
31
  };
36
32
  //# sourceMappingURL=ChangeEventCustomAttributesImpactedResourcesItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeEventCustomAttributesImpactedResourcesItems.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItems.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,iDAAiD;IAiD5D,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,iDAAiD,CAAC,gBAAgB,CAAC;IAC5E,CAAC;;AA/CH,8GAkDC;AA5BC;;GAEG;AACa,kEAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,uDAAuD;QAC7D,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"ChangeEventCustomAttributesImpactedResourcesItems.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/ChangeEventCustomAttributesImpactedResourcesItems.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,iDAAiD;IAsC5D,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,iDAAiD,CAAC,gBAAgB,CAAC;IAC5E,CAAC;;AApCH,8GAuCC;AAxBC;;GAEG;AACa,kEAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,uDAAuD;QAC7D,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { UnparsedObject } from "../../datadog-api-client-common/util";
7
7
  /**
8
- * Resource's type.
8
+ * The type of the impacted resource.
9
9
  */
10
10
  export declare type ChangeEventCustomAttributesImpactedResourcesItemsType = typeof SERVICE | UnparsedObject;
11
11
  export declare const SERVICE = "service";
@@ -5,7 +5,8 @@
5
5
  */
6
6
  import { UnparsedObject } from "../../datadog-api-client-common/util";
7
7
  /**
8
- * Event category to identify the type of event. Only the value `change` is supported. Support for other categories are coming. please reach out to datadog support if you're interested.
8
+ * Event category identifying the type of event.
9
9
  */
10
- export declare type EventCategory = typeof CHANGE | UnparsedObject;
10
+ export declare type EventCategory = typeof CHANGE | typeof ALERT | UnparsedObject;
11
11
  export declare const CHANGE = "change";
12
+ export declare const ALERT = "alert";
@@ -5,6 +5,7 @@
5
5
  * Copyright 2020-Present Datadog, Inc.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.CHANGE = void 0;
8
+ exports.ALERT = exports.CHANGE = void 0;
9
9
  exports.CHANGE = "change";
10
+ exports.ALERT = "alert";
10
11
  //# sourceMappingURL=EventCategory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventCategory.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCategory.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,MAAM,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"EventCategory.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCategory.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,MAAM,GAAG,QAAQ,CAAC;AAClB,QAAA,KAAK,GAAG,OAAO,CAAC"}
@@ -7,17 +7,17 @@ import { EventCreateRequestType } from "./EventCreateRequestType";
7
7
  import { EventPayload } from "./EventPayload";
8
8
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9
9
  /**
10
- * Object representing an event creation request.
10
+ * An event object.
11
11
  */
12
12
  export declare class EventCreateRequest {
13
13
  /**
14
14
  * Event attributes.
15
15
  */
16
- "attributes"?: EventPayload;
16
+ "attributes": EventPayload;
17
17
  /**
18
18
  * Entity type.
19
19
  */
20
- "type"?: EventCreateRequestType;
20
+ "type": EventCreateRequestType;
21
21
  /**
22
22
  * A container for additional, undeclared properties.
23
23
  * This is a holder for any undeclared properties as specified with
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventCreateRequest = void 0;
4
4
  /**
5
- * Object representing an event creation request.
5
+ * An event object.
6
6
  */
7
7
  class EventCreateRequest {
8
8
  constructor() { }
@@ -21,10 +21,12 @@ EventCreateRequest.attributeTypeMap = {
21
21
  attributes: {
22
22
  baseName: "attributes",
23
23
  type: "EventPayload",
24
+ required: true,
24
25
  },
25
26
  type: {
26
27
  baseName: "type",
27
28
  type: "EventCreateRequestType",
29
+ required: true,
28
30
  },
29
31
  additionalProperties: {
30
32
  baseName: "additionalProperties",
@@ -1 +1 @@
1
- {"version":3,"file":"EventCreateRequest.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateRequest.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH,MAAa,kBAAkB;IA+C7B,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;;AA7CH,gDAgDC;AA1BC;;GAEG;AACa,mCAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,cAAc;KACrB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,wBAAwB;KAC/B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"EventCreateRequest.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateRequest.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH,MAAa,kBAAkB;IAiD7B,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;;AA/CH,gDAkDC;AA5BC;;GAEG;AACa,mCAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,wBAAwB;QAC9B,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
@@ -10,9 +10,9 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
10
10
  */
11
11
  export declare class EventCreateRequestPayload {
12
12
  /**
13
- * Object representing an event creation request.
13
+ * An event object.
14
14
  */
15
- "data"?: EventCreateRequest;
15
+ "data": EventCreateRequest;
16
16
  /**
17
17
  * A container for additional, undeclared properties.
18
18
  * This is a holder for any undeclared properties as specified with
@@ -21,6 +21,7 @@ EventCreateRequestPayload.attributeTypeMap = {
21
21
  data: {
22
22
  baseName: "data",
23
23
  type: "EventCreateRequest",
24
+ required: true,
24
25
  },
25
26
  additionalProperties: {
26
27
  baseName: "additionalProperties",
@@ -1 +1 @@
1
- {"version":3,"file":"EventCreateRequestPayload.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateRequestPayload.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,yBAAyB;IAuCpC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACpD,CAAC;;AArCH,8DAwCC;AAtBC;;GAEG;AACa,0CAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,oBAAoB;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"EventCreateRequestPayload.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateRequestPayload.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,yBAAyB;IAwCpC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACpD,CAAC;;AAtCH,8DAyCC;AAvBC;;GAEG;AACa,0CAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,oBAAoB;QAC1B,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
@@ -6,15 +6,15 @@
6
6
  import { EventCreateResponseAttributes } from "./EventCreateResponseAttributes";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * Object containing an event response.
9
+ * Event object.
10
10
  */
11
11
  export declare class EventCreateResponse {
12
12
  /**
13
- * JSON object containing all events attributes and their associated values.
13
+ * Event attributes.
14
14
  */
15
15
  "attributes"?: EventCreateResponseAttributes;
16
16
  /**
17
- * Event type
17
+ * Entity type.
18
18
  */
19
19
  "type"?: string;
20
20
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventCreateResponse = void 0;
4
4
  /**
5
- * Object containing an event response.
5
+ * Event object.
6
6
  */
7
7
  class EventCreateResponse {
8
8
  constructor() { }
@@ -6,11 +6,11 @@
6
6
  import { EventCreateResponseAttributesAttributes } from "./EventCreateResponseAttributesAttributes";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * JSON object containing all events attributes and their associated values.
9
+ * Event attributes.
10
10
  */
11
11
  export declare class EventCreateResponseAttributes {
12
12
  /**
13
- * JSON object of attributes from your events.
13
+ * JSON object for category-specific attributes.
14
14
  */
15
15
  "attributes"?: EventCreateResponseAttributesAttributes;
16
16
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventCreateResponseAttributes = void 0;
4
4
  /**
5
- * JSON object containing all events attributes and their associated values.
5
+ * Event attributes.
6
6
  */
7
7
  class EventCreateResponseAttributes {
8
8
  constructor() { }
@@ -6,7 +6,7 @@
6
6
  import { EventCreateResponseAttributesAttributesEvt } from "./EventCreateResponseAttributesAttributesEvt";
7
7
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
8
  /**
9
- * JSON object of attributes from your events.
9
+ * JSON object for category-specific attributes.
10
10
  */
11
11
  export declare class EventCreateResponseAttributesAttributes {
12
12
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventCreateResponseAttributesAttributes = void 0;
4
4
  /**
5
- * JSON object of attributes from your events.
5
+ * JSON object for category-specific attributes.
6
6
  */
7
7
  class EventCreateResponseAttributesAttributes {
8
8
  constructor() { }
@@ -9,9 +9,13 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9
9
  */
10
10
  export declare class EventCreateResponseAttributesAttributesEvt {
11
11
  /**
12
- * Event id
12
+ * Event identifier. This field is deprecated and will be removed in a future version. Use the `uid` field instead.
13
13
  */
14
14
  "id"?: string;
15
+ /**
16
+ * A unique identifier for the event. You can use this identifier to query or reference the event.
17
+ */
18
+ "uid"?: string;
15
19
  /**
16
20
  * A container for additional, undeclared properties.
17
21
  * This is a holder for any undeclared properties as specified with
@@ -27,6 +27,10 @@ EventCreateResponseAttributesAttributesEvt.attributeTypeMap = {
27
27
  baseName: "id",
28
28
  type: "string",
29
29
  },
30
+ uid: {
31
+ baseName: "uid",
32
+ type: "string",
33
+ },
30
34
  additionalProperties: {
31
35
  baseName: "additionalProperties",
32
36
  type: "any",
@@ -1 +1 @@
1
- {"version":3,"file":"EventCreateResponseAttributesAttributesEvt.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributesEvt.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,0CAA0C;IAuCrD,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,0CAA0C,CAAC,gBAAgB,CAAC;IACrE,CAAC;;AArCH,gGAwCC;AAtBC;;GAEG;AACa,2DAAgB,GAAqB;IACnD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
1
+ {"version":3,"file":"EventCreateResponseAttributesAttributesEvt.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventCreateResponseAttributesAttributesEvt.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,0CAA0C;IA+CrD,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,0CAA0C,CAAC,gBAAgB,CAAC;IACrE,CAAC;;AA7CH,gGAgDC;AA1BC;;GAEG;AACa,2DAAgB,GAAqB;IACnD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,KAAK;KACZ;CACF,CAAC"}
@@ -4,15 +4,20 @@
4
4
  * Copyright 2020-Present Datadog, Inc.
5
5
  */
6
6
  import { EventCreateResponse } from "./EventCreateResponse";
7
+ import { EventCreateResponsePayloadLinks } from "./EventCreateResponsePayloadLinks";
7
8
  import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
9
  /**
9
- * Response containing information about created event.
10
+ * Event creation response.
10
11
  */
11
12
  export declare class EventCreateResponsePayload {
12
13
  /**
13
- * Object containing an event response.
14
+ * Event object.
14
15
  */
15
16
  "data"?: EventCreateResponse;
17
+ /**
18
+ * Links to the event.
19
+ */
20
+ "links"?: EventCreateResponsePayloadLinks;
16
21
  /**
17
22
  * A container for additional, undeclared properties.
18
23
  * This is a holder for any undeclared properties as specified with