@vendasta/mission-control 3.8.0 → 3.10.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/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/mission-control.interface.mjs +1 -1
- package/esm2020/lib/_internal/mission-control.api.service.mjs +7 -2
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/mission-control.mjs +59 -1
- package/fesm2015/vendasta-mission-control.mjs +64 -1
- package/fesm2015/vendasta-mission-control.mjs.map +1 -1
- package/fesm2020/vendasta-mission-control.mjs +64 -1
- package/fesm2020/vendasta-mission-control.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/mission-control.interface.d.ts +10 -0
- package/lib/_internal/mission-control.api.service.d.ts +3 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/mission-control.d.ts +16 -0
- package/package.json +1 -1
|
@@ -1226,6 +1226,9 @@ class Delivery {
|
|
|
1226
1226
|
if (typeof this.buildId !== 'undefined') {
|
|
1227
1227
|
toReturn['buildId'] = this.buildId;
|
|
1228
1228
|
}
|
|
1229
|
+
if (typeof this.vulnerabilityRiskOverrideReason !== 'undefined') {
|
|
1230
|
+
toReturn['vulnerabilityRiskOverrideReason'] = this.vulnerabilityRiskOverrideReason;
|
|
1231
|
+
}
|
|
1229
1232
|
return toReturn;
|
|
1230
1233
|
}
|
|
1231
1234
|
}
|
|
@@ -1517,6 +1520,61 @@ class GetApplicationLinksResponse {
|
|
|
1517
1520
|
return toReturn;
|
|
1518
1521
|
}
|
|
1519
1522
|
}
|
|
1523
|
+
class GetDeploymentRequest {
|
|
1524
|
+
static fromProto(proto) {
|
|
1525
|
+
let m = new GetDeploymentRequest();
|
|
1526
|
+
m = Object.assign(m, proto);
|
|
1527
|
+
if (proto.environment) {
|
|
1528
|
+
m.environment = enumStringToValue$2(Environment, proto.environment);
|
|
1529
|
+
}
|
|
1530
|
+
return m;
|
|
1531
|
+
}
|
|
1532
|
+
constructor(kwargs) {
|
|
1533
|
+
if (!kwargs) {
|
|
1534
|
+
return;
|
|
1535
|
+
}
|
|
1536
|
+
Object.assign(this, kwargs);
|
|
1537
|
+
}
|
|
1538
|
+
toApiJson() {
|
|
1539
|
+
const toReturn = {};
|
|
1540
|
+
if (typeof this.appId !== 'undefined') {
|
|
1541
|
+
toReturn['appId'] = this.appId;
|
|
1542
|
+
}
|
|
1543
|
+
if (typeof this.environment !== 'undefined') {
|
|
1544
|
+
toReturn['environment'] = this.environment;
|
|
1545
|
+
}
|
|
1546
|
+
if (typeof this.deploymentId !== 'undefined') {
|
|
1547
|
+
toReturn['deploymentId'] = this.deploymentId;
|
|
1548
|
+
}
|
|
1549
|
+
if (typeof this.includeVulnerabilitySnapshot !== 'undefined') {
|
|
1550
|
+
toReturn['includeVulnerabilitySnapshot'] = this.includeVulnerabilitySnapshot;
|
|
1551
|
+
}
|
|
1552
|
+
return toReturn;
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
class GetDeploymentResponse {
|
|
1556
|
+
static fromProto(proto) {
|
|
1557
|
+
let m = new GetDeploymentResponse();
|
|
1558
|
+
m = Object.assign(m, proto);
|
|
1559
|
+
if (proto.deployment) {
|
|
1560
|
+
m.deployment = Deployment.fromProto(proto.deployment);
|
|
1561
|
+
}
|
|
1562
|
+
return m;
|
|
1563
|
+
}
|
|
1564
|
+
constructor(kwargs) {
|
|
1565
|
+
if (!kwargs) {
|
|
1566
|
+
return;
|
|
1567
|
+
}
|
|
1568
|
+
Object.assign(this, kwargs);
|
|
1569
|
+
}
|
|
1570
|
+
toApiJson() {
|
|
1571
|
+
const toReturn = {};
|
|
1572
|
+
if (typeof this.deployment !== 'undefined' && this.deployment !== null) {
|
|
1573
|
+
toReturn['deployment'] = 'toApiJson' in this.deployment ? this.deployment.toApiJson() : this.deployment;
|
|
1574
|
+
}
|
|
1575
|
+
return toReturn;
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1520
1578
|
class GetSecurityVulnerabilitiesRequest {
|
|
1521
1579
|
static fromProto(proto) {
|
|
1522
1580
|
let m = new GetSecurityVulnerabilitiesRequest();
|
|
@@ -2764,6 +2822,11 @@ class MissionControlApiService {
|
|
|
2764
2822
|
return this.http.post(this._host + "/missioncontrol.v2.MissionControl/ListDeployments", request.toApiJson(), this.apiOptions())
|
|
2765
2823
|
.pipe(map(resp => ListDeploymentsResponse.fromProto(resp)));
|
|
2766
2824
|
}
|
|
2825
|
+
getDeployment(r) {
|
|
2826
|
+
const request = (r.toApiJson) ? r : new GetDeploymentRequest(r);
|
|
2827
|
+
return this.http.post(this._host + "/missioncontrol.v2.MissionControl/GetDeployment", request.toApiJson(), this.apiOptions())
|
|
2828
|
+
.pipe(map(resp => GetDeploymentResponse.fromProto(resp)));
|
|
2829
|
+
}
|
|
2767
2830
|
updateDeployment(r) {
|
|
2768
2831
|
const request = (r.toApiJson) ? r : new UpdateDeploymentRequest(r);
|
|
2769
2832
|
return this.http.post(this._host + "/missioncontrol.v2.MissionControl/UpdateDeployment", request.toApiJson(), this.apiOptions())
|
|
@@ -2923,5 +2986,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2923
2986
|
* Generated bundle index. Do not edit.
|
|
2924
2987
|
*/
|
|
2925
2988
|
|
|
2926
|
-
export { Alert, AlertType, AppConfig, AppMetricsApiService, AppType, Application, ApplicationLink, Artifacts, BuildStatus, ChangeFailData, ChangeFailGetMultiRequest, ChangeFailGetMultiResponse, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, DeliveryType, Deployment, DeploymentFrequencyData, DeploymentFrequencyGetMultiRequest, DeploymentFrequencyGetMultiResponse, DeploymentStatus, Environment, Event, EventType, GetApplicationLinksRequest, GetApplicationLinksResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetServiceLevelsRequest, GetUserSettingsRequest, GetUserSettingsRequestV2, GetUserSettingsResponse, GetUserSettingsResponseV2, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, KubernetesController, LeadTime, LeadTimeGetMultiRequest, LeadTimeGetMultiResponse, LeadTimeListRequest, LeadTimeListResponse, LeadTimeSummary, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, MTTRData, MTTRGetMultiRequest, MTTRGetMultiResponse, MissionControlApiService, PagedRequestOptions, PagedResponseMetadata, QueryServiceLevelsRequest, SecurityVulnerability, SendBuildNotificationRequest, ServiceLevel, ServiceLevelsApiService, ServiceLevelsResponse, ServiceReadiness, StatRate, StatRateUnit, StatSnapshot, TimeRange, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest, UpdateUserSettingsRequestV2, UserApiService, UserDeployFrequencyData, UserDeployFrequencyGetMultiRequest, UserDeployFrequencyGetMultiResponse, UserNotifications, UserNotificationsV2, UserSettings, UserSettingsV2, VulnerabilitySeverity, VulnerabilitySnapshot, VulnerabilitySummary };
|
|
2989
|
+
export { Alert, AlertType, AppConfig, AppMetricsApiService, AppType, Application, ApplicationLink, Artifacts, BuildStatus, ChangeFailData, ChangeFailGetMultiRequest, ChangeFailGetMultiResponse, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, DeliveryType, Deployment, DeploymentFrequencyData, DeploymentFrequencyGetMultiRequest, DeploymentFrequencyGetMultiResponse, DeploymentStatus, Environment, Event, EventType, GetApplicationLinksRequest, GetApplicationLinksResponse, GetDeploymentRequest, GetDeploymentResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetServiceLevelsRequest, GetUserSettingsRequest, GetUserSettingsRequestV2, GetUserSettingsResponse, GetUserSettingsResponseV2, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, KubernetesController, LeadTime, LeadTimeGetMultiRequest, LeadTimeGetMultiResponse, LeadTimeListRequest, LeadTimeListResponse, LeadTimeSummary, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, MTTRData, MTTRGetMultiRequest, MTTRGetMultiResponse, MissionControlApiService, PagedRequestOptions, PagedResponseMetadata, QueryServiceLevelsRequest, SecurityVulnerability, SendBuildNotificationRequest, ServiceLevel, ServiceLevelsApiService, ServiceLevelsResponse, ServiceReadiness, StatRate, StatRateUnit, StatSnapshot, TimeRange, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest, UpdateUserSettingsRequestV2, UserApiService, UserDeployFrequencyData, UserDeployFrequencyGetMultiRequest, UserDeployFrequencyGetMultiResponse, UserNotifications, UserNotificationsV2, UserSettings, UserSettingsV2, VulnerabilitySeverity, VulnerabilitySnapshot, VulnerabilitySummary };
|
|
2927
2990
|
//# sourceMappingURL=vendasta-mission-control.mjs.map
|