@datadog/datadog-api-client 1.13.0 → 1.14.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.
- package/CHANGELOG.md +31 -0
- package/dist/packages/datadog-api-client-common/configuration.js +1 -0
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/servers.js +0 -14
- package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
- package/dist/packages/datadog-api-client-common/util.d.ts +1 -1
- package/dist/packages/datadog-api-client-common/util.js +5 -53
- package/dist/packages/datadog-api-client-common/util.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.d.ts +4 -4
- package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js +4 -4
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.d.ts +14 -0
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +14 -0
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.d.ts +14 -0
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +67 -0
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +2 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionOperator.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionOperator.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionOperator.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +13 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +15 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +13 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +15 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +13 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +15 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/WidgetAxis.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.d.ts +25 -2
- package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.js +88 -2
- package/dist/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.js +2 -2
- package/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/apis/RolesApi.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +34 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +96 -2
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.js +4 -0
- package/dist/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/TeamsApi.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +37 -2
- package/dist/packages/datadog-api-client-v2/index.js +64 -15
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CIAppCIError.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCIError.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCIError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCIErrorDomain.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCIErrorDomain.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCIErrorDomain.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributesResource.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributesResource.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributesResource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppGitInfo.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppGitInfo.js +81 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppGitInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppHostInfo.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppHostInfo.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppHostInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.d.ts +108 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.js +111 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobLevel.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobLevel.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobStatus.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobStatus.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.d.ts +117 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.js +114 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineLevel.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineLevel.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineStatus.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineStatus.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.d.ts +96 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.js +98 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageLevel.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageLevel.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageStatus.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageStatus.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStageStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.d.ts +108 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.js +109 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepLevel.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepLevel.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepStatus.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepStatus.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventStepStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventTypeName.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventTypeName.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/CIAppTestEventTypeName.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/CIAppTestEventTypeName.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/Finding.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/Finding.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/FindingMute.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.d.ts +6 -3
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.js +5 -2
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppError.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppError.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppErrors.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppErrors.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCIAppErrors.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequest.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestAttributes.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestAttributes.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestData.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestProperties.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestProperties.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingRequestProperties.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponse.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseAttributes.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseProperties.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseProperties.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/MuteFindingResponseProperties.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +74 -1
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppPipelineEventStage = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Details of a CI stage.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppPipelineEventStage {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppPipelineEventStage.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppPipelineEventStage = CIAppPipelineEventStage;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppPipelineEventStage.attributeTypeMap = {
|
|
21
|
+
dependencies: {
|
|
22
|
+
baseName: "dependencies",
|
|
23
|
+
type: "Array<string>",
|
|
24
|
+
},
|
|
25
|
+
end: {
|
|
26
|
+
baseName: "end",
|
|
27
|
+
type: "Date",
|
|
28
|
+
required: true,
|
|
29
|
+
format: "date-time",
|
|
30
|
+
},
|
|
31
|
+
error: {
|
|
32
|
+
baseName: "error",
|
|
33
|
+
type: "CIAppCIError",
|
|
34
|
+
},
|
|
35
|
+
git: {
|
|
36
|
+
baseName: "git",
|
|
37
|
+
type: "CIAppGitInfo",
|
|
38
|
+
required: true,
|
|
39
|
+
},
|
|
40
|
+
id: {
|
|
41
|
+
baseName: "id",
|
|
42
|
+
type: "string",
|
|
43
|
+
required: true,
|
|
44
|
+
},
|
|
45
|
+
level: {
|
|
46
|
+
baseName: "level",
|
|
47
|
+
type: "CIAppPipelineEventStageLevel",
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
50
|
+
metrics: {
|
|
51
|
+
baseName: "metrics",
|
|
52
|
+
type: "Array<string>",
|
|
53
|
+
},
|
|
54
|
+
name: {
|
|
55
|
+
baseName: "name",
|
|
56
|
+
type: "string",
|
|
57
|
+
required: true,
|
|
58
|
+
},
|
|
59
|
+
node: {
|
|
60
|
+
baseName: "node",
|
|
61
|
+
type: "CIAppHostInfo",
|
|
62
|
+
},
|
|
63
|
+
parameters: {
|
|
64
|
+
baseName: "parameters",
|
|
65
|
+
type: "{ [key: string]: string; }",
|
|
66
|
+
},
|
|
67
|
+
pipelineName: {
|
|
68
|
+
baseName: "pipeline_name",
|
|
69
|
+
type: "string",
|
|
70
|
+
required: true,
|
|
71
|
+
},
|
|
72
|
+
pipelineUniqueId: {
|
|
73
|
+
baseName: "pipeline_unique_id",
|
|
74
|
+
type: "string",
|
|
75
|
+
required: true,
|
|
76
|
+
},
|
|
77
|
+
queueTime: {
|
|
78
|
+
baseName: "queue_time",
|
|
79
|
+
type: "number",
|
|
80
|
+
format: "int64",
|
|
81
|
+
},
|
|
82
|
+
start: {
|
|
83
|
+
baseName: "start",
|
|
84
|
+
type: "Date",
|
|
85
|
+
required: true,
|
|
86
|
+
format: "date-time",
|
|
87
|
+
},
|
|
88
|
+
status: {
|
|
89
|
+
baseName: "status",
|
|
90
|
+
type: "CIAppPipelineEventStageStatus",
|
|
91
|
+
required: true,
|
|
92
|
+
},
|
|
93
|
+
tags: {
|
|
94
|
+
baseName: "tags",
|
|
95
|
+
type: "Array<string>",
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=CIAppPipelineEventStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStage.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStage.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,uBAAuB;IAiKlC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IAClD,CAAC;;AA/JH,0DAkKC;AA1FC;;GAEG;AACa,wCAAgB,GAAqB;IACnD,YAAY,EAAE;QACZ,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,eAAe;KACtB;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,WAAW;KACpB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,cAAc;KACrB;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,8BAA8B;QACpC,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,eAAe;KACtB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,4BAA4B;KACnC;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,oBAAoB;QAC9B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,OAAO;KAChB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,WAAW;KACpB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,+BAA+B;QACrC,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;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
|
+
* Used to distinguish between pipelines, stages, jobs and steps.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventStageLevel = typeof STAGE | UnparsedObject;
|
|
11
|
+
export declare const STAGE = "stage";
|
|
@@ -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.STAGE = void 0;
|
|
9
|
+
exports.STAGE = "stage";
|
|
10
|
+
//# sourceMappingURL=CIAppPipelineEventStageLevel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStageLevel.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStageLevel.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,KAAK,GAAG,OAAO,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 final status of the stage.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventStageStatus = typeof SUCCESS | typeof ERROR | typeof CANCELED | typeof SKIPPED | UnparsedObject;
|
|
11
|
+
export declare const SUCCESS = "success";
|
|
12
|
+
export declare const ERROR = "error";
|
|
13
|
+
export declare const CANCELED = "canceled";
|
|
14
|
+
export declare const SKIPPED = "skipped";
|
|
@@ -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.SKIPPED = exports.CANCELED = exports.ERROR = exports.SUCCESS = void 0;
|
|
9
|
+
exports.SUCCESS = "success";
|
|
10
|
+
exports.ERROR = "error";
|
|
11
|
+
exports.CANCELED = "canceled";
|
|
12
|
+
exports.SKIPPED = "skipped";
|
|
13
|
+
//# sourceMappingURL=CIAppPipelineEventStageStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStageStatus.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStageStatus.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAcU,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,QAAQ,GAAG,UAAU,CAAC;AACtB,QAAA,OAAO,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { CIAppCIError } from "./CIAppCIError";
|
|
7
|
+
import { CIAppGitInfo } from "./CIAppGitInfo";
|
|
8
|
+
import { CIAppHostInfo } from "./CIAppHostInfo";
|
|
9
|
+
import { CIAppPipelineEventStepLevel } from "./CIAppPipelineEventStepLevel";
|
|
10
|
+
import { CIAppPipelineEventStepStatus } from "./CIAppPipelineEventStepStatus";
|
|
11
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
12
|
+
/**
|
|
13
|
+
* Details of a CI step.
|
|
14
|
+
*/
|
|
15
|
+
export declare class CIAppPipelineEventStep {
|
|
16
|
+
/**
|
|
17
|
+
* Time when the step run finished. The time format must be RFC3339.
|
|
18
|
+
*/
|
|
19
|
+
"end": Date;
|
|
20
|
+
/**
|
|
21
|
+
* Contains information of the CI error.
|
|
22
|
+
*/
|
|
23
|
+
"error"?: CIAppCIError;
|
|
24
|
+
/**
|
|
25
|
+
* If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
|
|
26
|
+
* Note that either `tag` or `branch` has to be provided, but not both.
|
|
27
|
+
*/
|
|
28
|
+
"git": CIAppGitInfo | null;
|
|
29
|
+
/**
|
|
30
|
+
* UUID for the step. It has to be unique within each pipeline execution.
|
|
31
|
+
*/
|
|
32
|
+
"id": string;
|
|
33
|
+
/**
|
|
34
|
+
* The parent job UUID (if applicable).
|
|
35
|
+
*/
|
|
36
|
+
"jobId"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The parent job name (if applicable).
|
|
39
|
+
*/
|
|
40
|
+
"jobName"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Used to distinguish between pipelines, stages, jobs and steps.
|
|
43
|
+
*/
|
|
44
|
+
"level": CIAppPipelineEventStepLevel;
|
|
45
|
+
/**
|
|
46
|
+
* A list of user-defined metrics. The metrics must follow the `key:value` pattern and the value must be numeric.
|
|
47
|
+
*/
|
|
48
|
+
"metrics"?: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The name for the step.
|
|
51
|
+
*/
|
|
52
|
+
"name": string;
|
|
53
|
+
/**
|
|
54
|
+
* Contains information of the host running the pipeline, stage, job, or step.
|
|
55
|
+
*/
|
|
56
|
+
"node"?: CIAppHostInfo;
|
|
57
|
+
/**
|
|
58
|
+
* A map of key-value parameters or environment variables that were defined for the pipeline.
|
|
59
|
+
*/
|
|
60
|
+
"parameters"?: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* The parent pipeline name.
|
|
65
|
+
*/
|
|
66
|
+
"pipelineName": string;
|
|
67
|
+
/**
|
|
68
|
+
* The parent pipeline UUID.
|
|
69
|
+
*/
|
|
70
|
+
"pipelineUniqueId": string;
|
|
71
|
+
/**
|
|
72
|
+
* The parent stage UUID (if applicable).
|
|
73
|
+
*/
|
|
74
|
+
"stageId"?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The parent stage name (if applicable).
|
|
77
|
+
*/
|
|
78
|
+
"stageName"?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Time when the step run started. The time format must be RFC3339.
|
|
81
|
+
*/
|
|
82
|
+
"start": Date;
|
|
83
|
+
/**
|
|
84
|
+
* The final status of the step.
|
|
85
|
+
*/
|
|
86
|
+
"status": CIAppPipelineEventStepStatus;
|
|
87
|
+
/**
|
|
88
|
+
* A list of user-defined tags. The tags must follow the `key:value` pattern.
|
|
89
|
+
*/
|
|
90
|
+
"tags"?: Array<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The URL to look at the step in the CI provider UI.
|
|
93
|
+
*/
|
|
94
|
+
"url"?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @ignore
|
|
97
|
+
*/
|
|
98
|
+
"_unparsed"?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* @ignore
|
|
101
|
+
*/
|
|
102
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
103
|
+
/**
|
|
104
|
+
* @ignore
|
|
105
|
+
*/
|
|
106
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
107
|
+
constructor();
|
|
108
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppPipelineEventStep = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Details of a CI step.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppPipelineEventStep {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppPipelineEventStep.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppPipelineEventStep = CIAppPipelineEventStep;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppPipelineEventStep.attributeTypeMap = {
|
|
21
|
+
end: {
|
|
22
|
+
baseName: "end",
|
|
23
|
+
type: "Date",
|
|
24
|
+
required: true,
|
|
25
|
+
format: "date-time",
|
|
26
|
+
},
|
|
27
|
+
error: {
|
|
28
|
+
baseName: "error",
|
|
29
|
+
type: "CIAppCIError",
|
|
30
|
+
},
|
|
31
|
+
git: {
|
|
32
|
+
baseName: "git",
|
|
33
|
+
type: "CIAppGitInfo",
|
|
34
|
+
required: true,
|
|
35
|
+
},
|
|
36
|
+
id: {
|
|
37
|
+
baseName: "id",
|
|
38
|
+
type: "string",
|
|
39
|
+
required: true,
|
|
40
|
+
},
|
|
41
|
+
jobId: {
|
|
42
|
+
baseName: "job_id",
|
|
43
|
+
type: "string",
|
|
44
|
+
},
|
|
45
|
+
jobName: {
|
|
46
|
+
baseName: "job_name",
|
|
47
|
+
type: "string",
|
|
48
|
+
},
|
|
49
|
+
level: {
|
|
50
|
+
baseName: "level",
|
|
51
|
+
type: "CIAppPipelineEventStepLevel",
|
|
52
|
+
required: true,
|
|
53
|
+
},
|
|
54
|
+
metrics: {
|
|
55
|
+
baseName: "metrics",
|
|
56
|
+
type: "Array<string>",
|
|
57
|
+
},
|
|
58
|
+
name: {
|
|
59
|
+
baseName: "name",
|
|
60
|
+
type: "string",
|
|
61
|
+
required: true,
|
|
62
|
+
},
|
|
63
|
+
node: {
|
|
64
|
+
baseName: "node",
|
|
65
|
+
type: "CIAppHostInfo",
|
|
66
|
+
},
|
|
67
|
+
parameters: {
|
|
68
|
+
baseName: "parameters",
|
|
69
|
+
type: "{ [key: string]: string; }",
|
|
70
|
+
},
|
|
71
|
+
pipelineName: {
|
|
72
|
+
baseName: "pipeline_name",
|
|
73
|
+
type: "string",
|
|
74
|
+
required: true,
|
|
75
|
+
},
|
|
76
|
+
pipelineUniqueId: {
|
|
77
|
+
baseName: "pipeline_unique_id",
|
|
78
|
+
type: "string",
|
|
79
|
+
required: true,
|
|
80
|
+
},
|
|
81
|
+
stageId: {
|
|
82
|
+
baseName: "stage_id",
|
|
83
|
+
type: "string",
|
|
84
|
+
},
|
|
85
|
+
stageName: {
|
|
86
|
+
baseName: "stage_name",
|
|
87
|
+
type: "string",
|
|
88
|
+
},
|
|
89
|
+
start: {
|
|
90
|
+
baseName: "start",
|
|
91
|
+
type: "Date",
|
|
92
|
+
required: true,
|
|
93
|
+
format: "date-time",
|
|
94
|
+
},
|
|
95
|
+
status: {
|
|
96
|
+
baseName: "status",
|
|
97
|
+
type: "CIAppPipelineEventStepStatus",
|
|
98
|
+
required: true,
|
|
99
|
+
},
|
|
100
|
+
tags: {
|
|
101
|
+
baseName: "tags",
|
|
102
|
+
type: "Array<string>",
|
|
103
|
+
},
|
|
104
|
+
url: {
|
|
105
|
+
baseName: "url",
|
|
106
|
+
type: "string",
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=CIAppPipelineEventStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStep.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStep.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,sBAAsB;IAwLjC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACjD,CAAC;;AAtLH,wDAyLC;AArGC;;GAEG;AACa,uCAAgB,GAAqB;IACnD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,WAAW;KACpB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,cAAc;KACrB;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,6BAA6B;QACnC,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,eAAe;KACtB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,4BAA4B;KACnC;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,oBAAoB;QAC9B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,WAAW;KACpB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,8BAA8B;QACpC,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;KACf;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
|
+
* Used to distinguish between pipelines, stages, jobs and steps.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventStepLevel = typeof STEP | UnparsedObject;
|
|
11
|
+
export declare const STEP = "step";
|
|
@@ -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.STEP = void 0;
|
|
9
|
+
exports.STEP = "step";
|
|
10
|
+
//# sourceMappingURL=CIAppPipelineEventStepLevel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStepLevel.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStepLevel.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,IAAI,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 final status of the step.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventStepStatus = typeof SUCCESS | typeof ERROR | UnparsedObject;
|
|
11
|
+
export declare const SUCCESS = "success";
|
|
12
|
+
export declare const ERROR = "error";
|
|
@@ -0,0 +1,11 @@
|
|
|
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.ERROR = exports.SUCCESS = void 0;
|
|
9
|
+
exports.SUCCESS = "success";
|
|
10
|
+
exports.ERROR = "error";
|
|
11
|
+
//# sourceMappingURL=CIAppPipelineEventStepStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventStepStatus.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventStepStatus.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAYU,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,KAAK,GAAG,OAAO,CAAC"}
|
|
@@ -7,5 +7,5 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
|
|
|
7
7
|
/**
|
|
8
8
|
* Type of the event.
|
|
9
9
|
*/
|
|
10
|
-
export declare type CIAppPipelineEventTypeName = typeof
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type CIAppPipelineEventTypeName = typeof CIPIPELINE | UnparsedObject;
|
|
11
|
+
export declare const CIPIPELINE = "cipipeline";
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Copyright 2020-Present Datadog, Inc.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
8
|
+
exports.CIPIPELINE = void 0;
|
|
9
|
+
exports.CIPIPELINE = "cipipeline";
|
|
10
10
|
//# sourceMappingURL=CIAppPipelineEventTypeName.js.map
|
|
@@ -7,5 +7,5 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
|
|
|
7
7
|
/**
|
|
8
8
|
* Type of the event.
|
|
9
9
|
*/
|
|
10
|
-
export declare type CIAppTestEventTypeName = typeof
|
|
11
|
-
export declare const
|
|
10
|
+
export declare type CIAppTestEventTypeName = typeof CITEST | UnparsedObject;
|
|
11
|
+
export declare const CITEST = "citest";
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Copyright 2020-Present Datadog, Inc.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
8
|
+
exports.CITEST = void 0;
|
|
9
|
+
exports.CITEST = "citest";
|
|
10
10
|
//# sourceMappingURL=CIAppTestEventTypeName.js.map
|
|
@@ -7,7 +7,7 @@ import { FindingAttributes } from "./FindingAttributes";
|
|
|
7
7
|
import { FindingType } from "./FindingType";
|
|
8
8
|
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
9
9
|
/**
|
|
10
|
-
* A single finding without message and resource configuration.
|
|
10
|
+
* A single finding without the message and resource configuration.
|
|
11
11
|
*/
|
|
12
12
|
export declare class Finding {
|
|
13
13
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Finding = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* A single finding without message and resource configuration.
|
|
5
|
+
* A single finding without the message and resource configuration.
|
|
6
6
|
*/
|
|
7
7
|
class Finding {
|
|
8
8
|
constructor() { }
|
|
@@ -10,19 +10,19 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class FindingMute {
|
|
12
12
|
/**
|
|
13
|
-
* Additional information about the reason why this finding is muted.
|
|
13
|
+
* Additional information about the reason why this finding is muted or unmuted.
|
|
14
14
|
*/
|
|
15
15
|
"description"?: string;
|
|
16
16
|
/**
|
|
17
|
-
* The
|
|
17
|
+
* The expiration date of the mute or unmute action (Unix ms).
|
|
18
18
|
*/
|
|
19
19
|
"expirationDate"?: number;
|
|
20
20
|
/**
|
|
21
|
-
* Whether this finding is muted.
|
|
21
|
+
* Whether this finding is muted or unmuted.
|
|
22
22
|
*/
|
|
23
23
|
"muted"?: boolean;
|
|
24
24
|
/**
|
|
25
|
-
* The reason why this finding is muted.
|
|
25
|
+
* The reason why this finding is muted or unmuted.
|
|
26
26
|
*/
|
|
27
27
|
"reason"?: FindingMuteReason;
|
|
28
28
|
/**
|
|
@@ -30,7 +30,7 @@ export declare class FindingMute {
|
|
|
30
30
|
*/
|
|
31
31
|
"startDate"?: number;
|
|
32
32
|
/**
|
|
33
|
-
* The ID of the user who muted this finding.
|
|
33
|
+
* The ID of the user who muted or unmuted this finding.
|
|
34
34
|
*/
|
|
35
35
|
"uuid"?: string;
|
|
36
36
|
/**
|
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { UnparsedObject } from "../../datadog-api-client-common/util";
|
|
7
7
|
/**
|
|
8
|
-
* The reason why this finding is muted.
|
|
8
|
+
* The reason why this finding is muted or unmuted.
|
|
9
9
|
*/
|
|
10
|
-
export declare type FindingMuteReason = typeof ACCEPTED_RISK | typeof
|
|
11
|
-
export declare const ACCEPTED_RISK = "ACCEPTED_RISK";
|
|
10
|
+
export declare type FindingMuteReason = typeof PENDING_FIX | typeof FALSE_POSITIVE | typeof ACCEPTED_RISK | typeof NO_PENDING_FIX | typeof HUMAN_ERROR | typeof NO_LONGER_ACCEPTED_RISK | typeof OTHER | UnparsedObject;
|
|
12
11
|
export declare const PENDING_FIX = "PENDING_FIX";
|
|
13
12
|
export declare const FALSE_POSITIVE = "FALSE_POSITIVE";
|
|
13
|
+
export declare const ACCEPTED_RISK = "ACCEPTED_RISK";
|
|
14
|
+
export declare const NO_PENDING_FIX = "NO_PENDING_FIX";
|
|
15
|
+
export declare const HUMAN_ERROR = "HUMAN_ERROR";
|
|
16
|
+
export declare const NO_LONGER_ACCEPTED_RISK = "NO_LONGER_ACCEPTED_RISK";
|
|
14
17
|
export declare const OTHER = "OTHER";
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
* Copyright 2020-Present Datadog, Inc.
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.OTHER = exports.
|
|
9
|
-
exports.ACCEPTED_RISK = "ACCEPTED_RISK";
|
|
8
|
+
exports.OTHER = exports.NO_LONGER_ACCEPTED_RISK = exports.HUMAN_ERROR = exports.NO_PENDING_FIX = exports.ACCEPTED_RISK = exports.FALSE_POSITIVE = exports.PENDING_FIX = void 0;
|
|
10
9
|
exports.PENDING_FIX = "PENDING_FIX";
|
|
11
10
|
exports.FALSE_POSITIVE = "FALSE_POSITIVE";
|
|
11
|
+
exports.ACCEPTED_RISK = "ACCEPTED_RISK";
|
|
12
|
+
exports.NO_PENDING_FIX = "NO_PENDING_FIX";
|
|
13
|
+
exports.HUMAN_ERROR = "HUMAN_ERROR";
|
|
14
|
+
exports.NO_LONGER_ACCEPTED_RISK = "NO_LONGER_ACCEPTED_RISK";
|
|
12
15
|
exports.OTHER = "OTHER";
|
|
13
16
|
//# sourceMappingURL=FindingMuteReason.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FindingMuteReason.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FindingMuteReason.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"FindingMuteReason.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/FindingMuteReason.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAiBU,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,uBAAuB,GAAG,yBAAyB,CAAC;AACpD,QAAA,KAAK,GAAG,OAAO,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
|
+
* List of errors.
|
|
9
|
+
*/
|
|
10
|
+
export declare class HTTPCIAppError {
|
|
11
|
+
/**
|
|
12
|
+
* Error message.
|
|
13
|
+
*/
|
|
14
|
+
"detail"?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Error code.
|
|
17
|
+
*/
|
|
18
|
+
"status"?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Error title.
|
|
21
|
+
*/
|
|
22
|
+
"title"?: string;
|
|
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,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.HTTPCIAppError = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* List of errors.
|
|
11
|
+
*/
|
|
12
|
+
class HTTPCIAppError {
|
|
13
|
+
constructor() { }
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
static getAttributeTypeMap() {
|
|
18
|
+
return HTTPCIAppError.attributeTypeMap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.HTTPCIAppError = HTTPCIAppError;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
HTTPCIAppError.attributeTypeMap = {
|
|
26
|
+
detail: {
|
|
27
|
+
baseName: "detail",
|
|
28
|
+
type: "string",
|
|
29
|
+
},
|
|
30
|
+
status: {
|
|
31
|
+
baseName: "status",
|
|
32
|
+
type: "string",
|
|
33
|
+
},
|
|
34
|
+
title: {
|
|
35
|
+
baseName: "title",
|
|
36
|
+
type: "string",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=HTTPCIAppError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPCIAppError.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/HTTPCIAppError.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,cAAc;IA4CzB,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,cAAc,CAAC,gBAAgB,CAAC;IACzC,CAAC;;AA1CH,wCA6CC;AA1BC;;GAEG;AACa,+BAAgB,GAAqB;IACnD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC"}
|