@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,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 CIAppPipelineEventJobLevel = typeof JOB | UnparsedObject;
|
|
11
|
+
export declare const JOB = "job";
|
|
@@ -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.JOB = void 0;
|
|
9
|
+
exports.JOB = "job";
|
|
10
|
+
//# sourceMappingURL=CIAppPipelineEventJobLevel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventJobLevel.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventJobLevel.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,GAAG,GAAG,KAAK,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 job.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventJobStatus = 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=CIAppPipelineEventJobStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventJobStatus.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventJobStatus.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,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
3
|
+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
4
|
+
* Copyright 2020-Present Datadog, Inc.
|
|
5
|
+
*/
|
|
6
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
7
|
+
/**
|
|
8
|
+
* If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CIAppPipelineEventParentPipeline {
|
|
11
|
+
/**
|
|
12
|
+
* UUID of a pipeline.
|
|
13
|
+
*/
|
|
14
|
+
"id": string;
|
|
15
|
+
/**
|
|
16
|
+
* The URL to look at the pipeline in the CI provider UI.
|
|
17
|
+
*/
|
|
18
|
+
"url"?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
22
|
+
"_unparsed"?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
30
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
31
|
+
constructor();
|
|
32
|
+
}
|
|
@@ -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.CIAppPipelineEventParentPipeline = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
|
|
11
|
+
*/
|
|
12
|
+
class CIAppPipelineEventParentPipeline {
|
|
13
|
+
constructor() { }
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
static getAttributeTypeMap() {
|
|
18
|
+
return CIAppPipelineEventParentPipeline.attributeTypeMap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.CIAppPipelineEventParentPipeline = CIAppPipelineEventParentPipeline;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
CIAppPipelineEventParentPipeline.attributeTypeMap = {
|
|
26
|
+
id: {
|
|
27
|
+
baseName: "id",
|
|
28
|
+
type: "string",
|
|
29
|
+
required: true,
|
|
30
|
+
},
|
|
31
|
+
url: {
|
|
32
|
+
baseName: "url",
|
|
33
|
+
type: "string",
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=CIAppPipelineEventParentPipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventParentPipeline.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,gCAAgC;IAqC3C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,gCAAgC,CAAC,gBAAgB,CAAC;IAC3D,CAAC;;AAnCH,4EAsCC;AAvBC;;GAEG;AACa,iDAAgB,GAAqB;IACnD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,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,117 @@
|
|
|
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 { CIAppPipelineEventParentPipeline } from "./CIAppPipelineEventParentPipeline";
|
|
10
|
+
import { CIAppPipelineEventPipelineLevel } from "./CIAppPipelineEventPipelineLevel";
|
|
11
|
+
import { CIAppPipelineEventPipelineStatus } from "./CIAppPipelineEventPipelineStatus";
|
|
12
|
+
import { CIAppPipelineEventPreviousPipeline } from "./CIAppPipelineEventPreviousPipeline";
|
|
13
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
14
|
+
/**
|
|
15
|
+
* Details of the top level pipeline, build, or workflow of your CI.
|
|
16
|
+
*/
|
|
17
|
+
export declare class CIAppPipelineEventPipeline {
|
|
18
|
+
/**
|
|
19
|
+
* Time when the pipeline run finished. The time format must be RFC3339.
|
|
20
|
+
*/
|
|
21
|
+
"end": Date;
|
|
22
|
+
/**
|
|
23
|
+
* Contains information of the CI error.
|
|
24
|
+
*/
|
|
25
|
+
"error"?: CIAppCIError;
|
|
26
|
+
/**
|
|
27
|
+
* If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
|
|
28
|
+
* Note that either `tag` or `branch` has to be provided, but not both.
|
|
29
|
+
*/
|
|
30
|
+
"git": CIAppGitInfo | null;
|
|
31
|
+
/**
|
|
32
|
+
* Whether or not the pipeline was triggered manually by the user.
|
|
33
|
+
*/
|
|
34
|
+
"isManual"?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether or not the pipeline was resumed after being blocked.
|
|
37
|
+
*/
|
|
38
|
+
"isResumed"?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Used to distinguish between pipelines, stages, jobs, and steps.
|
|
41
|
+
*/
|
|
42
|
+
"level": CIAppPipelineEventPipelineLevel;
|
|
43
|
+
/**
|
|
44
|
+
* A list of user-defined metrics. The metrics must follow the `key:value` pattern and the value must be numeric.
|
|
45
|
+
*/
|
|
46
|
+
"metrics"?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the pipeline. All pipeline runs for the builds should have the same name.
|
|
49
|
+
*/
|
|
50
|
+
"name": string;
|
|
51
|
+
/**
|
|
52
|
+
* Contains information of the host running the pipeline, stage, job, or step.
|
|
53
|
+
*/
|
|
54
|
+
"node"?: CIAppHostInfo;
|
|
55
|
+
/**
|
|
56
|
+
* A map of key-value parameters or environment variables that were defined for the pipeline.
|
|
57
|
+
*/
|
|
58
|
+
"parameters"?: {
|
|
59
|
+
[key: string]: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
|
|
63
|
+
*/
|
|
64
|
+
"parentPipeline"?: CIAppPipelineEventParentPipeline;
|
|
65
|
+
/**
|
|
66
|
+
* Whether or not the pipeline was a partial retry of a previous attempt. A partial retry is one
|
|
67
|
+
* which only runs a subset of the original jobs.
|
|
68
|
+
*/
|
|
69
|
+
"partialRetry": boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Any ID used in the provider to identify the pipeline run even if it is not unique across retries.
|
|
72
|
+
* If the `pipeline_id` is unique, then both `unique_id` and `pipeline_id` can be set to the same value.
|
|
73
|
+
*/
|
|
74
|
+
"pipelineId"?: string;
|
|
75
|
+
/**
|
|
76
|
+
* If the pipeline is a retry, this should contain the details of the previous attempt.
|
|
77
|
+
*/
|
|
78
|
+
"previousAttempt"?: CIAppPipelineEventPreviousPipeline;
|
|
79
|
+
/**
|
|
80
|
+
* The queue time in milliseconds, if applicable.
|
|
81
|
+
*/
|
|
82
|
+
"queueTime"?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Time when the pipeline run started (it should not include any queue time). The time format must be RFC3339.
|
|
85
|
+
*/
|
|
86
|
+
"start": Date;
|
|
87
|
+
/**
|
|
88
|
+
* The final status of the pipeline.
|
|
89
|
+
*/
|
|
90
|
+
"status": CIAppPipelineEventPipelineStatus;
|
|
91
|
+
/**
|
|
92
|
+
* A list of user-defined tags. The tags must follow the `key:value` pattern.
|
|
93
|
+
*/
|
|
94
|
+
"tags"?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
* UUID of the pipeline run. The ID has to be unique across retries and pipelines,
|
|
97
|
+
* including partial retries.
|
|
98
|
+
*/
|
|
99
|
+
"uniqueId": string;
|
|
100
|
+
/**
|
|
101
|
+
* The URL to look at the pipeline in the CI provider UI.
|
|
102
|
+
*/
|
|
103
|
+
"url": string;
|
|
104
|
+
/**
|
|
105
|
+
* @ignore
|
|
106
|
+
*/
|
|
107
|
+
"_unparsed"?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* @ignore
|
|
110
|
+
*/
|
|
111
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
112
|
+
/**
|
|
113
|
+
* @ignore
|
|
114
|
+
*/
|
|
115
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
116
|
+
constructor();
|
|
117
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CIAppPipelineEventPipeline = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Details of the top level pipeline, build, or workflow of your CI.
|
|
6
|
+
*/
|
|
7
|
+
class CIAppPipelineEventPipeline {
|
|
8
|
+
constructor() { }
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
static getAttributeTypeMap() {
|
|
13
|
+
return CIAppPipelineEventPipeline.attributeTypeMap;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CIAppPipelineEventPipeline = CIAppPipelineEventPipeline;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
CIAppPipelineEventPipeline.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
|
+
isManual: {
|
|
37
|
+
baseName: "is_manual",
|
|
38
|
+
type: "boolean",
|
|
39
|
+
},
|
|
40
|
+
isResumed: {
|
|
41
|
+
baseName: "is_resumed",
|
|
42
|
+
type: "boolean",
|
|
43
|
+
},
|
|
44
|
+
level: {
|
|
45
|
+
baseName: "level",
|
|
46
|
+
type: "CIAppPipelineEventPipelineLevel",
|
|
47
|
+
required: true,
|
|
48
|
+
},
|
|
49
|
+
metrics: {
|
|
50
|
+
baseName: "metrics",
|
|
51
|
+
type: "Array<string>",
|
|
52
|
+
},
|
|
53
|
+
name: {
|
|
54
|
+
baseName: "name",
|
|
55
|
+
type: "string",
|
|
56
|
+
required: true,
|
|
57
|
+
},
|
|
58
|
+
node: {
|
|
59
|
+
baseName: "node",
|
|
60
|
+
type: "CIAppHostInfo",
|
|
61
|
+
},
|
|
62
|
+
parameters: {
|
|
63
|
+
baseName: "parameters",
|
|
64
|
+
type: "{ [key: string]: string; }",
|
|
65
|
+
},
|
|
66
|
+
parentPipeline: {
|
|
67
|
+
baseName: "parent_pipeline",
|
|
68
|
+
type: "CIAppPipelineEventParentPipeline",
|
|
69
|
+
},
|
|
70
|
+
partialRetry: {
|
|
71
|
+
baseName: "partial_retry",
|
|
72
|
+
type: "boolean",
|
|
73
|
+
required: true,
|
|
74
|
+
},
|
|
75
|
+
pipelineId: {
|
|
76
|
+
baseName: "pipeline_id",
|
|
77
|
+
type: "string",
|
|
78
|
+
},
|
|
79
|
+
previousAttempt: {
|
|
80
|
+
baseName: "previous_attempt",
|
|
81
|
+
type: "CIAppPipelineEventPreviousPipeline",
|
|
82
|
+
},
|
|
83
|
+
queueTime: {
|
|
84
|
+
baseName: "queue_time",
|
|
85
|
+
type: "number",
|
|
86
|
+
format: "int64",
|
|
87
|
+
},
|
|
88
|
+
start: {
|
|
89
|
+
baseName: "start",
|
|
90
|
+
type: "Date",
|
|
91
|
+
required: true,
|
|
92
|
+
format: "date-time",
|
|
93
|
+
},
|
|
94
|
+
status: {
|
|
95
|
+
baseName: "status",
|
|
96
|
+
type: "CIAppPipelineEventPipelineStatus",
|
|
97
|
+
required: true,
|
|
98
|
+
},
|
|
99
|
+
tags: {
|
|
100
|
+
baseName: "tags",
|
|
101
|
+
type: "Array<string>",
|
|
102
|
+
},
|
|
103
|
+
uniqueId: {
|
|
104
|
+
baseName: "unique_id",
|
|
105
|
+
type: "string",
|
|
106
|
+
required: true,
|
|
107
|
+
},
|
|
108
|
+
url: {
|
|
109
|
+
baseName: "url",
|
|
110
|
+
type: "string",
|
|
111
|
+
required: true,
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=CIAppPipelineEventPipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventPipeline.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.ts"],"names":[],"mappings":";;;AAeA;;GAEG;AACH,MAAa,0BAA0B;IAoMrC,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,0BAA0B,CAAC,gBAAgB,CAAC;IACrD,CAAC;;AAlMH,gEAqMC;AA1GC;;GAEG;AACa,2CAAgB,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,QAAQ,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,SAAS;KAChB;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,SAAS;KAChB;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,iCAAiC;QACvC,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,cAAc,EAAE;QACd,QAAQ,EAAE,iBAAiB;QAC3B,IAAI,EAAE,kCAAkC;KACzC;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,eAAe;QACzB,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,oCAAoC;KAC3C;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,kCAAkC;QACxC,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;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 CIAppPipelineEventPipelineLevel = typeof PIPELINE | UnparsedObject;
|
|
11
|
+
export declare const PIPELINE = "pipeline";
|
|
@@ -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.PIPELINE = void 0;
|
|
9
|
+
exports.PIPELINE = "pipeline";
|
|
10
|
+
//# sourceMappingURL=CIAppPipelineEventPipelineLevel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventPipelineLevel.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineLevel.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AASU,QAAA,QAAQ,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 pipeline.
|
|
9
|
+
*/
|
|
10
|
+
export declare type CIAppPipelineEventPipelineStatus = typeof SUCCESS | typeof ERROR | typeof CANCELED | typeof SKIPPED | typeof BLOCKED | 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";
|
|
15
|
+
export declare const BLOCKED = "blocked";
|
|
@@ -0,0 +1,14 @@
|
|
|
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.BLOCKED = 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
|
+
exports.BLOCKED = "blocked";
|
|
14
|
+
//# sourceMappingURL=CIAppPipelineEventPipelineStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventPipelineStatus.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventPipelineStatus.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAeU,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,QAAQ,GAAG,UAAU,CAAC;AACtB,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,OAAO,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
3
|
+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
4
|
+
* Copyright 2020-Present Datadog, Inc.
|
|
5
|
+
*/
|
|
6
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
7
|
+
/**
|
|
8
|
+
* If the pipeline is a retry, this should contain the details of the previous attempt.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CIAppPipelineEventPreviousPipeline {
|
|
11
|
+
/**
|
|
12
|
+
* UUID of a pipeline.
|
|
13
|
+
*/
|
|
14
|
+
"id": string;
|
|
15
|
+
/**
|
|
16
|
+
* The URL to look at the pipeline in the CI provider UI.
|
|
17
|
+
*/
|
|
18
|
+
"url"?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
22
|
+
"_unparsed"?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
27
|
+
/**
|
|
28
|
+
* @ignore
|
|
29
|
+
*/
|
|
30
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
31
|
+
constructor();
|
|
32
|
+
}
|
|
@@ -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.CIAppPipelineEventPreviousPipeline = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* If the pipeline is a retry, this should contain the details of the previous attempt.
|
|
11
|
+
*/
|
|
12
|
+
class CIAppPipelineEventPreviousPipeline {
|
|
13
|
+
constructor() { }
|
|
14
|
+
/**
|
|
15
|
+
* @ignore
|
|
16
|
+
*/
|
|
17
|
+
static getAttributeTypeMap() {
|
|
18
|
+
return CIAppPipelineEventPreviousPipeline.attributeTypeMap;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.CIAppPipelineEventPreviousPipeline = CIAppPipelineEventPreviousPipeline;
|
|
22
|
+
/**
|
|
23
|
+
* @ignore
|
|
24
|
+
*/
|
|
25
|
+
CIAppPipelineEventPreviousPipeline.attributeTypeMap = {
|
|
26
|
+
id: {
|
|
27
|
+
baseName: "id",
|
|
28
|
+
type: "string",
|
|
29
|
+
required: true,
|
|
30
|
+
},
|
|
31
|
+
url: {
|
|
32
|
+
baseName: "url",
|
|
33
|
+
type: "string",
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=CIAppPipelineEventPreviousPipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CIAppPipelineEventPreviousPipeline.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAIH;;GAEG;AACH,MAAa,kCAAkC;IAqC7C,gBAAsB,CAAC;IAPvB;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACxB,OAAO,kCAAkC,CAAC,gBAAgB,CAAC;IAC7D,CAAC;;AAnCH,gFAsCC;AAvBC;;GAEG;AACa,mDAAgB,GAAqB;IACnD,EAAE,EAAE;QACF,QAAQ,EAAE,IAAI;QACd,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,96 @@
|
|
|
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 { CIAppPipelineEventStageLevel } from "./CIAppPipelineEventStageLevel";
|
|
10
|
+
import { CIAppPipelineEventStageStatus } from "./CIAppPipelineEventStageStatus";
|
|
11
|
+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
|
|
12
|
+
/**
|
|
13
|
+
* Details of a CI stage.
|
|
14
|
+
*/
|
|
15
|
+
export declare class CIAppPipelineEventStage {
|
|
16
|
+
/**
|
|
17
|
+
* A list of stage IDs that this stage depends on.
|
|
18
|
+
*/
|
|
19
|
+
"dependencies"?: Array<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Time when the stage 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
|
+
* UUID for the stage. It has to be unique at least in the pipeline scope.
|
|
35
|
+
*/
|
|
36
|
+
"id": string;
|
|
37
|
+
/**
|
|
38
|
+
* Used to distinguish between pipelines, stages, jobs and steps.
|
|
39
|
+
*/
|
|
40
|
+
"level": CIAppPipelineEventStageLevel;
|
|
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 stage.
|
|
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
|
+
* Time when the stage run started (it should not include any queue time). The time format must be RFC3339.
|
|
73
|
+
*/
|
|
74
|
+
"start": Date;
|
|
75
|
+
/**
|
|
76
|
+
* The final status of the stage.
|
|
77
|
+
*/
|
|
78
|
+
"status": CIAppPipelineEventStageStatus;
|
|
79
|
+
/**
|
|
80
|
+
* A list of user-defined tags. The tags must follow the `key:value` pattern.
|
|
81
|
+
*/
|
|
82
|
+
"tags"?: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
* @ignore
|
|
85
|
+
*/
|
|
86
|
+
"_unparsed"?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @ignore
|
|
89
|
+
*/
|
|
90
|
+
static readonly attributeTypeMap: AttributeTypeMap;
|
|
91
|
+
/**
|
|
92
|
+
* @ignore
|
|
93
|
+
*/
|
|
94
|
+
static getAttributeTypeMap(): AttributeTypeMap;
|
|
95
|
+
constructor();
|
|
96
|
+
}
|