@uluops/ops-sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,159 +1,124 @@
1
1
  import { z } from 'zod';
2
2
  export declare const UuidSchema: z.ZodString;
3
- export declare const PrioritySchema: z.ZodEnum<["critical", "suggested", "backlog"]>;
4
- export declare const StatusSchema: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
5
- export declare const SeveritySchema: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
6
- export declare const FailureDomainSchema: z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>;
7
- export declare const IssueTypeSchema: z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>;
8
- export declare const NoteTypeSchema: z.ZodEnum<["context", "resolution", "blocker"]>;
9
- export declare const UserRoleSchema: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
10
- export declare const SubscriptionTierSchema: z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>;
11
- export declare const AvatarMimeTypeSchema: z.ZodEnum<["image/png", "image/jpeg", "image/gif", "image/webp"]>;
3
+ export declare const PrioritySchema: z.ZodEnum<{
4
+ critical: "critical";
5
+ suggested: "suggested";
6
+ backlog: "backlog";
7
+ }>;
8
+ export declare const StatusSchema: z.ZodEnum<{
9
+ open: "open";
10
+ completed: "completed";
11
+ deferred: "deferred";
12
+ wontfix: "wontfix";
13
+ merged: "merged";
14
+ "false-positive": "false-positive";
15
+ }>;
16
+ export declare const SeveritySchema: z.ZodEnum<{
17
+ critical: "critical";
18
+ high: "high";
19
+ medium: "medium";
20
+ low: "low";
21
+ info: "info";
22
+ }>;
23
+ export declare const FailureDomainSchema: z.ZodEnum<{
24
+ STR: "STR";
25
+ SEM: "SEM";
26
+ PRA: "PRA";
27
+ EPI: "EPI";
28
+ }>;
29
+ export declare const IssueTypeSchema: z.ZodEnum<{
30
+ feature: "feature";
31
+ bug: "bug";
32
+ refactor: "refactor";
33
+ config: "config";
34
+ docs: "docs";
35
+ infra: "infra";
36
+ security: "security";
37
+ test: "test";
38
+ observation: "observation";
39
+ deficiency: "deficiency";
40
+ ambiguity: "ambiguity";
41
+ }>;
42
+ export declare const NoteTypeSchema: z.ZodEnum<{
43
+ context: "context";
44
+ resolution: "resolution";
45
+ blocker: "blocker";
46
+ }>;
47
+ export declare const UserRoleSchema: z.ZodEnum<{
48
+ viewer: "viewer";
49
+ developer: "developer";
50
+ publisher: "publisher";
51
+ admin: "admin";
52
+ }>;
53
+ export declare const SubscriptionTierSchema: z.ZodEnum<{
54
+ free: "free";
55
+ hobbyist: "hobbyist";
56
+ pro: "pro";
57
+ team: "team";
58
+ enterprise: "enterprise";
59
+ }>;
60
+ export declare const AvatarMimeTypeSchema: z.ZodEnum<{
61
+ "image/png": "image/png";
62
+ "image/jpeg": "image/jpeg";
63
+ "image/gif": "image/gif";
64
+ "image/webp": "image/webp";
65
+ }>;
12
66
  export declare const FailureCodeSchema: z.ZodString;
13
67
  export declare const RegisterInputSchema: z.ZodObject<{
14
68
  email: z.ZodString;
15
69
  password: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- email: string;
18
- password: string;
19
- }, {
20
- email: string;
21
- password: string;
22
- }>;
70
+ }, z.core.$strip>;
23
71
  export declare const LoginInputSchema: z.ZodObject<{
24
72
  email: z.ZodString;
25
73
  password: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
27
- email: string;
28
- password: string;
29
- }, {
30
- email: string;
31
- password: string;
32
- }>;
33
- export declare const UpdateProfileInputSchema: z.ZodEffects<z.ZodObject<{
74
+ }, z.core.$strip>;
75
+ export declare const UpdateProfileInputSchema: z.ZodObject<{
34
76
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
77
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
78
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
79
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
80
  websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
81
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- avatarMimeType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["image/png", "image/jpeg", "image/gif", "image/webp"]>>>;
41
- }, "strip", z.ZodTypeAny, {
42
- username?: string | null | undefined;
43
- name?: string | null | undefined;
44
- bio?: string | null | undefined;
45
- timezone?: string | null | undefined;
46
- websiteUrl?: string | null | undefined;
47
- avatar?: string | null | undefined;
48
- avatarMimeType?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | null | undefined;
49
- }, {
50
- username?: string | null | undefined;
51
- name?: string | null | undefined;
52
- bio?: string | null | undefined;
53
- timezone?: string | null | undefined;
54
- websiteUrl?: string | null | undefined;
55
- avatar?: string | null | undefined;
56
- avatarMimeType?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | null | undefined;
57
- }>, {
58
- username?: string | null | undefined;
59
- name?: string | null | undefined;
60
- bio?: string | null | undefined;
61
- timezone?: string | null | undefined;
62
- websiteUrl?: string | null | undefined;
63
- avatar?: string | null | undefined;
64
- avatarMimeType?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | null | undefined;
65
- }, {
66
- username?: string | null | undefined;
67
- name?: string | null | undefined;
68
- bio?: string | null | undefined;
69
- timezone?: string | null | undefined;
70
- websiteUrl?: string | null | undefined;
71
- avatar?: string | null | undefined;
72
- avatarMimeType?: "image/png" | "image/jpeg" | "image/gif" | "image/webp" | null | undefined;
73
- }>;
82
+ avatarMimeType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
83
+ "image/png": "image/png";
84
+ "image/jpeg": "image/jpeg";
85
+ "image/gif": "image/gif";
86
+ "image/webp": "image/webp";
87
+ }>>>;
88
+ }, z.core.$strip>;
74
89
  export declare const ChangePasswordInputSchema: z.ZodObject<{
75
90
  currentPassword: z.ZodString;
76
91
  newPassword: z.ZodString;
77
- }, "strip", z.ZodTypeAny, {
78
- currentPassword: string;
79
- newPassword: string;
80
- }, {
81
- currentPassword: string;
82
- newPassword: string;
83
- }>;
92
+ }, z.core.$strip>;
84
93
  export declare const ResetPasswordInputSchema: z.ZodObject<{
85
94
  token: z.ZodString;
86
95
  password: z.ZodString;
87
- }, "strip", z.ZodTypeAny, {
88
- password: string;
89
- token: string;
90
- }, {
91
- password: string;
92
- token: string;
93
- }>;
96
+ }, z.core.$strip>;
94
97
  export declare const CreateApiKeyInputSchema: z.ZodObject<{
95
98
  name: z.ZodOptional<z.ZodString>;
96
99
  expiresAt: z.ZodOptional<z.ZodString>;
97
- }, "strip", z.ZodTypeAny, {
98
- expiresAt?: string | undefined;
99
- name?: string | undefined;
100
- }, {
101
- expiresAt?: string | undefined;
102
- name?: string | undefined;
103
- }>;
100
+ }, z.core.$strip>;
104
101
  export declare const CreateProjectInputSchema: z.ZodObject<{
105
102
  name: z.ZodString;
106
- }, "strip", z.ZodTypeAny, {
107
- name: string;
108
- }, {
109
- name: string;
110
- }>;
103
+ }, z.core.$strip>;
111
104
  export declare const UpdateProjectInputSchema: z.ZodObject<{
112
105
  name: z.ZodOptional<z.ZodString>;
113
- }, "strip", z.ZodTypeAny, {
114
- name?: string | undefined;
115
- }, {
116
- name?: string | undefined;
117
- }>;
106
+ }, z.core.$strip>;
118
107
  export declare const DeleteProjectInputSchema: z.ZodObject<{
119
108
  confirm: z.ZodLiteral<true>;
120
109
  confirmationPhrase: z.ZodString;
121
- }, "strip", z.ZodTypeAny, {
122
- confirm: true;
123
- confirmationPhrase: string;
124
- }, {
125
- confirm: true;
126
- confirmationPhrase: string;
127
- }>;
110
+ }, z.core.$strip>;
128
111
  export declare const RenameProjectInputSchema: z.ZodObject<{
129
112
  oldName: z.ZodString;
130
113
  newName: z.ZodString;
131
- }, "strip", z.ZodTypeAny, {
132
- oldName: string;
133
- newName: string;
134
- }, {
135
- oldName: string;
136
- newName: string;
137
- }>;
114
+ }, z.core.$strip>;
138
115
  export declare const TokenUsageSchema: z.ZodObject<{
139
116
  inputTokens: z.ZodNumber;
140
117
  outputTokens: z.ZodNumber;
141
118
  cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
142
119
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
143
120
  totalEffectiveTokens: z.ZodOptional<z.ZodNumber>;
144
- }, "strip", z.ZodTypeAny, {
145
- inputTokens: number;
146
- outputTokens: number;
147
- cacheCreationTokens?: number | undefined;
148
- cacheReadTokens?: number | undefined;
149
- totalEffectiveTokens?: number | undefined;
150
- }, {
151
- inputTokens: number;
152
- outputTokens: number;
153
- cacheCreationTokens?: number | undefined;
154
- cacheReadTokens?: number | undefined;
155
- totalEffectiveTokens?: number | undefined;
156
- }>;
121
+ }, z.core.$strip>;
157
122
  export declare const AgentInputSchema: z.ZodObject<{
158
123
  name: z.ZodString;
159
124
  score: z.ZodNumber;
@@ -166,101 +131,62 @@ export declare const AgentInputSchema: z.ZodObject<{
166
131
  cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
167
132
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
168
133
  totalEffectiveTokens: z.ZodOptional<z.ZodNumber>;
169
- }, "strip", z.ZodTypeAny, {
170
- inputTokens: number;
171
- outputTokens: number;
172
- cacheCreationTokens?: number | undefined;
173
- cacheReadTokens?: number | undefined;
174
- totalEffectiveTokens?: number | undefined;
175
- }, {
176
- inputTokens: number;
177
- outputTokens: number;
178
- cacheCreationTokens?: number | undefined;
179
- cacheReadTokens?: number | undefined;
180
- totalEffectiveTokens?: number | undefined;
181
- }>>;
134
+ }, z.core.$strip>>;
182
135
  durationMs: z.ZodOptional<z.ZodNumber>;
183
- }, "strip", z.ZodTypeAny, {
184
- status: string;
185
- name: string;
186
- score: number;
187
- maxScore?: number | undefined;
188
- model?: string | undefined;
189
- tokens?: {
190
- inputTokens: number;
191
- outputTokens: number;
192
- cacheCreationTokens?: number | undefined;
193
- cacheReadTokens?: number | undefined;
194
- totalEffectiveTokens?: number | undefined;
195
- } | undefined;
196
- durationMs?: number | undefined;
197
- }, {
198
- status: string;
199
- name: string;
200
- score: number;
201
- maxScore?: number | undefined;
202
- model?: string | undefined;
203
- tokens?: {
204
- inputTokens: number;
205
- outputTokens: number;
206
- cacheCreationTokens?: number | undefined;
207
- cacheReadTokens?: number | undefined;
208
- totalEffectiveTokens?: number | undefined;
209
- } | undefined;
210
- durationMs?: number | undefined;
211
- }>;
136
+ }, z.core.$strip>;
212
137
  export declare const RecommendationInputSchema: z.ZodObject<{
213
138
  agent: z.ZodString;
214
139
  title: z.ZodString;
215
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
216
- type: z.ZodOptional<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>;
217
- severity: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
140
+ priority: z.ZodEnum<{
141
+ critical: "critical";
142
+ suggested: "suggested";
143
+ backlog: "backlog";
144
+ }>;
145
+ type: z.ZodOptional<z.ZodEnum<{
146
+ feature: "feature";
147
+ bug: "bug";
148
+ refactor: "refactor";
149
+ config: "config";
150
+ docs: "docs";
151
+ infra: "infra";
152
+ security: "security";
153
+ test: "test";
154
+ observation: "observation";
155
+ deficiency: "deficiency";
156
+ ambiguity: "ambiguity";
157
+ }>>;
158
+ severity: z.ZodOptional<z.ZodEnum<{
159
+ critical: "critical";
160
+ high: "high";
161
+ medium: "medium";
162
+ low: "low";
163
+ info: "info";
164
+ }>>;
218
165
  failureCode: z.ZodOptional<z.ZodString>;
219
- failureDomain: z.ZodOptional<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>;
166
+ failureDomain: z.ZodOptional<z.ZodEnum<{
167
+ STR: "STR";
168
+ SEM: "SEM";
169
+ PRA: "PRA";
170
+ EPI: "EPI";
171
+ }>>;
220
172
  failureMode: z.ZodOptional<z.ZodString>;
221
173
  category: z.ZodOptional<z.ZodString>;
222
174
  filePath: z.ZodOptional<z.ZodString>;
223
175
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
224
176
  description: z.ZodOptional<z.ZodString>;
225
- classificationConfidence: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
226
- classifiedBy: z.ZodOptional<z.ZodEnum<["validator", "classifier", "human"]>>;
227
- secondaryFailureCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
+ classificationConfidence: z.ZodOptional<z.ZodEnum<{
178
+ high: "high";
179
+ medium: "medium";
180
+ low: "low";
181
+ }>>;
182
+ classifiedBy: z.ZodOptional<z.ZodEnum<{
183
+ validator: "validator";
184
+ classifier: "classifier";
185
+ human: "human";
186
+ }>>;
187
+ secondaryFailureCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
188
  taxonomyVersion: z.ZodOptional<z.ZodString>;
229
- }, "strip", z.ZodTypeAny, {
230
- agent: string;
231
- title: string;
232
- priority: "critical" | "suggested" | "backlog";
233
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
234
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
235
- failureCode?: string | undefined;
236
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
237
- failureMode?: string | undefined;
238
- category?: string | undefined;
239
- filePath?: string | undefined;
240
- lineNumber?: number | null | undefined;
241
- description?: string | undefined;
242
- classificationConfidence?: "high" | "medium" | "low" | undefined;
243
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
244
- secondaryFailureCodes?: string[] | undefined;
245
- taxonomyVersion?: string | undefined;
246
- }, {
247
- agent: string;
248
- title: string;
249
- priority: "critical" | "suggested" | "backlog";
250
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
251
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
252
- failureCode?: string | undefined;
253
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
254
- failureMode?: string | undefined;
255
- category?: string | undefined;
256
- filePath?: string | undefined;
257
- lineNumber?: number | null | undefined;
258
- description?: string | undefined;
259
- classificationConfidence?: "high" | "medium" | "low" | undefined;
260
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
261
- secondaryFailureCodes?: string[] | undefined;
262
- taxonomyVersion?: string | undefined;
263
- }>;
189
+ }, z.core.$strip>;
264
190
  export declare const SaveRunInputSchema: z.ZodObject<{
265
191
  project: z.ZodString;
266
192
  workflowType: z.ZodString;
@@ -276,633 +202,454 @@ export declare const SaveRunInputSchema: z.ZodObject<{
276
202
  cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
277
203
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
278
204
  totalEffectiveTokens: z.ZodOptional<z.ZodNumber>;
279
- }, "strip", z.ZodTypeAny, {
280
- inputTokens: number;
281
- outputTokens: number;
282
- cacheCreationTokens?: number | undefined;
283
- cacheReadTokens?: number | undefined;
284
- totalEffectiveTokens?: number | undefined;
285
- }, {
286
- inputTokens: number;
287
- outputTokens: number;
288
- cacheCreationTokens?: number | undefined;
289
- cacheReadTokens?: number | undefined;
290
- totalEffectiveTokens?: number | undefined;
291
- }>>;
205
+ }, z.core.$strip>>;
292
206
  durationMs: z.ZodOptional<z.ZodNumber>;
293
- }, "strip", z.ZodTypeAny, {
294
- status: string;
295
- name: string;
296
- score: number;
297
- maxScore?: number | undefined;
298
- model?: string | undefined;
299
- tokens?: {
300
- inputTokens: number;
301
- outputTokens: number;
302
- cacheCreationTokens?: number | undefined;
303
- cacheReadTokens?: number | undefined;
304
- totalEffectiveTokens?: number | undefined;
305
- } | undefined;
306
- durationMs?: number | undefined;
307
- }, {
308
- status: string;
309
- name: string;
310
- score: number;
311
- maxScore?: number | undefined;
312
- model?: string | undefined;
313
- tokens?: {
314
- inputTokens: number;
315
- outputTokens: number;
316
- cacheCreationTokens?: number | undefined;
317
- cacheReadTokens?: number | undefined;
318
- totalEffectiveTokens?: number | undefined;
319
- } | undefined;
320
- durationMs?: number | undefined;
321
- }>, "many">;
207
+ }, z.core.$strip>>;
322
208
  recommendations: z.ZodArray<z.ZodObject<{
323
209
  agent: z.ZodString;
324
210
  title: z.ZodString;
325
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
326
- type: z.ZodOptional<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>;
327
- severity: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
211
+ priority: z.ZodEnum<{
212
+ critical: "critical";
213
+ suggested: "suggested";
214
+ backlog: "backlog";
215
+ }>;
216
+ type: z.ZodOptional<z.ZodEnum<{
217
+ feature: "feature";
218
+ bug: "bug";
219
+ refactor: "refactor";
220
+ config: "config";
221
+ docs: "docs";
222
+ infra: "infra";
223
+ security: "security";
224
+ test: "test";
225
+ observation: "observation";
226
+ deficiency: "deficiency";
227
+ ambiguity: "ambiguity";
228
+ }>>;
229
+ severity: z.ZodOptional<z.ZodEnum<{
230
+ critical: "critical";
231
+ high: "high";
232
+ medium: "medium";
233
+ low: "low";
234
+ info: "info";
235
+ }>>;
328
236
  failureCode: z.ZodOptional<z.ZodString>;
329
- failureDomain: z.ZodOptional<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>;
237
+ failureDomain: z.ZodOptional<z.ZodEnum<{
238
+ STR: "STR";
239
+ SEM: "SEM";
240
+ PRA: "PRA";
241
+ EPI: "EPI";
242
+ }>>;
330
243
  failureMode: z.ZodOptional<z.ZodString>;
331
244
  category: z.ZodOptional<z.ZodString>;
332
245
  filePath: z.ZodOptional<z.ZodString>;
333
246
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
334
247
  description: z.ZodOptional<z.ZodString>;
335
- classificationConfidence: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
336
- classifiedBy: z.ZodOptional<z.ZodEnum<["validator", "classifier", "human"]>>;
337
- secondaryFailureCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
248
+ classificationConfidence: z.ZodOptional<z.ZodEnum<{
249
+ high: "high";
250
+ medium: "medium";
251
+ low: "low";
252
+ }>>;
253
+ classifiedBy: z.ZodOptional<z.ZodEnum<{
254
+ validator: "validator";
255
+ classifier: "classifier";
256
+ human: "human";
257
+ }>>;
258
+ secondaryFailureCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
259
  taxonomyVersion: z.ZodOptional<z.ZodString>;
339
- }, "strip", z.ZodTypeAny, {
340
- agent: string;
341
- title: string;
342
- priority: "critical" | "suggested" | "backlog";
343
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
344
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
345
- failureCode?: string | undefined;
346
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
347
- failureMode?: string | undefined;
348
- category?: string | undefined;
349
- filePath?: string | undefined;
350
- lineNumber?: number | null | undefined;
351
- description?: string | undefined;
352
- classificationConfidence?: "high" | "medium" | "low" | undefined;
353
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
354
- secondaryFailureCodes?: string[] | undefined;
355
- taxonomyVersion?: string | undefined;
356
- }, {
357
- agent: string;
358
- title: string;
359
- priority: "critical" | "suggested" | "backlog";
360
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
361
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
362
- failureCode?: string | undefined;
363
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
364
- failureMode?: string | undefined;
365
- category?: string | undefined;
366
- filePath?: string | undefined;
367
- lineNumber?: number | null | undefined;
368
- description?: string | undefined;
369
- classificationConfidence?: "high" | "medium" | "low" | undefined;
370
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
371
- secondaryFailureCodes?: string[] | undefined;
372
- taxonomyVersion?: string | undefined;
373
- }>, "many">;
260
+ }, z.core.$strip>>;
374
261
  timestamp: z.ZodOptional<z.ZodString>;
375
262
  rawMarkdown: z.ZodOptional<z.ZodString>;
376
263
  summary: z.ZodOptional<z.ZodObject<{
377
264
  allGatesPassed: z.ZodOptional<z.ZodBoolean>;
378
265
  averageScore: z.ZodOptional<z.ZodNumber>;
379
- }, "strip", z.ZodTypeAny, {
380
- allGatesPassed?: boolean | undefined;
381
- averageScore?: number | undefined;
382
- }, {
383
- allGatesPassed?: boolean | undefined;
384
- averageScore?: number | undefined;
385
- }>>;
266
+ }, z.core.$strip>>;
386
267
  idempotencyKey: z.ZodOptional<z.ZodString>;
387
- }, "strip", z.ZodTypeAny, {
388
- project: string;
389
- workflowType: string;
390
- agents: {
391
- status: string;
392
- name: string;
393
- score: number;
394
- maxScore?: number | undefined;
395
- model?: string | undefined;
396
- tokens?: {
397
- inputTokens: number;
398
- outputTokens: number;
399
- cacheCreationTokens?: number | undefined;
400
- cacheReadTokens?: number | undefined;
401
- totalEffectiveTokens?: number | undefined;
402
- } | undefined;
403
- durationMs?: number | undefined;
404
- }[];
405
- recommendations: {
406
- agent: string;
407
- title: string;
408
- priority: "critical" | "suggested" | "backlog";
409
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
410
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
411
- failureCode?: string | undefined;
412
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
413
- failureMode?: string | undefined;
414
- category?: string | undefined;
415
- filePath?: string | undefined;
416
- lineNumber?: number | null | undefined;
417
- description?: string | undefined;
418
- classificationConfidence?: "high" | "medium" | "low" | undefined;
419
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
420
- secondaryFailureCodes?: string[] | undefined;
421
- taxonomyVersion?: string | undefined;
422
- }[];
423
- timestamp?: string | undefined;
424
- rawMarkdown?: string | undefined;
425
- summary?: {
426
- allGatesPassed?: boolean | undefined;
427
- averageScore?: number | undefined;
428
- } | undefined;
429
- idempotencyKey?: string | undefined;
430
- }, {
431
- project: string;
432
- workflowType: string;
433
- agents: {
434
- status: string;
435
- name: string;
436
- score: number;
437
- maxScore?: number | undefined;
438
- model?: string | undefined;
439
- tokens?: {
440
- inputTokens: number;
441
- outputTokens: number;
442
- cacheCreationTokens?: number | undefined;
443
- cacheReadTokens?: number | undefined;
444
- totalEffectiveTokens?: number | undefined;
445
- } | undefined;
446
- durationMs?: number | undefined;
447
- }[];
448
- recommendations: {
449
- agent: string;
450
- title: string;
451
- priority: "critical" | "suggested" | "backlog";
452
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
453
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
454
- failureCode?: string | undefined;
455
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
456
- failureMode?: string | undefined;
457
- category?: string | undefined;
458
- filePath?: string | undefined;
459
- lineNumber?: number | null | undefined;
460
- description?: string | undefined;
461
- classificationConfidence?: "high" | "medium" | "low" | undefined;
462
- classifiedBy?: "validator" | "classifier" | "human" | undefined;
463
- secondaryFailureCodes?: string[] | undefined;
464
- taxonomyVersion?: string | undefined;
465
- }[];
466
- timestamp?: string | undefined;
467
- rawMarkdown?: string | undefined;
468
- summary?: {
469
- allGatesPassed?: boolean | undefined;
470
- averageScore?: number | undefined;
471
- } | undefined;
472
- idempotencyKey?: string | undefined;
473
- }>;
268
+ definitionType: z.ZodOptional<z.ZodString>;
269
+ definitionName: z.ZodOptional<z.ZodString>;
270
+ definitionVersion: z.ZodOptional<z.ZodString>;
271
+ definitionHash: z.ZodOptional<z.ZodString>;
272
+ analysisRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
273
+ recordType: z.ZodString;
274
+ recordId: z.ZodString;
275
+ title: z.ZodString;
276
+ classification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
278
+ critical: "critical";
279
+ high: "high";
280
+ medium: "medium";
281
+ low: "low";
282
+ info: "info";
283
+ }>>>;
284
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
285
+ }, z.core.$strip>>>;
286
+ analysisSummary: z.ZodOptional<z.ZodObject<{
287
+ decision: z.ZodString;
288
+ score: z.ZodNumber;
289
+ decisionVocabulary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ systemMetrics: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
291
+ categoryScores: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
292
+ name: z.ZodString;
293
+ weight: z.ZodNumber;
294
+ score: z.ZodNumber;
295
+ }, z.core.$strip>>>>;
296
+ epistemicAssessment: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
297
+ auditImplications: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>;
474
300
  export declare const ArchiveRunsInputSchema: z.ZodObject<{
475
301
  project: z.ZodString;
476
302
  beforeRunNumber: z.ZodOptional<z.ZodNumber>;
477
303
  beforeDate: z.ZodOptional<z.ZodString>;
478
304
  keepLast: z.ZodOptional<z.ZodNumber>;
479
305
  reason: z.ZodOptional<z.ZodString>;
480
- }, "strip", z.ZodTypeAny, {
481
- project: string;
482
- beforeRunNumber?: number | undefined;
483
- beforeDate?: string | undefined;
484
- keepLast?: number | undefined;
485
- reason?: string | undefined;
486
- }, {
487
- project: string;
488
- beforeRunNumber?: number | undefined;
489
- beforeDate?: string | undefined;
490
- keepLast?: number | undefined;
491
- reason?: string | undefined;
492
- }>;
306
+ }, z.core.$strip>;
493
307
  export declare const CreateUserIssueInputSchema: z.ZodObject<{
494
308
  project: z.ZodString;
495
309
  title: z.ZodString;
496
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
497
- severity: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
310
+ priority: z.ZodEnum<{
311
+ critical: "critical";
312
+ suggested: "suggested";
313
+ backlog: "backlog";
314
+ }>;
315
+ severity: z.ZodOptional<z.ZodEnum<{
316
+ critical: "critical";
317
+ high: "high";
318
+ medium: "medium";
319
+ low: "low";
320
+ info: "info";
321
+ }>>;
498
322
  category: z.ZodOptional<z.ZodString>;
499
323
  description: z.ZodOptional<z.ZodString>;
500
324
  filePath: z.ZodOptional<z.ZodString>;
501
325
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
502
326
  failureCode: z.ZodOptional<z.ZodString>;
503
- failureDomain: z.ZodOptional<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>;
327
+ failureDomain: z.ZodOptional<z.ZodEnum<{
328
+ STR: "STR";
329
+ SEM: "SEM";
330
+ PRA: "PRA";
331
+ EPI: "EPI";
332
+ }>>;
504
333
  failureMode: z.ZodOptional<z.ZodString>;
505
334
  agent: z.ZodOptional<z.ZodString>;
506
- type: z.ZodOptional<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>;
507
- }, "strip", z.ZodTypeAny, {
508
- title: string;
509
- priority: "critical" | "suggested" | "backlog";
510
- project: string;
511
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
512
- agent?: string | undefined;
513
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
514
- failureCode?: string | undefined;
515
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
516
- failureMode?: string | undefined;
517
- category?: string | undefined;
518
- filePath?: string | undefined;
519
- lineNumber?: number | null | undefined;
520
- description?: string | undefined;
521
- }, {
522
- title: string;
523
- priority: "critical" | "suggested" | "backlog";
524
- project: string;
525
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | undefined;
526
- agent?: string | undefined;
527
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
528
- failureCode?: string | undefined;
529
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
530
- failureMode?: string | undefined;
531
- category?: string | undefined;
532
- filePath?: string | undefined;
533
- lineNumber?: number | null | undefined;
534
- description?: string | undefined;
535
- }>;
335
+ type: z.ZodOptional<z.ZodEnum<{
336
+ feature: "feature";
337
+ bug: "bug";
338
+ refactor: "refactor";
339
+ config: "config";
340
+ docs: "docs";
341
+ infra: "infra";
342
+ security: "security";
343
+ test: "test";
344
+ observation: "observation";
345
+ deficiency: "deficiency";
346
+ ambiguity: "ambiguity";
347
+ }>>;
348
+ }, z.core.$strip>;
536
349
  export declare const UpdateIssueInputSchema: z.ZodObject<{
537
350
  title: z.ZodOptional<z.ZodString>;
538
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
539
- priority: z.ZodOptional<z.ZodEnum<["critical", "suggested", "backlog"]>>;
540
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
351
+ status: z.ZodOptional<z.ZodEnum<{
352
+ open: "open";
353
+ completed: "completed";
354
+ deferred: "deferred";
355
+ wontfix: "wontfix";
356
+ merged: "merged";
357
+ "false-positive": "false-positive";
358
+ }>>;
359
+ priority: z.ZodOptional<z.ZodEnum<{
360
+ critical: "critical";
361
+ suggested: "suggested";
362
+ backlog: "backlog";
363
+ }>>;
364
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
365
+ critical: "critical";
366
+ high: "high";
367
+ medium: "medium";
368
+ low: "low";
369
+ info: "info";
370
+ }>>>;
541
371
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
372
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
373
+ STR: "STR";
374
+ SEM: "SEM";
375
+ PRA: "PRA";
376
+ EPI: "EPI";
377
+ }>>>;
543
378
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
379
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
380
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
381
+ feature: "feature";
382
+ bug: "bug";
383
+ refactor: "refactor";
384
+ config: "config";
385
+ docs: "docs";
386
+ infra: "infra";
387
+ security: "security";
388
+ test: "test";
389
+ observation: "observation";
390
+ deficiency: "deficiency";
391
+ ambiguity: "ambiguity";
392
+ }>>>;
546
393
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
394
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
548
- }, "strip", z.ZodTypeAny, {
549
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
550
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
551
- title?: string | undefined;
552
- priority?: "critical" | "suggested" | "backlog" | undefined;
553
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
554
- failureCode?: string | null | undefined;
555
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
556
- failureMode?: string | null | undefined;
557
- category?: string | null | undefined;
558
- filePath?: string | null | undefined;
559
- lineNumber?: number | null | undefined;
560
- }, {
561
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
562
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
563
- title?: string | undefined;
564
- priority?: "critical" | "suggested" | "backlog" | undefined;
565
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
566
- failureCode?: string | null | undefined;
567
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
568
- failureMode?: string | null | undefined;
569
- category?: string | null | undefined;
570
- filePath?: string | null | undefined;
571
- lineNumber?: number | null | undefined;
572
- }>;
395
+ }, z.core.$strip>;
573
396
  export declare const UpdateIssueStatusInputSchema: z.ZodObject<{
574
- status: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
397
+ status: z.ZodEnum<{
398
+ open: "open";
399
+ completed: "completed";
400
+ deferred: "deferred";
401
+ wontfix: "wontfix";
402
+ merged: "merged";
403
+ "false-positive": "false-positive";
404
+ }>;
575
405
  reason: z.ZodOptional<z.ZodString>;
576
- }, "strip", z.ZodTypeAny, {
577
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
578
- reason?: string | undefined;
579
- }, {
580
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
581
- reason?: string | undefined;
582
- }>;
406
+ }, z.core.$strip>;
583
407
  export declare const CreateIssueNoteInputSchema: z.ZodObject<{
584
408
  content: z.ZodString;
585
- noteType: z.ZodOptional<z.ZodEnum<["context", "resolution", "blocker"]>>;
409
+ noteType: z.ZodOptional<z.ZodEnum<{
410
+ context: "context";
411
+ resolution: "resolution";
412
+ blocker: "blocker";
413
+ }>>;
586
414
  createdBy: z.ZodOptional<z.ZodString>;
587
- }, "strip", z.ZodTypeAny, {
588
- content: string;
589
- noteType?: "context" | "resolution" | "blocker" | undefined;
590
- createdBy?: string | undefined;
591
- }, {
592
- content: string;
593
- noteType?: "context" | "resolution" | "blocker" | undefined;
594
- createdBy?: string | undefined;
595
- }>;
415
+ }, z.core.$strip>;
596
416
  export declare const BulkStatusUpdateItemSchema: z.ZodObject<{
597
417
  issueId: z.ZodOptional<z.ZodString>;
598
418
  id: z.ZodOptional<z.ZodString>;
599
- status: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
419
+ status: z.ZodEnum<{
420
+ open: "open";
421
+ completed: "completed";
422
+ deferred: "deferred";
423
+ wontfix: "wontfix";
424
+ merged: "merged";
425
+ "false-positive": "false-positive";
426
+ }>;
600
427
  reason: z.ZodOptional<z.ZodString>;
601
- }, "strip", z.ZodTypeAny, {
602
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
603
- reason?: string | undefined;
604
- issueId?: string | undefined;
605
- id?: string | undefined;
606
- }, {
607
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
608
- reason?: string | undefined;
609
- issueId?: string | undefined;
610
- id?: string | undefined;
611
- }>;
428
+ }, z.core.$strip>;
612
429
  export declare const BulkStatusUpdateInputSchema: z.ZodObject<{
613
430
  updates: z.ZodArray<z.ZodObject<{
614
431
  issueId: z.ZodOptional<z.ZodString>;
615
432
  id: z.ZodOptional<z.ZodString>;
616
- status: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
433
+ status: z.ZodEnum<{
434
+ open: "open";
435
+ completed: "completed";
436
+ deferred: "deferred";
437
+ wontfix: "wontfix";
438
+ merged: "merged";
439
+ "false-positive": "false-positive";
440
+ }>;
617
441
  reason: z.ZodOptional<z.ZodString>;
618
- }, "strip", z.ZodTypeAny, {
619
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
620
- reason?: string | undefined;
621
- issueId?: string | undefined;
622
- id?: string | undefined;
623
- }, {
624
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
625
- reason?: string | undefined;
626
- issueId?: string | undefined;
627
- id?: string | undefined;
628
- }>, "many">;
629
- }, "strip", z.ZodTypeAny, {
630
- updates: {
631
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
632
- reason?: string | undefined;
633
- issueId?: string | undefined;
634
- id?: string | undefined;
635
- }[];
636
- }, {
637
- updates: {
638
- status: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
639
- reason?: string | undefined;
640
- issueId?: string | undefined;
641
- id?: string | undefined;
642
- }[];
643
- }>;
442
+ }, z.core.$strip>>;
443
+ }, z.core.$strip>;
644
444
  export declare const ListIssuesQuerySchema: z.ZodObject<{
645
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
646
- priority: z.ZodOptional<z.ZodEnum<["critical", "suggested", "backlog"]>>;
647
- severity: z.ZodOptional<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
648
- failureDomain: z.ZodOptional<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>;
445
+ status: z.ZodOptional<z.ZodEnum<{
446
+ open: "open";
447
+ completed: "completed";
448
+ deferred: "deferred";
449
+ wontfix: "wontfix";
450
+ merged: "merged";
451
+ "false-positive": "false-positive";
452
+ }>>;
453
+ priority: z.ZodOptional<z.ZodEnum<{
454
+ critical: "critical";
455
+ suggested: "suggested";
456
+ backlog: "backlog";
457
+ }>>;
458
+ severity: z.ZodOptional<z.ZodEnum<{
459
+ critical: "critical";
460
+ high: "high";
461
+ medium: "medium";
462
+ low: "low";
463
+ info: "info";
464
+ }>>;
465
+ failureDomain: z.ZodOptional<z.ZodEnum<{
466
+ STR: "STR";
467
+ SEM: "SEM";
468
+ PRA: "PRA";
469
+ EPI: "EPI";
470
+ }>>;
649
471
  agent: z.ZodOptional<z.ZodString>;
650
- limit: z.ZodOptional<z.ZodNumber>;
651
- offset: z.ZodOptional<z.ZodNumber>;
652
- includeResolved: z.ZodOptional<z.ZodBoolean>;
653
- minTimesSeen: z.ZodOptional<z.ZodNumber>;
472
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
473
+ offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
474
+ includeResolved: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
475
+ minTimesSeen: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
654
476
  dateStart: z.ZodOptional<z.ZodString>;
655
477
  dateEnd: z.ZodOptional<z.ZodString>;
656
- }, "strip", z.ZodTypeAny, {
657
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
658
- agent?: string | undefined;
659
- priority?: "critical" | "suggested" | "backlog" | undefined;
660
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
661
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
662
- limit?: number | undefined;
663
- offset?: number | undefined;
664
- includeResolved?: boolean | undefined;
665
- minTimesSeen?: number | undefined;
666
- dateStart?: string | undefined;
667
- dateEnd?: string | undefined;
668
- }, {
669
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
670
- agent?: string | undefined;
671
- priority?: "critical" | "suggested" | "backlog" | undefined;
672
- severity?: "critical" | "high" | "medium" | "low" | "info" | undefined;
673
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | undefined;
674
- limit?: number | undefined;
675
- offset?: number | undefined;
676
- includeResolved?: boolean | undefined;
677
- minTimesSeen?: number | undefined;
678
- dateStart?: string | undefined;
679
- dateEnd?: string | undefined;
680
- }>;
478
+ }, z.core.$strip>;
681
479
  export declare const IssueSearchQuerySchema: z.ZodObject<{
682
480
  query: z.ZodOptional<z.ZodString>;
683
- projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
684
- agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
685
- status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>, z.ZodLiteral<"all">]>>;
686
- priority: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["critical", "suggested", "backlog"]>, z.ZodLiteral<"all">]>>;
687
- severities: z.ZodOptional<z.ZodArray<z.ZodEnum<["critical", "high", "medium", "low", "info"]>, "many">>;
688
- failureDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>, "many">>;
689
- limit: z.ZodOptional<z.ZodNumber>;
690
- }, "strip", z.ZodTypeAny, {
691
- status?: "all" | "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
692
- priority?: "all" | "critical" | "suggested" | "backlog" | undefined;
693
- agents?: string[] | undefined;
694
- limit?: number | undefined;
695
- query?: string | undefined;
696
- projects?: string[] | undefined;
697
- severities?: ("critical" | "high" | "medium" | "low" | "info")[] | undefined;
698
- failureDomains?: ("STR" | "SEM" | "PRA" | "EPI")[] | undefined;
699
- }, {
700
- status?: "all" | "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
701
- priority?: "all" | "critical" | "suggested" | "backlog" | undefined;
702
- agents?: string[] | undefined;
703
- limit?: number | undefined;
704
- query?: string | undefined;
705
- projects?: string[] | undefined;
706
- severities?: ("critical" | "high" | "medium" | "low" | "info")[] | undefined;
707
- failureDomains?: ("STR" | "SEM" | "PRA" | "EPI")[] | undefined;
708
- }>;
481
+ projects: z.ZodOptional<z.ZodArray<z.ZodString>>;
482
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
483
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
484
+ open: "open";
485
+ completed: "completed";
486
+ deferred: "deferred";
487
+ wontfix: "wontfix";
488
+ merged: "merged";
489
+ "false-positive": "false-positive";
490
+ }>, z.ZodLiteral<"all">]>>;
491
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
492
+ critical: "critical";
493
+ suggested: "suggested";
494
+ backlog: "backlog";
495
+ }>, z.ZodLiteral<"all">]>>;
496
+ severities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
497
+ critical: "critical";
498
+ high: "high";
499
+ medium: "medium";
500
+ low: "low";
501
+ info: "info";
502
+ }>>>;
503
+ failureDomains: z.ZodOptional<z.ZodArray<z.ZodEnum<{
504
+ STR: "STR";
505
+ SEM: "SEM";
506
+ PRA: "PRA";
507
+ EPI: "EPI";
508
+ }>>>;
509
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
510
+ }, z.core.$strip>;
709
511
  export declare const AnalyticsQuerySchema: z.ZodObject<{
710
512
  project: z.ZodOptional<z.ZodString>;
711
- days: z.ZodOptional<z.ZodNumber>;
712
- limit: z.ZodOptional<z.ZodNumber>;
713
- }, "strip", z.ZodTypeAny, {
714
- project?: string | undefined;
715
- limit?: number | undefined;
716
- days?: number | undefined;
717
- }, {
718
- project?: string | undefined;
719
- limit?: number | undefined;
720
- days?: number | undefined;
721
- }>;
513
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
514
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
515
+ }, z.core.$strip>;
722
516
  export declare const BurndownQuerySchema: z.ZodObject<{
723
517
  project: z.ZodOptional<z.ZodString>;
724
- days: z.ZodOptional<z.ZodNumber>;
725
- limit: z.ZodOptional<z.ZodNumber>;
726
- } & {
727
- granularity: z.ZodOptional<z.ZodEnum<["daily", "weekly"]>>;
728
- }, "strip", z.ZodTypeAny, {
729
- project?: string | undefined;
730
- limit?: number | undefined;
731
- days?: number | undefined;
732
- granularity?: "daily" | "weekly" | undefined;
733
- }, {
734
- project?: string | undefined;
735
- limit?: number | undefined;
736
- days?: number | undefined;
737
- granularity?: "daily" | "weekly" | undefined;
738
- }>;
518
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
519
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
520
+ granularity: z.ZodOptional<z.ZodEnum<{
521
+ daily: "daily";
522
+ weekly: "weekly";
523
+ }>>;
524
+ }, z.core.$strip>;
739
525
  export declare const VelocityQuerySchema: z.ZodObject<{
740
526
  project: z.ZodOptional<z.ZodString>;
741
- days: z.ZodOptional<z.ZodNumber>;
742
- limit: z.ZodOptional<z.ZodNumber>;
743
- } & {
744
- alertThreshold: z.ZodOptional<z.ZodNumber>;
745
- }, "strip", z.ZodTypeAny, {
746
- project?: string | undefined;
747
- limit?: number | undefined;
748
- days?: number | undefined;
749
- alertThreshold?: number | undefined;
750
- }, {
751
- project?: string | undefined;
752
- limit?: number | undefined;
753
- days?: number | undefined;
754
- alertThreshold?: number | undefined;
755
- }>;
527
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
528
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
529
+ alertThreshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
530
+ }, z.core.$strip>;
756
531
  export declare const DiscoveryQuerySchema: z.ZodObject<{
757
532
  project: z.ZodOptional<z.ZodString>;
758
- days: z.ZodOptional<z.ZodNumber>;
759
- limit: z.ZodOptional<z.ZodNumber>;
760
- } & {
761
- groupBy: z.ZodOptional<z.ZodEnum<["day", "week", "month"]>>;
762
- }, "strip", z.ZodTypeAny, {
763
- project?: string | undefined;
764
- limit?: number | undefined;
765
- days?: number | undefined;
766
- groupBy?: "day" | "week" | "month" | undefined;
767
- }, {
768
- project?: string | undefined;
769
- limit?: number | undefined;
770
- days?: number | undefined;
771
- groupBy?: "day" | "week" | "month" | undefined;
772
- }>;
533
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
534
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
535
+ groupBy: z.ZodOptional<z.ZodEnum<{
536
+ day: "day";
537
+ week: "week";
538
+ month: "month";
539
+ }>>;
540
+ }, z.core.$strip>;
773
541
  export declare const AgentMatrixQuerySchema: z.ZodObject<{
774
542
  project: z.ZodOptional<z.ZodString>;
775
- days: z.ZodOptional<z.ZodNumber>;
776
- limit: z.ZodOptional<z.ZodNumber>;
777
- } & {
778
- minIssues: z.ZodOptional<z.ZodNumber>;
779
- }, "strip", z.ZodTypeAny, {
780
- project?: string | undefined;
781
- limit?: number | undefined;
782
- days?: number | undefined;
783
- minIssues?: number | undefined;
784
- }, {
785
- project?: string | undefined;
786
- limit?: number | undefined;
787
- days?: number | undefined;
788
- minIssues?: number | undefined;
789
- }>;
543
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
544
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
545
+ minIssues: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
546
+ }, z.core.$strip>;
790
547
  export declare const AdminCreateUserInputSchema: z.ZodObject<{
791
548
  email: z.ZodString;
792
549
  password: z.ZodOptional<z.ZodString>;
793
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
794
- subscriptionTier: z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>;
550
+ role: z.ZodEnum<{
551
+ viewer: "viewer";
552
+ developer: "developer";
553
+ publisher: "publisher";
554
+ admin: "admin";
555
+ }>;
556
+ subscriptionTier: z.ZodEnum<{
557
+ free: "free";
558
+ hobbyist: "hobbyist";
559
+ pro: "pro";
560
+ team: "team";
561
+ enterprise: "enterprise";
562
+ }>;
795
563
  sendWelcomeEmail: z.ZodOptional<z.ZodBoolean>;
796
- }, "strip", z.ZodTypeAny, {
797
- email: string;
798
- role: "viewer" | "developer" | "publisher" | "admin";
799
- subscriptionTier: "free" | "hobbyist" | "pro" | "team" | "enterprise";
800
- password?: string | undefined;
801
- sendWelcomeEmail?: boolean | undefined;
802
- }, {
803
- email: string;
804
- role: "viewer" | "developer" | "publisher" | "admin";
805
- subscriptionTier: "free" | "hobbyist" | "pro" | "team" | "enterprise";
806
- password?: string | undefined;
807
- sendWelcomeEmail?: boolean | undefined;
808
- }>;
809
- export declare const AdminUpdateUserInputSchema: z.ZodEffects<z.ZodObject<{
564
+ }, z.core.$strip>;
565
+ export declare const AdminUpdateUserInputSchema: z.ZodObject<{
810
566
  email: z.ZodOptional<z.ZodString>;
811
- role: z.ZodOptional<z.ZodEnum<["viewer", "developer", "publisher", "admin"]>>;
812
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
813
- }, "strip", z.ZodTypeAny, {
814
- email?: string | undefined;
815
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
816
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
817
- }, {
818
- email?: string | undefined;
819
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
820
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
821
- }>, {
822
- email?: string | undefined;
823
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
824
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
825
- }, {
826
- email?: string | undefined;
827
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
828
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
829
- }>;
567
+ role: z.ZodOptional<z.ZodEnum<{
568
+ viewer: "viewer";
569
+ developer: "developer";
570
+ publisher: "publisher";
571
+ admin: "admin";
572
+ }>>;
573
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
574
+ free: "free";
575
+ hobbyist: "hobbyist";
576
+ pro: "pro";
577
+ team: "team";
578
+ enterprise: "enterprise";
579
+ }>>;
580
+ }, z.core.$strip>;
830
581
  export declare const BulkDeactivateInputSchema: z.ZodObject<{
831
- userIds: z.ZodArray<z.ZodString, "many">;
832
- }, "strip", z.ZodTypeAny, {
833
- userIds: string[];
834
- }, {
835
- userIds: string[];
836
- }>;
582
+ userIds: z.ZodArray<z.ZodString>;
583
+ }, z.core.$strip>;
837
584
  export declare const ListUsersQuerySchema: z.ZodObject<{
838
585
  search: z.ZodOptional<z.ZodString>;
839
- role: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["viewer", "developer", "publisher", "admin"]>, z.ZodArray<z.ZodEnum<["viewer", "developer", "publisher", "admin"]>, "many">]>>;
840
- subscriptionTier: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>, z.ZodArray<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>, "many">]>>;
841
- isActive: z.ZodOptional<z.ZodBoolean>;
842
- sortBy: z.ZodOptional<z.ZodEnum<["email", "createdAt", "updatedAt", "role"]>>;
843
- sortOrder: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
844
- page: z.ZodOptional<z.ZodNumber>;
845
- limit: z.ZodOptional<z.ZodNumber>;
846
- }, "strip", z.ZodTypeAny, {
847
- search?: string | undefined;
848
- role?: "viewer" | "developer" | "publisher" | "admin" | ("viewer" | "developer" | "publisher" | "admin")[] | undefined;
849
- limit?: number | undefined;
850
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | ("free" | "hobbyist" | "pro" | "team" | "enterprise")[] | undefined;
851
- isActive?: boolean | undefined;
852
- sortBy?: "email" | "createdAt" | "updatedAt" | "role" | undefined;
853
- sortOrder?: "asc" | "desc" | undefined;
854
- page?: number | undefined;
855
- }, {
856
- search?: string | undefined;
857
- role?: "viewer" | "developer" | "publisher" | "admin" | ("viewer" | "developer" | "publisher" | "admin")[] | undefined;
858
- limit?: number | undefined;
859
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | ("free" | "hobbyist" | "pro" | "team" | "enterprise")[] | undefined;
860
- isActive?: boolean | undefined;
861
- sortBy?: "email" | "createdAt" | "updatedAt" | "role" | undefined;
862
- sortOrder?: "asc" | "desc" | undefined;
863
- page?: number | undefined;
864
- }>;
586
+ role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
587
+ viewer: "viewer";
588
+ developer: "developer";
589
+ publisher: "publisher";
590
+ admin: "admin";
591
+ }>, z.ZodArray<z.ZodEnum<{
592
+ viewer: "viewer";
593
+ developer: "developer";
594
+ publisher: "publisher";
595
+ admin: "admin";
596
+ }>>]>>;
597
+ subscriptionTier: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
598
+ free: "free";
599
+ hobbyist: "hobbyist";
600
+ pro: "pro";
601
+ team: "team";
602
+ enterprise: "enterprise";
603
+ }>, z.ZodArray<z.ZodEnum<{
604
+ free: "free";
605
+ hobbyist: "hobbyist";
606
+ pro: "pro";
607
+ team: "team";
608
+ enterprise: "enterprise";
609
+ }>>]>>;
610
+ isActive: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
611
+ sortBy: z.ZodOptional<z.ZodEnum<{
612
+ email: "email";
613
+ createdAt: "createdAt";
614
+ updatedAt: "updatedAt";
615
+ role: "role";
616
+ }>>;
617
+ sortOrder: z.ZodOptional<z.ZodEnum<{
618
+ asc: "asc";
619
+ desc: "desc";
620
+ }>>;
621
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
622
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
623
+ }, z.core.$strip>;
865
624
  export declare const ListSessionsQuerySchema: z.ZodObject<{
866
625
  userId: z.ZodOptional<z.ZodString>;
867
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "lastActiveAt", "expiresAt"]>>;
868
- sortOrder: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
869
- page: z.ZodOptional<z.ZodNumber>;
870
- limit: z.ZodOptional<z.ZodNumber>;
871
- }, "strip", z.ZodTypeAny, {
872
- limit?: number | undefined;
873
- sortBy?: "createdAt" | "lastActiveAt" | "expiresAt" | undefined;
874
- sortOrder?: "asc" | "desc" | undefined;
875
- page?: number | undefined;
876
- userId?: string | undefined;
877
- }, {
878
- limit?: number | undefined;
879
- sortBy?: "createdAt" | "lastActiveAt" | "expiresAt" | undefined;
880
- sortOrder?: "asc" | "desc" | undefined;
881
- page?: number | undefined;
882
- userId?: string | undefined;
883
- }>;
626
+ sortBy: z.ZodOptional<z.ZodEnum<{
627
+ createdAt: "createdAt";
628
+ lastActiveAt: "lastActiveAt";
629
+ expiresAt: "expiresAt";
630
+ }>>;
631
+ sortOrder: z.ZodOptional<z.ZodEnum<{
632
+ asc: "asc";
633
+ desc: "desc";
634
+ }>>;
635
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
636
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
637
+ }, z.core.$strip>;
884
638
  export declare const ListKeysQuerySchema: z.ZodObject<{
885
639
  userId: z.ZodOptional<z.ZodString>;
886
640
  search: z.ZodOptional<z.ZodString>;
887
- sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "lastUsedAt", "expiresAt"]>>;
888
- sortOrder: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
889
- page: z.ZodOptional<z.ZodNumber>;
890
- limit: z.ZodOptional<z.ZodNumber>;
891
- }, "strip", z.ZodTypeAny, {
892
- search?: string | undefined;
893
- limit?: number | undefined;
894
- sortBy?: "createdAt" | "expiresAt" | "lastUsedAt" | undefined;
895
- sortOrder?: "asc" | "desc" | undefined;
896
- page?: number | undefined;
897
- userId?: string | undefined;
898
- }, {
899
- search?: string | undefined;
900
- limit?: number | undefined;
901
- sortBy?: "createdAt" | "expiresAt" | "lastUsedAt" | undefined;
902
- sortOrder?: "asc" | "desc" | undefined;
903
- page?: number | undefined;
904
- userId?: string | undefined;
905
- }>;
641
+ sortBy: z.ZodOptional<z.ZodEnum<{
642
+ createdAt: "createdAt";
643
+ expiresAt: "expiresAt";
644
+ lastUsedAt: "lastUsedAt";
645
+ }>>;
646
+ sortOrder: z.ZodOptional<z.ZodEnum<{
647
+ asc: "asc";
648
+ desc: "desc";
649
+ }>>;
650
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
651
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
652
+ }, z.core.$strip>;
906
653
  export type RegisterInputSchema = z.infer<typeof RegisterInputSchema>;
907
654
  export type LoginInputSchema = z.infer<typeof LoginInputSchema>;
908
655
  export type UpdateProfileInputSchema = z.infer<typeof UpdateProfileInputSchema>;
@@ -924,65 +671,14 @@ export declare const ValidatorInputSchema: z.ZodObject<{
924
671
  cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
925
672
  cacheReadTokens: z.ZodOptional<z.ZodNumber>;
926
673
  totalEffectiveTokens: z.ZodOptional<z.ZodNumber>;
927
- }, "strip", z.ZodTypeAny, {
928
- inputTokens: number;
929
- outputTokens: number;
930
- cacheCreationTokens?: number | undefined;
931
- cacheReadTokens?: number | undefined;
932
- totalEffectiveTokens?: number | undefined;
933
- }, {
934
- inputTokens: number;
935
- outputTokens: number;
936
- cacheCreationTokens?: number | undefined;
937
- cacheReadTokens?: number | undefined;
938
- totalEffectiveTokens?: number | undefined;
939
- }>>;
674
+ }, z.core.$strip>>;
940
675
  durationMs: z.ZodOptional<z.ZodNumber>;
941
- }, "strip", z.ZodTypeAny, {
942
- status: string;
943
- name: string;
944
- score: number;
945
- maxScore?: number | undefined;
946
- model?: string | undefined;
947
- tokens?: {
948
- inputTokens: number;
949
- outputTokens: number;
950
- cacheCreationTokens?: number | undefined;
951
- cacheReadTokens?: number | undefined;
952
- totalEffectiveTokens?: number | undefined;
953
- } | undefined;
954
- durationMs?: number | undefined;
955
- }, {
956
- status: string;
957
- name: string;
958
- score: number;
959
- maxScore?: number | undefined;
960
- model?: string | undefined;
961
- tokens?: {
962
- inputTokens: number;
963
- outputTokens: number;
964
- cacheCreationTokens?: number | undefined;
965
- cacheReadTokens?: number | undefined;
966
- totalEffectiveTokens?: number | undefined;
967
- } | undefined;
968
- durationMs?: number | undefined;
969
- }>;
676
+ }, z.core.$strip>;
970
677
  /** @deprecated Use AgentMatrixQuerySchema instead */
971
678
  export declare const ValidatorMatrixQuerySchema: z.ZodObject<{
972
679
  project: z.ZodOptional<z.ZodString>;
973
- days: z.ZodOptional<z.ZodNumber>;
974
- limit: z.ZodOptional<z.ZodNumber>;
975
- } & {
976
- minIssues: z.ZodOptional<z.ZodNumber>;
977
- }, "strip", z.ZodTypeAny, {
978
- project?: string | undefined;
979
- limit?: number | undefined;
980
- days?: number | undefined;
981
- minIssues?: number | undefined;
982
- }, {
983
- project?: string | undefined;
984
- limit?: number | undefined;
985
- days?: number | undefined;
986
- minIssues?: number | undefined;
987
- }>;
680
+ days: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
681
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
682
+ minIssues: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
683
+ }, z.core.$strip>;
988
684
  //# sourceMappingURL=schemas.d.ts.map