@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
package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.d.ts
ADDED
|
@@ -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 { CIAppCreatePipelineEventRequestAttributesResource } from "./CIAppCreatePipelineEventRequestAttributesResource";
|
|
7
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
8
|
+
/**
|
|
9
|
+
* Attributes of the pipeline event to create.
|
|
10
|
+
*/
|
|
11
|
+
export declare class CIAppCreatePipelineEventRequestAttributes {
|
|
12
|
+
/**
|
|
13
|
+
* The Datadog environment.
|
|
14
|
+
*/
|
|
15
|
+
"env"?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Details of the CI pipeline event.
|
|
18
|
+
*/
|
|
19
|
+
"resource": CIAppCreatePipelineEventRequestAttributesResource;
|
|
20
|
+
/**
|
|
21
|
+
* If the CI provider is SaaS, use this to differentiate between instances.
|
|
22
|
+
*/
|
|
23
|
+
"service"?: string;
|
|
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
|
+
}
|
package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppCreatePipelineEventRequestAttributes = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Attributes of the pipeline event to create.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppCreatePipelineEventRequestAttributes {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppCreatePipelineEventRequestAttributes.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppCreatePipelineEventRequestAttributes = CIAppCreatePipelineEventRequestAttributes;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppCreatePipelineEventRequestAttributes.attributeTypeMap = {
|
|
21
|
+
env: {
|
|
22
|
+
baseName: "env",
|
|
23
|
+
type: "string",
|
|
24
|
+
},
|
|
25
|
+
resource: {
|
|
26
|
+
baseName: "resource",
|
|
27
|
+
type: "CIAppCreatePipelineEventRequestAttributesResource",
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
service: {
|
|
31
|
+
baseName: "service",
|
|
32
|
+
type: "string",
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=CIAppCreatePipelineEventRequestAttributes.js.map
|
package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppCreatePipelineEventRequestAttributes.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.ts"],"names":[],"mappings":";;;AASA;;GAEG;AACH,MAAa,yCAAyC;IA6CpD,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,yCAAyC,CAAC,gBAAgB,CAAC;IACpE,CAAC;;AA3CH,8FA8CC;AA3BC;;GAEG;AACa,0DAAgB,GAAqB;IACnD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;KACf;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,mDAAmD;QACzD,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;KACf;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 { CIAppPipelineEventJob } from "./CIAppPipelineEventJob";
|
|
7
|
+
import { CIAppPipelineEventPipeline } from "./CIAppPipelineEventPipeline";
|
|
8
|
+
import { CIAppPipelineEventStage } from "./CIAppPipelineEventStage";
|
|
9
|
+
import { CIAppPipelineEventStep } from "./CIAppPipelineEventStep";
|
|
10
|
+
import { UnparsedObject } from "../../datadog-api-client-common/util";
|
|
11
|
+
/**
|
|
12
|
+
* Details of the CI pipeline event.
|
|
13
|
+
*/
|
|
14
|
+
export declare type CIAppCreatePipelineEventRequestAttributesResource = CIAppPipelineEventPipeline | CIAppPipelineEventStage | CIAppPipelineEventJob | CIAppPipelineEventStep | UnparsedObject;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppCreatePipelineEventRequestAttributesResource.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributesResource.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { CIAppCreatePipelineEventRequestAttributes } from "./CIAppCreatePipelineEventRequestAttributes";
|
|
7
|
+
import { CIAppCreatePipelineEventRequestDataType } from "./CIAppCreatePipelineEventRequestDataType";
|
|
8
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
9
|
+
/**
|
|
10
|
+
* Data of the pipeline event to create.
|
|
11
|
+
*/
|
|
12
|
+
export declare class CIAppCreatePipelineEventRequestData {
|
|
13
|
+
/**
|
|
14
|
+
* Attributes of the pipeline event to create.
|
|
15
|
+
*/
|
|
16
|
+
"attributes"?: CIAppCreatePipelineEventRequestAttributes;
|
|
17
|
+
/**
|
|
18
|
+
* Type of the event.
|
|
19
|
+
*/
|
|
20
|
+
"type"?: CIAppCreatePipelineEventRequestDataType;
|
|
21
|
+
/**
|
|
22
|
+
* @ignore
|
|
23
|
+
*/
|
|
24
|
+
"_unparsed"?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @ignore
|
|
27
|
+
*/
|
|
28
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
29
|
+
/**
|
|
30
|
+
* @ignore
|
|
31
|
+
*/
|
|
32
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
33
|
+
constructor();
|
|
34
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppCreatePipelineEventRequestData = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Data of the pipeline event to create.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppCreatePipelineEventRequestData {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppCreatePipelineEventRequestData.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppCreatePipelineEventRequestData = CIAppCreatePipelineEventRequestData;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppCreatePipelineEventRequestData.attributeTypeMap = {
|
|
21
|
+
attributes: {
|
|
22
|
+
baseName: "attributes",
|
|
23
|
+
type: "CIAppCreatePipelineEventRequestAttributes",
|
|
24
|
+
},
|
|
25
|
+
type: {
|
|
26
|
+
baseName: "type",
|
|
27
|
+
type: "CIAppCreatePipelineEventRequestDataType",
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=CIAppCreatePipelineEventRequestData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppCreatePipelineEventRequestData.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACH,MAAa,mCAAmC;IAoC9C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,mCAAmC,CAAC,gBAAgB,CAAC;IAC9D,CAAC;;AAlCH,kFAqCC;AAtBC;;GAEG;AACa,oDAAgB,GAAqB;IACnD,UAAU,EAAE;QACV,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,2CAA2C;KAClD;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,yCAAyC;KAChD;CACF,CAAC"}
|
package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.d.ts
ADDED
|
@@ -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
|
+
* Type of the event.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppCreatePipelineEventRequestDataType = typeof CIPIPELINE_RESOURCE_REQUEST | UnparsedObject;
|
|
11
|
+
export declare const CIPIPELINE_RESOURCE_REQUEST = "cipipeline_resource_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.CIPIPELINE_RESOURCE_REQUEST = void 0;
|
|
9
|
+
exports.CIPIPELINE_RESOURCE_REQUEST = "cipipeline_resource_request";
|
|
10
|
+
//# sourceMappingURL=CIAppCreatePipelineEventRequestDataType.js.map
|
package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppCreatePipelineEventRequestDataType.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestDataType.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAWU,QAAA,2BAA2B,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
* If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
|
|
9
|
+
* Note that either `tag` or `branch` has to be provided, but not both.
|
|
10
|
+
*/
|
|
11
|
+
export declare class CIAppGitInfo {
|
|
12
|
+
/**
|
|
13
|
+
* The commit author email.
|
|
14
|
+
*/
|
|
15
|
+
"authorEmail": string;
|
|
16
|
+
/**
|
|
17
|
+
* The commit author name.
|
|
18
|
+
*/
|
|
19
|
+
"authorName"?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The commit author timestamp in RFC3339 format.
|
|
22
|
+
*/
|
|
23
|
+
"authorTime"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The branch name (if a tag use the tag parameter).
|
|
26
|
+
*/
|
|
27
|
+
"branch"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The commit timestamp in RFC3339 format.
|
|
30
|
+
*/
|
|
31
|
+
"commitTime"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The committer email.
|
|
34
|
+
*/
|
|
35
|
+
"committerEmail"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The committer name.
|
|
38
|
+
*/
|
|
39
|
+
"committerName"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The Git repository's default branch.
|
|
42
|
+
*/
|
|
43
|
+
"defaultBranch"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The commit message.
|
|
46
|
+
*/
|
|
47
|
+
"message"?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The URL of the repository.
|
|
50
|
+
*/
|
|
51
|
+
"repositoryUrl": string;
|
|
52
|
+
/**
|
|
53
|
+
* The git commit SHA.
|
|
54
|
+
*/
|
|
55
|
+
"sha": string;
|
|
56
|
+
/**
|
|
57
|
+
* The tag name (if a branch use the branch parameter).
|
|
58
|
+
*/
|
|
59
|
+
"tag"?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
63
|
+
"_unparsed"?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @ignore
|
|
66
|
+
*/
|
|
67
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
68
|
+
/**
|
|
69
|
+
* @ignore
|
|
70
|
+
*/
|
|
71
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
72
|
+
constructor();
|
|
73
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.CIAppGitInfo = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
|
|
11
|
+
* Note that either `tag` or `branch` has to be provided, but not both.
|
|
12
|
+
*/
|
|
13
|
+
class CIAppGitInfo {
|
|
14
|
+
constructor() { }
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
18
|
+
static getAttributeTypeMap() {
|
|
19
|
+
return CIAppGitInfo.attributeTypeMap;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.CIAppGitInfo = CIAppGitInfo;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
CIAppGitInfo.attributeTypeMap = {
|
|
27
|
+
authorEmail: {
|
|
28
|
+
baseName: "author_email",
|
|
29
|
+
type: "string",
|
|
30
|
+
required: true,
|
|
31
|
+
format: "email",
|
|
32
|
+
},
|
|
33
|
+
authorName: {
|
|
34
|
+
baseName: "author_name",
|
|
35
|
+
type: "string",
|
|
36
|
+
},
|
|
37
|
+
authorTime: {
|
|
38
|
+
baseName: "author_time",
|
|
39
|
+
type: "string",
|
|
40
|
+
},
|
|
41
|
+
branch: {
|
|
42
|
+
baseName: "branch",
|
|
43
|
+
type: "string",
|
|
44
|
+
},
|
|
45
|
+
commitTime: {
|
|
46
|
+
baseName: "commit_time",
|
|
47
|
+
type: "string",
|
|
48
|
+
},
|
|
49
|
+
committerEmail: {
|
|
50
|
+
baseName: "committer_email",
|
|
51
|
+
type: "string",
|
|
52
|
+
format: "email",
|
|
53
|
+
},
|
|
54
|
+
committerName: {
|
|
55
|
+
baseName: "committer_name",
|
|
56
|
+
type: "string",
|
|
57
|
+
},
|
|
58
|
+
defaultBranch: {
|
|
59
|
+
baseName: "default_branch",
|
|
60
|
+
type: "string",
|
|
61
|
+
},
|
|
62
|
+
message: {
|
|
63
|
+
baseName: "message",
|
|
64
|
+
type: "string",
|
|
65
|
+
},
|
|
66
|
+
repositoryUrl: {
|
|
67
|
+
baseName: "repository_url",
|
|
68
|
+
type: "string",
|
|
69
|
+
required: true,
|
|
70
|
+
},
|
|
71
|
+
sha: {
|
|
72
|
+
baseName: "sha",
|
|
73
|
+
type: "string",
|
|
74
|
+
required: true,
|
|
75
|
+
},
|
|
76
|
+
tag: {
|
|
77
|
+
baseName: "tag",
|
|
78
|
+
type: "string",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=CIAppGitInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppGitInfo.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppGitInfo.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;;GAGG;AACH,MAAa,YAAY;IAyHvB,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACvC,CAAC;;AAvHH,oCA0HC;AAnEC;;GAEG;AACa,6BAAgB,GAAqB;IACnD,WAAW,EAAE;QACX,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,OAAO;KAChB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,cAAc,EAAE;QACd,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,aAAa,EAAE;QACb,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,QAAQ;KACf;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;KACf;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;KACf;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
|
+
* Contains information of the host running the pipeline, stage, job, or step.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CIAppHostInfo {
|
|
11
|
+
/**
|
|
12
|
+
* FQDN of the host.
|
|
13
|
+
*/
|
|
14
|
+
"hostname"?: string;
|
|
15
|
+
/**
|
|
16
|
+
* A list of labels used to select or identify the node.
|
|
17
|
+
*/
|
|
18
|
+
"labels"?: Array<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Name for the host.
|
|
21
|
+
*/
|
|
22
|
+
"name"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The path where the code is checked out.
|
|
25
|
+
*/
|
|
26
|
+
"workspace"?: string;
|
|
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,43 @@
|
|
|
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.CIAppHostInfo = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* Contains information of the host running the pipeline, stage, job, or step.
|
|
11
|
+
*/
|
|
12
|
+
class CIAppHostInfo {
|
|
13
|
+
constructor() { }
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
static getAttributeTypeMap() {
|
|
18
|
+
return CIAppHostInfo.attributeTypeMap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.CIAppHostInfo = CIAppHostInfo;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
CIAppHostInfo.attributeTypeMap = {
|
|
26
|
+
hostname: {
|
|
27
|
+
baseName: "hostname",
|
|
28
|
+
type: "string",
|
|
29
|
+
},
|
|
30
|
+
labels: {
|
|
31
|
+
baseName: "labels",
|
|
32
|
+
type: "Array<string>",
|
|
33
|
+
},
|
|
34
|
+
name: {
|
|
35
|
+
baseName: "name",
|
|
36
|
+
type: "string",
|
|
37
|
+
},
|
|
38
|
+
workspace: {
|
|
39
|
+
baseName: "workspace",
|
|
40
|
+
type: "string",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=CIAppHostInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppHostInfo.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppHostInfo.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,aAAa;IAoDxB,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,aAAa,CAAC,gBAAgB,CAAC;IACxC,CAAC;;AAlDH,sCAqDC;AA9BC;;GAEG;AACa,8BAAgB,GAAqB;IACnD,QAAQ,EAAE;QACR,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,eAAe;KACtB;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;KACf;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,QAAQ;KACf;CACF,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 { CIAppPipelineEventJobLevel } from "./CIAppPipelineEventJobLevel";
|
|
10
|
+
import { CIAppPipelineEventJobStatus } from "./CIAppPipelineEventJobStatus";
|
|
11
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
12
|
+
/**
|
|
13
|
+
* Details of a CI job.
|
|
14
|
+
*/
|
|
15
|
+
export declare class CIAppPipelineEventJob {
|
|
16
|
+
/**
|
|
17
|
+
* A list of job IDs that this job depends on.
|
|
18
|
+
*/
|
|
19
|
+
"dependencies"?: Array<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Time when the job run finished. The time format must be RFC3339.
|
|
22
|
+
*/
|
|
23
|
+
"end": Date;
|
|
24
|
+
/**
|
|
25
|
+
* Contains information of the CI error.
|
|
26
|
+
*/
|
|
27
|
+
"error"?: CIAppCIError;
|
|
28
|
+
/**
|
|
29
|
+
* If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
|
|
30
|
+
* Note that either `tag` or `branch` has to be provided, but not both.
|
|
31
|
+
*/
|
|
32
|
+
"git": CIAppGitInfo | null;
|
|
33
|
+
/**
|
|
34
|
+
* The UUID for the job. It has to be unique within each pipeline execution.
|
|
35
|
+
*/
|
|
36
|
+
"id": string;
|
|
37
|
+
/**
|
|
38
|
+
* Used to distinguish between pipelines, stages, jobs, and steps.
|
|
39
|
+
*/
|
|
40
|
+
"level": CIAppPipelineEventJobLevel;
|
|
41
|
+
/**
|
|
42
|
+
* A list of user-defined metrics. The metrics must follow the `key:value` pattern and the value must be numeric.
|
|
43
|
+
*/
|
|
44
|
+
"metrics"?: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The name for the job.
|
|
47
|
+
*/
|
|
48
|
+
"name": string;
|
|
49
|
+
/**
|
|
50
|
+
* Contains information of the host running the pipeline, stage, job, or step.
|
|
51
|
+
*/
|
|
52
|
+
"node"?: CIAppHostInfo;
|
|
53
|
+
/**
|
|
54
|
+
* A map of key-value parameters or environment variables that were defined for the pipeline.
|
|
55
|
+
*/
|
|
56
|
+
"parameters"?: {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* The parent pipeline name.
|
|
61
|
+
*/
|
|
62
|
+
"pipelineName": string;
|
|
63
|
+
/**
|
|
64
|
+
* The parent pipeline UUID.
|
|
65
|
+
*/
|
|
66
|
+
"pipelineUniqueId": string;
|
|
67
|
+
/**
|
|
68
|
+
* The queue time in milliseconds, if applicable.
|
|
69
|
+
*/
|
|
70
|
+
"queueTime"?: number;
|
|
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 job run instance started (it should not include any queue time). The time format must be RFC3339.
|
|
81
|
+
*/
|
|
82
|
+
"start": Date;
|
|
83
|
+
/**
|
|
84
|
+
* The final status of the job.
|
|
85
|
+
*/
|
|
86
|
+
"status": CIAppPipelineEventJobStatus;
|
|
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 job 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,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppPipelineEventJob = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Details of a CI job.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppPipelineEventJob {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppPipelineEventJob.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppPipelineEventJob = CIAppPipelineEventJob;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppPipelineEventJob.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: "CIAppPipelineEventJobLevel",
|
|
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
|
+
stageId: {
|
|
83
|
+
baseName: "stage_id",
|
|
84
|
+
type: "string",
|
|
85
|
+
},
|
|
86
|
+
stageName: {
|
|
87
|
+
baseName: "stage_name",
|
|
88
|
+
type: "string",
|
|
89
|
+
},
|
|
90
|
+
start: {
|
|
91
|
+
baseName: "start",
|
|
92
|
+
type: "Date",
|
|
93
|
+
required: true,
|
|
94
|
+
format: "date-time",
|
|
95
|
+
},
|
|
96
|
+
status: {
|
|
97
|
+
baseName: "status",
|
|
98
|
+
type: "CIAppPipelineEventJobStatus",
|
|
99
|
+
required: true,
|
|
100
|
+
},
|
|
101
|
+
tags: {
|
|
102
|
+
baseName: "tags",
|
|
103
|
+
type: "Array<string>",
|
|
104
|
+
},
|
|
105
|
+
url: {
|
|
106
|
+
baseName: "url",
|
|
107
|
+
type: "string",
|
|
108
|
+
required: true,
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=CIAppPipelineEventJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventJob.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventJob.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,qBAAqB;IA0LhC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,qBAAqB,CAAC,gBAAgB,CAAC;IAChD,CAAC;;AAxLH,sDA2LC;AAvGC;;GAEG;AACa,sCAAgB,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,4BAA4B;QAClC,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,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,6BAA6B;QACnC,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;QACd,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
|