@apollo-deploy/schemas 1.3.2 → 1.3.4
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/dist/definitions/analytics/request.schema.d.ts +2 -2
- package/dist/definitions/api-keys/domain.schema.d.ts +13 -0
- package/dist/definitions/api-keys/domain.schema.d.ts.map +1 -1
- package/dist/definitions/api-keys/domain.schema.js +11 -0
- package/dist/definitions/api-keys/domain.schema.js.map +1 -1
- package/dist/definitions/api-keys/index.d.ts +2 -2
- package/dist/definitions/api-keys/index.d.ts.map +1 -1
- package/dist/definitions/api-keys/index.js +2 -2
- package/dist/definitions/api-keys/index.js.map +1 -1
- package/dist/definitions/api-keys/request.schema.d.ts +19 -0
- package/dist/definitions/api-keys/request.schema.d.ts.map +1 -1
- package/dist/definitions/api-keys/request.schema.js +5 -1
- package/dist/definitions/api-keys/request.schema.js.map +1 -1
- package/dist/definitions/api-keys/response.schema.d.ts +12 -0
- package/dist/definitions/api-keys/response.schema.d.ts.map +1 -1
- package/dist/definitions/approvals/domain.schema.d.ts +4 -4
- package/dist/definitions/approvals/request.schema.d.ts +7 -7
- package/dist/definitions/approvals/response.schema.d.ts +11 -11
- package/dist/definitions/artifacts/domain.schema.d.ts +2 -2
- package/dist/definitions/artifacts/request.schema.d.ts +3 -3
- package/dist/definitions/artifacts/response.schema.d.ts +7 -7
- package/dist/definitions/audit-log/domain.schema.d.ts +6 -6
- package/dist/definitions/audit-log/request.schema.d.ts +13 -13
- package/dist/definitions/audit-log/response.schema.d.ts +6 -6
- package/dist/definitions/index.d.ts +9 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +19 -4
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +5 -5
- package/dist/definitions/policies/domain.schema.d.ts +18 -18
- package/dist/definitions/policies/request.schema.d.ts +8 -8
- package/dist/definitions/policies/response.schema.d.ts +18 -18
- package/dist/definitions/releases/domain.schema.d.ts +23 -23
- package/dist/definitions/releases/request.schema.d.ts +27 -27
- package/dist/definitions/releases/response.schema.d.ts +14 -14
- package/dist/definitions/service-accounts/domain.schema.d.ts +8 -8
- package/dist/definitions/service-accounts/response.schema.d.ts +8 -8
- package/dist/definitions/settings/response.schema.d.ts +10 -10
- package/dist/definitions/signals/domain.schema.d.ts +100 -56
- package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
- package/dist/definitions/signals/domain.schema.js +34 -4
- package/dist/definitions/signals/domain.schema.js.map +1 -1
- package/dist/definitions/signals/events.schema.d.ts +713 -0
- package/dist/definitions/signals/events.schema.d.ts.map +1 -0
- package/dist/definitions/signals/events.schema.js +132 -0
- package/dist/definitions/signals/events.schema.js.map +1 -0
- package/dist/definitions/signals/index.d.ts +4 -3
- package/dist/definitions/signals/index.d.ts.map +1 -1
- package/dist/definitions/signals/index.js +5 -3
- package/dist/definitions/signals/index.js.map +1 -1
- package/dist/definitions/signals/request.schema.d.ts +115 -5
- package/dist/definitions/signals/request.schema.d.ts.map +1 -1
- package/dist/definitions/signals/request.schema.js +96 -2
- package/dist/definitions/signals/request.schema.js.map +1 -1
- package/dist/definitions/signals/response.schema.d.ts +188 -69
- package/dist/definitions/signals/response.schema.d.ts.map +1 -1
- package/dist/definitions/signals/response.schema.js +57 -0
- package/dist/definitions/signals/response.schema.js.map +1 -1
- package/dist/definitions/telemetry/index.d.ts +8 -0
- package/dist/definitions/telemetry/index.d.ts.map +1 -0
- package/dist/definitions/telemetry/index.js +10 -0
- package/dist/definitions/telemetry/index.js.map +1 -0
- package/dist/definitions/telemetry/request.schema.d.ts +121 -0
- package/dist/definitions/telemetry/request.schema.d.ts.map +1 -0
- package/dist/definitions/telemetry/request.schema.js +90 -0
- package/dist/definitions/telemetry/request.schema.js.map +1 -0
- package/dist/definitions/telemetry/response.schema.d.ts +92 -0
- package/dist/definitions/telemetry/response.schema.d.ts.map +1 -0
- package/dist/definitions/telemetry/response.schema.js +43 -0
- package/dist/definitions/telemetry/response.schema.js.map +1 -0
- package/dist/definitions/webhooks/domain.schema.d.ts +2 -2
- package/dist/definitions/webhooks/response.schema.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,33 +18,33 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
18
18
|
start: z.ZodString;
|
|
19
19
|
end: z.ZodString;
|
|
20
20
|
granularity: z.ZodEnum<{
|
|
21
|
+
"1m": "1m";
|
|
21
22
|
"5m": "5m";
|
|
22
23
|
"15m": "15m";
|
|
23
24
|
"1h": "1h";
|
|
24
25
|
"6h": "6h";
|
|
25
26
|
"1d": "1d";
|
|
26
|
-
"1m": "1m";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
healthScore: z.ZodNumber;
|
|
30
30
|
status: z.ZodEnum<{
|
|
31
31
|
healthy: "healthy";
|
|
32
|
-
degraded: "degraded";
|
|
33
32
|
critical: "critical";
|
|
33
|
+
degraded: "degraded";
|
|
34
34
|
}>;
|
|
35
35
|
signals: z.ZodArray<z.ZodObject<{
|
|
36
36
|
type: z.ZodEnum<{
|
|
37
|
+
logs: "logs";
|
|
37
38
|
stability: "stability";
|
|
38
39
|
performance: "performance";
|
|
39
40
|
errors: "errors";
|
|
40
41
|
usage: "usage";
|
|
41
42
|
infra: "infra";
|
|
42
|
-
logs: "logs";
|
|
43
43
|
}>;
|
|
44
44
|
status: z.ZodEnum<{
|
|
45
45
|
healthy: "healthy";
|
|
46
|
-
critical: "critical";
|
|
47
46
|
warning: "warning";
|
|
47
|
+
critical: "critical";
|
|
48
48
|
}>;
|
|
49
49
|
score: z.ZodNumber;
|
|
50
50
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -52,11 +52,12 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
value: z.ZodNumber;
|
|
54
54
|
unit: z.ZodEnum<{
|
|
55
|
-
score: "score";
|
|
56
55
|
"%": "%";
|
|
57
56
|
ms: "ms";
|
|
58
57
|
count: "count";
|
|
59
58
|
rps: "rps";
|
|
59
|
+
score: "score";
|
|
60
|
+
MB: "MB";
|
|
60
61
|
}>;
|
|
61
62
|
baseline: z.ZodObject<{
|
|
62
63
|
value: z.ZodNumber;
|
|
@@ -85,11 +86,12 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
85
86
|
value: z.ZodNumber;
|
|
86
87
|
}, z.core.$strip>>>;
|
|
87
88
|
source: z.ZodEnum<{
|
|
88
|
-
custom: "custom";
|
|
89
|
-
logs: "logs";
|
|
90
89
|
sentry: "sentry";
|
|
91
90
|
datadog: "datadog";
|
|
92
91
|
newrelic: "newrelic";
|
|
92
|
+
logs: "logs";
|
|
93
|
+
custom: "custom";
|
|
94
|
+
sdk: "sdk";
|
|
93
95
|
}>;
|
|
94
96
|
}, z.core.$strip>>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
@@ -151,8 +153,8 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
151
153
|
resolved: "resolved";
|
|
152
154
|
}>;
|
|
153
155
|
severity: z.ZodEnum<{
|
|
154
|
-
critical: "critical";
|
|
155
156
|
warning: "warning";
|
|
157
|
+
critical: "critical";
|
|
156
158
|
}>;
|
|
157
159
|
title: z.ZodString;
|
|
158
160
|
startedAt: z.ZodString;
|
|
@@ -164,11 +166,12 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
164
166
|
metricValue: z.ZodNumber;
|
|
165
167
|
}, z.core.$strip>>>;
|
|
166
168
|
source: z.ZodEnum<{
|
|
167
|
-
custom: "custom";
|
|
168
|
-
logs: "logs";
|
|
169
169
|
sentry: "sentry";
|
|
170
170
|
datadog: "datadog";
|
|
171
171
|
newrelic: "newrelic";
|
|
172
|
+
logs: "logs";
|
|
173
|
+
custom: "custom";
|
|
174
|
+
sdk: "sdk";
|
|
172
175
|
}>;
|
|
173
176
|
}, z.core.$strip>>;
|
|
174
177
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -176,6 +179,7 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
176
179
|
type: z.ZodEnum<{
|
|
177
180
|
rollback: "rollback";
|
|
178
181
|
pause_rollout: "pause_rollout";
|
|
182
|
+
decrease_rollout: "decrease_rollout";
|
|
179
183
|
increase_rollout: "increase_rollout";
|
|
180
184
|
monitor: "monitor";
|
|
181
185
|
}>;
|
|
@@ -185,15 +189,16 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
185
189
|
suggestedAction: z.ZodOptional<z.ZodObject<{
|
|
186
190
|
rolloutPercentage: z.ZodOptional<z.ZodNumber>;
|
|
187
191
|
}, z.core.$strip>>;
|
|
192
|
+
isMuted: z.ZodDefault<z.ZodBoolean>;
|
|
188
193
|
}, z.core.$strip>>;
|
|
189
194
|
rolloutContext: z.ZodObject<{
|
|
190
|
-
currentPercentage: z.ZodNumber
|
|
191
|
-
strategy: z.ZodEnum<{
|
|
195
|
+
currentPercentage: z.ZodDefault<z.ZodNumber>;
|
|
196
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
192
197
|
canary: "canary";
|
|
193
198
|
rolling: "rolling";
|
|
194
199
|
blue_green: "blue_green";
|
|
195
|
-
}
|
|
196
|
-
events: z.ZodArray<z.ZodObject<{
|
|
200
|
+
}>>;
|
|
201
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
197
202
|
id: z.ZodString;
|
|
198
203
|
type: z.ZodEnum<{
|
|
199
204
|
percentage_change: "percentage_change";
|
|
@@ -208,17 +213,18 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
208
213
|
stage: z.ZodOptional<z.ZodString>;
|
|
209
214
|
reason: z.ZodOptional<z.ZodString>;
|
|
210
215
|
}, z.core.$strip>;
|
|
211
|
-
}, z.core.$strip
|
|
216
|
+
}, z.core.$strip>>>;
|
|
212
217
|
}, z.core.$strip>;
|
|
213
218
|
metadata: z.ZodObject<{
|
|
214
219
|
snapshotId: z.ZodString;
|
|
215
220
|
sampleSize: z.ZodNumber;
|
|
216
221
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
217
|
-
custom: "custom";
|
|
218
|
-
logs: "logs";
|
|
219
222
|
sentry: "sentry";
|
|
220
223
|
datadog: "datadog";
|
|
221
224
|
newrelic: "newrelic";
|
|
225
|
+
logs: "logs";
|
|
226
|
+
custom: "custom";
|
|
227
|
+
sdk: "sdk";
|
|
222
228
|
}>>;
|
|
223
229
|
computedAt: z.ZodString;
|
|
224
230
|
staleAfter: z.ZodString;
|
|
@@ -231,6 +237,16 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
231
237
|
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
232
238
|
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
233
239
|
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
regionSummary: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
regionCount: z.ZodNumber;
|
|
242
|
+
topRegionShare: z.ZodNumber;
|
|
243
|
+
topRegionCode: z.ZodNullable<z.ZodString>;
|
|
244
|
+
breakdown: z.ZodArray<z.ZodObject<{
|
|
245
|
+
country: z.ZodString;
|
|
246
|
+
deviceCount: z.ZodNumber;
|
|
247
|
+
share: z.ZodNumber;
|
|
248
|
+
}, z.core.$strip>>;
|
|
249
|
+
}, z.core.$strip>>;
|
|
234
250
|
}, z.core.$strip>;
|
|
235
251
|
}, z.core.$strip>;
|
|
236
252
|
export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
@@ -244,33 +260,33 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
244
260
|
start: z.ZodString;
|
|
245
261
|
end: z.ZodString;
|
|
246
262
|
granularity: z.ZodEnum<{
|
|
263
|
+
"1m": "1m";
|
|
247
264
|
"5m": "5m";
|
|
248
265
|
"15m": "15m";
|
|
249
266
|
"1h": "1h";
|
|
250
267
|
"6h": "6h";
|
|
251
268
|
"1d": "1d";
|
|
252
|
-
"1m": "1m";
|
|
253
269
|
}>;
|
|
254
270
|
}, z.core.$strip>;
|
|
255
271
|
healthScore: z.ZodNumber;
|
|
256
272
|
status: z.ZodEnum<{
|
|
257
273
|
healthy: "healthy";
|
|
258
|
-
degraded: "degraded";
|
|
259
274
|
critical: "critical";
|
|
275
|
+
degraded: "degraded";
|
|
260
276
|
}>;
|
|
261
277
|
signals: z.ZodArray<z.ZodObject<{
|
|
262
278
|
type: z.ZodEnum<{
|
|
279
|
+
logs: "logs";
|
|
263
280
|
stability: "stability";
|
|
264
281
|
performance: "performance";
|
|
265
282
|
errors: "errors";
|
|
266
283
|
usage: "usage";
|
|
267
284
|
infra: "infra";
|
|
268
|
-
logs: "logs";
|
|
269
285
|
}>;
|
|
270
286
|
status: z.ZodEnum<{
|
|
271
287
|
healthy: "healthy";
|
|
272
|
-
critical: "critical";
|
|
273
288
|
warning: "warning";
|
|
289
|
+
critical: "critical";
|
|
274
290
|
}>;
|
|
275
291
|
score: z.ZodNumber;
|
|
276
292
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -278,11 +294,12 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
278
294
|
label: z.ZodString;
|
|
279
295
|
value: z.ZodNumber;
|
|
280
296
|
unit: z.ZodEnum<{
|
|
281
|
-
score: "score";
|
|
282
297
|
"%": "%";
|
|
283
298
|
ms: "ms";
|
|
284
299
|
count: "count";
|
|
285
300
|
rps: "rps";
|
|
301
|
+
score: "score";
|
|
302
|
+
MB: "MB";
|
|
286
303
|
}>;
|
|
287
304
|
baseline: z.ZodObject<{
|
|
288
305
|
value: z.ZodNumber;
|
|
@@ -311,11 +328,12 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
311
328
|
value: z.ZodNumber;
|
|
312
329
|
}, z.core.$strip>>>;
|
|
313
330
|
source: z.ZodEnum<{
|
|
314
|
-
custom: "custom";
|
|
315
|
-
logs: "logs";
|
|
316
331
|
sentry: "sentry";
|
|
317
332
|
datadog: "datadog";
|
|
318
333
|
newrelic: "newrelic";
|
|
334
|
+
logs: "logs";
|
|
335
|
+
custom: "custom";
|
|
336
|
+
sdk: "sdk";
|
|
319
337
|
}>;
|
|
320
338
|
}, z.core.$strip>>;
|
|
321
339
|
}, z.core.$strip>>;
|
|
@@ -377,8 +395,8 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
377
395
|
resolved: "resolved";
|
|
378
396
|
}>;
|
|
379
397
|
severity: z.ZodEnum<{
|
|
380
|
-
critical: "critical";
|
|
381
398
|
warning: "warning";
|
|
399
|
+
critical: "critical";
|
|
382
400
|
}>;
|
|
383
401
|
title: z.ZodString;
|
|
384
402
|
startedAt: z.ZodString;
|
|
@@ -390,11 +408,12 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
390
408
|
metricValue: z.ZodNumber;
|
|
391
409
|
}, z.core.$strip>>>;
|
|
392
410
|
source: z.ZodEnum<{
|
|
393
|
-
custom: "custom";
|
|
394
|
-
logs: "logs";
|
|
395
411
|
sentry: "sentry";
|
|
396
412
|
datadog: "datadog";
|
|
397
413
|
newrelic: "newrelic";
|
|
414
|
+
logs: "logs";
|
|
415
|
+
custom: "custom";
|
|
416
|
+
sdk: "sdk";
|
|
398
417
|
}>;
|
|
399
418
|
}, z.core.$strip>>;
|
|
400
419
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -402,6 +421,7 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
402
421
|
type: z.ZodEnum<{
|
|
403
422
|
rollback: "rollback";
|
|
404
423
|
pause_rollout: "pause_rollout";
|
|
424
|
+
decrease_rollout: "decrease_rollout";
|
|
405
425
|
increase_rollout: "increase_rollout";
|
|
406
426
|
monitor: "monitor";
|
|
407
427
|
}>;
|
|
@@ -411,15 +431,16 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
411
431
|
suggestedAction: z.ZodOptional<z.ZodObject<{
|
|
412
432
|
rolloutPercentage: z.ZodOptional<z.ZodNumber>;
|
|
413
433
|
}, z.core.$strip>>;
|
|
434
|
+
isMuted: z.ZodDefault<z.ZodBoolean>;
|
|
414
435
|
}, z.core.$strip>>;
|
|
415
436
|
rolloutContext: z.ZodObject<{
|
|
416
|
-
currentPercentage: z.ZodNumber
|
|
417
|
-
strategy: z.ZodEnum<{
|
|
437
|
+
currentPercentage: z.ZodDefault<z.ZodNumber>;
|
|
438
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
418
439
|
canary: "canary";
|
|
419
440
|
rolling: "rolling";
|
|
420
441
|
blue_green: "blue_green";
|
|
421
|
-
}
|
|
422
|
-
events: z.ZodArray<z.ZodObject<{
|
|
442
|
+
}>>;
|
|
443
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
423
444
|
id: z.ZodString;
|
|
424
445
|
type: z.ZodEnum<{
|
|
425
446
|
percentage_change: "percentage_change";
|
|
@@ -434,17 +455,18 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
434
455
|
stage: z.ZodOptional<z.ZodString>;
|
|
435
456
|
reason: z.ZodOptional<z.ZodString>;
|
|
436
457
|
}, z.core.$strip>;
|
|
437
|
-
}, z.core.$strip
|
|
458
|
+
}, z.core.$strip>>>;
|
|
438
459
|
}, z.core.$strip>;
|
|
439
460
|
metadata: z.ZodObject<{
|
|
440
461
|
snapshotId: z.ZodString;
|
|
441
462
|
sampleSize: z.ZodNumber;
|
|
442
463
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
443
|
-
custom: "custom";
|
|
444
|
-
logs: "logs";
|
|
445
464
|
sentry: "sentry";
|
|
446
465
|
datadog: "datadog";
|
|
447
466
|
newrelic: "newrelic";
|
|
467
|
+
logs: "logs";
|
|
468
|
+
custom: "custom";
|
|
469
|
+
sdk: "sdk";
|
|
448
470
|
}>>;
|
|
449
471
|
computedAt: z.ZodString;
|
|
450
472
|
staleAfter: z.ZodString;
|
|
@@ -457,6 +479,16 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
457
479
|
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
458
480
|
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
459
481
|
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
regionSummary: z.ZodOptional<z.ZodObject<{
|
|
483
|
+
regionCount: z.ZodNumber;
|
|
484
|
+
topRegionShare: z.ZodNumber;
|
|
485
|
+
topRegionCode: z.ZodNullable<z.ZodString>;
|
|
486
|
+
breakdown: z.ZodArray<z.ZodObject<{
|
|
487
|
+
country: z.ZodString;
|
|
488
|
+
deviceCount: z.ZodNumber;
|
|
489
|
+
share: z.ZodNumber;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
}, z.core.$strip>>;
|
|
460
492
|
}, z.core.$strip>;
|
|
461
493
|
}, z.core.$strip>>;
|
|
462
494
|
}, z.core.$strip>;
|
|
@@ -477,33 +509,33 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
477
509
|
start: z.ZodString;
|
|
478
510
|
end: z.ZodString;
|
|
479
511
|
granularity: z.ZodEnum<{
|
|
512
|
+
"1m": "1m";
|
|
480
513
|
"5m": "5m";
|
|
481
514
|
"15m": "15m";
|
|
482
515
|
"1h": "1h";
|
|
483
516
|
"6h": "6h";
|
|
484
517
|
"1d": "1d";
|
|
485
|
-
"1m": "1m";
|
|
486
518
|
}>;
|
|
487
519
|
}, z.core.$strip>;
|
|
488
520
|
healthScore: z.ZodNumber;
|
|
489
521
|
status: z.ZodEnum<{
|
|
490
522
|
healthy: "healthy";
|
|
491
|
-
degraded: "degraded";
|
|
492
523
|
critical: "critical";
|
|
524
|
+
degraded: "degraded";
|
|
493
525
|
}>;
|
|
494
526
|
signals: z.ZodArray<z.ZodObject<{
|
|
495
527
|
type: z.ZodEnum<{
|
|
528
|
+
logs: "logs";
|
|
496
529
|
stability: "stability";
|
|
497
530
|
performance: "performance";
|
|
498
531
|
errors: "errors";
|
|
499
532
|
usage: "usage";
|
|
500
533
|
infra: "infra";
|
|
501
|
-
logs: "logs";
|
|
502
534
|
}>;
|
|
503
535
|
status: z.ZodEnum<{
|
|
504
536
|
healthy: "healthy";
|
|
505
|
-
critical: "critical";
|
|
506
537
|
warning: "warning";
|
|
538
|
+
critical: "critical";
|
|
507
539
|
}>;
|
|
508
540
|
score: z.ZodNumber;
|
|
509
541
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -511,11 +543,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
511
543
|
label: z.ZodString;
|
|
512
544
|
value: z.ZodNumber;
|
|
513
545
|
unit: z.ZodEnum<{
|
|
514
|
-
score: "score";
|
|
515
546
|
"%": "%";
|
|
516
547
|
ms: "ms";
|
|
517
548
|
count: "count";
|
|
518
549
|
rps: "rps";
|
|
550
|
+
score: "score";
|
|
551
|
+
MB: "MB";
|
|
519
552
|
}>;
|
|
520
553
|
baseline: z.ZodObject<{
|
|
521
554
|
value: z.ZodNumber;
|
|
@@ -544,11 +577,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
544
577
|
value: z.ZodNumber;
|
|
545
578
|
}, z.core.$strip>>>;
|
|
546
579
|
source: z.ZodEnum<{
|
|
547
|
-
custom: "custom";
|
|
548
|
-
logs: "logs";
|
|
549
580
|
sentry: "sentry";
|
|
550
581
|
datadog: "datadog";
|
|
551
582
|
newrelic: "newrelic";
|
|
583
|
+
logs: "logs";
|
|
584
|
+
custom: "custom";
|
|
585
|
+
sdk: "sdk";
|
|
552
586
|
}>;
|
|
553
587
|
}, z.core.$strip>>;
|
|
554
588
|
}, z.core.$strip>>;
|
|
@@ -610,8 +644,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
610
644
|
resolved: "resolved";
|
|
611
645
|
}>;
|
|
612
646
|
severity: z.ZodEnum<{
|
|
613
|
-
critical: "critical";
|
|
614
647
|
warning: "warning";
|
|
648
|
+
critical: "critical";
|
|
615
649
|
}>;
|
|
616
650
|
title: z.ZodString;
|
|
617
651
|
startedAt: z.ZodString;
|
|
@@ -623,11 +657,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
623
657
|
metricValue: z.ZodNumber;
|
|
624
658
|
}, z.core.$strip>>>;
|
|
625
659
|
source: z.ZodEnum<{
|
|
626
|
-
custom: "custom";
|
|
627
|
-
logs: "logs";
|
|
628
660
|
sentry: "sentry";
|
|
629
661
|
datadog: "datadog";
|
|
630
662
|
newrelic: "newrelic";
|
|
663
|
+
logs: "logs";
|
|
664
|
+
custom: "custom";
|
|
665
|
+
sdk: "sdk";
|
|
631
666
|
}>;
|
|
632
667
|
}, z.core.$strip>>;
|
|
633
668
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -635,6 +670,7 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
635
670
|
type: z.ZodEnum<{
|
|
636
671
|
rollback: "rollback";
|
|
637
672
|
pause_rollout: "pause_rollout";
|
|
673
|
+
decrease_rollout: "decrease_rollout";
|
|
638
674
|
increase_rollout: "increase_rollout";
|
|
639
675
|
monitor: "monitor";
|
|
640
676
|
}>;
|
|
@@ -644,15 +680,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
644
680
|
suggestedAction: z.ZodOptional<z.ZodObject<{
|
|
645
681
|
rolloutPercentage: z.ZodOptional<z.ZodNumber>;
|
|
646
682
|
}, z.core.$strip>>;
|
|
683
|
+
isMuted: z.ZodDefault<z.ZodBoolean>;
|
|
647
684
|
}, z.core.$strip>>;
|
|
648
685
|
rolloutContext: z.ZodObject<{
|
|
649
|
-
currentPercentage: z.ZodNumber
|
|
650
|
-
strategy: z.ZodEnum<{
|
|
686
|
+
currentPercentage: z.ZodDefault<z.ZodNumber>;
|
|
687
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
651
688
|
canary: "canary";
|
|
652
689
|
rolling: "rolling";
|
|
653
690
|
blue_green: "blue_green";
|
|
654
|
-
}
|
|
655
|
-
events: z.ZodArray<z.ZodObject<{
|
|
691
|
+
}>>;
|
|
692
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
656
693
|
id: z.ZodString;
|
|
657
694
|
type: z.ZodEnum<{
|
|
658
695
|
percentage_change: "percentage_change";
|
|
@@ -667,17 +704,18 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
667
704
|
stage: z.ZodOptional<z.ZodString>;
|
|
668
705
|
reason: z.ZodOptional<z.ZodString>;
|
|
669
706
|
}, z.core.$strip>;
|
|
670
|
-
}, z.core.$strip
|
|
707
|
+
}, z.core.$strip>>>;
|
|
671
708
|
}, z.core.$strip>;
|
|
672
709
|
metadata: z.ZodObject<{
|
|
673
710
|
snapshotId: z.ZodString;
|
|
674
711
|
sampleSize: z.ZodNumber;
|
|
675
712
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
676
|
-
custom: "custom";
|
|
677
|
-
logs: "logs";
|
|
678
713
|
sentry: "sentry";
|
|
679
714
|
datadog: "datadog";
|
|
680
715
|
newrelic: "newrelic";
|
|
716
|
+
logs: "logs";
|
|
717
|
+
custom: "custom";
|
|
718
|
+
sdk: "sdk";
|
|
681
719
|
}>>;
|
|
682
720
|
computedAt: z.ZodString;
|
|
683
721
|
staleAfter: z.ZodString;
|
|
@@ -690,6 +728,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
690
728
|
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
691
729
|
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
692
730
|
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
regionSummary: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
regionCount: z.ZodNumber;
|
|
733
|
+
topRegionShare: z.ZodNumber;
|
|
734
|
+
topRegionCode: z.ZodNullable<z.ZodString>;
|
|
735
|
+
breakdown: z.ZodArray<z.ZodObject<{
|
|
736
|
+
country: z.ZodString;
|
|
737
|
+
deviceCount: z.ZodNumber;
|
|
738
|
+
share: z.ZodNumber;
|
|
739
|
+
}, z.core.$strip>>;
|
|
740
|
+
}, z.core.$strip>>;
|
|
693
741
|
}, z.core.$strip>;
|
|
694
742
|
}, z.core.$strip>;
|
|
695
743
|
target: z.ZodObject<{
|
|
@@ -702,33 +750,33 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
702
750
|
start: z.ZodString;
|
|
703
751
|
end: z.ZodString;
|
|
704
752
|
granularity: z.ZodEnum<{
|
|
753
|
+
"1m": "1m";
|
|
705
754
|
"5m": "5m";
|
|
706
755
|
"15m": "15m";
|
|
707
756
|
"1h": "1h";
|
|
708
757
|
"6h": "6h";
|
|
709
758
|
"1d": "1d";
|
|
710
|
-
"1m": "1m";
|
|
711
759
|
}>;
|
|
712
760
|
}, z.core.$strip>;
|
|
713
761
|
healthScore: z.ZodNumber;
|
|
714
762
|
status: z.ZodEnum<{
|
|
715
763
|
healthy: "healthy";
|
|
716
|
-
degraded: "degraded";
|
|
717
764
|
critical: "critical";
|
|
765
|
+
degraded: "degraded";
|
|
718
766
|
}>;
|
|
719
767
|
signals: z.ZodArray<z.ZodObject<{
|
|
720
768
|
type: z.ZodEnum<{
|
|
769
|
+
logs: "logs";
|
|
721
770
|
stability: "stability";
|
|
722
771
|
performance: "performance";
|
|
723
772
|
errors: "errors";
|
|
724
773
|
usage: "usage";
|
|
725
774
|
infra: "infra";
|
|
726
|
-
logs: "logs";
|
|
727
775
|
}>;
|
|
728
776
|
status: z.ZodEnum<{
|
|
729
777
|
healthy: "healthy";
|
|
730
|
-
critical: "critical";
|
|
731
778
|
warning: "warning";
|
|
779
|
+
critical: "critical";
|
|
732
780
|
}>;
|
|
733
781
|
score: z.ZodNumber;
|
|
734
782
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -736,11 +784,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
736
784
|
label: z.ZodString;
|
|
737
785
|
value: z.ZodNumber;
|
|
738
786
|
unit: z.ZodEnum<{
|
|
739
|
-
score: "score";
|
|
740
787
|
"%": "%";
|
|
741
788
|
ms: "ms";
|
|
742
789
|
count: "count";
|
|
743
790
|
rps: "rps";
|
|
791
|
+
score: "score";
|
|
792
|
+
MB: "MB";
|
|
744
793
|
}>;
|
|
745
794
|
baseline: z.ZodObject<{
|
|
746
795
|
value: z.ZodNumber;
|
|
@@ -769,11 +818,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
769
818
|
value: z.ZodNumber;
|
|
770
819
|
}, z.core.$strip>>>;
|
|
771
820
|
source: z.ZodEnum<{
|
|
772
|
-
custom: "custom";
|
|
773
|
-
logs: "logs";
|
|
774
821
|
sentry: "sentry";
|
|
775
822
|
datadog: "datadog";
|
|
776
823
|
newrelic: "newrelic";
|
|
824
|
+
logs: "logs";
|
|
825
|
+
custom: "custom";
|
|
826
|
+
sdk: "sdk";
|
|
777
827
|
}>;
|
|
778
828
|
}, z.core.$strip>>;
|
|
779
829
|
}, z.core.$strip>>;
|
|
@@ -835,8 +885,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
835
885
|
resolved: "resolved";
|
|
836
886
|
}>;
|
|
837
887
|
severity: z.ZodEnum<{
|
|
838
|
-
critical: "critical";
|
|
839
888
|
warning: "warning";
|
|
889
|
+
critical: "critical";
|
|
840
890
|
}>;
|
|
841
891
|
title: z.ZodString;
|
|
842
892
|
startedAt: z.ZodString;
|
|
@@ -848,11 +898,12 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
848
898
|
metricValue: z.ZodNumber;
|
|
849
899
|
}, z.core.$strip>>>;
|
|
850
900
|
source: z.ZodEnum<{
|
|
851
|
-
custom: "custom";
|
|
852
|
-
logs: "logs";
|
|
853
901
|
sentry: "sentry";
|
|
854
902
|
datadog: "datadog";
|
|
855
903
|
newrelic: "newrelic";
|
|
904
|
+
logs: "logs";
|
|
905
|
+
custom: "custom";
|
|
906
|
+
sdk: "sdk";
|
|
856
907
|
}>;
|
|
857
908
|
}, z.core.$strip>>;
|
|
858
909
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -860,6 +911,7 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
860
911
|
type: z.ZodEnum<{
|
|
861
912
|
rollback: "rollback";
|
|
862
913
|
pause_rollout: "pause_rollout";
|
|
914
|
+
decrease_rollout: "decrease_rollout";
|
|
863
915
|
increase_rollout: "increase_rollout";
|
|
864
916
|
monitor: "monitor";
|
|
865
917
|
}>;
|
|
@@ -869,15 +921,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
869
921
|
suggestedAction: z.ZodOptional<z.ZodObject<{
|
|
870
922
|
rolloutPercentage: z.ZodOptional<z.ZodNumber>;
|
|
871
923
|
}, z.core.$strip>>;
|
|
924
|
+
isMuted: z.ZodDefault<z.ZodBoolean>;
|
|
872
925
|
}, z.core.$strip>>;
|
|
873
926
|
rolloutContext: z.ZodObject<{
|
|
874
|
-
currentPercentage: z.ZodNumber
|
|
875
|
-
strategy: z.ZodEnum<{
|
|
927
|
+
currentPercentage: z.ZodDefault<z.ZodNumber>;
|
|
928
|
+
strategy: z.ZodDefault<z.ZodEnum<{
|
|
876
929
|
canary: "canary";
|
|
877
930
|
rolling: "rolling";
|
|
878
931
|
blue_green: "blue_green";
|
|
879
|
-
}
|
|
880
|
-
events: z.ZodArray<z.ZodObject<{
|
|
932
|
+
}>>;
|
|
933
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
881
934
|
id: z.ZodString;
|
|
882
935
|
type: z.ZodEnum<{
|
|
883
936
|
percentage_change: "percentage_change";
|
|
@@ -892,17 +945,18 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
892
945
|
stage: z.ZodOptional<z.ZodString>;
|
|
893
946
|
reason: z.ZodOptional<z.ZodString>;
|
|
894
947
|
}, z.core.$strip>;
|
|
895
|
-
}, z.core.$strip
|
|
948
|
+
}, z.core.$strip>>>;
|
|
896
949
|
}, z.core.$strip>;
|
|
897
950
|
metadata: z.ZodObject<{
|
|
898
951
|
snapshotId: z.ZodString;
|
|
899
952
|
sampleSize: z.ZodNumber;
|
|
900
953
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
901
|
-
custom: "custom";
|
|
902
|
-
logs: "logs";
|
|
903
954
|
sentry: "sentry";
|
|
904
955
|
datadog: "datadog";
|
|
905
956
|
newrelic: "newrelic";
|
|
957
|
+
logs: "logs";
|
|
958
|
+
custom: "custom";
|
|
959
|
+
sdk: "sdk";
|
|
906
960
|
}>>;
|
|
907
961
|
computedAt: z.ZodString;
|
|
908
962
|
staleAfter: z.ZodString;
|
|
@@ -915,6 +969,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
915
969
|
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
916
970
|
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
917
971
|
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
972
|
+
regionSummary: z.ZodOptional<z.ZodObject<{
|
|
973
|
+
regionCount: z.ZodNumber;
|
|
974
|
+
topRegionShare: z.ZodNumber;
|
|
975
|
+
topRegionCode: z.ZodNullable<z.ZodString>;
|
|
976
|
+
breakdown: z.ZodArray<z.ZodObject<{
|
|
977
|
+
country: z.ZodString;
|
|
978
|
+
deviceCount: z.ZodNumber;
|
|
979
|
+
share: z.ZodNumber;
|
|
980
|
+
}, z.core.$strip>>;
|
|
981
|
+
}, z.core.$strip>>;
|
|
918
982
|
}, z.core.$strip>;
|
|
919
983
|
}, z.core.$strip>;
|
|
920
984
|
diff: z.ZodObject<{
|
|
@@ -1037,6 +1101,7 @@ export declare const GateEvaluationResponseSchema: z.ZodObject<{
|
|
|
1037
1101
|
type: z.ZodEnum<{
|
|
1038
1102
|
rollback: "rollback";
|
|
1039
1103
|
pause_rollout: "pause_rollout";
|
|
1104
|
+
decrease_rollout: "decrease_rollout";
|
|
1040
1105
|
increase_rollout: "increase_rollout";
|
|
1041
1106
|
monitor: "monitor";
|
|
1042
1107
|
}>;
|
|
@@ -1046,19 +1111,66 @@ export declare const GateEvaluationResponseSchema: z.ZodObject<{
|
|
|
1046
1111
|
suggestedAction: z.ZodOptional<z.ZodObject<{
|
|
1047
1112
|
rolloutPercentage: z.ZodOptional<z.ZodNumber>;
|
|
1048
1113
|
}, z.core.$strip>>;
|
|
1114
|
+
isMuted: z.ZodDefault<z.ZodBoolean>;
|
|
1049
1115
|
}, z.core.$strip>>;
|
|
1050
1116
|
}, z.core.$strip>;
|
|
1051
1117
|
export declare const AnnotateEventResponseSchema: z.ZodObject<{
|
|
1052
1118
|
eventId: z.ZodString;
|
|
1053
1119
|
correlationsTriggered: z.ZodBoolean;
|
|
1054
1120
|
}, z.core.$strip>;
|
|
1121
|
+
export declare const MetricBaselineItemSchema: z.ZodObject<{
|
|
1122
|
+
metricKey: z.ZodString;
|
|
1123
|
+
baselineValue: z.ZodNumber;
|
|
1124
|
+
stdDev: z.ZodNumber;
|
|
1125
|
+
sampleCount: z.ZodNumber;
|
|
1126
|
+
window: z.ZodString;
|
|
1127
|
+
computedAt: z.ZodString;
|
|
1128
|
+
}, z.core.$strip>;
|
|
1129
|
+
export declare const BaselinesResponseSchema: z.ZodObject<{
|
|
1130
|
+
baselines: z.ZodArray<z.ZodObject<{
|
|
1131
|
+
metricKey: z.ZodString;
|
|
1132
|
+
baselineValue: z.ZodNumber;
|
|
1133
|
+
stdDev: z.ZodNumber;
|
|
1134
|
+
sampleCount: z.ZodNumber;
|
|
1135
|
+
window: z.ZodString;
|
|
1136
|
+
computedAt: z.ZodString;
|
|
1137
|
+
}, z.core.$strip>>;
|
|
1138
|
+
}, z.core.$strip>;
|
|
1139
|
+
export declare const RolloutEventsResponseSchema: z.ZodObject<{
|
|
1140
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1141
|
+
id: z.ZodString;
|
|
1142
|
+
type: z.ZodString;
|
|
1143
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1144
|
+
timestamp: z.ZodString;
|
|
1145
|
+
}, z.core.$strip>>;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
export declare const RecommendationActionResponseSchema: z.ZodObject<{
|
|
1148
|
+
actionId: z.ZodString;
|
|
1149
|
+
recommendationId: z.ZodString;
|
|
1150
|
+
action: z.ZodString;
|
|
1151
|
+
recordedAt: z.ZodString;
|
|
1152
|
+
}, z.core.$strip>;
|
|
1153
|
+
export declare const IncidentAcknowledgementResponseSchema: z.ZodObject<{
|
|
1154
|
+
acknowledgementId: z.ZodString;
|
|
1155
|
+
incidentId: z.ZodString;
|
|
1156
|
+
acknowledgedAt: z.ZodString;
|
|
1157
|
+
}, z.core.$strip>;
|
|
1158
|
+
export declare const SdkReportResponseSchema: z.ZodObject<{
|
|
1159
|
+
id: z.ZodString;
|
|
1160
|
+
accepted: z.ZodBoolean;
|
|
1161
|
+
}, z.core.$strip>;
|
|
1162
|
+
export declare const SdkDependenciesResponseSchema: z.ZodObject<{
|
|
1163
|
+
id: z.ZodString;
|
|
1164
|
+
accepted: z.ZodBoolean;
|
|
1165
|
+
dependencyCount: z.ZodNumber;
|
|
1166
|
+
}, z.core.$strip>;
|
|
1055
1167
|
export declare const SignalUpdateEventSchema: z.ZodObject<{
|
|
1056
1168
|
releaseId: z.ZodString;
|
|
1057
1169
|
healthScore: z.ZodNumber;
|
|
1058
1170
|
status: z.ZodEnum<{
|
|
1059
1171
|
healthy: "healthy";
|
|
1060
|
-
degraded: "degraded";
|
|
1061
1172
|
critical: "critical";
|
|
1173
|
+
degraded: "degraded";
|
|
1062
1174
|
}>;
|
|
1063
1175
|
trigger: z.ZodOptional<z.ZodString>;
|
|
1064
1176
|
}, z.core.$strip>;
|
|
@@ -1110,4 +1222,11 @@ export type AnnotateEventResponse = z.infer<typeof AnnotateEventResponseSchema>;
|
|
|
1110
1222
|
export type SignalUpdateEvent = z.infer<typeof SignalUpdateEventSchema>;
|
|
1111
1223
|
export type SignalCriticalEvent = z.infer<typeof SignalCriticalEventSchema>;
|
|
1112
1224
|
export type SignalRecoveredEvent = z.infer<typeof SignalRecoveredEventSchema>;
|
|
1225
|
+
export type MetricBaselineItem = z.infer<typeof MetricBaselineItemSchema>;
|
|
1226
|
+
export type BaselinesResponse = z.infer<typeof BaselinesResponseSchema>;
|
|
1227
|
+
export type RolloutEventsResponse = z.infer<typeof RolloutEventsResponseSchema>;
|
|
1228
|
+
export type RecommendationActionResponse = z.infer<typeof RecommendationActionResponseSchema>;
|
|
1229
|
+
export type IncidentAcknowledgementResponse = z.infer<typeof IncidentAcknowledgementResponseSchema>;
|
|
1230
|
+
export type SdkReportResponse = z.infer<typeof SdkReportResponseSchema>;
|
|
1231
|
+
export type SdkDependenciesResponse = z.infer<typeof SdkDependenciesResponseSchema>;
|
|
1113
1232
|
//# sourceMappingURL=response.schema.d.ts.map
|