@apollo-deploy/schemas 1.3.1 → 1.3.3

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.
Files changed (73) hide show
  1. package/dist/definitions/analytics/request.schema.d.ts +2 -2
  2. package/dist/definitions/api-keys/domain.schema.d.ts +13 -0
  3. package/dist/definitions/api-keys/domain.schema.d.ts.map +1 -1
  4. package/dist/definitions/api-keys/domain.schema.js +11 -0
  5. package/dist/definitions/api-keys/domain.schema.js.map +1 -1
  6. package/dist/definitions/api-keys/index.d.ts +2 -2
  7. package/dist/definitions/api-keys/index.d.ts.map +1 -1
  8. package/dist/definitions/api-keys/index.js +2 -2
  9. package/dist/definitions/api-keys/index.js.map +1 -1
  10. package/dist/definitions/api-keys/request.schema.d.ts +19 -0
  11. package/dist/definitions/api-keys/request.schema.d.ts.map +1 -1
  12. package/dist/definitions/api-keys/request.schema.js +5 -1
  13. package/dist/definitions/api-keys/request.schema.js.map +1 -1
  14. package/dist/definitions/api-keys/response.schema.d.ts +12 -0
  15. package/dist/definitions/api-keys/response.schema.d.ts.map +1 -1
  16. package/dist/definitions/approvals/domain.schema.d.ts +4 -4
  17. package/dist/definitions/approvals/request.schema.d.ts +7 -7
  18. package/dist/definitions/approvals/response.schema.d.ts +11 -11
  19. package/dist/definitions/artifacts/domain.schema.d.ts +2 -2
  20. package/dist/definitions/artifacts/request.schema.d.ts +3 -3
  21. package/dist/definitions/artifacts/response.schema.d.ts +7 -7
  22. package/dist/definitions/audit-log/domain.schema.d.ts +6 -6
  23. package/dist/definitions/audit-log/request.schema.d.ts +13 -13
  24. package/dist/definitions/audit-log/response.schema.d.ts +6 -6
  25. package/dist/definitions/index.d.ts +9 -2
  26. package/dist/definitions/index.d.ts.map +1 -1
  27. package/dist/definitions/index.js +19 -4
  28. package/dist/definitions/index.js.map +1 -1
  29. package/dist/definitions/integrations/domain.schema.d.ts +5 -5
  30. package/dist/definitions/policies/domain.schema.d.ts +18 -18
  31. package/dist/definitions/policies/request.schema.d.ts +8 -8
  32. package/dist/definitions/policies/response.schema.d.ts +18 -18
  33. package/dist/definitions/releases/domain.schema.d.ts +23 -23
  34. package/dist/definitions/releases/request.schema.d.ts +27 -27
  35. package/dist/definitions/releases/response.schema.d.ts +14 -14
  36. package/dist/definitions/service-accounts/domain.schema.d.ts +8 -8
  37. package/dist/definitions/service-accounts/response.schema.d.ts +8 -8
  38. package/dist/definitions/settings/response.schema.d.ts +10 -10
  39. package/dist/definitions/signals/domain.schema.d.ts +100 -56
  40. package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
  41. package/dist/definitions/signals/domain.schema.js +34 -4
  42. package/dist/definitions/signals/domain.schema.js.map +1 -1
  43. package/dist/definitions/signals/events.schema.d.ts +713 -0
  44. package/dist/definitions/signals/events.schema.d.ts.map +1 -0
  45. package/dist/definitions/signals/events.schema.js +132 -0
  46. package/dist/definitions/signals/events.schema.js.map +1 -0
  47. package/dist/definitions/signals/index.d.ts +4 -3
  48. package/dist/definitions/signals/index.d.ts.map +1 -1
  49. package/dist/definitions/signals/index.js +5 -3
  50. package/dist/definitions/signals/index.js.map +1 -1
  51. package/dist/definitions/signals/request.schema.d.ts +129 -15
  52. package/dist/definitions/signals/request.schema.d.ts.map +1 -1
  53. package/dist/definitions/signals/request.schema.js +110 -8
  54. package/dist/definitions/signals/request.schema.js.map +1 -1
  55. package/dist/definitions/signals/response.schema.d.ts +204 -85
  56. package/dist/definitions/signals/response.schema.d.ts.map +1 -1
  57. package/dist/definitions/signals/response.schema.js +61 -4
  58. package/dist/definitions/signals/response.schema.js.map +1 -1
  59. package/dist/definitions/telemetry/index.d.ts +8 -0
  60. package/dist/definitions/telemetry/index.d.ts.map +1 -0
  61. package/dist/definitions/telemetry/index.js +10 -0
  62. package/dist/definitions/telemetry/index.js.map +1 -0
  63. package/dist/definitions/telemetry/request.schema.d.ts +121 -0
  64. package/dist/definitions/telemetry/request.schema.d.ts.map +1 -0
  65. package/dist/definitions/telemetry/request.schema.js +90 -0
  66. package/dist/definitions/telemetry/request.schema.js.map +1 -0
  67. package/dist/definitions/telemetry/response.schema.d.ts +92 -0
  68. package/dist/definitions/telemetry/response.schema.d.ts.map +1 -0
  69. package/dist/definitions/telemetry/response.schema.js +43 -0
  70. package/dist/definitions/telemetry/response.schema.js.map +1 -0
  71. package/dist/definitions/webhooks/domain.schema.d.ts +2 -2
  72. package/dist/definitions/webhooks/response.schema.d.ts +1 -1
  73. package/package.json +1 -1
@@ -28,23 +28,23 @@ export declare const SignalsResponseSchema: z.ZodObject<{
28
28
  }, z.core.$strip>;
29
29
  healthScore: z.ZodNumber;
30
30
  status: z.ZodEnum<{
31
- critical: "critical";
32
31
  healthy: "healthy";
32
+ critical: "critical";
33
33
  degraded: "degraded";
34
34
  }>;
35
35
  signals: z.ZodArray<z.ZodObject<{
36
36
  type: z.ZodEnum<{
37
- errors: "errors";
38
- usage: "usage";
39
37
  logs: "logs";
40
38
  stability: "stability";
41
39
  performance: "performance";
40
+ errors: "errors";
41
+ usage: "usage";
42
42
  infra: "infra";
43
43
  }>;
44
44
  status: z.ZodEnum<{
45
+ healthy: "healthy";
45
46
  warning: "warning";
46
47
  critical: "critical";
47
- healthy: "healthy";
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";
55
+ "%": "%";
56
56
  ms: "ms";
57
57
  count: "count";
58
- "%": "%";
59
58
  rps: "rps";
59
+ score: "score";
60
+ MB: "MB";
60
61
  }>;
61
62
  baseline: z.ZodObject<{
62
63
  value: z.ZodNumber;
@@ -64,9 +65,9 @@ export declare const SignalsResponseSchema: z.ZodObject<{
64
65
  }, z.core.$strip>;
65
66
  trend: z.ZodObject<{
66
67
  direction: z.ZodEnum<{
67
- flat: "flat";
68
68
  up: "up";
69
69
  down: "down";
70
+ flat: "flat";
70
71
  }>;
71
72
  changePercent: z.ZodNumber;
72
73
  confidence: 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>>;
@@ -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,21 +189,22 @@ 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<{
192
- blue_green: "blue_green";
193
- rolling: "rolling";
195
+ currentPercentage: z.ZodDefault<z.ZodNumber>;
196
+ strategy: z.ZodDefault<z.ZodEnum<{
194
197
  canary: "canary";
195
- }>;
196
- events: z.ZodArray<z.ZodObject<{
198
+ rolling: "rolling";
199
+ blue_green: "blue_green";
200
+ }>>;
201
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
197
202
  id: z.ZodString;
198
203
  type: z.ZodEnum<{
199
- rollback: "rollback";
200
204
  percentage_change: "percentage_change";
201
205
  stage_transition: "stage_transition";
202
206
  pause: "pause";
207
+ rollback: "rollback";
203
208
  }>;
204
209
  timestamp: z.ZodString;
205
210
  details: z.ZodObject<{
@@ -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<{
@@ -254,23 +270,23 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
254
270
  }, z.core.$strip>;
255
271
  healthScore: z.ZodNumber;
256
272
  status: z.ZodEnum<{
257
- critical: "critical";
258
273
  healthy: "healthy";
274
+ critical: "critical";
259
275
  degraded: "degraded";
260
276
  }>;
261
277
  signals: z.ZodArray<z.ZodObject<{
262
278
  type: z.ZodEnum<{
263
- errors: "errors";
264
- usage: "usage";
265
279
  logs: "logs";
266
280
  stability: "stability";
267
281
  performance: "performance";
282
+ errors: "errors";
283
+ usage: "usage";
268
284
  infra: "infra";
269
285
  }>;
270
286
  status: z.ZodEnum<{
287
+ healthy: "healthy";
271
288
  warning: "warning";
272
289
  critical: "critical";
273
- healthy: "healthy";
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";
297
+ "%": "%";
282
298
  ms: "ms";
283
299
  count: "count";
284
- "%": "%";
285
300
  rps: "rps";
301
+ score: "score";
302
+ MB: "MB";
286
303
  }>;
287
304
  baseline: z.ZodObject<{
288
305
  value: z.ZodNumber;
@@ -290,9 +307,9 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
290
307
  }, z.core.$strip>;
291
308
  trend: z.ZodObject<{
292
309
  direction: z.ZodEnum<{
293
- flat: "flat";
294
310
  up: "up";
295
311
  down: "down";
312
+ flat: "flat";
296
313
  }>;
297
314
  changePercent: z.ZodNumber;
298
315
  confidence: 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>>;
@@ -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,21 +431,22 @@ 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<{
418
- blue_green: "blue_green";
419
- rolling: "rolling";
437
+ currentPercentage: z.ZodDefault<z.ZodNumber>;
438
+ strategy: z.ZodDefault<z.ZodEnum<{
420
439
  canary: "canary";
421
- }>;
422
- events: z.ZodArray<z.ZodObject<{
440
+ rolling: "rolling";
441
+ blue_green: "blue_green";
442
+ }>>;
443
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
423
444
  id: z.ZodString;
424
445
  type: z.ZodEnum<{
425
- rollback: "rollback";
426
446
  percentage_change: "percentage_change";
427
447
  stage_transition: "stage_transition";
428
448
  pause: "pause";
449
+ rollback: "rollback";
429
450
  }>;
430
451
  timestamp: z.ZodString;
431
452
  details: z.ZodObject<{
@@ -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>;
@@ -487,23 +519,23 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
487
519
  }, z.core.$strip>;
488
520
  healthScore: z.ZodNumber;
489
521
  status: z.ZodEnum<{
490
- critical: "critical";
491
522
  healthy: "healthy";
523
+ critical: "critical";
492
524
  degraded: "degraded";
493
525
  }>;
494
526
  signals: z.ZodArray<z.ZodObject<{
495
527
  type: z.ZodEnum<{
496
- errors: "errors";
497
- usage: "usage";
498
528
  logs: "logs";
499
529
  stability: "stability";
500
530
  performance: "performance";
531
+ errors: "errors";
532
+ usage: "usage";
501
533
  infra: "infra";
502
534
  }>;
503
535
  status: z.ZodEnum<{
536
+ healthy: "healthy";
504
537
  warning: "warning";
505
538
  critical: "critical";
506
- healthy: "healthy";
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";
546
+ "%": "%";
515
547
  ms: "ms";
516
548
  count: "count";
517
- "%": "%";
518
549
  rps: "rps";
550
+ score: "score";
551
+ MB: "MB";
519
552
  }>;
520
553
  baseline: z.ZodObject<{
521
554
  value: z.ZodNumber;
@@ -523,9 +556,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
523
556
  }, z.core.$strip>;
524
557
  trend: z.ZodObject<{
525
558
  direction: z.ZodEnum<{
526
- flat: "flat";
527
559
  up: "up";
528
560
  down: "down";
561
+ flat: "flat";
529
562
  }>;
530
563
  changePercent: z.ZodNumber;
531
564
  confidence: 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>>;
@@ -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,21 +680,22 @@ 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<{
651
- blue_green: "blue_green";
652
- rolling: "rolling";
686
+ currentPercentage: z.ZodDefault<z.ZodNumber>;
687
+ strategy: z.ZodDefault<z.ZodEnum<{
653
688
  canary: "canary";
654
- }>;
655
- events: z.ZodArray<z.ZodObject<{
689
+ rolling: "rolling";
690
+ blue_green: "blue_green";
691
+ }>>;
692
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
656
693
  id: z.ZodString;
657
694
  type: z.ZodEnum<{
658
- rollback: "rollback";
659
695
  percentage_change: "percentage_change";
660
696
  stage_transition: "stage_transition";
661
697
  pause: "pause";
698
+ rollback: "rollback";
662
699
  }>;
663
700
  timestamp: z.ZodString;
664
701
  details: z.ZodObject<{
@@ -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<{
@@ -712,23 +760,23 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
712
760
  }, z.core.$strip>;
713
761
  healthScore: z.ZodNumber;
714
762
  status: z.ZodEnum<{
715
- critical: "critical";
716
763
  healthy: "healthy";
764
+ critical: "critical";
717
765
  degraded: "degraded";
718
766
  }>;
719
767
  signals: z.ZodArray<z.ZodObject<{
720
768
  type: z.ZodEnum<{
721
- errors: "errors";
722
- usage: "usage";
723
769
  logs: "logs";
724
770
  stability: "stability";
725
771
  performance: "performance";
772
+ errors: "errors";
773
+ usage: "usage";
726
774
  infra: "infra";
727
775
  }>;
728
776
  status: z.ZodEnum<{
777
+ healthy: "healthy";
729
778
  warning: "warning";
730
779
  critical: "critical";
731
- healthy: "healthy";
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";
787
+ "%": "%";
740
788
  ms: "ms";
741
789
  count: "count";
742
- "%": "%";
743
790
  rps: "rps";
791
+ score: "score";
792
+ MB: "MB";
744
793
  }>;
745
794
  baseline: z.ZodObject<{
746
795
  value: z.ZodNumber;
@@ -748,9 +797,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
748
797
  }, z.core.$strip>;
749
798
  trend: z.ZodObject<{
750
799
  direction: z.ZodEnum<{
751
- flat: "flat";
752
800
  up: "up";
753
801
  down: "down";
802
+ flat: "flat";
754
803
  }>;
755
804
  changePercent: z.ZodNumber;
756
805
  confidence: 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>>;
@@ -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,21 +921,22 @@ 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<{
876
- blue_green: "blue_green";
877
- rolling: "rolling";
927
+ currentPercentage: z.ZodDefault<z.ZodNumber>;
928
+ strategy: z.ZodDefault<z.ZodEnum<{
878
929
  canary: "canary";
879
- }>;
880
- events: z.ZodArray<z.ZodObject<{
930
+ rolling: "rolling";
931
+ blue_green: "blue_green";
932
+ }>>;
933
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
881
934
  id: z.ZodString;
882
935
  type: z.ZodEnum<{
883
- rollback: "rollback";
884
936
  percentage_change: "percentage_change";
885
937
  stage_transition: "stage_transition";
886
938
  pause: "pause";
939
+ rollback: "rollback";
887
940
  }>;
888
941
  timestamp: z.ZodString;
889
942
  details: z.ZodObject<{
@@ -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,18 +1111,65 @@ 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
- critical: "critical";
1060
1171
  healthy: "healthy";
1172
+ critical: "critical";
1061
1173
  degraded: "degraded";
1062
1174
  }>;
1063
1175
  trigger: z.ZodOptional<z.ZodString>;
@@ -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