@datadog/datadog-api-client 1.1.0 → 1.2.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 (105) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/packages/datadog-api-client-common/configuration.js +3 -0
  3. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  4. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +34 -7
  5. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +34 -7
  6. package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
  7. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.d.ts +15 -5
  8. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.js +9 -1
  9. package/dist/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.js.map +1 -1
  10. package/dist/packages/datadog-api-client-v2/apis/EventsApi.d.ts +97 -0
  11. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js +493 -0
  12. package/dist/packages/datadog-api-client-v2/apis/EventsApi.js.map +1 -0
  13. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +2 -0
  14. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +2 -0
  15. package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
  16. package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.d.ts +76 -8
  17. package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +170 -20
  18. package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
  19. package/dist/packages/datadog-api-client-v2/index.d.ts +26 -1
  20. package/dist/packages/datadog-api-client-v2/index.js +51 -8
  21. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  22. package/dist/packages/datadog-api-client-v2/models/Event.d.ts +40 -0
  23. package/dist/packages/datadog-api-client-v2/models/Event.js +45 -0
  24. package/dist/packages/datadog-api-client-v2/models/Event.js.map +1 -0
  25. package/dist/packages/datadog-api-client-v2/models/EventAttributes.d.ts +110 -0
  26. package/dist/packages/datadog-api-client-v2/models/EventAttributes.js +103 -0
  27. package/dist/packages/datadog-api-client-v2/models/EventAttributes.js.map +1 -0
  28. package/dist/packages/datadog-api-client-v2/models/EventPriority.d.ts +8 -0
  29. package/dist/packages/datadog-api-client-v2/models/EventPriority.js +11 -0
  30. package/dist/packages/datadog-api-client-v2/models/EventPriority.js.map +1 -0
  31. package/dist/packages/datadog-api-client-v2/models/EventResponse.d.ts +38 -0
  32. package/dist/packages/datadog-api-client-v2/models/EventResponse.js +36 -0
  33. package/dist/packages/datadog-api-client-v2/models/EventResponse.js.map +1 -0
  34. package/dist/packages/datadog-api-client-v2/models/EventResponseAttributes.d.ts +37 -0
  35. package/dist/packages/datadog-api-client-v2/models/EventResponseAttributes.js +37 -0
  36. package/dist/packages/datadog-api-client-v2/models/EventResponseAttributes.js.map +1 -0
  37. package/dist/packages/datadog-api-client-v2/models/EventStatusType.d.ts +14 -0
  38. package/dist/packages/datadog-api-client-v2/models/EventStatusType.js +17 -0
  39. package/dist/packages/datadog-api-client-v2/models/EventStatusType.js.map +1 -0
  40. package/dist/packages/datadog-api-client-v2/models/EventType.d.ts +7 -0
  41. package/dist/packages/datadog-api-client-v2/models/EventType.js +10 -0
  42. package/dist/packages/datadog-api-client-v2/models/EventType.js.map +1 -0
  43. package/dist/packages/datadog-api-client-v2/models/EventsListRequest.d.ts +45 -0
  44. package/dist/packages/datadog-api-client-v2/models/EventsListRequest.js +40 -0
  45. package/dist/packages/datadog-api-client-v2/models/EventsListRequest.js.map +1 -0
  46. package/dist/packages/datadog-api-client-v2/models/EventsListResponse.d.ts +39 -0
  47. package/dist/packages/datadog-api-client-v2/models/EventsListResponse.js +36 -0
  48. package/dist/packages/datadog-api-client-v2/models/EventsListResponse.js.map +1 -0
  49. package/dist/packages/datadog-api-client-v2/models/EventsListResponseLinks.d.ts +29 -0
  50. package/dist/packages/datadog-api-client-v2/models/EventsListResponseLinks.js +33 -0
  51. package/dist/packages/datadog-api-client-v2/models/EventsListResponseLinks.js.map +1 -0
  52. package/dist/packages/datadog-api-client-v2/models/EventsQueryFilter.d.ts +36 -0
  53. package/dist/packages/datadog-api-client-v2/models/EventsQueryFilter.js +41 -0
  54. package/dist/packages/datadog-api-client-v2/models/EventsQueryFilter.js.map +1 -0
  55. package/dist/packages/datadog-api-client-v2/models/EventsQueryOptions.d.ts +33 -0
  56. package/dist/packages/datadog-api-client-v2/models/EventsQueryOptions.js +39 -0
  57. package/dist/packages/datadog-api-client-v2/models/EventsQueryOptions.js.map +1 -0
  58. package/dist/packages/datadog-api-client-v2/models/EventsRequestPage.d.ts +32 -0
  59. package/dist/packages/datadog-api-client-v2/models/EventsRequestPage.js +38 -0
  60. package/dist/packages/datadog-api-client-v2/models/EventsRequestPage.js.map +1 -0
  61. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadata.d.ts +43 -0
  62. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadata.js +41 -0
  63. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadata.js.map +1 -0
  64. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.d.ts +29 -0
  65. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.js +33 -0
  66. package/dist/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.js.map +1 -0
  67. package/dist/packages/datadog-api-client-v2/models/EventsSort.d.ts +8 -0
  68. package/dist/packages/datadog-api-client-v2/models/EventsSort.js +11 -0
  69. package/dist/packages/datadog-api-client-v2/models/EventsSort.js.map +1 -0
  70. package/dist/packages/datadog-api-client-v2/models/EventsWarning.d.ts +36 -0
  71. package/dist/packages/datadog-api-client-v2/models/EventsWarning.js +41 -0
  72. package/dist/packages/datadog-api-client-v2/models/EventsWarning.js.map +1 -0
  73. package/dist/packages/datadog-api-client-v2/models/HourlyUsage.d.ts +38 -0
  74. package/dist/packages/datadog-api-client-v2/models/HourlyUsage.js +36 -0
  75. package/dist/packages/datadog-api-client-v2/models/HourlyUsage.js.map +1 -0
  76. package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.d.ts +49 -0
  77. package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.js +49 -0
  78. package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.js.map +1 -0
  79. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.d.ts +32 -0
  80. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.js +38 -0
  81. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.js.map +1 -0
  82. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMetadata.d.ts +29 -0
  83. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMetadata.js +28 -0
  84. package/dist/packages/datadog-api-client-v2/models/HourlyUsageMetadata.js.map +1 -0
  85. package/dist/packages/datadog-api-client-v2/models/HourlyUsagePagination.d.ts +28 -0
  86. package/dist/packages/datadog-api-client-v2/models/HourlyUsagePagination.js +33 -0
  87. package/dist/packages/datadog-api-client-v2/models/HourlyUsagePagination.js.map +1 -0
  88. package/dist/packages/datadog-api-client-v2/models/HourlyUsageResponse.d.ts +34 -0
  89. package/dist/packages/datadog-api-client-v2/models/HourlyUsageResponse.js +32 -0
  90. package/dist/packages/datadog-api-client-v2/models/HourlyUsageResponse.js.map +1 -0
  91. package/dist/packages/datadog-api-client-v2/models/MetricResource.d.ts +2 -2
  92. package/dist/packages/datadog-api-client-v2/models/MonitorType.d.ts +68 -0
  93. package/dist/packages/datadog-api-client-v2/models/MonitorType.js +73 -0
  94. package/dist/packages/datadog-api-client-v2/models/MonitorType.js.map +1 -0
  95. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +53 -0
  96. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  97. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQuery.d.ts +4 -0
  98. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQuery.js +4 -0
  99. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQuery.js.map +1 -1
  100. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryCreate.d.ts +4 -0
  101. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryCreate.js +4 -0
  102. package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryCreate.js.map +1 -1
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventResponse = void 0;
4
+ /**
5
+ * The object description of an event after being processed and stored by Datadog.
6
+ */
7
+ var EventResponse = /** @class */ (function () {
8
+ function EventResponse() {
9
+ }
10
+ /**
11
+ * @ignore
12
+ */
13
+ EventResponse.getAttributeTypeMap = function () {
14
+ return EventResponse.attributeTypeMap;
15
+ };
16
+ /**
17
+ * @ignore
18
+ */
19
+ EventResponse.attributeTypeMap = {
20
+ attributes: {
21
+ baseName: "attributes",
22
+ type: "EventResponseAttributes",
23
+ },
24
+ id: {
25
+ baseName: "id",
26
+ type: "string",
27
+ },
28
+ type: {
29
+ baseName: "type",
30
+ type: "EventType",
31
+ },
32
+ };
33
+ return EventResponse;
34
+ }());
35
+ exports.EventResponse = EventResponse;
36
+ //# sourceMappingURL=EventResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventResponse.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventResponse.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH;IA4CE;IAAsB,CAAC;IAPvB;;OAEG;IACI,iCAAmB,GAA1B;QACE,OAAO,aAAa,CAAC,gBAAgB,CAAC;IACxC,CAAC;IAvBD;;OAEG;IACa,8BAAgB,GAAqB;QACnD,UAAU,EAAE;YACV,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,yBAAyB;SAChC;QACD,EAAE,EAAE;YACF,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,WAAW;SAClB;KACF,CAAC;IAUJ,oBAAC;CAAA,AA7CD,IA6CC;AA7CY,sCAAa"}
@@ -0,0 +1,37 @@
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 { EventAttributes } from "./EventAttributes";
7
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
+ /**
9
+ * The object description of an event response attribute.
10
+ */
11
+ export declare class EventResponseAttributes {
12
+ /**
13
+ * Object description of attributes from your event.
14
+ */
15
+ "attributes"?: EventAttributes;
16
+ /**
17
+ * An array of tags associated with the event.
18
+ */
19
+ "tags"?: Array<string>;
20
+ /**
21
+ * The timestamp of the event.
22
+ */
23
+ "timestamp"?: Date;
24
+ /**
25
+ * @ignore
26
+ */
27
+ "unparsedObject"?: any;
28
+ /**
29
+ * @ignore
30
+ */
31
+ static readonly attributeTypeMap: AttributeTypeMap;
32
+ /**
33
+ * @ignore
34
+ */
35
+ static getAttributeTypeMap(): AttributeTypeMap;
36
+ constructor();
37
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventResponseAttributes = void 0;
4
+ /**
5
+ * The object description of an event response attribute.
6
+ */
7
+ var EventResponseAttributes = /** @class */ (function () {
8
+ function EventResponseAttributes() {
9
+ }
10
+ /**
11
+ * @ignore
12
+ */
13
+ EventResponseAttributes.getAttributeTypeMap = function () {
14
+ return EventResponseAttributes.attributeTypeMap;
15
+ };
16
+ /**
17
+ * @ignore
18
+ */
19
+ EventResponseAttributes.attributeTypeMap = {
20
+ attributes: {
21
+ baseName: "attributes",
22
+ type: "EventAttributes",
23
+ },
24
+ tags: {
25
+ baseName: "tags",
26
+ type: "Array<string>",
27
+ },
28
+ timestamp: {
29
+ baseName: "timestamp",
30
+ type: "Date",
31
+ format: "date-time",
32
+ },
33
+ };
34
+ return EventResponseAttributes;
35
+ }());
36
+ exports.EventResponseAttributes = EventResponseAttributes;
37
+ //# sourceMappingURL=EventResponseAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventResponseAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventResponseAttributes.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH;IA6CE;IAAsB,CAAC;IAPvB;;OAEG;IACI,2CAAmB,GAA1B;QACE,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IAClD,CAAC;IAxBD;;OAEG;IACa,wCAAgB,GAAqB;QACnD,UAAU,EAAE;YACV,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,iBAAiB;SACxB;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,eAAe;SACtB;QACD,SAAS,EAAE;YACT,QAAQ,EAAE,WAAW;YACrB,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;IAUJ,8BAAC;CAAA,AA9CD,IA8CC;AA9CY,0DAAuB"}
@@ -0,0 +1,14 @@
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
+ export declare type EventStatusType = typeof FAILURE | typeof ERROR | typeof WARNING | typeof INFO | typeof SUCCESS | typeof USER_UPDATE | typeof RECOMMENDATION | typeof SNAPSHOT;
7
+ export declare const FAILURE = "failure";
8
+ export declare const ERROR = "error";
9
+ export declare const WARNING = "warning";
10
+ export declare const INFO = "info";
11
+ export declare const SUCCESS = "success";
12
+ export declare const USER_UPDATE = "user_update";
13
+ export declare const RECOMMENDATION = "recommendation";
14
+ export declare const SNAPSHOT = "snapshot";
@@ -0,0 +1,17 @@
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.SNAPSHOT = exports.RECOMMENDATION = exports.USER_UPDATE = exports.SUCCESS = exports.INFO = exports.WARNING = exports.ERROR = exports.FAILURE = void 0;
9
+ exports.FAILURE = "failure";
10
+ exports.ERROR = "error";
11
+ exports.WARNING = "warning";
12
+ exports.INFO = "info";
13
+ exports.SUCCESS = "success";
14
+ exports.USER_UPDATE = "user_update";
15
+ exports.RECOMMENDATION = "recommendation";
16
+ exports.SNAPSHOT = "snapshot";
17
+ //# sourceMappingURL=EventStatusType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventStatusType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventStatusType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAWU,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,QAAQ,GAAG,UAAU,CAAC"}
@@ -0,0 +1,7 @@
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
+ export declare type EventType = typeof EVENT;
7
+ export declare const EVENT = "event";
@@ -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.EVENT = void 0;
9
+ exports.EVENT = "event";
10
+ //# sourceMappingURL=EventType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGU,QAAA,KAAK,GAAG,OAAO,CAAC"}
@@ -0,0 +1,45 @@
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 { EventsQueryFilter } from "./EventsQueryFilter";
7
+ import { EventsQueryOptions } from "./EventsQueryOptions";
8
+ import { EventsRequestPage } from "./EventsRequestPage";
9
+ import { EventsSort } from "./EventsSort";
10
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
11
+ /**
12
+ * The object sent with the request to retrieve a list of events from your organization.
13
+ */
14
+ export declare class EventsListRequest {
15
+ /**
16
+ * The search and filter query settings.
17
+ */
18
+ "filter"?: EventsQueryFilter;
19
+ /**
20
+ * The global query options that are used. Either provide a timezone or a time offset but not both,
21
+ * otherwise the query fails.
22
+ */
23
+ "options"?: EventsQueryOptions;
24
+ /**
25
+ * Pagination settings.
26
+ */
27
+ "page"?: EventsRequestPage;
28
+ /**
29
+ * The sort parameters when querying events.
30
+ */
31
+ "sort"?: EventsSort;
32
+ /**
33
+ * @ignore
34
+ */
35
+ "unparsedObject"?: any;
36
+ /**
37
+ * @ignore
38
+ */
39
+ static readonly attributeTypeMap: AttributeTypeMap;
40
+ /**
41
+ * @ignore
42
+ */
43
+ static getAttributeTypeMap(): AttributeTypeMap;
44
+ constructor();
45
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventsListRequest = void 0;
4
+ /**
5
+ * The object sent with the request to retrieve a list of events from your organization.
6
+ */
7
+ var EventsListRequest = /** @class */ (function () {
8
+ function EventsListRequest() {
9
+ }
10
+ /**
11
+ * @ignore
12
+ */
13
+ EventsListRequest.getAttributeTypeMap = function () {
14
+ return EventsListRequest.attributeTypeMap;
15
+ };
16
+ /**
17
+ * @ignore
18
+ */
19
+ EventsListRequest.attributeTypeMap = {
20
+ filter: {
21
+ baseName: "filter",
22
+ type: "EventsQueryFilter",
23
+ },
24
+ options: {
25
+ baseName: "options",
26
+ type: "EventsQueryOptions",
27
+ },
28
+ page: {
29
+ baseName: "page",
30
+ type: "EventsRequestPage",
31
+ },
32
+ sort: {
33
+ baseName: "sort",
34
+ type: "EventsSort",
35
+ },
36
+ };
37
+ return EventsListRequest;
38
+ }());
39
+ exports.EventsListRequest = EventsListRequest;
40
+ //# sourceMappingURL=EventsListRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsListRequest.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsListRequest.ts"],"names":[],"mappings":";;;AAYA;;GAEG;AACH;IAqDE;IAAsB,CAAC;IAPvB;;OAEG;IACI,qCAAmB,GAA1B;QACE,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC5C,CAAC;IA3BD;;OAEG;IACa,kCAAgB,GAAqB;QACnD,MAAM,EAAE;YACN,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,mBAAmB;SAC1B;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,oBAAoB;SAC3B;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,mBAAmB;SAC1B;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,YAAY;SACnB;KACF,CAAC;IAUJ,wBAAC;CAAA,AAtDD,IAsDC;AAtDY,8CAAiB"}
@@ -0,0 +1,39 @@
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 { EventResponse } from "./EventResponse";
7
+ import { EventsListResponseLinks } from "./EventsListResponseLinks";
8
+ import { EventsResponseMetadata } from "./EventsResponseMetadata";
9
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
10
+ /**
11
+ * The response object with all events matching the request and pagination information.
12
+ */
13
+ export declare class EventsListResponse {
14
+ /**
15
+ * An array of events matching the request.
16
+ */
17
+ "data"?: Array<EventResponse>;
18
+ /**
19
+ * Links attributes.
20
+ */
21
+ "links"?: EventsListResponseLinks;
22
+ /**
23
+ * The metadata associated with a request.
24
+ */
25
+ "meta"?: EventsResponseMetadata;
26
+ /**
27
+ * @ignore
28
+ */
29
+ "unparsedObject"?: any;
30
+ /**
31
+ * @ignore
32
+ */
33
+ static readonly attributeTypeMap: AttributeTypeMap;
34
+ /**
35
+ * @ignore
36
+ */
37
+ static getAttributeTypeMap(): AttributeTypeMap;
38
+ constructor();
39
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventsListResponse = void 0;
4
+ /**
5
+ * The response object with all events matching the request and pagination information.
6
+ */
7
+ var EventsListResponse = /** @class */ (function () {
8
+ function EventsListResponse() {
9
+ }
10
+ /**
11
+ * @ignore
12
+ */
13
+ EventsListResponse.getAttributeTypeMap = function () {
14
+ return EventsListResponse.attributeTypeMap;
15
+ };
16
+ /**
17
+ * @ignore
18
+ */
19
+ EventsListResponse.attributeTypeMap = {
20
+ data: {
21
+ baseName: "data",
22
+ type: "Array<EventResponse>",
23
+ },
24
+ links: {
25
+ baseName: "links",
26
+ type: "EventsListResponseLinks",
27
+ },
28
+ meta: {
29
+ baseName: "meta",
30
+ type: "EventsResponseMetadata",
31
+ },
32
+ };
33
+ return EventsListResponse;
34
+ }());
35
+ exports.EventsListResponse = EventsListResponse;
36
+ //# sourceMappingURL=EventsListResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsListResponse.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsListResponse.ts"],"names":[],"mappings":";;;AAWA;;GAEG;AACH;IA4CE;IAAsB,CAAC;IAPvB;;OAEG;IACI,sCAAmB,GAA1B;QACE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IAvBD;;OAEG;IACa,mCAAgB,GAAqB;QACnD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,sBAAsB;SAC7B;QACD,KAAK,EAAE;YACL,QAAQ,EAAE,OAAO;YACjB,IAAI,EAAE,yBAAyB;SAChC;QACD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,wBAAwB;SAC/B;KACF,CAAC;IAUJ,yBAAC;CAAA,AA7CD,IA6CC;AA7CY,gDAAkB"}
@@ -0,0 +1,29 @@
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 { AttributeTypeMap } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * Links attributes.
9
+ */
10
+ export declare class EventsListResponseLinks {
11
+ /**
12
+ * Link for the next set of results. Note that the request can also be made using the
13
+ * POST endpoint.
14
+ */
15
+ "next"?: string;
16
+ /**
17
+ * @ignore
18
+ */
19
+ "unparsedObject"?: any;
20
+ /**
21
+ * @ignore
22
+ */
23
+ static readonly attributeTypeMap: AttributeTypeMap;
24
+ /**
25
+ * @ignore
26
+ */
27
+ static getAttributeTypeMap(): AttributeTypeMap;
28
+ constructor();
29
+ }
@@ -0,0 +1,33 @@
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.EventsListResponseLinks = void 0;
9
+ /**
10
+ * Links attributes.
11
+ */
12
+ var EventsListResponseLinks = /** @class */ (function () {
13
+ function EventsListResponseLinks() {
14
+ }
15
+ /**
16
+ * @ignore
17
+ */
18
+ EventsListResponseLinks.getAttributeTypeMap = function () {
19
+ return EventsListResponseLinks.attributeTypeMap;
20
+ };
21
+ /**
22
+ * @ignore
23
+ */
24
+ EventsListResponseLinks.attributeTypeMap = {
25
+ next: {
26
+ baseName: "next",
27
+ type: "string",
28
+ },
29
+ };
30
+ return EventsListResponseLinks;
31
+ }());
32
+ exports.EventsListResponseLinks = EventsListResponseLinks;
33
+ //# sourceMappingURL=EventsListResponseLinks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsListResponseLinks.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsListResponseLinks.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH;IA6BE;IAAsB,CAAC;IAPvB;;OAEG;IACI,2CAAmB,GAA1B;QACE,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IAClD,CAAC;IAfD;;OAEG;IACa,wCAAgB,GAAqB;QACnD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,QAAQ;SACf;KACF,CAAC;IAUJ,8BAAC;CAAA,AA9BD,IA8BC;AA9BY,0DAAuB"}
@@ -0,0 +1,36 @@
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 { AttributeTypeMap } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * The search and filter query settings.
9
+ */
10
+ export declare class EventsQueryFilter {
11
+ /**
12
+ * The minimum time for the requested events. Supports date math and regular timestamps in milliseconds.
13
+ */
14
+ "from"?: string;
15
+ /**
16
+ * The search query following the event search syntax.
17
+ */
18
+ "query"?: string;
19
+ /**
20
+ * The maximum time for the requested events. Supports date math and regular timestamps in milliseconds.
21
+ */
22
+ "to"?: string;
23
+ /**
24
+ * @ignore
25
+ */
26
+ "unparsedObject"?: any;
27
+ /**
28
+ * @ignore
29
+ */
30
+ static readonly attributeTypeMap: AttributeTypeMap;
31
+ /**
32
+ * @ignore
33
+ */
34
+ static getAttributeTypeMap(): AttributeTypeMap;
35
+ constructor();
36
+ }
@@ -0,0 +1,41 @@
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.EventsQueryFilter = void 0;
9
+ /**
10
+ * The search and filter query settings.
11
+ */
12
+ var EventsQueryFilter = /** @class */ (function () {
13
+ function EventsQueryFilter() {
14
+ }
15
+ /**
16
+ * @ignore
17
+ */
18
+ EventsQueryFilter.getAttributeTypeMap = function () {
19
+ return EventsQueryFilter.attributeTypeMap;
20
+ };
21
+ /**
22
+ * @ignore
23
+ */
24
+ EventsQueryFilter.attributeTypeMap = {
25
+ from: {
26
+ baseName: "from",
27
+ type: "string",
28
+ },
29
+ query: {
30
+ baseName: "query",
31
+ type: "string",
32
+ },
33
+ to: {
34
+ baseName: "to",
35
+ type: "string",
36
+ },
37
+ };
38
+ return EventsQueryFilter;
39
+ }());
40
+ exports.EventsQueryFilter = EventsQueryFilter;
41
+ //# sourceMappingURL=EventsQueryFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsQueryFilter.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsQueryFilter.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH;IA4CE;IAAsB,CAAC;IAPvB;;OAEG;IACI,qCAAmB,GAA1B;QACE,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC5C,CAAC;IAvBD;;OAEG;IACa,kCAAgB,GAAqB;QACnD,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,QAAQ,EAAE,OAAO;YACjB,IAAI,EAAE,QAAQ;SACf;QACD,EAAE,EAAE;YACF,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,QAAQ;SACf;KACF,CAAC;IAUJ,wBAAC;CAAA,AA7CD,IA6CC;AA7CY,8CAAiB"}
@@ -0,0 +1,33 @@
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 { AttributeTypeMap } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * The global query options that are used. Either provide a timezone or a time offset but not both,
9
+ * otherwise the query fails.
10
+ */
11
+ export declare class EventsQueryOptions {
12
+ /**
13
+ * The time offset to apply to the query in seconds.
14
+ */
15
+ "timeOffset"?: number;
16
+ /**
17
+ * The timezone can be specified as an offset, for example: `UTC+03:00`.
18
+ */
19
+ "timezone"?: string;
20
+ /**
21
+ * @ignore
22
+ */
23
+ "unparsedObject"?: any;
24
+ /**
25
+ * @ignore
26
+ */
27
+ static readonly attributeTypeMap: AttributeTypeMap;
28
+ /**
29
+ * @ignore
30
+ */
31
+ static getAttributeTypeMap(): AttributeTypeMap;
32
+ constructor();
33
+ }
@@ -0,0 +1,39 @@
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.EventsQueryOptions = void 0;
9
+ /**
10
+ * The global query options that are used. Either provide a timezone or a time offset but not both,
11
+ * otherwise the query fails.
12
+ */
13
+ var EventsQueryOptions = /** @class */ (function () {
14
+ function EventsQueryOptions() {
15
+ }
16
+ /**
17
+ * @ignore
18
+ */
19
+ EventsQueryOptions.getAttributeTypeMap = function () {
20
+ return EventsQueryOptions.attributeTypeMap;
21
+ };
22
+ /**
23
+ * @ignore
24
+ */
25
+ EventsQueryOptions.attributeTypeMap = {
26
+ timeOffset: {
27
+ baseName: "timeOffset",
28
+ type: "number",
29
+ format: "int64",
30
+ },
31
+ timezone: {
32
+ baseName: "timezone",
33
+ type: "string",
34
+ },
35
+ };
36
+ return EventsQueryOptions;
37
+ }());
38
+ exports.EventsQueryOptions = EventsQueryOptions;
39
+ //# sourceMappingURL=EventsQueryOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsQueryOptions.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsQueryOptions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;;GAGG;AACH;IAqCE;IAAsB,CAAC;IAPvB;;OAEG;IACI,sCAAmB,GAA1B;QACE,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IApBD;;OAEG;IACa,mCAAgB,GAAqB;QACnD,UAAU,EAAE;YACV,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;SAChB;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,QAAQ;SACf;KACF,CAAC;IAUJ,yBAAC;CAAA,AAtCD,IAsCC;AAtCY,gDAAkB"}
@@ -0,0 +1,32 @@
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 { AttributeTypeMap } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * Pagination settings.
9
+ */
10
+ export declare class EventsRequestPage {
11
+ /**
12
+ * The returned paging point to use to get the next results.
13
+ */
14
+ "cursor"?: string;
15
+ /**
16
+ * The maximum number of logs in the response.
17
+ */
18
+ "limit"?: number;
19
+ /**
20
+ * @ignore
21
+ */
22
+ "unparsedObject"?: any;
23
+ /**
24
+ * @ignore
25
+ */
26
+ static readonly attributeTypeMap: AttributeTypeMap;
27
+ /**
28
+ * @ignore
29
+ */
30
+ static getAttributeTypeMap(): AttributeTypeMap;
31
+ constructor();
32
+ }
@@ -0,0 +1,38 @@
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.EventsRequestPage = void 0;
9
+ /**
10
+ * Pagination settings.
11
+ */
12
+ var EventsRequestPage = /** @class */ (function () {
13
+ function EventsRequestPage() {
14
+ }
15
+ /**
16
+ * @ignore
17
+ */
18
+ EventsRequestPage.getAttributeTypeMap = function () {
19
+ return EventsRequestPage.attributeTypeMap;
20
+ };
21
+ /**
22
+ * @ignore
23
+ */
24
+ EventsRequestPage.attributeTypeMap = {
25
+ cursor: {
26
+ baseName: "cursor",
27
+ type: "string",
28
+ },
29
+ limit: {
30
+ baseName: "limit",
31
+ type: "number",
32
+ format: "int32",
33
+ },
34
+ };
35
+ return EventsRequestPage;
36
+ }());
37
+ exports.EventsRequestPage = EventsRequestPage;
38
+ //# sourceMappingURL=EventsRequestPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsRequestPage.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/EventsRequestPage.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH;IAqCE;IAAsB,CAAC;IAPvB;;OAEG;IACI,qCAAmB,GAA1B;QACE,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC5C,CAAC;IApBD;;OAEG;IACa,kCAAgB,GAAqB;QACnD,MAAM,EAAE;YACN,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,QAAQ,EAAE,OAAO;YACjB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,OAAO;SAChB;KACF,CAAC;IAUJ,wBAAC;CAAA,AAtCD,IAsCC;AAtCY,8CAAiB"}