@vendasta/mission-control 3.6.0 → 3.8.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/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/mission-control.enum.mjs +9 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/mission-control.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/mission-control.mjs +77 -1
- package/fesm2015/vendasta-mission-control.mjs +85 -1
- package/fesm2015/vendasta-mission-control.mjs.map +1 -1
- package/fesm2020/vendasta-mission-control.mjs +85 -1
- package/fesm2020/vendasta-mission-control.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/mission-control.enum.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/mission-control.interface.d.ts +16 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/mission-control.d.ts +22 -0
- package/package.json +1 -1
|
@@ -95,6 +95,14 @@ var KubernetesController;
|
|
|
95
95
|
KubernetesController[KubernetesController["KUBERNETES_CONTROLLER_DEPLOYMENT"] = 0] = "KUBERNETES_CONTROLLER_DEPLOYMENT";
|
|
96
96
|
KubernetesController[KubernetesController["KUBERNETES_CONTROLLER_ARGOROLLOUT"] = 1] = "KUBERNETES_CONTROLLER_ARGOROLLOUT";
|
|
97
97
|
})(KubernetesController || (KubernetesController = {}));
|
|
98
|
+
var VulnerabilitySeverity;
|
|
99
|
+
(function (VulnerabilitySeverity) {
|
|
100
|
+
VulnerabilitySeverity[VulnerabilitySeverity["VULNERABILITY_SEVERITY_UNSPECIFIED"] = 0] = "VULNERABILITY_SEVERITY_UNSPECIFIED";
|
|
101
|
+
VulnerabilitySeverity[VulnerabilitySeverity["VULNERABILITY_SEVERITY_LOW"] = 1] = "VULNERABILITY_SEVERITY_LOW";
|
|
102
|
+
VulnerabilitySeverity[VulnerabilitySeverity["VULNERABILITY_SEVERITY_MODERATE"] = 2] = "VULNERABILITY_SEVERITY_MODERATE";
|
|
103
|
+
VulnerabilitySeverity[VulnerabilitySeverity["VULNERABILITY_SEVERITY_HIGH"] = 3] = "VULNERABILITY_SEVERITY_HIGH";
|
|
104
|
+
VulnerabilitySeverity[VulnerabilitySeverity["VULNERABILITY_SEVERITY_CRITICAL"] = 4] = "VULNERABILITY_SEVERITY_CRITICAL";
|
|
105
|
+
})(VulnerabilitySeverity || (VulnerabilitySeverity = {}));
|
|
98
106
|
|
|
99
107
|
// *********************************
|
|
100
108
|
// Code generated by sdkgen
|
|
@@ -866,6 +874,9 @@ class AppConfig {
|
|
|
866
874
|
if (typeof this.deliveryMethods !== 'undefined' && this.deliveryMethods !== null) {
|
|
867
875
|
toReturn['deliveryMethods'] = 'toApiJson' in this.deliveryMethods ? this.deliveryMethods.toApiJson() : this.deliveryMethods;
|
|
868
876
|
}
|
|
877
|
+
if (typeof this.customEnvName !== 'undefined') {
|
|
878
|
+
toReturn['customEnvName'] = this.customEnvName;
|
|
879
|
+
}
|
|
869
880
|
return toReturn;
|
|
870
881
|
}
|
|
871
882
|
}
|
|
@@ -1313,6 +1324,12 @@ class Deployment {
|
|
|
1313
1324
|
if (proto.k8sConfig) {
|
|
1314
1325
|
m.k8sConfig = K8SConfig.fromProto(proto.k8sConfig);
|
|
1315
1326
|
}
|
|
1327
|
+
if (proto.vulnerabilitySummary) {
|
|
1328
|
+
m.vulnerabilitySummary = VulnerabilitySummary.fromProto(proto.vulnerabilitySummary);
|
|
1329
|
+
}
|
|
1330
|
+
if (proto.vulnerabilitySnapshot) {
|
|
1331
|
+
m.vulnerabilitySnapshot = VulnerabilitySnapshot.fromProto(proto.vulnerabilitySnapshot);
|
|
1332
|
+
}
|
|
1316
1333
|
return m;
|
|
1317
1334
|
}
|
|
1318
1335
|
constructor(kwargs) {
|
|
@@ -1374,6 +1391,12 @@ class Deployment {
|
|
|
1374
1391
|
if (typeof this.k8sConfig !== 'undefined' && this.k8sConfig !== null) {
|
|
1375
1392
|
toReturn['k8sConfig'] = 'toApiJson' in this.k8sConfig ? this.k8sConfig.toApiJson() : this.k8sConfig;
|
|
1376
1393
|
}
|
|
1394
|
+
if (typeof this.vulnerabilitySummary !== 'undefined' && this.vulnerabilitySummary !== null) {
|
|
1395
|
+
toReturn['vulnerabilitySummary'] = 'toApiJson' in this.vulnerabilitySummary ? this.vulnerabilitySummary.toApiJson() : this.vulnerabilitySummary;
|
|
1396
|
+
}
|
|
1397
|
+
if (typeof this.vulnerabilitySnapshot !== 'undefined' && this.vulnerabilitySnapshot !== null) {
|
|
1398
|
+
toReturn['vulnerabilitySnapshot'] = 'toApiJson' in this.vulnerabilitySnapshot ? this.vulnerabilitySnapshot.toApiJson() : this.vulnerabilitySnapshot;
|
|
1399
|
+
}
|
|
1377
1400
|
return toReturn;
|
|
1378
1401
|
}
|
|
1379
1402
|
}
|
|
@@ -1896,6 +1919,9 @@ class ListDeploymentsRequest {
|
|
|
1896
1919
|
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
1897
1920
|
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
1898
1921
|
}
|
|
1922
|
+
if (typeof this.includeVulnerabilitySnapshot !== 'undefined') {
|
|
1923
|
+
toReturn['includeVulnerabilitySnapshot'] = this.includeVulnerabilitySnapshot;
|
|
1924
|
+
}
|
|
1899
1925
|
return toReturn;
|
|
1900
1926
|
}
|
|
1901
1927
|
}
|
|
@@ -2262,6 +2288,64 @@ class UserSettings {
|
|
|
2262
2288
|
return toReturn;
|
|
2263
2289
|
}
|
|
2264
2290
|
}
|
|
2291
|
+
class VulnerabilitySnapshot {
|
|
2292
|
+
static fromProto(proto) {
|
|
2293
|
+
let m = new VulnerabilitySnapshot();
|
|
2294
|
+
m = Object.assign(m, proto);
|
|
2295
|
+
return m;
|
|
2296
|
+
}
|
|
2297
|
+
constructor(kwargs) {
|
|
2298
|
+
if (!kwargs) {
|
|
2299
|
+
return;
|
|
2300
|
+
}
|
|
2301
|
+
Object.assign(this, kwargs);
|
|
2302
|
+
}
|
|
2303
|
+
toApiJson() {
|
|
2304
|
+
const toReturn = {};
|
|
2305
|
+
if (typeof this.scannerType !== 'undefined') {
|
|
2306
|
+
toReturn['scannerType'] = this.scannerType;
|
|
2307
|
+
}
|
|
2308
|
+
if (typeof this.scannerVersion !== 'undefined') {
|
|
2309
|
+
toReturn['scannerVersion'] = this.scannerVersion;
|
|
2310
|
+
}
|
|
2311
|
+
if (typeof this.rawReportJson !== 'undefined') {
|
|
2312
|
+
toReturn['rawReportJson'] = this.rawReportJson;
|
|
2313
|
+
}
|
|
2314
|
+
return toReturn;
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
class VulnerabilitySummary {
|
|
2318
|
+
static fromProto(proto) {
|
|
2319
|
+
let m = new VulnerabilitySummary();
|
|
2320
|
+
m = Object.assign(m, proto);
|
|
2321
|
+
return m;
|
|
2322
|
+
}
|
|
2323
|
+
constructor(kwargs) {
|
|
2324
|
+
if (!kwargs) {
|
|
2325
|
+
return;
|
|
2326
|
+
}
|
|
2327
|
+
Object.assign(this, kwargs);
|
|
2328
|
+
}
|
|
2329
|
+
toApiJson() {
|
|
2330
|
+
const toReturn = {};
|
|
2331
|
+
if (typeof this.totalCount !== 'undefined') {
|
|
2332
|
+
toReturn['totalCount'] = this.totalCount;
|
|
2333
|
+
}
|
|
2334
|
+
if (typeof this.criticalCount !== 'undefined') {
|
|
2335
|
+
toReturn['criticalCount'] = this.criticalCount;
|
|
2336
|
+
}
|
|
2337
|
+
if (typeof this.highCount !== 'undefined') {
|
|
2338
|
+
toReturn['highCount'] = this.highCount;
|
|
2339
|
+
}
|
|
2340
|
+
if (typeof this.moderateCount !== 'undefined') {
|
|
2341
|
+
toReturn['moderateCount'] = this.moderateCount;
|
|
2342
|
+
}
|
|
2343
|
+
if (typeof this.lowCount !== 'undefined') {
|
|
2344
|
+
toReturn['lowCount'] = this.lowCount;
|
|
2345
|
+
}
|
|
2346
|
+
return toReturn;
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2265
2349
|
|
|
2266
2350
|
function enumStringToValue$1(enumRef, value) {
|
|
2267
2351
|
if (typeof value === 'number') {
|
|
@@ -2839,5 +2923,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2839
2923
|
* Generated bundle index. Do not edit.
|
|
2840
2924
|
*/
|
|
2841
2925
|
|
|
2842
|
-
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 };
|
|
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 };
|
|
2843
2927
|
//# sourceMappingURL=vendasta-mission-control.mjs.map
|