@vendasta/mission-control 3.4.0 → 3.6.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.
@@ -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 http;
9
- private hostService;
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, GetUserSettingsRequestInterface, GetUserSettingsResponseInterface, GetZonesRequestInterface, GetZonesResponseInterface, GitCommitDetailsInterface, GithubCommitUserInterface, K8SConfigInterface, ListApplicationsRequestInterface, ListApplicationsResponseInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeliveriesResponseInterface, ListDeploymentsRequestInterface, ListDeploymentsResponseInterface, ListEventsRequestInterface, ListEventsResponseInterface, 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';
@@ -23,6 +23,11 @@ export interface ApplicationInterface {
23
23
  appRoot?: string;
24
24
  defaultBranch?: string;
25
25
  }
26
+ export interface ApplicationLinkInterface {
27
+ buttonText?: string;
28
+ url?: string;
29
+ collapsed?: boolean;
30
+ }
26
31
  export interface ArtifactsInterface {
27
32
  gcsBucket?: string;
28
33
  image?: string;
@@ -114,6 +119,19 @@ export interface EventInterface {
114
119
  triggerName?: string;
115
120
  buildLogUrl?: string;
116
121
  }
122
+ export interface GetApplicationLinksRequestInterface {
123
+ applicationId?: string;
124
+ environment?: e.Environment;
125
+ }
126
+ export interface GetApplicationLinksResponseInterface {
127
+ links?: ApplicationLinkInterface[];
128
+ }
129
+ export interface GetSecurityVulnerabilitiesRequestInterface {
130
+ applicationId?: string;
131
+ }
132
+ export interface GetSecurityVulnerabilitiesResponseInterface {
133
+ vulnerabilities?: SecurityVulnerabilityInterface[];
134
+ }
117
135
  export interface GetUserSettingsRequestInterface {
118
136
  userEmail?: string;
119
137
  }
@@ -185,6 +203,12 @@ export interface ListEventsResponseInterface {
185
203
  events?: EventInterface[];
186
204
  pagingMetadata?: PagedResponseMetadataInterface;
187
205
  }
206
+ export interface SecurityVulnerabilityInterface {
207
+ severity?: string;
208
+ title?: string;
209
+ description?: string;
210
+ mitigation?: string;
211
+ }
188
212
  export interface SendBuildNotificationRequestInterface {
189
213
  buildId?: string;
190
214
  message?: string;
@@ -1,14 +1,12 @@
1
- import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, 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, GetUserSettingsRequestInterface, GetZonesRequestInterface, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
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 http;
9
- private hostService;
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>;
@@ -27,6 +25,8 @@ export declare class MissionControlApiService {
27
25
  getUserSettings(r: GetUserSettingsRequest | GetUserSettingsRequestInterface): Observable<GetUserSettingsResponse>;
28
26
  sendBuildNotification(r: SendBuildNotificationRequest | SendBuildNotificationRequestInterface): Observable<HttpResponse<null>>;
29
27
  getZones(r: GetZonesRequest | GetZonesRequestInterface): Observable<GetZonesResponse>;
28
+ getSecurityVulnerabilities(r: GetSecurityVulnerabilitiesRequest | GetSecurityVulnerabilitiesRequestInterface): Observable<GetSecurityVulnerabilitiesResponse>;
29
+ getApplicationLinks(r: GetApplicationLinksRequest | GetApplicationLinksRequestInterface): Observable<GetApplicationLinksResponse>;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MissionControlApiService, never>;
31
31
  static ɵprov: i0.ɵɵInjectableDeclaration<MissionControlApiService>;
32
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, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, 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';
@@ -34,6 +34,14 @@ export declare class Application implements i.ApplicationInterface {
34
34
  constructor(kwargs?: i.ApplicationInterface);
35
35
  toApiJson(): object;
36
36
  }
37
+ export declare class ApplicationLink implements i.ApplicationLinkInterface {
38
+ buttonText: string;
39
+ url: string;
40
+ collapsed: boolean;
41
+ static fromProto(proto: any): ApplicationLink;
42
+ constructor(kwargs?: i.ApplicationLinkInterface);
43
+ toApiJson(): object;
44
+ }
37
45
  export declare class Artifacts implements i.ArtifactsInterface {
38
46
  gcsBucket: string;
39
47
  image: string;
@@ -164,6 +172,31 @@ export declare class Event implements i.EventInterface {
164
172
  constructor(kwargs?: i.EventInterface);
165
173
  toApiJson(): object;
166
174
  }
175
+ export declare class GetApplicationLinksRequest implements i.GetApplicationLinksRequestInterface {
176
+ applicationId: string;
177
+ environment: e.Environment;
178
+ static fromProto(proto: any): GetApplicationLinksRequest;
179
+ constructor(kwargs?: i.GetApplicationLinksRequestInterface);
180
+ toApiJson(): object;
181
+ }
182
+ export declare class GetApplicationLinksResponse implements i.GetApplicationLinksResponseInterface {
183
+ links: ApplicationLink[];
184
+ static fromProto(proto: any): GetApplicationLinksResponse;
185
+ constructor(kwargs?: i.GetApplicationLinksResponseInterface);
186
+ toApiJson(): object;
187
+ }
188
+ export declare class GetSecurityVulnerabilitiesRequest implements i.GetSecurityVulnerabilitiesRequestInterface {
189
+ applicationId: string;
190
+ static fromProto(proto: any): GetSecurityVulnerabilitiesRequest;
191
+ constructor(kwargs?: i.GetSecurityVulnerabilitiesRequestInterface);
192
+ toApiJson(): object;
193
+ }
194
+ export declare class GetSecurityVulnerabilitiesResponse implements i.GetSecurityVulnerabilitiesResponseInterface {
195
+ vulnerabilities: SecurityVulnerability[];
196
+ static fromProto(proto: any): GetSecurityVulnerabilitiesResponse;
197
+ constructor(kwargs?: i.GetSecurityVulnerabilitiesResponseInterface);
198
+ toApiJson(): object;
199
+ }
167
200
  export declare class GetUserSettingsRequest implements i.GetUserSettingsRequestInterface {
168
201
  userEmail: string;
169
202
  static fromProto(proto: any): GetUserSettingsRequest;
@@ -283,6 +316,15 @@ export declare class ListEventsResponse implements i.ListEventsResponseInterface
283
316
  constructor(kwargs?: i.ListEventsResponseInterface);
284
317
  toApiJson(): object;
285
318
  }
319
+ export declare class SecurityVulnerability implements i.SecurityVulnerabilityInterface {
320
+ severity: string;
321
+ title: string;
322
+ description: string;
323
+ mitigation: string;
324
+ static fromProto(proto: any): SecurityVulnerability;
325
+ constructor(kwargs?: i.SecurityVulnerabilityInterface);
326
+ toApiJson(): object;
327
+ }
286
328
  export declare class SendBuildNotificationRequest implements i.SendBuildNotificationRequestInterface {
287
329
  buildId: string;
288
330
  message: string;
@@ -1,14 +1,12 @@
1
1
  import { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse } from './objects/';
2
2
  import { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
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 http;
9
- private hostService;
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 { HttpClient, HttpResponse } from '@angular/common/http';
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 http;
9
- private hostService;
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/mission-control",
3
- "version": "3.4.0",
3
+ "version": "3.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"