@vendasta/mission-control 3.0.0 → 3.2.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,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, 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, 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';
4
4
  export { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface, ServiceLevelsResponseInterface, } from './service-level.interface';
5
5
  export { GetUserSettingsRequestV2Interface, GetUserSettingsResponseV2Interface, UpdateUserSettingsRequestV2Interface, UserNotificationsV2Interface, UserSettingsV2Interface, } from './user.interface';
@@ -111,6 +111,7 @@ export interface EventInterface {
111
111
  buildId?: string;
112
112
  automated?: boolean;
113
113
  probableAppType?: e.AppType;
114
+ triggerName?: string;
114
115
  }
115
116
  export interface GetUserSettingsRequestInterface {
116
117
  userEmail?: string;
@@ -118,6 +119,14 @@ export interface GetUserSettingsRequestInterface {
118
119
  export interface GetUserSettingsResponseInterface {
119
120
  settings?: UserSettingsInterface;
120
121
  }
122
+ export interface GetZonesRequestInterface {
123
+ applicationId?: string;
124
+ environment?: e.Environment;
125
+ enabled?: boolean;
126
+ }
127
+ export interface GetZonesResponseInterface {
128
+ name?: string[];
129
+ }
121
130
  export interface GitCommitDetailsInterface {
122
131
  author?: GithubCommitUserInterface;
123
132
  committer?: GithubCommitUserInterface;
@@ -1,5 +1,5 @@
1
- import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetUserSettingsRequest, GetUserSettingsResponse, 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, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
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
3
  import { HttpClient, HttpResponse } from '@angular/common/http';
4
4
  import { HostService } from '../_generated/host.service';
5
5
  import { Observable } from 'rxjs';
@@ -26,6 +26,7 @@ export declare class MissionControlApiService {
26
26
  updateUserSettings(r: UpdateUserSettingsRequest | UpdateUserSettingsRequestInterface): Observable<HttpResponse<null>>;
27
27
  getUserSettings(r: GetUserSettingsRequest | GetUserSettingsRequestInterface): Observable<GetUserSettingsResponse>;
28
28
  sendBuildNotification(r: SendBuildNotificationRequest | SendBuildNotificationRequestInterface): Observable<HttpResponse<null>>;
29
+ getZones(r: GetZonesRequest | GetZonesRequestInterface): Observable<GetZonesResponse>;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MissionControlApiService, never>;
30
31
  static ɵprov: i0.ɵɵInjectableDeclaration<MissionControlApiService>;
31
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, 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, 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';
4
4
  export { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse, } from './service-level';
5
5
  export { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2, UserNotificationsV2, UserSettingsV2, } from './user';
@@ -158,6 +158,7 @@ export declare class Event implements i.EventInterface {
158
158
  buildId: string;
159
159
  automated: boolean;
160
160
  probableAppType: e.AppType;
161
+ triggerName: string;
161
162
  static fromProto(proto: any): Event;
162
163
  constructor(kwargs?: i.EventInterface);
163
164
  toApiJson(): object;
@@ -174,6 +175,20 @@ export declare class GetUserSettingsResponse implements i.GetUserSettingsRespons
174
175
  constructor(kwargs?: i.GetUserSettingsResponseInterface);
175
176
  toApiJson(): object;
176
177
  }
178
+ export declare class GetZonesRequest implements i.GetZonesRequestInterface {
179
+ applicationId: string;
180
+ environment: e.Environment;
181
+ enabled: boolean;
182
+ static fromProto(proto: any): GetZonesRequest;
183
+ constructor(kwargs?: i.GetZonesRequestInterface);
184
+ toApiJson(): object;
185
+ }
186
+ export declare class GetZonesResponse implements i.GetZonesResponseInterface {
187
+ name: string[];
188
+ static fromProto(proto: any): GetZonesResponse;
189
+ constructor(kwargs?: i.GetZonesResponseInterface);
190
+ toApiJson(): object;
191
+ }
177
192
  export declare class GitCommitDetails implements i.GitCommitDetailsInterface {
178
193
  author: GithubCommitUser;
179
194
  committer: GithubCommitUser;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@vendasta/mission-control",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^13.0.0",
6
- "@angular/core": "^13.0.0"
5
+ "@angular/common": "^15.1.0",
6
+ "@angular/core": "^15.1.0"
7
7
  },
8
8
  "author": "Vendasta R&D",
9
9
  "description": "SDK to interact with the mission-control service",
10
- "typings": "vendasta-mission-control.d.ts",
10
+ "typings": "index.d.ts",
11
11
  "license": "ISC",
12
12
  "main": "index.js",
13
13
  "module": "fesm2015/vendasta-mission-control.mjs",
@@ -20,7 +20,7 @@
20
20
  "default": "./package.json"
21
21
  },
22
22
  ".": {
23
- "types": "./vendasta-mission-control.d.ts",
23
+ "types": "./index.d.ts",
24
24
  "esm2020": "./esm2020/vendasta-mission-control.mjs",
25
25
  "es2020": "./fesm2020/vendasta-mission-control.mjs",
26
26
  "es2015": "./fesm2015/vendasta-mission-control.mjs",
package/src/README.md DELETED
@@ -1 +0,0 @@
1
- # mission-control SDK
File without changes