@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,100 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FlakyTestAttributes = void 0;
4
+ /**
5
+ * Attributes of a flaky test.
6
+ */
7
+ class FlakyTestAttributes {
8
+ constructor() { }
9
+ /**
10
+ * @ignore
11
+ */
12
+ static getAttributeTypeMap() {
13
+ return FlakyTestAttributes.attributeTypeMap;
14
+ }
15
+ }
16
+ exports.FlakyTestAttributes = FlakyTestAttributes;
17
+ /**
18
+ * @ignore
19
+ */
20
+ FlakyTestAttributes.attributeTypeMap = {
21
+ attemptToFixId: {
22
+ baseName: "attempt_to_fix_id",
23
+ type: "string",
24
+ },
25
+ codeowners: {
26
+ baseName: "codeowners",
27
+ type: "Array<string>",
28
+ },
29
+ envs: {
30
+ baseName: "envs",
31
+ type: "Array<string>",
32
+ },
33
+ firstFlakedBranch: {
34
+ baseName: "first_flaked_branch",
35
+ type: "string",
36
+ },
37
+ firstFlakedSha: {
38
+ baseName: "first_flaked_sha",
39
+ type: "string",
40
+ },
41
+ firstFlakedTs: {
42
+ baseName: "first_flaked_ts",
43
+ type: "number",
44
+ format: "int64",
45
+ },
46
+ flakyCategory: {
47
+ baseName: "flaky_category",
48
+ type: "string",
49
+ },
50
+ flakyState: {
51
+ baseName: "flaky_state",
52
+ type: "FlakyTestAttributesFlakyState",
53
+ },
54
+ lastFlakedBranch: {
55
+ baseName: "last_flaked_branch",
56
+ type: "string",
57
+ },
58
+ lastFlakedSha: {
59
+ baseName: "last_flaked_sha",
60
+ type: "string",
61
+ },
62
+ lastFlakedTs: {
63
+ baseName: "last_flaked_ts",
64
+ type: "number",
65
+ format: "int64",
66
+ },
67
+ module: {
68
+ baseName: "module",
69
+ type: "string",
70
+ },
71
+ name: {
72
+ baseName: "name",
73
+ type: "string",
74
+ },
75
+ pipelineStats: {
76
+ baseName: "pipeline_stats",
77
+ type: "FlakyTestPipelineStats",
78
+ },
79
+ services: {
80
+ baseName: "services",
81
+ type: "Array<string>",
82
+ },
83
+ suite: {
84
+ baseName: "suite",
85
+ type: "string",
86
+ },
87
+ testRunMetadata: {
88
+ baseName: "test_run_metadata",
89
+ type: "FlakyTestRunMetadata",
90
+ },
91
+ testStats: {
92
+ baseName: "test_stats",
93
+ type: "FlakyTestStats",
94
+ },
95
+ additionalProperties: {
96
+ baseName: "additionalProperties",
97
+ type: "{ [key: string]: any; }",
98
+ },
99
+ };
100
+ //# sourceMappingURL=FlakyTestAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestAttributes.ts"],"names":[],"mappings":";;;AAYA;;GAEG;AACH,MAAa,mBAAmB;IA4L9B,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,mBAAmB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;;AA1LH,kDA6LC;AA5FC;;GAEG;AACa,oCAAgB,GAAqB;IACnD,cAAc,EAAE;QACd,QAAQ,EAAE,mBAAmB;QAC7B,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,eAAe;KACtB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD,iBAAiB,EAAE;QACjB,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,QAAQ;KACf;IACD,cAAc,EAAE;QACd,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,iBAAiB;QAC3B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,+BAA+B;KACtC;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,oBAAoB;QAC9B,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,iBAAiB;QAC3B,IAAI,EAAE,QAAQ;KACf;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,wBAAwB;KAC/B;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,eAAe;KACtB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,mBAAmB;QAC7B,IAAI,EAAE,sBAAsB;KAC7B;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,gBAAgB;KACvB;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -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
+ import { UnparsedObject } from "../../datadog-api-client-common/util";
7
+ /**
8
+ * The current state of the flaky test.
9
+ */
10
+ export declare type FlakyTestAttributesFlakyState = typeof ACTIVE | typeof FIXED | typeof QUARANTINED | typeof DISABLED | UnparsedObject;
11
+ export declare const ACTIVE = "active";
12
+ export declare const FIXED = "fixed";
13
+ export declare const QUARANTINED = "quarantined";
14
+ export declare const DISABLED = "disabled";
@@ -0,0 +1,13 @@
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.DISABLED = exports.QUARANTINED = exports.FIXED = exports.ACTIVE = void 0;
9
+ exports.ACTIVE = "active";
10
+ exports.FIXED = "fixed";
11
+ exports.QUARANTINED = "quarantined";
12
+ exports.DISABLED = "disabled";
13
+ //# sourceMappingURL=FlakyTestAttributesFlakyState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestAttributesFlakyState.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestAttributesFlakyState.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAcU,QAAA,MAAM,GAAG,QAAQ,CAAC;AAClB,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,QAAQ,GAAG,UAAU,CAAC"}
@@ -0,0 +1,40 @@
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
+ * CI pipeline related statistics for the flaky test. This information is only available if test runs are associated with CI pipeline events from CI Visibility.
9
+ */
10
+ export declare class FlakyTestPipelineStats {
11
+ /**
12
+ * The number of pipelines that failed due to this test for the past 7 days. This is computed as the sum of failed CI pipeline events associated with test runs where the flaky test failed.
13
+ */
14
+ "failedPipelines"?: number;
15
+ /**
16
+ * The total time lost by CI pipelines due to this flaky test in milliseconds. This is computed as the sum of the duration of failed CI pipeline events associated with test runs where the flaky test failed.
17
+ */
18
+ "totalLostTimeMs"?: number;
19
+ /**
20
+ * A container for additional, undeclared properties.
21
+ * This is a holder for any undeclared properties as specified with
22
+ * the 'additionalProperties' keyword in the OAS document.
23
+ */
24
+ "additionalProperties"?: {
25
+ [key: string]: any;
26
+ };
27
+ /**
28
+ * @ignore
29
+ */
30
+ "_unparsed"?: boolean;
31
+ /**
32
+ * @ignore
33
+ */
34
+ static readonly attributeTypeMap: AttributeTypeMap;
35
+ /**
36
+ * @ignore
37
+ */
38
+ static getAttributeTypeMap(): AttributeTypeMap;
39
+ constructor();
40
+ }
@@ -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.FlakyTestPipelineStats = void 0;
9
+ /**
10
+ * CI pipeline related statistics for the flaky test. This information is only available if test runs are associated with CI pipeline events from CI Visibility.
11
+ */
12
+ class FlakyTestPipelineStats {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestPipelineStats.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestPipelineStats = FlakyTestPipelineStats;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestPipelineStats.attributeTypeMap = {
26
+ failedPipelines: {
27
+ baseName: "failed_pipelines",
28
+ type: "number",
29
+ format: "int64",
30
+ },
31
+ totalLostTimeMs: {
32
+ baseName: "total_lost_time_ms",
33
+ type: "number",
34
+ format: "int64",
35
+ },
36
+ additionalProperties: {
37
+ baseName: "additionalProperties",
38
+ type: "{ [key: string]: any; }",
39
+ },
40
+ };
41
+ //# sourceMappingURL=FlakyTestPipelineStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestPipelineStats.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestPipelineStats.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;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,kBAAkB;QAC5B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,oBAAoB;QAC9B,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,56 @@
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
+ * Metadata about the latest failed test run of the flaky test.
9
+ */
10
+ export declare class FlakyTestRunMetadata {
11
+ /**
12
+ * The duration of the test run in milliseconds.
13
+ */
14
+ "durationMs"?: number;
15
+ /**
16
+ * The error message from the test failure.
17
+ */
18
+ "errorMessage"?: string;
19
+ /**
20
+ * The stack trace from the test failure.
21
+ */
22
+ "errorStack"?: string;
23
+ /**
24
+ * The line number where the test ends in the source file.
25
+ */
26
+ "sourceEnd"?: number;
27
+ /**
28
+ * The source file where the test is defined.
29
+ */
30
+ "sourceFile"?: string;
31
+ /**
32
+ * The line number where the test starts in the source file.
33
+ */
34
+ "sourceStart"?: number;
35
+ /**
36
+ * A container for additional, undeclared properties.
37
+ * This is a holder for any undeclared properties as specified with
38
+ * the 'additionalProperties' keyword in the OAS document.
39
+ */
40
+ "additionalProperties"?: {
41
+ [key: string]: any;
42
+ };
43
+ /**
44
+ * @ignore
45
+ */
46
+ "_unparsed"?: boolean;
47
+ /**
48
+ * @ignore
49
+ */
50
+ static readonly attributeTypeMap: AttributeTypeMap;
51
+ /**
52
+ * @ignore
53
+ */
54
+ static getAttributeTypeMap(): AttributeTypeMap;
55
+ constructor();
56
+ }
@@ -0,0 +1,58 @@
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.FlakyTestRunMetadata = void 0;
9
+ /**
10
+ * Metadata about the latest failed test run of the flaky test.
11
+ */
12
+ class FlakyTestRunMetadata {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestRunMetadata.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestRunMetadata = FlakyTestRunMetadata;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestRunMetadata.attributeTypeMap = {
26
+ durationMs: {
27
+ baseName: "duration_ms",
28
+ type: "number",
29
+ format: "int64",
30
+ },
31
+ errorMessage: {
32
+ baseName: "error_message",
33
+ type: "string",
34
+ },
35
+ errorStack: {
36
+ baseName: "error_stack",
37
+ type: "string",
38
+ },
39
+ sourceEnd: {
40
+ baseName: "source_end",
41
+ type: "number",
42
+ format: "int64",
43
+ },
44
+ sourceFile: {
45
+ baseName: "source_file",
46
+ type: "string",
47
+ },
48
+ sourceStart: {
49
+ baseName: "source_start",
50
+ type: "number",
51
+ format: "int64",
52
+ },
53
+ additionalProperties: {
54
+ baseName: "additionalProperties",
55
+ type: "{ [key: string]: any; }",
56
+ },
57
+ };
58
+ //# sourceMappingURL=FlakyTestRunMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestRunMetadata.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestRunMetadata.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,oBAAoB;IAkF/B,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;;AAhFH,oDAmFC;AA7CC;;GAEG;AACa,qCAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe;QACzB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,cAAc;QACxB,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,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
+ * Test statistics for the flaky test.
9
+ */
10
+ export declare class FlakyTestStats {
11
+ /**
12
+ * The failure rate percentage of the test for the past 7 days. This is the number of failed test runs divided by the total number of test runs (excluding skipped test runs).
13
+ */
14
+ "failureRatePct"?: number;
15
+ /**
16
+ * A container for additional, undeclared properties.
17
+ * This is a holder for any undeclared properties as specified with
18
+ * the 'additionalProperties' keyword in the OAS document.
19
+ */
20
+ "additionalProperties"?: {
21
+ [key: string]: any;
22
+ };
23
+ /**
24
+ * @ignore
25
+ */
26
+ "_unparsed"?: boolean;
27
+ /**
28
+ * @ignore
29
+ */
30
+ static readonly attributeTypeMap: AttributeTypeMap;
31
+ /**
32
+ * @ignore
33
+ */
34
+ static getAttributeTypeMap(): AttributeTypeMap;
35
+ constructor();
36
+ }
@@ -0,0 +1,36 @@
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.FlakyTestStats = void 0;
9
+ /**
10
+ * Test statistics for the flaky test.
11
+ */
12
+ class FlakyTestStats {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestStats.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestStats = FlakyTestStats;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestStats.attributeTypeMap = {
26
+ failureRatePct: {
27
+ baseName: "failure_rate_pct",
28
+ type: "number",
29
+ format: "double",
30
+ },
31
+ additionalProperties: {
32
+ baseName: "additionalProperties",
33
+ type: "{ [key: string]: any; }",
34
+ },
35
+ };
36
+ //# sourceMappingURL=FlakyTestStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestStats.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestStats.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,cAAc;IAwCzB,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,cAAc,CAAC,gBAAgB,CAAC;IACzC,CAAC;;AAtCH,wCAyCC;AAvBC;;GAEG;AACa,+BAAgB,GAAqB;IACnD,cAAc,EAAE;QACd,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,QAAQ;KACjB;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 type of the flaky test from Flaky Test Management.
9
+ */
10
+ export declare type FlakyTestType = typeof FLAKY_TEST | UnparsedObject;
11
+ export declare const FLAKY_TEST = "flaky_test";
@@ -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.FLAKY_TEST = void 0;
9
+ exports.FLAKY_TEST = "flaky_test";
10
+ //# sourceMappingURL=FlakyTestType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,UAAU,GAAG,YAAY,CAAC"}
@@ -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
+ * Pagination metadata for flaky tests.
9
+ */
10
+ export declare class FlakyTestsPagination {
11
+ /**
12
+ * Cursor for the next page of results.
13
+ */
14
+ "nextPage"?: string;
15
+ /**
16
+ * A container for additional, undeclared properties.
17
+ * This is a holder for any undeclared properties as specified with
18
+ * the 'additionalProperties' keyword in the OAS document.
19
+ */
20
+ "additionalProperties"?: {
21
+ [key: string]: any;
22
+ };
23
+ /**
24
+ * @ignore
25
+ */
26
+ "_unparsed"?: boolean;
27
+ /**
28
+ * @ignore
29
+ */
30
+ static readonly attributeTypeMap: AttributeTypeMap;
31
+ /**
32
+ * @ignore
33
+ */
34
+ static getAttributeTypeMap(): AttributeTypeMap;
35
+ constructor();
36
+ }
@@ -0,0 +1,35 @@
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.FlakyTestsPagination = void 0;
9
+ /**
10
+ * Pagination metadata for flaky tests.
11
+ */
12
+ class FlakyTestsPagination {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestsPagination.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestsPagination = FlakyTestsPagination;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestsPagination.attributeTypeMap = {
26
+ nextPage: {
27
+ baseName: "next_page",
28
+ type: "string",
29
+ },
30
+ additionalProperties: {
31
+ baseName: "additionalProperties",
32
+ type: "{ [key: string]: any; }",
33
+ },
34
+ };
35
+ //# sourceMappingURL=FlakyTestsPagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsPagination.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsPagination.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,oBAAoB;IAuC/B,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;;AArCH,oDAwCC;AAtBC;;GAEG;AACa,qCAAgB,GAAqB;IACnD,QAAQ,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,QAAQ;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -0,0 +1,46 @@
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
+ * Search filter settings.
9
+ */
10
+ export declare class FlakyTestsSearchFilter {
11
+ /**
12
+ * Search query following log syntax used to filter flaky tests, same as on Flaky Tests Management UI. The supported search keys are:
13
+ * - `flaky_test_state`
14
+ * - `flaky_test_category`
15
+ * - `@test.name`
16
+ * - `@test.suite`
17
+ * - `@test.module`
18
+ * - `@test.service`
19
+ * - `@git.repository.id_v2`
20
+ * - `@git.branch`
21
+ * - `@test.codeowners`
22
+ * - `env`
23
+ */
24
+ "query"?: string;
25
+ /**
26
+ * A container for additional, undeclared properties.
27
+ * This is a holder for any undeclared properties as specified with
28
+ * the 'additionalProperties' keyword in the OAS document.
29
+ */
30
+ "additionalProperties"?: {
31
+ [key: string]: any;
32
+ };
33
+ /**
34
+ * @ignore
35
+ */
36
+ "_unparsed"?: boolean;
37
+ /**
38
+ * @ignore
39
+ */
40
+ static readonly attributeTypeMap: AttributeTypeMap;
41
+ /**
42
+ * @ignore
43
+ */
44
+ static getAttributeTypeMap(): AttributeTypeMap;
45
+ constructor();
46
+ }
@@ -0,0 +1,35 @@
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.FlakyTestsSearchFilter = void 0;
9
+ /**
10
+ * Search filter settings.
11
+ */
12
+ class FlakyTestsSearchFilter {
13
+ constructor() { }
14
+ /**
15
+ * @ignore
16
+ */
17
+ static getAttributeTypeMap() {
18
+ return FlakyTestsSearchFilter.attributeTypeMap;
19
+ }
20
+ }
21
+ exports.FlakyTestsSearchFilter = FlakyTestsSearchFilter;
22
+ /**
23
+ * @ignore
24
+ */
25
+ FlakyTestsSearchFilter.attributeTypeMap = {
26
+ query: {
27
+ baseName: "query",
28
+ type: "string",
29
+ },
30
+ additionalProperties: {
31
+ baseName: "additionalProperties",
32
+ type: "{ [key: string]: any; }",
33
+ },
34
+ };
35
+ //# sourceMappingURL=FlakyTestsSearchFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlakyTestsSearchFilter.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FlakyTestsSearchFilter.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,sBAAsB;IAiDjC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACjD,CAAC;;AA/CH,wDAkDC;AAtBC;;GAEG;AACa,uCAAgB,GAAqB;IACnD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,sBAAsB;QAChC,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
@@ -0,0 +1,40 @@
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 attributes for listing flaky tests.
9
+ */
10
+ export declare class FlakyTestsSearchPageOptions {
11
+ /**
12
+ * List following results with a cursor provided in the previous request.
13
+ */
14
+ "cursor"?: string;
15
+ /**
16
+ * Maximum number of flaky tests in the response.
17
+ */
18
+ "limit"?: number;
19
+ /**
20
+ * A container for additional, undeclared properties.
21
+ * This is a holder for any undeclared properties as specified with
22
+ * the 'additionalProperties' keyword in the OAS document.
23
+ */
24
+ "additionalProperties"?: {
25
+ [key: string]: any;
26
+ };
27
+ /**
28
+ * @ignore
29
+ */
30
+ "_unparsed"?: boolean;
31
+ /**
32
+ * @ignore
33
+ */
34
+ static readonly attributeTypeMap: AttributeTypeMap;
35
+ /**
36
+ * @ignore
37
+ */
38
+ static getAttributeTypeMap(): AttributeTypeMap;
39
+ constructor();
40
+ }