@datadog/datadog-api-client 1.44.0 → 1.45.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 (95) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/packages/datadog-api-client-common/configuration.js +1 -0
  3. package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
  4. package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.d.ts +83 -0
  5. package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.js +312 -0
  6. package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.js.map +1 -1
  7. package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.d.ts +40 -0
  8. package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js +186 -0
  9. package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js.map +1 -0
  10. package/dist/packages/datadog-api-client-v2/index.d.ts +28 -1
  11. package/dist/packages/datadog-api-client-v2/index.js +90 -48
  12. package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
  13. package/dist/packages/datadog-api-client-v2/models/AzureScanOptions.d.ts +37 -0
  14. package/dist/packages/datadog-api-client-v2/models/AzureScanOptions.js +30 -0
  15. package/dist/packages/datadog-api-client-v2/models/AzureScanOptions.js.map +1 -0
  16. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsArray.d.ts +37 -0
  17. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsArray.js +31 -0
  18. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsArray.js.map +1 -0
  19. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsData.d.ts +46 -0
  20. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsData.js +40 -0
  21. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsData.js.map +1 -0
  22. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.d.ts +40 -0
  23. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js +39 -0
  24. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataAttributes.js.map +1 -0
  25. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataType.d.ts +11 -0
  26. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataType.js +10 -0
  27. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsDataType.js.map +1 -0
  28. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdate.d.ts +37 -0
  29. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdate.js +30 -0
  30. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdate.js.map +1 -0
  31. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateData.d.ts +46 -0
  32. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateData.js +40 -0
  33. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateData.js.map +1 -0
  34. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.d.ts +40 -0
  35. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js +39 -0
  36. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataAttributes.js.map +1 -0
  37. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataType.d.ts +11 -0
  38. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataType.js +10 -0
  39. package/dist/packages/datadog-api-client-v2/models/AzureScanOptionsInputUpdateDataType.js.map +1 -0
  40. package/dist/packages/datadog-api-client-v2/models/FlakyTest.d.ts +46 -0
  41. package/dist/packages/datadog-api-client-v2/models/FlakyTest.js +38 -0
  42. package/dist/packages/datadog-api-client-v2/models/FlakyTest.js.map +1 -0
  43. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributes.d.ts +119 -0
  44. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributes.js +100 -0
  45. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributes.js.map +1 -0
  46. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributesFlakyState.d.ts +14 -0
  47. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributesFlakyState.js +13 -0
  48. package/dist/packages/datadog-api-client-v2/models/FlakyTestAttributesFlakyState.js.map +1 -0
  49. package/dist/packages/datadog-api-client-v2/models/FlakyTestPipelineStats.d.ts +40 -0
  50. package/dist/packages/datadog-api-client-v2/models/FlakyTestPipelineStats.js +41 -0
  51. package/dist/packages/datadog-api-client-v2/models/FlakyTestPipelineStats.js.map +1 -0
  52. package/dist/packages/datadog-api-client-v2/models/FlakyTestRunMetadata.d.ts +56 -0
  53. package/dist/packages/datadog-api-client-v2/models/FlakyTestRunMetadata.js +58 -0
  54. package/dist/packages/datadog-api-client-v2/models/FlakyTestRunMetadata.js.map +1 -0
  55. package/dist/packages/datadog-api-client-v2/models/FlakyTestStats.d.ts +36 -0
  56. package/dist/packages/datadog-api-client-v2/models/FlakyTestStats.js +36 -0
  57. package/dist/packages/datadog-api-client-v2/models/FlakyTestStats.js.map +1 -0
  58. package/dist/packages/datadog-api-client-v2/models/FlakyTestType.d.ts +11 -0
  59. package/dist/packages/datadog-api-client-v2/models/FlakyTestType.js +10 -0
  60. package/dist/packages/datadog-api-client-v2/models/FlakyTestType.js.map +1 -0
  61. package/dist/packages/datadog-api-client-v2/models/FlakyTestsPagination.d.ts +36 -0
  62. package/dist/packages/datadog-api-client-v2/models/FlakyTestsPagination.js +35 -0
  63. package/dist/packages/datadog-api-client-v2/models/FlakyTestsPagination.js.map +1 -0
  64. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchFilter.d.ts +46 -0
  65. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchFilter.js +35 -0
  66. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchFilter.js.map +1 -0
  67. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchPageOptions.d.ts +40 -0
  68. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchPageOptions.js +40 -0
  69. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchPageOptions.js.map +1 -0
  70. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequest.d.ts +37 -0
  71. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequest.js +30 -0
  72. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequest.js.map +1 -0
  73. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestAttributes.d.ts +47 -0
  74. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestAttributes.js +38 -0
  75. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestAttributes.js.map +1 -0
  76. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestData.d.ts +42 -0
  77. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestData.js +34 -0
  78. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestData.js.map +1 -0
  79. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestDataType.d.ts +11 -0
  80. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestDataType.js +10 -0
  81. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchRequestDataType.js.map +1 -0
  82. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponse.d.ts +42 -0
  83. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponse.js +34 -0
  84. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponse.js.map +1 -0
  85. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponseMeta.d.ts +37 -0
  86. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponseMeta.js +30 -0
  87. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchResponseMeta.js.map +1 -0
  88. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchSort.d.ts +22 -0
  89. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchSort.js +21 -0
  90. package/dist/packages/datadog-api-client-v2/models/FlakyTestsSearchSort.js.map +1 -0
  91. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +59 -0
  92. package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +3 -3
@@ -0,0 +1,40 @@
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.FlakyTestsSearchPageOptions = void 0;
9
+ /**
10
+ * Pagination attributes for listing flaky tests.
11
+ */
12
+ class FlakyTestsSearchPageOptions {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestsSearchPageOptions.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestsSearchPageOptions = FlakyTestsSearchPageOptions;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestsSearchPageOptions.attributeTypeMap = {
26
+ cursor: {
27
+ baseName: "cursor",
28
+ type: "string",
29
+ },
30
+ limit: {
31
+ baseName: "limit",
32
+ type: "number",
33
+ format: "int64",
34
+ },
35
+ additionalProperties: {
36
+ baseName: "additionalProperties",
37
+ type: "{ [key: string]: any; }",
38
+ },
39
+ };
40
+ //# sourceMappingURL=FlakyTestsSearchPageOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchPageOptions.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchPageOptions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,2BAA2B;IAgDtC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACtD,CAAC;;AA9CH,kEAiDC;AA3BC;;GAEG;AACa,4CAAgB,GAAqB;IACnD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -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 { FlakyTestsSearchRequestData } from "./FlakyTestsSearchRequestData";
7
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
+ /**
9
+ * The request for a flaky tests search.
10
+ */
11
+ export declare class FlakyTestsSearchRequest {
12
+ /**
13
+ * The JSON:API data for flaky tests search request.
14
+ */
15
+ "data"?: FlakyTestsSearchRequestData;
16
+ /**
17
+ * A container for additional, undeclared properties.
18
+ * This is a holder for any undeclared properties as specified with
19
+ * the 'additionalProperties' keyword in the OAS document.
20
+ */
21
+ "additionalProperties"?: {
22
+ [key: string]: any;
23
+ };
24
+ /**
25
+ * @ignore
26
+ */
27
+ "_unparsed"?: boolean;
28
+ /**
29
+ * @ignore
30
+ */
31
+ static readonly attributeTypeMap: AttributeTypeMap;
32
+ /**
33
+ * @ignore
34
+ */
35
+ static getAttributeTypeMap(): AttributeTypeMap;
36
+ constructor();
37
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestsSearchRequest = void 0;
4
+ /**
5
+ * The request for a flaky tests search.
6
+ */
7
+ class FlakyTestsSearchRequest {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestsSearchRequest.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestsSearchRequest = FlakyTestsSearchRequest;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestsSearchRequest.attributeTypeMap = {
21
+ data: {
22
+ baseName: "data",
23
+ type: "FlakyTestsSearchRequestData",
24
+ },
25
+ additionalProperties: {
26
+ baseName: "additionalProperties",
27
+ type: "{ [key: string]: any; }",
28
+ },
29
+ };
30
+ //# sourceMappingURL=FlakyTestsSearchRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchRequest.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchRequest.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,uBAAuB;IAuClC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IAClD,CAAC;;AArCH,0DAwCC;AAtBC;;GAEG;AACa,wCAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,6BAA6B;KACpC;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -0,0 +1,47 @@
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 { FlakyTestsSearchFilter } from "./FlakyTestsSearchFilter";
7
+ import { FlakyTestsSearchPageOptions } from "./FlakyTestsSearchPageOptions";
8
+ import { FlakyTestsSearchSort } from "./FlakyTestsSearchSort";
9
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
10
+ /**
11
+ * Attributes for the flaky tests search request.
12
+ */
13
+ export declare class FlakyTestsSearchRequestAttributes {
14
+ /**
15
+ * Search filter settings.
16
+ */
17
+ "filter"?: FlakyTestsSearchFilter;
18
+ /**
19
+ * Pagination attributes for listing flaky tests.
20
+ */
21
+ "page"?: FlakyTestsSearchPageOptions;
22
+ /**
23
+ * Parameter for sorting flaky test results. The default sort is by ascending Fully Qualified Name (FQN). The FQN is the concatenation of the test module, suite, and name.
24
+ */
25
+ "sort"?: FlakyTestsSearchSort;
26
+ /**
27
+ * A container for additional, undeclared properties.
28
+ * This is a holder for any undeclared properties as specified with
29
+ * the 'additionalProperties' keyword in the OAS document.
30
+ */
31
+ "additionalProperties"?: {
32
+ [key: string]: any;
33
+ };
34
+ /**
35
+ * @ignore
36
+ */
37
+ "_unparsed"?: boolean;
38
+ /**
39
+ * @ignore
40
+ */
41
+ static readonly attributeTypeMap: AttributeTypeMap;
42
+ /**
43
+ * @ignore
44
+ */
45
+ static getAttributeTypeMap(): AttributeTypeMap;
46
+ constructor();
47
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestsSearchRequestAttributes = void 0;
4
+ /**
5
+ * Attributes for the flaky tests search request.
6
+ */
7
+ class FlakyTestsSearchRequestAttributes {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestsSearchRequestAttributes.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestsSearchRequestAttributes = FlakyTestsSearchRequestAttributes;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestsSearchRequestAttributes.attributeTypeMap = {
21
+ filter: {
22
+ baseName: "filter",
23
+ type: "FlakyTestsSearchFilter",
24
+ },
25
+ page: {
26
+ baseName: "page",
27
+ type: "FlakyTestsSearchPageOptions",
28
+ },
29
+ sort: {
30
+ baseName: "sort",
31
+ type: "FlakyTestsSearchSort",
32
+ },
33
+ additionalProperties: {
34
+ baseName: "additionalProperties",
35
+ type: "{ [key: string]: any; }",
36
+ },
37
+ };
38
+ //# sourceMappingURL=FlakyTestsSearchRequestAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchRequestAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchRequestAttributes.ts"],"names":[],"mappings":";;;AAWA;;GAEG;AACH,MAAa,iCAAiC;IAuD5C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC5D,CAAC;;AArDH,8EAwDC;AA9BC;;GAEG;AACa,kDAAgB,GAAqB;IACnD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,wBAAwB;KAC/B;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,6BAA6B;KACpC;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,sBAAsB;KAC7B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -0,0 +1,42 @@
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 { FlakyTestsSearchRequestAttributes } from "./FlakyTestsSearchRequestAttributes";
7
+ import { FlakyTestsSearchRequestDataType } from "./FlakyTestsSearchRequestDataType";
8
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9
+ /**
10
+ * The JSON:API data for flaky tests search request.
11
+ */
12
+ export declare class FlakyTestsSearchRequestData {
13
+ /**
14
+ * Attributes for the flaky tests search request.
15
+ */
16
+ "attributes"?: FlakyTestsSearchRequestAttributes;
17
+ /**
18
+ * The definition of `FlakyTestsSearchRequestDataType` object.
19
+ */
20
+ "type"?: FlakyTestsSearchRequestDataType;
21
+ /**
22
+ * A container for additional, undeclared properties.
23
+ * This is a holder for any undeclared properties as specified with
24
+ * the 'additionalProperties' keyword in the OAS document.
25
+ */
26
+ "additionalProperties"?: {
27
+ [key: string]: any;
28
+ };
29
+ /**
30
+ * @ignore
31
+ */
32
+ "_unparsed"?: boolean;
33
+ /**
34
+ * @ignore
35
+ */
36
+ static readonly attributeTypeMap: AttributeTypeMap;
37
+ /**
38
+ * @ignore
39
+ */
40
+ static getAttributeTypeMap(): AttributeTypeMap;
41
+ constructor();
42
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestsSearchRequestData = void 0;
4
+ /**
5
+ * The JSON:API data for flaky tests search request.
6
+ */
7
+ class FlakyTestsSearchRequestData {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestsSearchRequestData.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestsSearchRequestData = FlakyTestsSearchRequestData;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestsSearchRequestData.attributeTypeMap = {
21
+ attributes: {
22
+ baseName: "attributes",
23
+ type: "FlakyTestsSearchRequestAttributes",
24
+ },
25
+ type: {
26
+ baseName: "type",
27
+ type: "FlakyTestsSearchRequestDataType",
28
+ },
29
+ additionalProperties: {
30
+ baseName: "additionalProperties",
31
+ type: "{ [key: string]: any; }",
32
+ },
33
+ };
34
+ //# sourceMappingURL=FlakyTestsSearchRequestData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchRequestData.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchRequestData.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH,MAAa,2BAA2B;IA+CtC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACtD,CAAC;;AA7CH,kEAgDC;AA1BC;;GAEG;AACa,4CAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,mCAAmC;KAC1C;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,iCAAiC;KACxC;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;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 `FlakyTestsSearchRequestDataType` object.
9
+ */
10
+ export declare type FlakyTestsSearchRequestDataType = typeof SEARCH_FLAKY_TESTS_REQUEST | UnparsedObject;
11
+ export declare const SEARCH_FLAKY_TESTS_REQUEST = "search_flaky_tests_request";
@@ -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.SEARCH_FLAKY_TESTS_REQUEST = void 0;
9
+ exports.SEARCH_FLAKY_TESTS_REQUEST = "search_flaky_tests_request";
10
+ //# sourceMappingURL=FlakyTestsSearchRequestDataType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchRequestDataType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchRequestDataType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAWU,QAAA,0BAA0B,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,42 @@
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 { FlakyTest } from "./FlakyTest";
7
+ import { FlakyTestsSearchResponseMeta } from "./FlakyTestsSearchResponseMeta";
8
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9
+ /**
10
+ * Response object with flaky tests matching the search request.
11
+ */
12
+ export declare class FlakyTestsSearchResponse {
13
+ /**
14
+ * Array of flaky tests matching the request.
15
+ */
16
+ "data"?: Array<FlakyTest>;
17
+ /**
18
+ * Metadata for the flaky tests search response.
19
+ */
20
+ "meta"?: FlakyTestsSearchResponseMeta;
21
+ /**
22
+ * A container for additional, undeclared properties.
23
+ * This is a holder for any undeclared properties as specified with
24
+ * the 'additionalProperties' keyword in the OAS document.
25
+ */
26
+ "additionalProperties"?: {
27
+ [key: string]: any;
28
+ };
29
+ /**
30
+ * @ignore
31
+ */
32
+ "_unparsed"?: boolean;
33
+ /**
34
+ * @ignore
35
+ */
36
+ static readonly attributeTypeMap: AttributeTypeMap;
37
+ /**
38
+ * @ignore
39
+ */
40
+ static getAttributeTypeMap(): AttributeTypeMap;
41
+ constructor();
42
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestsSearchResponse = void 0;
4
+ /**
5
+ * Response object with flaky tests matching the search request.
6
+ */
7
+ class FlakyTestsSearchResponse {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestsSearchResponse.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestsSearchResponse = FlakyTestsSearchResponse;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestsSearchResponse.attributeTypeMap = {
21
+ data: {
22
+ baseName: "data",
23
+ type: "Array<FlakyTest>",
24
+ },
25
+ meta: {
26
+ baseName: "meta",
27
+ type: "FlakyTestsSearchResponseMeta",
28
+ },
29
+ additionalProperties: {
30
+ baseName: "additionalProperties",
31
+ type: "{ [key: string]: any; }",
32
+ },
33
+ };
34
+ //# sourceMappingURL=FlakyTestsSearchResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchResponse.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchResponse.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH,MAAa,wBAAwB;IA+CnC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,wBAAwB,CAAC,gBAAgB,CAAC;IACnD,CAAC;;AA7CH,4DAgDC;AA1BC;;GAEG;AACa,yCAAgB,GAAqB;IACnD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,kBAAkB;KACzB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,8BAA8B;KACrC;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -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 { FlakyTestsPagination } from "./FlakyTestsPagination";
7
+ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
8
+ /**
9
+ * Metadata for the flaky tests search response.
10
+ */
11
+ export declare class FlakyTestsSearchResponseMeta {
12
+ /**
13
+ * Pagination metadata for flaky tests.
14
+ */
15
+ "pagination"?: FlakyTestsPagination;
16
+ /**
17
+ * A container for additional, undeclared properties.
18
+ * This is a holder for any undeclared properties as specified with
19
+ * the 'additionalProperties' keyword in the OAS document.
20
+ */
21
+ "additionalProperties"?: {
22
+ [key: string]: any;
23
+ };
24
+ /**
25
+ * @ignore
26
+ */
27
+ "_unparsed"?: boolean;
28
+ /**
29
+ * @ignore
30
+ */
31
+ static readonly attributeTypeMap: AttributeTypeMap;
32
+ /**
33
+ * @ignore
34
+ */
35
+ static getAttributeTypeMap(): AttributeTypeMap;
36
+ constructor();
37
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestsSearchResponseMeta = void 0;
4
+ /**
5
+ * Metadata for the flaky tests search response.
6
+ */
7
+ class FlakyTestsSearchResponseMeta {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestsSearchResponseMeta.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestsSearchResponseMeta = FlakyTestsSearchResponseMeta;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestsSearchResponseMeta.attributeTypeMap = {
21
+ pagination: {
22
+ baseName: "pagination",
23
+ type: "FlakyTestsPagination",
24
+ },
25
+ additionalProperties: {
26
+ baseName: "additionalProperties",
27
+ type: "{ [key: string]: any; }",
28
+ },
29
+ };
30
+ //# sourceMappingURL=FlakyTestsSearchResponseMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchResponseMeta.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchResponseMeta.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,4BAA4B;IAuCvC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,4BAA4B,CAAC,gBAAgB,CAAC;IACvD,CAAC;;AArCH,oEAwCC;AAtBC;;GAEG;AACa,6CAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,sBAAsB;KAC7B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -0,0 +1,22 @@
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
+ * Parameter for sorting flaky test results. The default sort is by ascending Fully Qualified Name (FQN). The FQN is the concatenation of the test module, suite, and name.
9
+ */
10
+ export declare type FlakyTestsSearchSort = typeof FQN_ASCENDING | typeof FQN_DESCENDING | typeof FIRST_FLAKED_ASCENDING | typeof FIRST_FLAKED_DESCENDING | typeof LAST_FLAKED_ASCENDING | typeof LAST_FLAKED_DESCENDING | typeof FAILURE_RATE_ASCENDING | typeof FAILURE_RATE_DESCENDING | typeof PIPELINES_FAILED_ASCENDING | typeof PIPELINES_FAILED_DESCENDING | typeof PIPELINES_DURATION_LOST_ASCENDING | typeof PIPELINES_DURATION_LOST_DESCENDING | UnparsedObject;
11
+ export declare const FQN_ASCENDING = "fqn";
12
+ export declare const FQN_DESCENDING = "-fqn";
13
+ export declare const FIRST_FLAKED_ASCENDING = "first_flaked";
14
+ export declare const FIRST_FLAKED_DESCENDING = "-first_flaked";
15
+ export declare const LAST_FLAKED_ASCENDING = "last_flaked";
16
+ export declare const LAST_FLAKED_DESCENDING = "-last_flaked";
17
+ export declare const FAILURE_RATE_ASCENDING = "failure_rate";
18
+ export declare const FAILURE_RATE_DESCENDING = "-failure_rate";
19
+ export declare const PIPELINES_FAILED_ASCENDING = "pipelines_failed";
20
+ export declare const PIPELINES_FAILED_DESCENDING = "-pipelines_failed";
21
+ export declare const PIPELINES_DURATION_LOST_ASCENDING = "pipelines_duration_lost";
22
+ export declare const PIPELINES_DURATION_LOST_DESCENDING = "-pipelines_duration_lost";
@@ -0,0 +1,21 @@
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.PIPELINES_DURATION_LOST_DESCENDING = exports.PIPELINES_DURATION_LOST_ASCENDING = exports.PIPELINES_FAILED_DESCENDING = exports.PIPELINES_FAILED_ASCENDING = exports.FAILURE_RATE_DESCENDING = exports.FAILURE_RATE_ASCENDING = exports.LAST_FLAKED_DESCENDING = exports.LAST_FLAKED_ASCENDING = exports.FIRST_FLAKED_DESCENDING = exports.FIRST_FLAKED_ASCENDING = exports.FQN_DESCENDING = exports.FQN_ASCENDING = void 0;
9
+ exports.FQN_ASCENDING = "fqn";
10
+ exports.FQN_DESCENDING = "-fqn";
11
+ exports.FIRST_FLAKED_ASCENDING = "first_flaked";
12
+ exports.FIRST_FLAKED_DESCENDING = "-first_flaked";
13
+ exports.LAST_FLAKED_ASCENDING = "last_flaked";
14
+ exports.LAST_FLAKED_DESCENDING = "-last_flaked";
15
+ exports.FAILURE_RATE_ASCENDING = "failure_rate";
16
+ exports.FAILURE_RATE_DESCENDING = "-failure_rate";
17
+ exports.PIPELINES_FAILED_ASCENDING = "pipelines_failed";
18
+ exports.PIPELINES_FAILED_DESCENDING = "-pipelines_failed";
19
+ exports.PIPELINES_DURATION_LOST_ASCENDING = "pipelines_duration_lost";
20
+ exports.PIPELINES_DURATION_LOST_DESCENDING = "-pipelines_duration_lost";
21
+ //# sourceMappingURL=FlakyTestsSearchSort.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchSort.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchSort.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAsBU,QAAA,aAAa,GAAG,KAAK,CAAC;AACtB,QAAA,cAAc,GAAG,MAAM,CAAC;AACxB,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,uBAAuB,GAAG,eAAe,CAAC;AAC1C,QAAA,qBAAqB,GAAG,aAAa,CAAC;AACtC,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,uBAAuB,GAAG,eAAe,CAAC;AAC1C,QAAA,0BAA0B,GAAG,kBAAkB,CAAC;AAChD,QAAA,2BAA2B,GAAG,mBAAmB,CAAC;AAClD,QAAA,iCAAiC,GAAG,yBAAyB,CAAC;AAC9D,QAAA,kCAAkC,GAAG,0BAA0B,CAAC"}
@@ -218,6 +218,13 @@ const AwsScanOptionsUpdateData_1 = require("./AwsScanOptionsUpdateData");
218
218
  const AwsScanOptionsUpdateRequest_1 = require("./AwsScanOptionsUpdateRequest");
219
219
  const AzureIntegration_1 = require("./AzureIntegration");
220
220
  const AzureIntegrationUpdate_1 = require("./AzureIntegrationUpdate");
221
+ const AzureScanOptions_1 = require("./AzureScanOptions");
222
+ const AzureScanOptionsArray_1 = require("./AzureScanOptionsArray");
223
+ const AzureScanOptionsData_1 = require("./AzureScanOptionsData");
224
+ const AzureScanOptionsDataAttributes_1 = require("./AzureScanOptionsDataAttributes");
225
+ const AzureScanOptionsInputUpdate_1 = require("./AzureScanOptionsInputUpdate");
226
+ const AzureScanOptionsInputUpdateData_1 = require("./AzureScanOptionsInputUpdateData");
227
+ const AzureScanOptionsInputUpdateDataAttributes_1 = require("./AzureScanOptionsInputUpdateDataAttributes");
221
228
  const AzureStorageDestination_1 = require("./AzureStorageDestination");
222
229
  const AzureTenant_1 = require("./AzureTenant");
223
230
  const AzureTenantUpdate_1 = require("./AzureTenantUpdate");
@@ -819,6 +826,19 @@ const Finding_1 = require("./Finding");
819
826
  const FindingAttributes_1 = require("./FindingAttributes");
820
827
  const FindingMute_1 = require("./FindingMute");
821
828
  const FindingRule_1 = require("./FindingRule");
829
+ const FlakyTest_1 = require("./FlakyTest");
830
+ const FlakyTestAttributes_1 = require("./FlakyTestAttributes");
831
+ const FlakyTestPipelineStats_1 = require("./FlakyTestPipelineStats");
832
+ const FlakyTestRunMetadata_1 = require("./FlakyTestRunMetadata");
833
+ const FlakyTestStats_1 = require("./FlakyTestStats");
834
+ const FlakyTestsPagination_1 = require("./FlakyTestsPagination");
835
+ const FlakyTestsSearchFilter_1 = require("./FlakyTestsSearchFilter");
836
+ const FlakyTestsSearchPageOptions_1 = require("./FlakyTestsSearchPageOptions");
837
+ const FlakyTestsSearchRequest_1 = require("./FlakyTestsSearchRequest");
838
+ const FlakyTestsSearchRequestAttributes_1 = require("./FlakyTestsSearchRequestAttributes");
839
+ const FlakyTestsSearchRequestData_1 = require("./FlakyTestsSearchRequestData");
840
+ const FlakyTestsSearchResponse_1 = require("./FlakyTestsSearchResponse");
841
+ const FlakyTestsSearchResponseMeta_1 = require("./FlakyTestsSearchResponseMeta");
822
842
  const FormulaLimit_1 = require("./FormulaLimit");
823
843
  const FrameworkHandleAndVersionResponseData_1 = require("./FrameworkHandleAndVersionResponseData");
824
844
  const FreshserviceAPIKey_1 = require("./FreshserviceAPIKey");
@@ -2524,6 +2544,8 @@ const enumsMap = {
2524
2544
  AwsOnDemandType: ["aws_resource"],
2525
2545
  AwsScanOptionsType: ["aws_scan_options"],
2526
2546
  AzureIntegrationType: ["Azure"],
2547
+ AzureScanOptionsDataType: ["azure_scan_options"],
2548
+ AzureScanOptionsInputUpdateDataType: ["azure_scan_options"],
2527
2549
  AzureStorageDestinationType: ["azure_storage"],
2528
2550
  AzureTenantType: ["AzureTenant"],
2529
2551
  AzureUCConfigPairType: ["azure_uc_configs"],
@@ -2814,6 +2836,23 @@ const enumsMap = {
2814
2836
  "identity_risk",
2815
2837
  "api_security",
2816
2838
  ],
2839
+ FlakyTestAttributesFlakyState: ["active", "fixed", "quarantined", "disabled"],
2840
+ FlakyTestType: ["flaky_test"],
2841
+ FlakyTestsSearchRequestDataType: ["search_flaky_tests_request"],
2842
+ FlakyTestsSearchSort: [
2843
+ "fqn",
2844
+ "-fqn",
2845
+ "first_flaked",
2846
+ "-first_flaked",
2847
+ "last_flaked",
2848
+ "-last_flaked",
2849
+ "failure_rate",
2850
+ "-failure_rate",
2851
+ "pipelines_failed",
2852
+ "-pipelines_failed",
2853
+ "pipelines_duration_lost",
2854
+ "-pipelines_duration_lost",
2855
+ ],
2817
2856
  FreshserviceAPIKeyType: ["FreshserviceAPIKey"],
2818
2857
  FreshserviceIntegrationType: ["Freshservice"],
2819
2858
  GCPIntegrationType: ["GCP"],
@@ -4076,6 +4115,13 @@ const typeMap = {
4076
4115
  AwsScanOptionsUpdateRequest: AwsScanOptionsUpdateRequest_1.AwsScanOptionsUpdateRequest,
4077
4116
  AzureIntegration: AzureIntegration_1.AzureIntegration,
4078
4117
  AzureIntegrationUpdate: AzureIntegrationUpdate_1.AzureIntegrationUpdate,
4118
+ AzureScanOptions: AzureScanOptions_1.AzureScanOptions,
4119
+ AzureScanOptionsArray: AzureScanOptionsArray_1.AzureScanOptionsArray,
4120
+ AzureScanOptionsData: AzureScanOptionsData_1.AzureScanOptionsData,
4121
+ AzureScanOptionsDataAttributes: AzureScanOptionsDataAttributes_1.AzureScanOptionsDataAttributes,
4122
+ AzureScanOptionsInputUpdate: AzureScanOptionsInputUpdate_1.AzureScanOptionsInputUpdate,
4123
+ AzureScanOptionsInputUpdateData: AzureScanOptionsInputUpdateData_1.AzureScanOptionsInputUpdateData,
4124
+ AzureScanOptionsInputUpdateDataAttributes: AzureScanOptionsInputUpdateDataAttributes_1.AzureScanOptionsInputUpdateDataAttributes,
4079
4125
  AzureStorageDestination: AzureStorageDestination_1.AzureStorageDestination,
4080
4126
  AzureTenant: AzureTenant_1.AzureTenant,
4081
4127
  AzureTenantUpdate: AzureTenantUpdate_1.AzureTenantUpdate,
@@ -4677,6 +4723,19 @@ const typeMap = {
4677
4723
  FindingAttributes: FindingAttributes_1.FindingAttributes,
4678
4724
  FindingMute: FindingMute_1.FindingMute,
4679
4725
  FindingRule: FindingRule_1.FindingRule,
4726
+ FlakyTest: FlakyTest_1.FlakyTest,
4727
+ FlakyTestAttributes: FlakyTestAttributes_1.FlakyTestAttributes,
4728
+ FlakyTestPipelineStats: FlakyTestPipelineStats_1.FlakyTestPipelineStats,
4729
+ FlakyTestRunMetadata: FlakyTestRunMetadata_1.FlakyTestRunMetadata,
4730
+ FlakyTestStats: FlakyTestStats_1.FlakyTestStats,
4731
+ FlakyTestsPagination: FlakyTestsPagination_1.FlakyTestsPagination,
4732
+ FlakyTestsSearchFilter: FlakyTestsSearchFilter_1.FlakyTestsSearchFilter,
4733
+ FlakyTestsSearchPageOptions: FlakyTestsSearchPageOptions_1.FlakyTestsSearchPageOptions,
4734
+ FlakyTestsSearchRequest: FlakyTestsSearchRequest_1.FlakyTestsSearchRequest,
4735
+ FlakyTestsSearchRequestAttributes: FlakyTestsSearchRequestAttributes_1.FlakyTestsSearchRequestAttributes,
4736
+ FlakyTestsSearchRequestData: FlakyTestsSearchRequestData_1.FlakyTestsSearchRequestData,
4737
+ FlakyTestsSearchResponse: FlakyTestsSearchResponse_1.FlakyTestsSearchResponse,
4738
+ FlakyTestsSearchResponseMeta: FlakyTestsSearchResponseMeta_1.FlakyTestsSearchResponseMeta,
4680
4739
  FormulaLimit: FormulaLimit_1.FormulaLimit,
4681
4740
  FrameworkHandleAndVersionResponseData: FrameworkHandleAndVersionResponseData_1.FrameworkHandleAndVersionResponseData,
4682
4741
  FreshserviceAPIKey: FreshserviceAPIKey_1.FreshserviceAPIKey,