@vendasta/mission-control 3.0.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/_generated/host.service.mjs +25 -0
- package/esm2020/lib/_internal/app-metrics.api.service.mjs +66 -0
- package/esm2020/lib/_internal/enums/app-metrics.enum.mjs +24 -0
- package/esm2020/lib/_internal/enums/index.mjs +11 -0
- package/esm2020/lib/_internal/enums/mission-control.enum.mjs +54 -0
- package/esm2020/lib/_internal/enums/service-level.enum.mjs +14 -0
- package/esm2020/lib/_internal/enums/shared-const.enum.mjs +15 -0
- package/esm2020/lib/_internal/index.mjs +14 -0
- package/esm2020/lib/_internal/interfaces/app-metrics.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/mission-control.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/service-level.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/shared-const.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/user.interface.mjs +8 -0
- package/esm2020/lib/_internal/mission-control.api.service.mjs +109 -0
- package/esm2020/lib/_internal/objects/app-metrics.mjs +637 -0
- package/esm2020/lib/_internal/objects/index.mjs +12 -0
- package/esm2020/lib/_internal/objects/mission-control.mjs +1255 -0
- package/esm2020/lib/_internal/objects/service-level.mjs +151 -0
- package/esm2020/lib/_internal/objects/shared-const.mjs +56 -0
- package/esm2020/lib/_internal/objects/user.mjs +131 -0
- package/esm2020/lib/_internal/service-levels.api.service.mjs +50 -0
- package/esm2020/lib/_internal/user.api.service.mjs +45 -0
- package/esm2020/lib/index.mjs +2 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/vendasta-mission-control.mjs +5 -0
- package/fesm2015/vendasta-mission-control.mjs +2592 -0
- package/fesm2015/vendasta-mission-control.mjs.map +1 -0
- package/fesm2020/vendasta-mission-control.mjs +2591 -0
- package/fesm2020/vendasta-mission-control.mjs.map +1 -0
- package/lib/_generated/host.service.d.ts +7 -0
- package/lib/_internal/app-metrics.api.service.d.ts +21 -0
- package/lib/_internal/enums/app-metrics.enum.d.ts +15 -0
- package/lib/_internal/enums/index.d.ts +4 -0
- package/lib/_internal/enums/mission-control.enum.d.ts +40 -0
- package/lib/_internal/enums/service-level.enum.d.ts +6 -0
- package/lib/_internal/enums/shared-const.enum.d.ts +7 -0
- package/lib/_internal/index.d.ts +7 -0
- package/lib/_internal/interfaces/app-metrics.interface.d.ts +102 -0
- package/lib/_internal/interfaces/index.d.ts +5 -0
- package/lib/_internal/interfaces/mission-control.interface.d.ts +216 -0
- package/lib/_internal/interfaces/service-level.interface.d.ts +29 -0
- package/lib/_internal/interfaces/shared-const.interface.d.ts +8 -0
- package/lib/_internal/interfaces/user.interface.d.ts +20 -0
- package/lib/_internal/mission-control.api.service.d.ts +31 -0
- package/lib/_internal/objects/app-metrics.d.ts +164 -0
- package/lib/_internal/objects/index.d.ts +5 -0
- package/lib/_internal/objects/mission-control.d.ts +332 -0
- package/lib/_internal/objects/service-level.d.ts +43 -0
- package/lib/_internal/objects/shared-const.d.ts +16 -0
- package/lib/_internal/objects/user.d.ts +37 -0
- package/lib/_internal/service-levels.api.service.d.ts +18 -0
- package/lib/_internal/user.api.service.d.ts +17 -0
- package/lib/index.d.ts +1 -0
- package/package.json +35 -0
- package/public_api.d.ts +1 -0
- package/src/README.md +1 -0
- package/vendasta-mission-control.d.ts +5 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './enums';
|
|
2
|
+
export * from './objects';
|
|
3
|
+
export * from './interfaces';
|
|
4
|
+
export { AppMetricsApiService } from './app-metrics.api.service';
|
|
5
|
+
export { MissionControlApiService } from './mission-control.api.service';
|
|
6
|
+
export { ServiceLevelsApiService } from './service-levels.api.service';
|
|
7
|
+
export { UserApiService } from './user.api.service';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './shared-const.interface';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export interface ChangeFailDataInterface {
|
|
4
|
+
appId?: string;
|
|
5
|
+
timeRange?: e.TimeRange;
|
|
6
|
+
current?: number;
|
|
7
|
+
previous?: number;
|
|
8
|
+
environment?: e.Environment;
|
|
9
|
+
}
|
|
10
|
+
export interface ChangeFailGetMultiRequestInterface {
|
|
11
|
+
appIds?: string[];
|
|
12
|
+
timeRange?: e.TimeRange;
|
|
13
|
+
environment?: e.Environment;
|
|
14
|
+
}
|
|
15
|
+
export interface ChangeFailGetMultiResponseInterface {
|
|
16
|
+
data?: ChangeFailDataInterface[];
|
|
17
|
+
}
|
|
18
|
+
export interface DeploymentFrequencyDataInterface {
|
|
19
|
+
appId?: string;
|
|
20
|
+
environment?: e.Environment;
|
|
21
|
+
rate?: StatRateInterface;
|
|
22
|
+
stats?: StatSnapshotInterface[];
|
|
23
|
+
}
|
|
24
|
+
export interface DeploymentFrequencyGetMultiRequestInterface {
|
|
25
|
+
appIds?: string[];
|
|
26
|
+
environment?: e.Environment;
|
|
27
|
+
}
|
|
28
|
+
export interface DeploymentFrequencyGetMultiResponseInterface {
|
|
29
|
+
deploymentFrequencies?: DeploymentFrequencyDataInterface[];
|
|
30
|
+
}
|
|
31
|
+
export interface LeadTimeInterface {
|
|
32
|
+
id?: string;
|
|
33
|
+
appId?: string;
|
|
34
|
+
deliveryIds?: string[];
|
|
35
|
+
deploymentIds?: string[];
|
|
36
|
+
environment?: e.Environment;
|
|
37
|
+
issueId?: string;
|
|
38
|
+
duration?: number;
|
|
39
|
+
created?: Date;
|
|
40
|
+
updated?: Date;
|
|
41
|
+
}
|
|
42
|
+
export interface LeadTimeGetMultiRequestInterface {
|
|
43
|
+
appIds?: string[];
|
|
44
|
+
environment?: e.Environment;
|
|
45
|
+
timeRange?: e.TimeRange;
|
|
46
|
+
}
|
|
47
|
+
export interface LeadTimeGetMultiResponseInterface {
|
|
48
|
+
summaries?: LeadTimeSummaryInterface[];
|
|
49
|
+
}
|
|
50
|
+
export interface LeadTimeListRequestInterface {
|
|
51
|
+
appId?: string;
|
|
52
|
+
issueId?: string;
|
|
53
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
54
|
+
}
|
|
55
|
+
export interface LeadTimeListResponseInterface {
|
|
56
|
+
leadTimes?: LeadTimeInterface[];
|
|
57
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
58
|
+
}
|
|
59
|
+
export interface LeadTimeSummaryInterface {
|
|
60
|
+
appId?: string;
|
|
61
|
+
timeRange?: e.TimeRange;
|
|
62
|
+
environment?: e.Environment;
|
|
63
|
+
current?: number;
|
|
64
|
+
previous?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface MTTRDataInterface {
|
|
67
|
+
appId?: string;
|
|
68
|
+
timeRange?: e.TimeRange;
|
|
69
|
+
environment?: e.Environment;
|
|
70
|
+
current?: number;
|
|
71
|
+
previous?: number;
|
|
72
|
+
}
|
|
73
|
+
export interface MTTRGetMultiRequestInterface {
|
|
74
|
+
appIds?: string[];
|
|
75
|
+
timeRange?: e.TimeRange;
|
|
76
|
+
environment?: e.Environment;
|
|
77
|
+
}
|
|
78
|
+
export interface MTTRGetMultiResponseInterface {
|
|
79
|
+
data?: MTTRDataInterface[];
|
|
80
|
+
}
|
|
81
|
+
export interface StatRateInterface {
|
|
82
|
+
statsPerUnit?: number;
|
|
83
|
+
unit?: e.StatRateUnit;
|
|
84
|
+
}
|
|
85
|
+
export interface StatSnapshotInterface {
|
|
86
|
+
statDate?: Date;
|
|
87
|
+
statValue?: number;
|
|
88
|
+
}
|
|
89
|
+
export interface UserDeployFrequencyDataInterface {
|
|
90
|
+
userId?: string;
|
|
91
|
+
environment?: e.Environment;
|
|
92
|
+
rate?: StatRateInterface;
|
|
93
|
+
stats?: StatSnapshotInterface[];
|
|
94
|
+
}
|
|
95
|
+
export interface UserDeployFrequencyGetMultiRequestInterface {
|
|
96
|
+
userIds?: string[];
|
|
97
|
+
environment?: e.Environment;
|
|
98
|
+
timeRange?: e.TimeRange;
|
|
99
|
+
}
|
|
100
|
+
export interface UserDeployFrequencyGetMultiResponseInterface {
|
|
101
|
+
data?: UserDeployFrequencyDataInterface[];
|
|
102
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './shared-const.interface';
|
|
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';
|
|
4
|
+
export { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface, ServiceLevelsResponseInterface, } from './service-level.interface';
|
|
5
|
+
export { GetUserSettingsRequestV2Interface, GetUserSettingsResponseV2Interface, UpdateUserSettingsRequestV2Interface, UserNotificationsV2Interface, UserSettingsV2Interface, } from './user.interface';
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './shared-const.interface';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export interface AlertInterface {
|
|
4
|
+
message?: string;
|
|
5
|
+
type?: e.AlertType;
|
|
6
|
+
}
|
|
7
|
+
export interface AppConfigInterface {
|
|
8
|
+
appengineProjectId?: string;
|
|
9
|
+
entryUrlTemplate?: string;
|
|
10
|
+
deliveryMethods?: DeliveryMethodInterface[];
|
|
11
|
+
}
|
|
12
|
+
export interface ApplicationInterface {
|
|
13
|
+
appId?: string;
|
|
14
|
+
appName?: string;
|
|
15
|
+
appType?: e.AppType;
|
|
16
|
+
githubRepoUrl?: string;
|
|
17
|
+
entryUrlTemplate?: string;
|
|
18
|
+
prodConfig?: AppConfigInterface;
|
|
19
|
+
demoConfig?: AppConfigInterface;
|
|
20
|
+
googleRepoName?: string;
|
|
21
|
+
invalidConfigurationError?: string;
|
|
22
|
+
alerts?: AlertInterface[];
|
|
23
|
+
appRoot?: string;
|
|
24
|
+
defaultBranch?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ArtifactsInterface {
|
|
27
|
+
gcsBucket?: string;
|
|
28
|
+
image?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface CreateApplicationRequestInterface {
|
|
31
|
+
application?: ApplicationInterface;
|
|
32
|
+
}
|
|
33
|
+
export interface CreateDeliveryRequestInterface {
|
|
34
|
+
delivery?: DeliveryInterface;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateDeliveryResponseInterface {
|
|
37
|
+
deliveryId?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface CreateDeploymentRequestInterface {
|
|
40
|
+
deployment?: DeploymentInterface;
|
|
41
|
+
}
|
|
42
|
+
export interface CreateDeploymentResponseInterface {
|
|
43
|
+
deploymentId?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface DeleteApplicationRequestInterface {
|
|
46
|
+
appId?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface DeleteDeliveryRequestInterface {
|
|
49
|
+
appId?: string;
|
|
50
|
+
deliveryId?: string;
|
|
51
|
+
environment?: e.Environment;
|
|
52
|
+
}
|
|
53
|
+
export interface DeliveryInterface {
|
|
54
|
+
appId?: string;
|
|
55
|
+
deploymentId?: string;
|
|
56
|
+
deliveryId?: string;
|
|
57
|
+
deliveryType?: e.DeliveryType;
|
|
58
|
+
environment?: e.Environment;
|
|
59
|
+
created?: Date;
|
|
60
|
+
updated?: Date;
|
|
61
|
+
userEmail?: string;
|
|
62
|
+
zone?: string;
|
|
63
|
+
deliveryMethodId?: string;
|
|
64
|
+
lock?: DeliveryLockInterface;
|
|
65
|
+
automated?: boolean;
|
|
66
|
+
message?: string;
|
|
67
|
+
isRollback?: boolean;
|
|
68
|
+
buildId?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DeliveryLockInterface {
|
|
71
|
+
userEmail?: string;
|
|
72
|
+
message?: string;
|
|
73
|
+
created?: Date;
|
|
74
|
+
}
|
|
75
|
+
export interface DeliveryMethodInterface {
|
|
76
|
+
deliveryMethodId?: string;
|
|
77
|
+
deliveryType?: e.DeliveryType;
|
|
78
|
+
args?: string[];
|
|
79
|
+
description?: string;
|
|
80
|
+
zones?: string[];
|
|
81
|
+
weight?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface DeploymentInterface {
|
|
84
|
+
appId?: string;
|
|
85
|
+
deploymentId?: string;
|
|
86
|
+
gitHash?: string;
|
|
87
|
+
artifacts?: ArtifactsInterface;
|
|
88
|
+
environment?: e.Environment;
|
|
89
|
+
created?: Date;
|
|
90
|
+
updated?: Date;
|
|
91
|
+
buildId?: string;
|
|
92
|
+
gitCommitDetails?: GitCommitDetailsInterface;
|
|
93
|
+
author?: string;
|
|
94
|
+
name?: string;
|
|
95
|
+
branchName?: string;
|
|
96
|
+
status?: e.DeploymentStatus;
|
|
97
|
+
statusDescription?: string;
|
|
98
|
+
gitHashBase?: string;
|
|
99
|
+
additionalGitCommitDetails?: GitCommitDetailsInterface[];
|
|
100
|
+
k8sConfig?: K8SConfigInterface;
|
|
101
|
+
}
|
|
102
|
+
export interface EventInterface {
|
|
103
|
+
appId?: string;
|
|
104
|
+
environment?: e.Environment;
|
|
105
|
+
eventType?: e.EventType;
|
|
106
|
+
eventId?: string;
|
|
107
|
+
userEmail?: string;
|
|
108
|
+
title?: string;
|
|
109
|
+
details?: string;
|
|
110
|
+
created?: Date;
|
|
111
|
+
buildId?: string;
|
|
112
|
+
automated?: boolean;
|
|
113
|
+
probableAppType?: e.AppType;
|
|
114
|
+
}
|
|
115
|
+
export interface GetUserSettingsRequestInterface {
|
|
116
|
+
userEmail?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface GetUserSettingsResponseInterface {
|
|
119
|
+
settings?: UserSettingsInterface;
|
|
120
|
+
}
|
|
121
|
+
export interface GitCommitDetailsInterface {
|
|
122
|
+
author?: GithubCommitUserInterface;
|
|
123
|
+
committer?: GithubCommitUserInterface;
|
|
124
|
+
message?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface GithubCommitUserInterface {
|
|
127
|
+
date?: Date;
|
|
128
|
+
name?: string;
|
|
129
|
+
email?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface K8SConfigInterface {
|
|
132
|
+
clusterContext?: string;
|
|
133
|
+
controller?: e.KubernetesController;
|
|
134
|
+
}
|
|
135
|
+
export interface ListApplicationsRequestInterface {
|
|
136
|
+
appType?: e.AppType;
|
|
137
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
138
|
+
}
|
|
139
|
+
export interface ListApplicationsResponseInterface {
|
|
140
|
+
applications?: ApplicationInterface[];
|
|
141
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
142
|
+
}
|
|
143
|
+
export interface ListDeliveriesByUserRequestInterface {
|
|
144
|
+
userId?: string;
|
|
145
|
+
environment?: e.Environment;
|
|
146
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
147
|
+
}
|
|
148
|
+
export interface ListDeliveriesRequestInterface {
|
|
149
|
+
appId?: string;
|
|
150
|
+
environment?: e.Environment;
|
|
151
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
152
|
+
}
|
|
153
|
+
export interface ListDeliveriesResponseInterface {
|
|
154
|
+
deliveries?: DeliveryInterface[];
|
|
155
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
156
|
+
}
|
|
157
|
+
export interface ListDeploymentsRequestInterface {
|
|
158
|
+
appId?: string;
|
|
159
|
+
environment?: e.Environment;
|
|
160
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
161
|
+
}
|
|
162
|
+
export interface ListDeploymentsResponseInterface {
|
|
163
|
+
deployments?: DeploymentInterface[];
|
|
164
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
165
|
+
}
|
|
166
|
+
export interface ListEventsRequestInterface {
|
|
167
|
+
appId?: string;
|
|
168
|
+
environment?: e.Environment;
|
|
169
|
+
eventType?: e.EventType;
|
|
170
|
+
start?: Date;
|
|
171
|
+
userEmail?: string;
|
|
172
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
173
|
+
}
|
|
174
|
+
export interface ListEventsResponseInterface {
|
|
175
|
+
events?: EventInterface[];
|
|
176
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
177
|
+
}
|
|
178
|
+
export interface SendBuildNotificationRequestInterface {
|
|
179
|
+
buildId?: string;
|
|
180
|
+
message?: string;
|
|
181
|
+
repository?: string;
|
|
182
|
+
status?: e.BuildStatus;
|
|
183
|
+
gitHash?: string;
|
|
184
|
+
}
|
|
185
|
+
export interface UpdateApplicationRequestInterface {
|
|
186
|
+
application?: ApplicationInterface;
|
|
187
|
+
}
|
|
188
|
+
export interface UpdateDeliveryRequestInterface {
|
|
189
|
+
appId?: string;
|
|
190
|
+
deliveryId?: string;
|
|
191
|
+
environment?: e.Environment;
|
|
192
|
+
lock?: DeliveryLockInterface;
|
|
193
|
+
}
|
|
194
|
+
export interface UpdateDeploymentRequestInterface {
|
|
195
|
+
appId?: string;
|
|
196
|
+
deploymentId?: string;
|
|
197
|
+
environment?: e.Environment;
|
|
198
|
+
status?: e.DeploymentStatus;
|
|
199
|
+
buildId?: string;
|
|
200
|
+
}
|
|
201
|
+
export interface UpdateDeploymentResponseInterface {
|
|
202
|
+
deploymentId?: string;
|
|
203
|
+
}
|
|
204
|
+
export interface UpdateUserSettingsRequestInterface {
|
|
205
|
+
settings?: UserSettingsInterface;
|
|
206
|
+
}
|
|
207
|
+
export interface UserNotificationsInterface {
|
|
208
|
+
buildSuccessSlackOptOut?: boolean;
|
|
209
|
+
buildFailureSlackOptOut?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export interface UserSettingsInterface {
|
|
212
|
+
userEmail?: string;
|
|
213
|
+
favoritedApps?: string[];
|
|
214
|
+
notifications?: UserNotificationsInterface;
|
|
215
|
+
alternateEmail?: string;
|
|
216
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as e from '../enums';
|
|
2
|
+
export interface GetServiceLevelsRequestInterface {
|
|
3
|
+
name?: string;
|
|
4
|
+
githubRepoUrl?: string;
|
|
5
|
+
includeDeleted?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface QueryServiceLevelsRequestInterface {
|
|
8
|
+
platform?: string;
|
|
9
|
+
language?: string;
|
|
10
|
+
owner?: string;
|
|
11
|
+
dependency?: string;
|
|
12
|
+
includeDeleted?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface ServiceLevelInterface {
|
|
15
|
+
name?: string;
|
|
16
|
+
githubRepoUrl?: string;
|
|
17
|
+
platform?: string;
|
|
18
|
+
language?: string;
|
|
19
|
+
availability?: number;
|
|
20
|
+
readiness?: e.ServiceReadiness;
|
|
21
|
+
owner?: string;
|
|
22
|
+
hardDependencies?: string[];
|
|
23
|
+
created?: Date;
|
|
24
|
+
modified?: Date;
|
|
25
|
+
deleted?: Date;
|
|
26
|
+
}
|
|
27
|
+
export interface ServiceLevelsResponseInterface {
|
|
28
|
+
serviceLevels?: ServiceLevelInterface[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface GetUserSettingsRequestV2Interface {
|
|
2
|
+
iamUserId?: string;
|
|
3
|
+
}
|
|
4
|
+
export interface GetUserSettingsResponseV2Interface {
|
|
5
|
+
settings?: UserSettingsV2Interface;
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateUserSettingsRequestV2Interface {
|
|
8
|
+
settings?: UserSettingsV2Interface;
|
|
9
|
+
}
|
|
10
|
+
export interface UserNotificationsV2Interface {
|
|
11
|
+
buildSuccessSlackOptOut?: boolean;
|
|
12
|
+
buildFailureSlackOptOut?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface UserSettingsV2Interface {
|
|
15
|
+
iamUserId?: string;
|
|
16
|
+
userEmail?: string;
|
|
17
|
+
favoritedApps?: string[];
|
|
18
|
+
notifications?: UserNotificationsV2Interface;
|
|
19
|
+
alternateEmail?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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/';
|
|
3
|
+
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MissionControlApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
createApplication(r: CreateApplicationRequest | CreateApplicationRequestInterface): Observable<HttpResponse<null>>;
|
|
14
|
+
listApplications(r: ListApplicationsRequest | ListApplicationsRequestInterface): Observable<ListApplicationsResponse>;
|
|
15
|
+
updateApplication(r: UpdateApplicationRequest | UpdateApplicationRequestInterface): Observable<HttpResponse<null>>;
|
|
16
|
+
deleteApplication(r: DeleteApplicationRequest | DeleteApplicationRequestInterface): Observable<HttpResponse<null>>;
|
|
17
|
+
createDeployment(r: CreateDeploymentRequest | CreateDeploymentRequestInterface): Observable<CreateDeploymentResponse>;
|
|
18
|
+
listDeployments(r: ListDeploymentsRequest | ListDeploymentsRequestInterface): Observable<ListDeploymentsResponse>;
|
|
19
|
+
updateDeployment(r: UpdateDeploymentRequest | UpdateDeploymentRequestInterface): Observable<UpdateDeploymentResponse>;
|
|
20
|
+
createDelivery(r: CreateDeliveryRequest | CreateDeliveryRequestInterface): Observable<CreateDeliveryResponse>;
|
|
21
|
+
listDeliveries(r: ListDeliveriesRequest | ListDeliveriesRequestInterface): Observable<ListDeliveriesResponse>;
|
|
22
|
+
listDeliveriesByUser(r: ListDeliveriesByUserRequest | ListDeliveriesByUserRequestInterface): Observable<ListDeliveriesResponse>;
|
|
23
|
+
updateDelivery(r: UpdateDeliveryRequest | UpdateDeliveryRequestInterface): Observable<HttpResponse<null>>;
|
|
24
|
+
deleteDelivery(r: DeleteDeliveryRequest | DeleteDeliveryRequestInterface): Observable<HttpResponse<null>>;
|
|
25
|
+
listEvents(r: ListEventsRequest | ListEventsRequestInterface): Observable<ListEventsResponse>;
|
|
26
|
+
updateUserSettings(r: UpdateUserSettingsRequest | UpdateUserSettingsRequestInterface): Observable<HttpResponse<null>>;
|
|
27
|
+
getUserSettings(r: GetUserSettingsRequest | GetUserSettingsRequestInterface): Observable<GetUserSettingsResponse>;
|
|
28
|
+
sendBuildNotification(r: SendBuildNotificationRequest | SendBuildNotificationRequestInterface): Observable<HttpResponse<null>>;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MissionControlApiService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MissionControlApiService>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { PagedRequestOptions, PagedResponseMetadata } from './shared-const';
|
|
3
|
+
import * as e from '../enums';
|
|
4
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
|
+
export declare class ChangeFailData implements i.ChangeFailDataInterface {
|
|
6
|
+
appId: string;
|
|
7
|
+
timeRange: e.TimeRange;
|
|
8
|
+
current: number;
|
|
9
|
+
previous: number;
|
|
10
|
+
environment: e.Environment;
|
|
11
|
+
static fromProto(proto: any): ChangeFailData;
|
|
12
|
+
constructor(kwargs?: i.ChangeFailDataInterface);
|
|
13
|
+
toApiJson(): object;
|
|
14
|
+
}
|
|
15
|
+
export declare class ChangeFailGetMultiRequest implements i.ChangeFailGetMultiRequestInterface {
|
|
16
|
+
appIds: string[];
|
|
17
|
+
timeRange: e.TimeRange;
|
|
18
|
+
environment: e.Environment;
|
|
19
|
+
static fromProto(proto: any): ChangeFailGetMultiRequest;
|
|
20
|
+
constructor(kwargs?: i.ChangeFailGetMultiRequestInterface);
|
|
21
|
+
toApiJson(): object;
|
|
22
|
+
}
|
|
23
|
+
export declare class ChangeFailGetMultiResponse implements i.ChangeFailGetMultiResponseInterface {
|
|
24
|
+
data: ChangeFailData[];
|
|
25
|
+
static fromProto(proto: any): ChangeFailGetMultiResponse;
|
|
26
|
+
constructor(kwargs?: i.ChangeFailGetMultiResponseInterface);
|
|
27
|
+
toApiJson(): object;
|
|
28
|
+
}
|
|
29
|
+
export declare class DeploymentFrequencyData implements i.DeploymentFrequencyDataInterface {
|
|
30
|
+
appId: string;
|
|
31
|
+
environment: e.Environment;
|
|
32
|
+
rate: StatRate;
|
|
33
|
+
stats: StatSnapshot[];
|
|
34
|
+
static fromProto(proto: any): DeploymentFrequencyData;
|
|
35
|
+
constructor(kwargs?: i.DeploymentFrequencyDataInterface);
|
|
36
|
+
toApiJson(): object;
|
|
37
|
+
}
|
|
38
|
+
export declare class DeploymentFrequencyGetMultiRequest implements i.DeploymentFrequencyGetMultiRequestInterface {
|
|
39
|
+
appIds: string[];
|
|
40
|
+
environment: e.Environment;
|
|
41
|
+
static fromProto(proto: any): DeploymentFrequencyGetMultiRequest;
|
|
42
|
+
constructor(kwargs?: i.DeploymentFrequencyGetMultiRequestInterface);
|
|
43
|
+
toApiJson(): object;
|
|
44
|
+
}
|
|
45
|
+
export declare class DeploymentFrequencyGetMultiResponse implements i.DeploymentFrequencyGetMultiResponseInterface {
|
|
46
|
+
deploymentFrequencies: DeploymentFrequencyData[];
|
|
47
|
+
static fromProto(proto: any): DeploymentFrequencyGetMultiResponse;
|
|
48
|
+
constructor(kwargs?: i.DeploymentFrequencyGetMultiResponseInterface);
|
|
49
|
+
toApiJson(): object;
|
|
50
|
+
}
|
|
51
|
+
export declare class LeadTime implements i.LeadTimeInterface {
|
|
52
|
+
id: string;
|
|
53
|
+
appId: string;
|
|
54
|
+
deliveryIds: string[];
|
|
55
|
+
deploymentIds: string[];
|
|
56
|
+
environment: e.Environment;
|
|
57
|
+
issueId: string;
|
|
58
|
+
duration: number;
|
|
59
|
+
created: Date;
|
|
60
|
+
updated: Date;
|
|
61
|
+
static fromProto(proto: any): LeadTime;
|
|
62
|
+
constructor(kwargs?: i.LeadTimeInterface);
|
|
63
|
+
toApiJson(): object;
|
|
64
|
+
}
|
|
65
|
+
export declare class LeadTimeGetMultiRequest implements i.LeadTimeGetMultiRequestInterface {
|
|
66
|
+
appIds: string[];
|
|
67
|
+
environment: e.Environment;
|
|
68
|
+
timeRange: e.TimeRange;
|
|
69
|
+
static fromProto(proto: any): LeadTimeGetMultiRequest;
|
|
70
|
+
constructor(kwargs?: i.LeadTimeGetMultiRequestInterface);
|
|
71
|
+
toApiJson(): object;
|
|
72
|
+
}
|
|
73
|
+
export declare class LeadTimeGetMultiResponse implements i.LeadTimeGetMultiResponseInterface {
|
|
74
|
+
summaries: LeadTimeSummary[];
|
|
75
|
+
static fromProto(proto: any): LeadTimeGetMultiResponse;
|
|
76
|
+
constructor(kwargs?: i.LeadTimeGetMultiResponseInterface);
|
|
77
|
+
toApiJson(): object;
|
|
78
|
+
}
|
|
79
|
+
export declare class LeadTimeListRequest implements i.LeadTimeListRequestInterface {
|
|
80
|
+
appId: string;
|
|
81
|
+
issueId: string;
|
|
82
|
+
pagingOptions: PagedRequestOptions;
|
|
83
|
+
static fromProto(proto: any): LeadTimeListRequest;
|
|
84
|
+
constructor(kwargs?: i.LeadTimeListRequestInterface);
|
|
85
|
+
toApiJson(): object;
|
|
86
|
+
}
|
|
87
|
+
export declare class LeadTimeListResponse implements i.LeadTimeListResponseInterface {
|
|
88
|
+
leadTimes: LeadTime[];
|
|
89
|
+
pagingMetadata: PagedResponseMetadata;
|
|
90
|
+
static fromProto(proto: any): LeadTimeListResponse;
|
|
91
|
+
constructor(kwargs?: i.LeadTimeListResponseInterface);
|
|
92
|
+
toApiJson(): object;
|
|
93
|
+
}
|
|
94
|
+
export declare class LeadTimeSummary implements i.LeadTimeSummaryInterface {
|
|
95
|
+
appId: string;
|
|
96
|
+
timeRange: e.TimeRange;
|
|
97
|
+
environment: e.Environment;
|
|
98
|
+
current: number;
|
|
99
|
+
previous: number;
|
|
100
|
+
static fromProto(proto: any): LeadTimeSummary;
|
|
101
|
+
constructor(kwargs?: i.LeadTimeSummaryInterface);
|
|
102
|
+
toApiJson(): object;
|
|
103
|
+
}
|
|
104
|
+
export declare class MTTRData implements i.MTTRDataInterface {
|
|
105
|
+
appId: string;
|
|
106
|
+
timeRange: e.TimeRange;
|
|
107
|
+
environment: e.Environment;
|
|
108
|
+
current: number;
|
|
109
|
+
previous: number;
|
|
110
|
+
static fromProto(proto: any): MTTRData;
|
|
111
|
+
constructor(kwargs?: i.MTTRDataInterface);
|
|
112
|
+
toApiJson(): object;
|
|
113
|
+
}
|
|
114
|
+
export declare class MTTRGetMultiRequest implements i.MTTRGetMultiRequestInterface {
|
|
115
|
+
appIds: string[];
|
|
116
|
+
timeRange: e.TimeRange;
|
|
117
|
+
environment: e.Environment;
|
|
118
|
+
static fromProto(proto: any): MTTRGetMultiRequest;
|
|
119
|
+
constructor(kwargs?: i.MTTRGetMultiRequestInterface);
|
|
120
|
+
toApiJson(): object;
|
|
121
|
+
}
|
|
122
|
+
export declare class MTTRGetMultiResponse implements i.MTTRGetMultiResponseInterface {
|
|
123
|
+
data: MTTRData[];
|
|
124
|
+
static fromProto(proto: any): MTTRGetMultiResponse;
|
|
125
|
+
constructor(kwargs?: i.MTTRGetMultiResponseInterface);
|
|
126
|
+
toApiJson(): object;
|
|
127
|
+
}
|
|
128
|
+
export declare class StatRate implements i.StatRateInterface {
|
|
129
|
+
statsPerUnit: number;
|
|
130
|
+
unit: e.StatRateUnit;
|
|
131
|
+
static fromProto(proto: any): StatRate;
|
|
132
|
+
constructor(kwargs?: i.StatRateInterface);
|
|
133
|
+
toApiJson(): object;
|
|
134
|
+
}
|
|
135
|
+
export declare class StatSnapshot implements i.StatSnapshotInterface {
|
|
136
|
+
statDate: Date;
|
|
137
|
+
statValue: number;
|
|
138
|
+
static fromProto(proto: any): StatSnapshot;
|
|
139
|
+
constructor(kwargs?: i.StatSnapshotInterface);
|
|
140
|
+
toApiJson(): object;
|
|
141
|
+
}
|
|
142
|
+
export declare class UserDeployFrequencyData implements i.UserDeployFrequencyDataInterface {
|
|
143
|
+
userId: string;
|
|
144
|
+
environment: e.Environment;
|
|
145
|
+
rate: StatRate;
|
|
146
|
+
stats: StatSnapshot[];
|
|
147
|
+
static fromProto(proto: any): UserDeployFrequencyData;
|
|
148
|
+
constructor(kwargs?: i.UserDeployFrequencyDataInterface);
|
|
149
|
+
toApiJson(): object;
|
|
150
|
+
}
|
|
151
|
+
export declare class UserDeployFrequencyGetMultiRequest implements i.UserDeployFrequencyGetMultiRequestInterface {
|
|
152
|
+
userIds: string[];
|
|
153
|
+
environment: e.Environment;
|
|
154
|
+
timeRange: e.TimeRange;
|
|
155
|
+
static fromProto(proto: any): UserDeployFrequencyGetMultiRequest;
|
|
156
|
+
constructor(kwargs?: i.UserDeployFrequencyGetMultiRequestInterface);
|
|
157
|
+
toApiJson(): object;
|
|
158
|
+
}
|
|
159
|
+
export declare class UserDeployFrequencyGetMultiResponse implements i.UserDeployFrequencyGetMultiResponseInterface {
|
|
160
|
+
data: UserDeployFrequencyData[];
|
|
161
|
+
static fromProto(proto: any): UserDeployFrequencyGetMultiResponse;
|
|
162
|
+
constructor(kwargs?: i.UserDeployFrequencyGetMultiResponseInterface);
|
|
163
|
+
toApiJson(): object;
|
|
164
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { PagedRequestOptions, PagedResponseMetadata, } from './shared-const';
|
|
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';
|
|
4
|
+
export { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse, } from './service-level';
|
|
5
|
+
export { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2, UserNotificationsV2, UserSettingsV2, } from './user';
|