@apollo-deploy/schemas 1.2.0 → 1.3.1

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 (34) hide show
  1. package/dist/definitions/audit-log/domain.schema.d.ts +3 -3
  2. package/dist/definitions/audit-log/request.schema.d.ts +6 -6
  3. package/dist/definitions/billing/request.schema.d.ts +1 -0
  4. package/dist/definitions/billing/request.schema.d.ts.map +1 -1
  5. package/dist/definitions/billing/request.schema.js +1 -3
  6. package/dist/definitions/billing/request.schema.js.map +1 -1
  7. package/dist/definitions/common.d.ts +12 -0
  8. package/dist/definitions/common.d.ts.map +1 -1
  9. package/dist/definitions/common.js +10 -0
  10. package/dist/definitions/common.js.map +1 -1
  11. package/dist/definitions/index.d.ts +2 -2
  12. package/dist/definitions/index.d.ts.map +1 -1
  13. package/dist/definitions/index.js +2 -2
  14. package/dist/definitions/index.js.map +1 -1
  15. package/dist/definitions/integrations/response.schema.d.ts +3 -3
  16. package/dist/definitions/releases/domain.schema.d.ts +5 -5
  17. package/dist/definitions/releases/request.schema.d.ts +1 -1
  18. package/dist/definitions/releases/response.schema.d.ts +4 -4
  19. package/dist/definitions/settings/index.d.ts +1 -1
  20. package/dist/definitions/settings/index.d.ts.map +1 -1
  21. package/dist/definitions/settings/index.js +1 -1
  22. package/dist/definitions/settings/index.js.map +1 -1
  23. package/dist/definitions/settings/response.schema.d.ts +67 -8
  24. package/dist/definitions/settings/response.schema.d.ts.map +1 -1
  25. package/dist/definitions/settings/response.schema.js +27 -1
  26. package/dist/definitions/settings/response.schema.js.map +1 -1
  27. package/dist/definitions/signals/domain.schema.d.ts +27 -27
  28. package/dist/definitions/signals/request.schema.d.ts +9 -9
  29. package/dist/definitions/signals/response.schema.d.ts +36 -36
  30. package/dist/index.d.ts +2 -5
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +2 -3
  33. package/dist/index.js.map +1 -1
  34. package/package.json +1 -1
@@ -3,5 +3,5 @@
3
3
  */
4
4
  export { SettingScopeSchema, SettingTypeSchema, SettingSourceSchema, SettingValueSchema, SettingDefinitionSchema, type SettingScope, type SettingType, type SettingSource, type SettingValue, type SettingDefinition, } from './domain.schema.js';
5
5
  export { SettingKeyParamSchema, OrgSettingParamsSchema, UpsertSettingBodySchema, BulkUpsertSettingsBodySchema, ListSettingsQuerySchema, type SettingKeyParam, type OrgSettingParams, type UpsertSettingBody, type BulkUpsertSettingsBody, type ListSettingsQuery, } from './request.schema.js';
6
- export { SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, type SettingResponse, type SettingsListResponse, type CombinedSettingsResponse, type BulkUpsertResponse, } from './response.schema.js';
6
+ export { SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, SettingsRegistryItemSchema, SettingsRegistryResponseSchema, type SettingResponse, type SettingsListResponse, type CombinedSettingsResponse, type BulkUpsertResponse, type SettingsRegistryItem, type SettingsRegistryResponse, } from './response.schema.js';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/settings/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,iBAAiB,GACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,wBAAwB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/settings/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,iBAAiB,GACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,EAC9B,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B,MAAM,sBAAsB,CAAC"}
@@ -3,5 +3,5 @@
3
3
  */
4
4
  export { SettingScopeSchema, SettingTypeSchema, SettingSourceSchema, SettingValueSchema, SettingDefinitionSchema, } from './domain.schema.js';
5
5
  export { SettingKeyParamSchema, OrgSettingParamsSchema, UpsertSettingBodySchema, BulkUpsertSettingsBodySchema, ListSettingsQuerySchema, } from './request.schema.js';
6
- export { SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, } from './response.schema.js';
6
+ export { SettingResponseSchema, SettingsListResponseSchema, CombinedSettingsResponseSchema, BulkUpsertResponseSchema, SettingsRegistryItemSchema, SettingsRegistryResponseSchema, } from './response.schema.js';
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/settings/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,GAMxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,GAMxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,wBAAwB,GAKzB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definitions/settings/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,GAMxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,GAMxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,8BAA8B,EAC9B,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,GAO/B,MAAM,sBAAsB,CAAC"}
@@ -6,12 +6,12 @@ export declare const SettingResponseSchema: z.ZodObject<{
6
6
  key: z.ZodString;
7
7
  value: z.ZodUnknown;
8
8
  scope: z.ZodEnum<{
9
- user: "user";
10
9
  org: "org";
10
+ user: "user";
11
11
  }>;
12
12
  source: z.ZodEnum<{
13
- user: "user";
14
13
  org: "org";
14
+ user: "user";
15
15
  system_default: "system_default";
16
16
  }>;
17
17
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -22,12 +22,12 @@ export declare const SettingsListResponseSchema: z.ZodObject<{
22
22
  key: z.ZodString;
23
23
  value: z.ZodUnknown;
24
24
  scope: z.ZodEnum<{
25
- user: "user";
26
25
  org: "org";
26
+ user: "user";
27
27
  }>;
28
28
  source: z.ZodEnum<{
29
- user: "user";
30
29
  org: "org";
30
+ user: "user";
31
31
  system_default: "system_default";
32
32
  }>;
33
33
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -43,12 +43,12 @@ export declare const CombinedSettingsResponseSchema: z.ZodObject<{
43
43
  key: z.ZodString;
44
44
  value: z.ZodUnknown;
45
45
  scope: z.ZodEnum<{
46
- user: "user";
47
46
  org: "org";
47
+ user: "user";
48
48
  }>;
49
49
  source: z.ZodEnum<{
50
- user: "user";
51
50
  org: "org";
51
+ user: "user";
52
52
  system_default: "system_default";
53
53
  }>;
54
54
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -58,12 +58,12 @@ export declare const CombinedSettingsResponseSchema: z.ZodObject<{
58
58
  key: z.ZodString;
59
59
  value: z.ZodUnknown;
60
60
  scope: z.ZodEnum<{
61
- user: "user";
62
61
  org: "org";
62
+ user: "user";
63
63
  }>;
64
64
  source: z.ZodEnum<{
65
- user: "user";
66
65
  org: "org";
66
+ user: "user";
67
67
  system_default: "system_default";
68
68
  }>;
69
69
  updatedAt: z.ZodNullable<z.ZodString>;
@@ -89,4 +89,63 @@ export type SettingResponse = z.infer<typeof SettingResponseSchema>;
89
89
  export type SettingsListResponse = z.infer<typeof SettingsListResponseSchema>;
90
90
  export type CombinedSettingsResponse = z.infer<typeof CombinedSettingsResponseSchema>;
91
91
  export type BulkUpsertResponse = z.infer<typeof BulkUpsertResponseSchema>;
92
+ export declare const SettingsRegistryItemSchema: z.ZodObject<{
93
+ key: z.ZodString;
94
+ scope: z.ZodEnum<{
95
+ org: "org";
96
+ user: "user";
97
+ }>;
98
+ type: z.ZodEnum<{
99
+ string: "string";
100
+ number: "number";
101
+ boolean: "boolean";
102
+ enum: "enum";
103
+ json: "json";
104
+ }>;
105
+ defaultValue: z.ZodUnknown;
106
+ description: z.ZodString;
107
+ enumValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
108
+ sensitive: z.ZodOptional<z.ZodBoolean>;
109
+ category: z.ZodString;
110
+ minRole: z.ZodOptional<z.ZodString>;
111
+ requiredPlans: z.ZodOptional<z.ZodArray<z.ZodEnum<{
112
+ free: "free";
113
+ pro: "pro";
114
+ team: "team";
115
+ enterprise: "enterprise";
116
+ }>>>;
117
+ }, z.core.$strict>;
118
+ export declare const SettingsRegistryResponseSchema: z.ZodObject<{
119
+ settings: z.ZodArray<z.ZodObject<{
120
+ key: z.ZodString;
121
+ scope: z.ZodEnum<{
122
+ org: "org";
123
+ user: "user";
124
+ }>;
125
+ type: z.ZodEnum<{
126
+ string: "string";
127
+ number: "number";
128
+ boolean: "boolean";
129
+ enum: "enum";
130
+ json: "json";
131
+ }>;
132
+ defaultValue: z.ZodUnknown;
133
+ description: z.ZodString;
134
+ enumValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
+ sensitive: z.ZodOptional<z.ZodBoolean>;
136
+ category: z.ZodString;
137
+ minRole: z.ZodOptional<z.ZodString>;
138
+ requiredPlans: z.ZodOptional<z.ZodArray<z.ZodEnum<{
139
+ free: "free";
140
+ pro: "pro";
141
+ team: "team";
142
+ enterprise: "enterprise";
143
+ }>>>;
144
+ }, z.core.$strict>>;
145
+ metadata: z.ZodObject<{
146
+ totalCount: z.ZodNumber;
147
+ }, z.core.$strict>;
148
+ }, z.core.$strict>;
149
+ export type SettingsRegistryItem = z.infer<typeof SettingsRegistryItemSchema>;
150
+ export type SettingsRegistryResponse = z.infer<typeof SettingsRegistryResponseSchema>;
92
151
  //# sourceMappingURL=response.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/settings/response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CA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,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;kBAe5B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAShC,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { SettingScopeSchema, SettingSourceSchema, } from './domain.schema.js';
2
+ import { SettingScopeSchema, SettingSourceSchema, SettingTypeSchema, } from './domain.schema.js';
3
3
  /**
4
4
  * Settings Response Schemas
5
5
  */
@@ -53,4 +53,30 @@ export const BulkUpsertResponseSchema = z
53
53
  .strict()),
54
54
  })
55
55
  .strict();
56
+ export const SettingsRegistryItemSchema = z
57
+ .object({
58
+ key: z.string(),
59
+ scope: SettingScopeSchema,
60
+ type: SettingTypeSchema,
61
+ defaultValue: z.unknown(),
62
+ description: z.string(),
63
+ enumValues: z.array(z.string()).optional(),
64
+ sensitive: z.boolean().optional(),
65
+ category: z.string(),
66
+ minRole: z.string().optional(),
67
+ requiredPlans: z
68
+ .array(z.enum(['free', 'pro', 'team', 'enterprise']))
69
+ .optional(),
70
+ })
71
+ .strict();
72
+ export const SettingsRegistryResponseSchema = z
73
+ .object({
74
+ settings: z.array(SettingsRegistryItemSchema),
75
+ metadata: z
76
+ .object({
77
+ totalCount: z.number(),
78
+ })
79
+ .strict(),
80
+ })
81
+ .strict();
56
82
  //# sourceMappingURL=response.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"response.schema.js","sourceRoot":"","s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E,CAAC;AAEZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC;SACE,MAAM,CAAC;QACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;KACnB,CAAC;SACD,MAAM,EAAE,CACZ;IACD,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC;SACE,MAAM,CAAC;QACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC;SACD,MAAM,EAAE,CACZ;CACF,CAAC;KACD,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"response.schema.js","sourceRoot":"","sources":["../../../src/definitions/settings/response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC;KACnC,MAAM,CAAC;IACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,q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AY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;SACpD,QAAQ,EAAE;CACd,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;IAC7C,QAAQ,EAAE,CAAC;SACR,MAAM,CAAC;QACN,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;KACvB,CAAC;SACD,MAAM,EAAE;CACZ,CAAC;KACD,MAAM,EAAE,CAAC"}
@@ -7,23 +7,23 @@
7
7
  import { z } from 'zod';
8
8
  export declare const DataSourceSchema: z.ZodEnum<{
9
9
  custom: "custom";
10
+ logs: "logs";
10
11
  sentry: "sentry";
11
12
  datadog: "datadog";
12
13
  newrelic: "newrelic";
13
- logs: "logs";
14
14
  }>;
15
15
  export declare const SignalGroupTypeSchema: z.ZodEnum<{
16
16
  errors: "errors";
17
+ usage: "usage";
17
18
  logs: "logs";
18
19
  stability: "stability";
19
20
  performance: "performance";
20
- usage: "usage";
21
21
  infra: "infra";
22
22
  }>;
23
23
  export declare const SignalStatusSchema: z.ZodEnum<{
24
+ warning: "warning";
24
25
  critical: "critical";
25
26
  healthy: "healthy";
26
- warning: "warning";
27
27
  }>;
28
28
  export declare const ReleaseHealthStatusSchema: z.ZodEnum<{
29
29
  critical: "critical";
@@ -39,11 +39,11 @@ export declare const GranularitySchema: z.ZodEnum<{
39
39
  "1d": "1d";
40
40
  }>;
41
41
  export declare const MetricUnitSchema: z.ZodEnum<{
42
- "%": "%";
42
+ score: "score";
43
43
  ms: "ms";
44
44
  count: "count";
45
+ "%": "%";
45
46
  rps: "rps";
46
- score: "score";
47
47
  }>;
48
48
  export declare const TimeWindowSchema: z.ZodObject<{
49
49
  start: z.ZodString;
@@ -93,11 +93,11 @@ export declare const MetricSchema: z.ZodObject<{
93
93
  label: z.ZodString;
94
94
  value: z.ZodNumber;
95
95
  unit: z.ZodEnum<{
96
- "%": "%";
96
+ score: "score";
97
97
  ms: "ms";
98
98
  count: "count";
99
+ "%": "%";
99
100
  rps: "rps";
100
- score: "score";
101
101
  }>;
102
102
  baseline: z.ZodObject<{
103
103
  value: z.ZodNumber;
@@ -105,9 +105,9 @@ export declare const MetricSchema: z.ZodObject<{
105
105
  }, z.core.$strip>;
106
106
  trend: z.ZodObject<{
107
107
  direction: z.ZodEnum<{
108
+ flat: "flat";
108
109
  up: "up";
109
110
  down: "down";
110
- flat: "flat";
111
111
  }>;
112
112
  changePercent: z.ZodNumber;
113
113
  confidence: z.ZodNumber;
@@ -127,25 +127,25 @@ export declare const MetricSchema: z.ZodObject<{
127
127
  }, z.core.$strip>>>;
128
128
  source: z.ZodEnum<{
129
129
  custom: "custom";
130
+ logs: "logs";
130
131
  sentry: "sentry";
131
132
  datadog: "datadog";
132
133
  newrelic: "newrelic";
133
- logs: "logs";
134
134
  }>;
135
135
  }, z.core.$strip>;
136
136
  export declare const SignalGroupSchema: z.ZodObject<{
137
137
  type: z.ZodEnum<{
138
138
  errors: "errors";
139
+ usage: "usage";
139
140
  logs: "logs";
140
141
  stability: "stability";
141
142
  performance: "performance";
142
- usage: "usage";
143
143
  infra: "infra";
144
144
  }>;
145
145
  status: z.ZodEnum<{
146
+ warning: "warning";
146
147
  critical: "critical";
147
148
  healthy: "healthy";
148
- warning: "warning";
149
149
  }>;
150
150
  score: z.ZodNumber;
151
151
  metrics: z.ZodArray<z.ZodObject<{
@@ -153,11 +153,11 @@ export declare const SignalGroupSchema: z.ZodObject<{
153
153
  label: z.ZodString;
154
154
  value: z.ZodNumber;
155
155
  unit: z.ZodEnum<{
156
- "%": "%";
156
+ score: "score";
157
157
  ms: "ms";
158
158
  count: "count";
159
+ "%": "%";
159
160
  rps: "rps";
160
- score: "score";
161
161
  }>;
162
162
  baseline: z.ZodObject<{
163
163
  value: z.ZodNumber;
@@ -165,9 +165,9 @@ export declare const SignalGroupSchema: z.ZodObject<{
165
165
  }, z.core.$strip>;
166
166
  trend: z.ZodObject<{
167
167
  direction: z.ZodEnum<{
168
+ flat: "flat";
168
169
  up: "up";
169
170
  down: "down";
170
- flat: "flat";
171
171
  }>;
172
172
  changePercent: z.ZodNumber;
173
173
  confidence: z.ZodNumber;
@@ -187,10 +187,10 @@ export declare const SignalGroupSchema: z.ZodObject<{
187
187
  }, z.core.$strip>>>;
188
188
  source: z.ZodEnum<{
189
189
  custom: "custom";
190
+ logs: "logs";
190
191
  sentry: "sentry";
191
192
  datadog: "datadog";
192
193
  newrelic: "newrelic";
193
- logs: "logs";
194
194
  }>;
195
195
  }, z.core.$strip>>;
196
196
  }, z.core.$strip>;
@@ -296,8 +296,8 @@ export declare const IncidentStatusSchema: z.ZodEnum<{
296
296
  resolved: "resolved";
297
297
  }>;
298
298
  export declare const IncidentSeveritySchema: z.ZodEnum<{
299
- critical: "critical";
300
299
  warning: "warning";
300
+ critical: "critical";
301
301
  }>;
302
302
  export declare const IncidentSummarySchema: z.ZodObject<{
303
303
  id: z.ZodString;
@@ -306,8 +306,8 @@ export declare const IncidentSummarySchema: z.ZodObject<{
306
306
  resolved: "resolved";
307
307
  }>;
308
308
  severity: z.ZodEnum<{
309
- critical: "critical";
310
309
  warning: "warning";
310
+ critical: "critical";
311
311
  }>;
312
312
  title: z.ZodString;
313
313
  startedAt: z.ZodString;
@@ -320,10 +320,10 @@ export declare const IncidentSummarySchema: z.ZodObject<{
320
320
  }, z.core.$strip>>>;
321
321
  source: z.ZodEnum<{
322
322
  custom: "custom";
323
+ logs: "logs";
323
324
  sentry: "sentry";
324
325
  datadog: "datadog";
325
326
  newrelic: "newrelic";
326
- logs: "logs";
327
327
  }>;
328
328
  }, z.core.$strip>;
329
329
  export declare const RolloutPhaseSchema: z.ZodEnum<{
@@ -387,16 +387,16 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
387
387
  signals: z.ZodArray<z.ZodObject<{
388
388
  type: z.ZodEnum<{
389
389
  errors: "errors";
390
+ usage: "usage";
390
391
  logs: "logs";
391
392
  stability: "stability";
392
393
  performance: "performance";
393
- usage: "usage";
394
394
  infra: "infra";
395
395
  }>;
396
396
  status: z.ZodEnum<{
397
+ warning: "warning";
397
398
  critical: "critical";
398
399
  healthy: "healthy";
399
- warning: "warning";
400
400
  }>;
401
401
  score: z.ZodNumber;
402
402
  metrics: z.ZodArray<z.ZodObject<{
@@ -404,11 +404,11 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
404
404
  label: z.ZodString;
405
405
  value: z.ZodNumber;
406
406
  unit: z.ZodEnum<{
407
- "%": "%";
407
+ score: "score";
408
408
  ms: "ms";
409
409
  count: "count";
410
+ "%": "%";
410
411
  rps: "rps";
411
- score: "score";
412
412
  }>;
413
413
  baseline: z.ZodObject<{
414
414
  value: z.ZodNumber;
@@ -416,9 +416,9 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
416
416
  }, z.core.$strip>;
417
417
  trend: z.ZodObject<{
418
418
  direction: z.ZodEnum<{
419
+ flat: "flat";
419
420
  up: "up";
420
421
  down: "down";
421
- flat: "flat";
422
422
  }>;
423
423
  changePercent: z.ZodNumber;
424
424
  confidence: z.ZodNumber;
@@ -438,10 +438,10 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
438
438
  }, z.core.$strip>>>;
439
439
  source: z.ZodEnum<{
440
440
  custom: "custom";
441
+ logs: "logs";
441
442
  sentry: "sentry";
442
443
  datadog: "datadog";
443
444
  newrelic: "newrelic";
444
- logs: "logs";
445
445
  }>;
446
446
  }, z.core.$strip>>;
447
447
  }, z.core.$strip>>;
@@ -503,8 +503,8 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
503
503
  resolved: "resolved";
504
504
  }>;
505
505
  severity: z.ZodEnum<{
506
- critical: "critical";
507
506
  warning: "warning";
507
+ critical: "critical";
508
508
  }>;
509
509
  title: z.ZodString;
510
510
  startedAt: z.ZodString;
@@ -517,10 +517,10 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
517
517
  }, z.core.$strip>>>;
518
518
  source: z.ZodEnum<{
519
519
  custom: "custom";
520
+ logs: "logs";
520
521
  sentry: "sentry";
521
522
  datadog: "datadog";
522
523
  newrelic: "newrelic";
523
- logs: "logs";
524
524
  }>;
525
525
  }, z.core.$strip>>;
526
526
  recommendations: z.ZodArray<z.ZodObject<{
@@ -567,10 +567,10 @@ export declare const SignalsSnapshotSchema: z.ZodObject<{
567
567
  sampleSize: z.ZodNumber;
568
568
  dataSources: z.ZodArray<z.ZodEnum<{
569
569
  custom: "custom";
570
+ logs: "logs";
570
571
  sentry: "sentry";
571
572
  datadog: "datadog";
572
573
  newrelic: "newrelic";
573
- logs: "logs";
574
574
  }>>;
575
575
  computedAt: z.ZodString;
576
576
  staleAfter: z.ZodString;
@@ -53,22 +53,22 @@ export declare const CompareSignalsQuerySchema: z.ZodObject<{
53
53
  }>>;
54
54
  }, z.core.$strip>;
55
55
  export declare const GateConditionOperatorSchema: z.ZodEnum<{
56
- lt: "lt";
56
+ eq: "eq";
57
57
  gt: "gt";
58
- lte: "lte";
59
58
  gte: "gte";
60
- eq: "eq";
59
+ lt: "lt";
60
+ lte: "lte";
61
61
  deviation_lt: "deviation_lt";
62
62
  deviation_gt: "deviation_gt";
63
63
  }>;
64
64
  export declare const GateConditionSchema: z.ZodObject<{
65
65
  metric: z.ZodString;
66
66
  operator: z.ZodEnum<{
67
- lt: "lt";
67
+ eq: "eq";
68
68
  gt: "gt";
69
- lte: "lte";
70
69
  gte: "gte";
71
- eq: "eq";
70
+ lt: "lt";
71
+ lte: "lte";
72
72
  deviation_lt: "deviation_lt";
73
73
  deviation_gt: "deviation_gt";
74
74
  }>;
@@ -78,11 +78,11 @@ export declare const EvaluateGateBodySchema: z.ZodObject<{
78
78
  conditions: z.ZodArray<z.ZodObject<{
79
79
  metric: z.ZodString;
80
80
  operator: z.ZodEnum<{
81
- lt: "lt";
81
+ eq: "eq";
82
82
  gt: "gt";
83
- lte: "lte";
84
83
  gte: "gte";
85
- eq: "eq";
84
+ lt: "lt";
85
+ lte: "lte";
86
86
  deviation_lt: "deviation_lt";
87
87
  deviation_gt: "deviation_gt";
88
88
  }>;