@vendasta/mission-control 3.5.0 → 3.7.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/app-metrics.api.service.mjs +7 -8
- 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 +13 -9
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/mission-control.mjs +79 -1
- package/esm2020/lib/_internal/service-levels.api.service.mjs +7 -8
- package/esm2020/lib/_internal/user.api.service.mjs +7 -8
- package/fesm2015/vendasta-mission-control.mjs +106 -24
- package/fesm2015/vendasta-mission-control.mjs.map +1 -1
- package/fesm2020/vendasta-mission-control.mjs +106 -24
- package/fesm2020/vendasta-mission-control.mjs.map +1 -1
- package/lib/_internal/app-metrics.api.service.d.ts +2 -5
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/mission-control.interface.d.ts +13 -0
- package/lib/_internal/mission-control.api.service.d.ts +6 -7
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/mission-control.d.ts +22 -0
- package/lib/_internal/service-levels.api.service.d.ts +3 -5
- package/lib/_internal/user.api.service.d.ts +3 -5
- package/package.json +1 -1
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { ChangeFailGetMultiRequest, ChangeFailGetMultiResponse, DeploymentFrequencyGetMultiRequest, DeploymentFrequencyGetMultiResponse, LeadTimeGetMultiRequest, LeadTimeGetMultiResponse, LeadTimeListRequest, LeadTimeListResponse, MTTRGetMultiRequest, MTTRGetMultiResponse, UserDeployFrequencyGetMultiRequest, UserDeployFrequencyGetMultiResponse } from './objects/';
|
|
2
2
|
import { ChangeFailGetMultiRequestInterface, DeploymentFrequencyGetMultiRequestInterface, LeadTimeGetMultiRequestInterface, LeadTimeListRequestInterface, MTTRGetMultiRequestInterface, UserDeployFrequencyGetMultiRequestInterface } from './interfaces/';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import { HostService } from '../_generated/host.service';
|
|
5
3
|
import { Observable } from 'rxjs';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class AppMetricsApiService {
|
|
8
|
-
private
|
|
9
|
-
private
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
10
8
|
private _host;
|
|
11
|
-
constructor(http: HttpClient, hostService: HostService);
|
|
12
9
|
private apiOptions;
|
|
13
10
|
deploymentFrequencyGetMulti(r: DeploymentFrequencyGetMultiRequest | DeploymentFrequencyGetMultiRequestInterface): Observable<DeploymentFrequencyGetMultiResponse>;
|
|
14
11
|
userDeployFrequencyGetMulti(r: UserDeployFrequencyGetMultiRequest | UserDeployFrequencyGetMultiRequestInterface): Observable<UserDeployFrequencyGetMultiResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './shared-const.interface';
|
|
2
2
|
export { ChangeFailDataInterface, ChangeFailGetMultiRequestInterface, ChangeFailGetMultiResponseInterface, DeploymentFrequencyDataInterface, DeploymentFrequencyGetMultiRequestInterface, DeploymentFrequencyGetMultiResponseInterface, LeadTimeInterface, LeadTimeGetMultiRequestInterface, LeadTimeGetMultiResponseInterface, LeadTimeListRequestInterface, LeadTimeListResponseInterface, LeadTimeSummaryInterface, MTTRDataInterface, MTTRGetMultiRequestInterface, MTTRGetMultiResponseInterface, StatRateInterface, StatSnapshotInterface, UserDeployFrequencyDataInterface, UserDeployFrequencyGetMultiRequestInterface, UserDeployFrequencyGetMultiResponseInterface, } from './app-metrics.interface';
|
|
3
|
-
export { AlertInterface, AppConfigInterface, ApplicationInterface, ArtifactsInterface, CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeliveryResponseInterface, CreateDeploymentRequestInterface, CreateDeploymentResponseInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, DeliveryInterface, DeliveryLockInterface, DeliveryMethodInterface, DeploymentInterface, EventInterface, GetSecurityVulnerabilitiesRequestInterface, GetSecurityVulnerabilitiesResponseInterface, GetUserSettingsRequestInterface, GetUserSettingsResponseInterface, GetZonesRequestInterface, GetZonesResponseInterface, GitCommitDetailsInterface, GithubCommitUserInterface, K8SConfigInterface, ListApplicationsRequestInterface, ListApplicationsResponseInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeliveriesResponseInterface, ListDeploymentsRequestInterface, ListDeploymentsResponseInterface, ListEventsRequestInterface, ListEventsResponseInterface, SecurityVulnerabilityInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateDeploymentResponseInterface, UpdateUserSettingsRequestInterface, UserNotificationsInterface, UserSettingsInterface, } from './mission-control.interface';
|
|
3
|
+
export { AlertInterface, AppConfigInterface, ApplicationInterface, ApplicationLinkInterface, ArtifactsInterface, CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeliveryResponseInterface, CreateDeploymentRequestInterface, CreateDeploymentResponseInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, DeliveryInterface, DeliveryLockInterface, DeliveryMethodInterface, DeploymentInterface, EventInterface, GetApplicationLinksRequestInterface, GetApplicationLinksResponseInterface, GetSecurityVulnerabilitiesRequestInterface, GetSecurityVulnerabilitiesResponseInterface, GetUserSettingsRequestInterface, GetUserSettingsResponseInterface, GetZonesRequestInterface, GetZonesResponseInterface, GitCommitDetailsInterface, GithubCommitUserInterface, K8SConfigInterface, ListApplicationsRequestInterface, ListApplicationsResponseInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeliveriesResponseInterface, ListDeploymentsRequestInterface, ListDeploymentsResponseInterface, ListEventsRequestInterface, ListEventsResponseInterface, SecurityVulnerabilityInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateDeploymentResponseInterface, UpdateUserSettingsRequestInterface, UserNotificationsInterface, UserSettingsInterface, } from './mission-control.interface';
|
|
4
4
|
export { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface, ServiceLevelsResponseInterface, } from './service-level.interface';
|
|
5
5
|
export { GetUserSettingsRequestV2Interface, GetUserSettingsResponseV2Interface, UpdateUserSettingsRequestV2Interface, UserNotificationsV2Interface, UserSettingsV2Interface, } from './user.interface';
|
|
@@ -8,6 +8,7 @@ export interface AppConfigInterface {
|
|
|
8
8
|
appengineProjectId?: string;
|
|
9
9
|
entryUrlTemplate?: string;
|
|
10
10
|
deliveryMethods?: DeliveryMethodInterface[];
|
|
11
|
+
customEnvName?: string;
|
|
11
12
|
}
|
|
12
13
|
export interface ApplicationInterface {
|
|
13
14
|
appId?: string;
|
|
@@ -23,6 +24,11 @@ export interface ApplicationInterface {
|
|
|
23
24
|
appRoot?: string;
|
|
24
25
|
defaultBranch?: string;
|
|
25
26
|
}
|
|
27
|
+
export interface ApplicationLinkInterface {
|
|
28
|
+
buttonText?: string;
|
|
29
|
+
url?: string;
|
|
30
|
+
collapsed?: boolean;
|
|
31
|
+
}
|
|
26
32
|
export interface ArtifactsInterface {
|
|
27
33
|
gcsBucket?: string;
|
|
28
34
|
image?: string;
|
|
@@ -114,6 +120,13 @@ export interface EventInterface {
|
|
|
114
120
|
triggerName?: string;
|
|
115
121
|
buildLogUrl?: string;
|
|
116
122
|
}
|
|
123
|
+
export interface GetApplicationLinksRequestInterface {
|
|
124
|
+
applicationId?: string;
|
|
125
|
+
environment?: e.Environment;
|
|
126
|
+
}
|
|
127
|
+
export interface GetApplicationLinksResponseInterface {
|
|
128
|
+
links?: ApplicationLinkInterface[];
|
|
129
|
+
}
|
|
117
130
|
export interface GetSecurityVulnerabilitiesRequestInterface {
|
|
118
131
|
applicationId?: string;
|
|
119
132
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest } from './objects/';
|
|
2
|
-
import { CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeploymentRequestInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, GetSecurityVulnerabilitiesRequestInterface, GetUserSettingsRequestInterface, GetZonesRequestInterface, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
|
|
3
|
-
import {
|
|
4
|
-
import { HostService } from '../_generated/host.service';
|
|
1
|
+
import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetApplicationLinksRequest, GetApplicationLinksResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest } from './objects/';
|
|
2
|
+
import { CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeploymentRequestInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, GetApplicationLinksRequestInterface, GetSecurityVulnerabilitiesRequestInterface, GetUserSettingsRequestInterface, GetZonesRequestInterface, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class MissionControlApiService {
|
|
8
|
-
private
|
|
9
|
-
private
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
10
9
|
private _host;
|
|
11
|
-
constructor(http: HttpClient, hostService: HostService);
|
|
12
10
|
private apiOptions;
|
|
13
11
|
createApplication(r: CreateApplicationRequest | CreateApplicationRequestInterface): Observable<HttpResponse<null>>;
|
|
14
12
|
listApplications(r: ListApplicationsRequest | ListApplicationsRequestInterface): Observable<ListApplicationsResponse>;
|
|
@@ -28,6 +26,7 @@ export declare class MissionControlApiService {
|
|
|
28
26
|
sendBuildNotification(r: SendBuildNotificationRequest | SendBuildNotificationRequestInterface): Observable<HttpResponse<null>>;
|
|
29
27
|
getZones(r: GetZonesRequest | GetZonesRequestInterface): Observable<GetZonesResponse>;
|
|
30
28
|
getSecurityVulnerabilities(r: GetSecurityVulnerabilitiesRequest | GetSecurityVulnerabilitiesRequestInterface): Observable<GetSecurityVulnerabilitiesResponse>;
|
|
29
|
+
getApplicationLinks(r: GetApplicationLinksRequest | GetApplicationLinksRequestInterface): Observable<GetApplicationLinksResponse>;
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MissionControlApiService, never>;
|
|
32
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<MissionControlApiService>;
|
|
33
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './shared-const';
|
|
2
2
|
export { ChangeFailData, ChangeFailGetMultiRequest, ChangeFailGetMultiResponse, DeploymentFrequencyData, DeploymentFrequencyGetMultiRequest, DeploymentFrequencyGetMultiResponse, LeadTime, LeadTimeGetMultiRequest, LeadTimeGetMultiResponse, LeadTimeListRequest, LeadTimeListResponse, LeadTimeSummary, MTTRData, MTTRGetMultiRequest, MTTRGetMultiResponse, StatRate, StatSnapshot, UserDeployFrequencyData, UserDeployFrequencyGetMultiRequest, UserDeployFrequencyGetMultiResponse, } from './app-metrics';
|
|
3
|
-
export { Alert, AppConfig, Application, Artifacts, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, Deployment, Event, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SecurityVulnerability, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest, UserNotifications, UserSettings, } from './mission-control';
|
|
3
|
+
export { Alert, AppConfig, Application, ApplicationLink, Artifacts, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, Deployment, Event, GetApplicationLinksRequest, GetApplicationLinksResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SecurityVulnerability, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest, UserNotifications, UserSettings, } from './mission-control';
|
|
4
4
|
export { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse, } from './service-level';
|
|
5
5
|
export { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2, UserNotificationsV2, UserSettingsV2, } from './user';
|
|
@@ -13,6 +13,7 @@ export declare class AppConfig implements i.AppConfigInterface {
|
|
|
13
13
|
appengineProjectId: string;
|
|
14
14
|
entryUrlTemplate: string;
|
|
15
15
|
deliveryMethods: DeliveryMethod[];
|
|
16
|
+
customEnvName: string;
|
|
16
17
|
static fromProto(proto: any): AppConfig;
|
|
17
18
|
constructor(kwargs?: i.AppConfigInterface);
|
|
18
19
|
toApiJson(): object;
|
|
@@ -34,6 +35,14 @@ export declare class Application implements i.ApplicationInterface {
|
|
|
34
35
|
constructor(kwargs?: i.ApplicationInterface);
|
|
35
36
|
toApiJson(): object;
|
|
36
37
|
}
|
|
38
|
+
export declare class ApplicationLink implements i.ApplicationLinkInterface {
|
|
39
|
+
buttonText: string;
|
|
40
|
+
url: string;
|
|
41
|
+
collapsed: boolean;
|
|
42
|
+
static fromProto(proto: any): ApplicationLink;
|
|
43
|
+
constructor(kwargs?: i.ApplicationLinkInterface);
|
|
44
|
+
toApiJson(): object;
|
|
45
|
+
}
|
|
37
46
|
export declare class Artifacts implements i.ArtifactsInterface {
|
|
38
47
|
gcsBucket: string;
|
|
39
48
|
image: string;
|
|
@@ -164,6 +173,19 @@ export declare class Event implements i.EventInterface {
|
|
|
164
173
|
constructor(kwargs?: i.EventInterface);
|
|
165
174
|
toApiJson(): object;
|
|
166
175
|
}
|
|
176
|
+
export declare class GetApplicationLinksRequest implements i.GetApplicationLinksRequestInterface {
|
|
177
|
+
applicationId: string;
|
|
178
|
+
environment: e.Environment;
|
|
179
|
+
static fromProto(proto: any): GetApplicationLinksRequest;
|
|
180
|
+
constructor(kwargs?: i.GetApplicationLinksRequestInterface);
|
|
181
|
+
toApiJson(): object;
|
|
182
|
+
}
|
|
183
|
+
export declare class GetApplicationLinksResponse implements i.GetApplicationLinksResponseInterface {
|
|
184
|
+
links: ApplicationLink[];
|
|
185
|
+
static fromProto(proto: any): GetApplicationLinksResponse;
|
|
186
|
+
constructor(kwargs?: i.GetApplicationLinksResponseInterface);
|
|
187
|
+
toApiJson(): object;
|
|
188
|
+
}
|
|
167
189
|
export declare class GetSecurityVulnerabilitiesRequest implements i.GetSecurityVulnerabilitiesRequestInterface {
|
|
168
190
|
applicationId: string;
|
|
169
191
|
static fromProto(proto: any): GetSecurityVulnerabilitiesRequest;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse } from './objects/';
|
|
2
2
|
import { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface } from './interfaces/';
|
|
3
|
-
import {
|
|
4
|
-
import { HostService } from '../_generated/host.service';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class ServiceLevelsApiService {
|
|
8
|
-
private
|
|
9
|
-
private
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
10
9
|
private _host;
|
|
11
|
-
constructor(http: HttpClient, hostService: HostService);
|
|
12
10
|
private apiOptions;
|
|
13
11
|
get(r: GetServiceLevelsRequest | GetServiceLevelsRequestInterface): Observable<ServiceLevelsResponse>;
|
|
14
12
|
query(r: QueryServiceLevelsRequest | QueryServiceLevelsRequestInterface): Observable<ServiceLevelsResponse>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2 } from './objects/';
|
|
2
2
|
import { GetUserSettingsRequestV2Interface, UpdateUserSettingsRequestV2Interface } from './interfaces/';
|
|
3
|
-
import {
|
|
4
|
-
import { HostService } from '../_generated/host.service';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class UserApiService {
|
|
8
|
-
private
|
|
9
|
-
private
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
10
9
|
private _host;
|
|
11
|
-
constructor(http: HttpClient, hostService: HostService);
|
|
12
10
|
private apiOptions;
|
|
13
11
|
updateUserSettings(r: UpdateUserSettingsRequestV2 | UpdateUserSettingsRequestV2Interface): Observable<HttpResponse<null>>;
|
|
14
12
|
getUserSettings(r: GetUserSettingsRequestV2 | GetUserSettingsRequestV2Interface): Observable<GetUserSettingsResponseV2>;
|