@vendasta/mission-control 3.5.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, 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';
@@ -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,13 @@ 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
+ }
117
129
  export interface GetSecurityVulnerabilitiesRequestInterface {
118
130
  applicationId?: string;
119
131
  }
@@ -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 { 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>;
@@ -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';
@@ -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,19 @@ 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
+ }
167
188
  export declare class GetSecurityVulnerabilitiesRequest implements i.GetSecurityVulnerabilitiesRequestInterface {
168
189
  applicationId: string;
169
190
  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 { 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.5.0",
3
+ "version": "3.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"